You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up from #1408, if you have a long-running SFDX command that passes the 12am mark, the command will start giving errors because probably the current log is being rotated.
Steps To Reproduce:
Run a large testsuite, starting at 23:59
sfdx force:apex:test:run -w 300 -l runlocaltests
Expected result
No errors
Actual result
2022-09-08T00:00:00.0139261Z [Error: ENOENT: no such file or directory, rename '/home/vsts_azpcontainer/.sf/sf.log' -> '/home/vsts_azpcontainer/.sf/sf.log.0'] {
2022-09-08T00:00:00.0140067Z errno: -2,
2022-09-08T00:00:00.0140490Z code: 'ENOENT',
2022-09-08T00:00:00.0140901Z syscall: 'rename',
2022-09-08T00:00:00.0141374Z path: '/home/vsts_azpcontainer/.sf/sf.log',
2022-09-08T00:00:00.0141889Z dest: '/home/vsts_azpcontainer/.sf/sf.log.0'
2022-09-08T00:00:00.0142275Z }
2022-09-08T00:00:00.0161881Z [Error: ENOENT: no such file or directory, rename '/home/vsts_azpcontainer/.sf/sf.log' -> '/home/vsts_azpcontainer/.sf/sf.log.0'] {
2022-09-08T00:00:00.0162705Z errno: -2,
2022-09-08T00:00:00.0163105Z code: 'ENOENT',
2022-09-08T00:00:00.0163518Z syscall: 'rename',
2022-09-08T00:00:00.0163983Z path: '/home/vsts_azpcontainer/.sf/sf.log',
2022-09-08T00:00:00.0164514Z dest: '/home/vsts_azpcontainer/.sf/sf.log.0'
2022-09-08T00:00:00.0164889Z }
2022-09-08T00:00:00.0179293Z ERROR running force:apex:test:run: Unknown error in Apex Library: ENOENT: no such file or directory, rename '/home/vsts_azpcontainer/.sf/sf.log' -> '/home/vsts_azpcontainer/.sf/sf.log.0'
System Information
Running SFDX in an Azure pipeline, on an image based on the heroku18 docker container.
You can see exactly at 00:00:00 errors are being generated, which result in the entire pipeline failing. This change in log-rotation seems to be the cause.
The pipeline in question usually runs about 5 hours, starting at 8pm GMT, finishing around 1am GMT. But since I upgrade the docker image to have the latest version of SFDX, now the pipeline immediately fails at 00:00.
The text was updated successfully, but these errors were encountered:
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Summary
Follow-up from #1408, if you have a long-running SFDX command that passes the 12am mark, the command will start giving errors because probably the current log is being rotated.
Steps To Reproduce:
Run a large testsuite, starting at 23:59
Expected result
No errors
Actual result
System Information
Running SFDX in an Azure pipeline, on an image based on the
heroku18
docker container.Additional information
You can see exactly at 00:00:00 errors are being generated, which result in the entire pipeline failing. This change in log-rotation seems to be the cause.
The pipeline in question usually runs about 5 hours, starting at 8pm GMT, finishing around 1am GMT. But since I upgrade the docker image to have the latest version of SFDX, now the pipeline immediately fails at 00:00.
The text was updated successfully, but these errors were encountered: