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
Appveyor build is flaky #9533
Comments
The "ERROR: no coverage files found" message occurs when this command is run and no |
it happened occasionally and I've never seen it in my local, so I guess it might be related to mocha timeout. can we set it to be bigger to see if it happens again? |
I noticed that the error usually happens when the progress bar is at this stage: [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..] I think that's the point where the tests in
|
I don't think the issue is a timeout, because when I apply this diff: diff --git a/tests/bin/eslint.js b/tests/bin/eslint.js
index 7742eb71..830672e5 100644
--- a/tests/bin/eslint.js
+++ b/tests/bin/eslint.js
@@ -46,7 +46,9 @@ function getOutput(runningProcess) {
return awaitExit(runningProcess).then(() => ({ stdout, stderr }));
}
-describe("bin/eslint.js", () => {
+describe("bin/eslint.js", function() {
+ this.timeout(200); // eslint-disable-line no-invalid-this
+
const forkedProcesses = new Set();
/**
...I get a bunch of error messages that the test timed out. On Appveyor, there are no error messages. |
It's also interesting that the test bar stops at [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..] and it never reaches the end, and then the "ERROR: no coverage files found" is printed immediately afterwards. Under normal circumstances, a So my guess is that when we do |
This removes the `shelljs-nodecli` module from the build process. `shelljs-nodecli` relies on a very old version of the `shelljs` module, which might be causing a flaky build on Appveyor (see #9533 for details). In any case, removing `shelljs-cli` seem to make `npm test` run 40% faster anyway, so it should be an improvement even if it doesn't fix the Appveyor build.
This removes the `shelljs-nodecli` module from the build process. `shelljs-nodecli` relies on a very old version of the `shelljs` module, which might be causing a flaky build on Appveyor (see #9533 for details). In any case, removing `shelljs-cli` seem to make `npm test` run 40% faster anyway, so it should be an improvement even if it doesn't fix the Appveyor build.
Looks like this is still a problem (e.g. the build failed for #9589) |
Should this be closed? I haven't seen the build fail for awhile. |
I think it's fine to close it. Occasional errors in the build happens. We've had them on Travis during last release, for example. I don't think there a way to completely eliminate them. As long as they are within reasonable boundaries, we just have to live with them. |
a timeout error was happening today. https://ci.appveyor.com/project/nzakas/eslint/build/9677 |
For the past few weeks, the Appveyor build has been occasionally been failing with messages like this:
It's not clear what's going on. (It says "no coverage files found", but I'm not sure why that's the case, or why it only happens sometimes.)
The text was updated successfully, but these errors were encountered: