FTP upload via agentjob i Azure Devops fejler
Hej med jer,Jeg har en hjemmesiden hos Simply.com, hvor vi løbende laver ændringer. Vi har lavet et job, som deployer til simply via Azure Devops fejler. Udfordringen er, at det en gang imellem fejl - og det er rigtig træls.
Følgende er fejlen:
2023-02-17T13:53:12.5194891Z ##[section]Starting: FTP Upload
2023-02-17T13:53:12.5429449Z ==============================================================================
2023-02-17T13:53:12.5429728Z Task : FTP upload
2023-02-17T13:53:12.5429849Z Description : Upload files using FTP
2023-02-17T13:53:12.5429984Z Version : 1.211.0
2023-02-17T13:53:12.5430103Z Author : Microsoft Corporation
2023-02-17T13:53:12.5430260Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/ftp-upload
2023-02-17T13:53:12.5430468Z ==============================================================================
2023-02-17T13:53:13.9110091Z connecting to: nt24.unoeuro.com:21
2023-02-17T13:53:14.0717197Z connected: Microsoft FTP Service
2023-02-17T13:53:14.4769865Z uploading files to remote directory: /public_html/
2023-02-17T13:53:14.7468552Z files uploaded: 0, files skipped: 0, directories processed: 1, total: 1, remaining: 434, remote directory successfully created/verified: /public_html/
2023-02-17T13:53:14.8986190Z files uploaded: 0, files skipped: 0, directories processed: 2, total: 2, remaining: 433, remote directory successfully created/verified: /public_html/
2023-02-17T13:53:15.0537820Z files uploaded: 1, files skipped: 0, directories processed: 2, total: 3, remaining: 432, successfully uploaded: D:\a\r1\a\_Build and unit test\drop\TimeReg\API-MS-Win-core-xstate-l2-1-0.dll to: /public_html/API-MS-Win-core-xstate-l2-1-0.dll
2023-02-17T13:53:15.1741338Z FTP upload failed: "upload failed: /public_html/AutoMapper.Extensions.Microsoft.DependencyInjection.dll due to error: Error: read ECONNRESET". FTP log: "[connection] < '550 The process cannot access the file because it is being used by another process. \r\n',[parser] < '550 The process cannot access the file because it is being used by another process. \r\n',[parser] Response: code=550, buffer='The process cannot access the file because it is being used by another process.',[connection] > 'PASV'".
2023-02-17T13:53:15.1743026Z host: nt24.unoeuro.com
2023-02-17T13:53:15.1743334Z path: /public_html/
2023-02-17T13:53:15.1743684Z files uploaded: 1
2023-02-17T13:53:15.1743911Z files skipped: 0
2023-02-17T13:53:15.1744130Z directories processed: 2
2023-02-17T13:53:15.1744382Z unprocessed files & directories: 432
2023-02-17T13:53:15.1783977Z ##[error]upload failed: /public_html/AutoMapper.Extensions.Microsoft.DependencyInjection.dll due to error: Error: read ECONNRESET
2023-02-17T13:53:15.1794143Z disconnecting from: nt24.unoeuro.com
2023-02-17T13:53:15.2122554Z disconnected
2023-02-17T13:53:15.2258256Z ##[section]Finishing: FTP Upload