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
Issue: #19
Error: spawn ETXTBSY
at _errnoException (util.js:1022:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at exports.spawn (child_process.js:502:9)
at Object.exports.execFile (child_process.js:212:15)
I'm reopening this issue again because I'm seeing the same problem pop up in CI right now. This was the accepted solution that was merged into master: #23
The version of the dependancy is 1.3.7
The problem occurs when attempting to launch browserstack-local during an AWS CodeBuild run. It isn't consistently throwing an error though so there may still be a race condition which was mentioned in the original issue.
The problem occurred in a container running Ubuntu 14.04.6 LTS.
Update on this issue: After several more CI builds have run the frequency of running into this problem seems to have increased if anything. Is there anything else that I could do to prevent this from happening?
Thank you, the issue has been fixed. The problem was that the function to run test-cafe was not being called in the callback function supplied to the browserstack-local launch function. It was instead being called directly after which resulted in a race condition. This was fixed by calling test-cafe in the callback function.
Activity
ckzgraphics commentedon Aug 26, 2019
Did you try updating to the latest version 1.4.2 ?
Try this out and do share your findings.
adarshpala-hubdoc commentedon Aug 26, 2019
Thanks for your help, once enough CI builds have run I will update the issue.
adarshpala-hubdoc commentedon Aug 28, 2019
Unfortunately, it looks like updating to version 1.4.2 didn't solve the problem as a CI build has failed with the same problem since the update.
adarshpala-hubdoc commentedon Sep 4, 2019
Update on this issue: After several more CI builds have run the frequency of running into this problem seems to have increased if anything. Is there anything else that I could do to prevent this from happening?
vedharish commentedon Sep 5, 2019
@adarshpala-hubdoc Please share the logs from this module. Check
adarshpala-hubdoc commentedon Sep 9, 2019
Thank you, the issue has been fixed. The problem was that the function to run test-cafe was not being called in the callback function supplied to the browserstack-local launch function. It was instead being called directly after which resulted in a race condition. This was fixed by calling test-cafe in the callback function.