-
-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ENOENT: no such file or directory - This issue is observing while executing await commands.measure.stop() command for second time #4192
Comments
Hi @pjayaweera in your cleanupTempFiles function don't you cleanup up data directories before the tests has ended? I think that's why the chrome driver log is removed before browsertime tries to gzip the file. |
Hi @soulgalore, I didn't use this clean-up function initially. But faced to same issue. Then i added this clean-up function(line 43). But same result. Could you please tell me where should i call await cleanupTempFiles(); function? (just tell me the line number) and please note error is coming while executing the line 50. So, its not reaching end of the test case. In the attached Test.txt file you can see the full code |
I didn't fully get why you need to cleanup the directory inside of the script? I would move some of that functionality that do not belong to scripting (running users journey tests) to a start script that starts of the test and cleanup when the test finished. |
Try without enabling the chrome driver log and see if it works? |
You still have |
I have site speed script to run through Jenkins pipeline and while its running i'm getting following error. This issue is getting while trying to execute the await commands.measure.stop(); command for second time (line 50).
Error: ENOENT: no such file or directory,
Login transaction is successfully completed (line 34 - line 41). During the login transaction await commands.measure.stop();(line 39) executed without any errors for the 1st time.
i have uploaded the java script file i'm running as an attachment(Test.js)
Test.txt
i have attached the pipeline script which is currently running
pipeline.txt
p.s - This script is working fine in local environment.(no issues)
The text was updated successfully, but these errors were encountered: