-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Intermittent issue with Travis build #1742
Comments
Can you try to use |
Thanks for the follow up. I will try this option. One question: if this is a memory leak in my code, should I be able to reproduce it locally? I tried running tests 20x in a roll with multiple threads and I could not reproduce the issue. Also, I haven't heard back from any of our community members regarding this intermittent issue in their locals. Could this be related to timeout or something? One noticeable difference between my local and Travis is how long a test takes to run in the CI. I'm wondering if this could be related to this issue. |
Travis in general doesn't have a lot of resources so you might not be able to notice this because your CPU and memory is much better than what a travis vm gives you. |
I'm gonna close because there is probably nothing actionable for us and |
@alansouzati that happened to me a few times and using |
Thanks for the follow up guys Sent from my iPhone
|
Thanks @DmitriiAbramov and @cpojer. My travis-build went from being terminated after 16 min to only 1 min 27 sec after adding
|
It really depends on what you are doing in your tests and how you are utilizing your resources. If you spawn a lot of child processes in your tests, running Jest with many processes itself might stall the CPU. In this case, |
* Run snapshot testing against all demos * Split demo tests * ignore coverage folder * Upgrade antd-demo-jest * enable cache * intergate with coveralls.io * Add node test * Set worker to 2 jestjs/jest#1742 * config coverage * Set default supportServerRender to true
I've run into this problem in our attempt to migrate stylelint to Jest. I don't understand how it is not an issue that Jest itself needs to address. As an aspiring Jest user, here's what I'm seeing:
|
We're seeing intermittent failures there; echoed in jestjs/jest#1742 the recommendation there is to add the `-i` flag which makes it run all tests inline instead of using a process pool.
TravisCI erroring with “ProcessTerminatedError: cancel after 2 retries!” jestjs/jest#1742
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sometimes my Travis build is failing with the following log:
Do you want to request a feature or report a bug?
report a bug
What is the current behavior?
https://travis-ci.org/grommet/grommet/builds/161188855#L579
The text was updated successfully, but these errors were encountered: