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
Strange phpdbg failures on Travis #622
Conversation
b4e0a0e
to
7641287
Compare
Short-term solution, to allow us to continue development, would be to temporary drop phpdbg support. |
Also we've had issues with phpdbg before, which weren't really fixed: #429 |
…st_it_runs_on_itself
…st_it_runs_on_itself
7641287
to
5aa9872
Compare
Ok, the current status of this issue:
Context:
Error happens when we run PHPUnit on Travis with The command that starts the process on Travis is trivial:
Then E2ETest.php starts executing e2e tests and one of them fails with:
(this is a process started from PHPUnit runtime) Exactly the same command works well if I remove C1, C2 files (on The last commit of this branch skips E2ETest.php's tests for I'm happy to merge it and stop wasting so much time. This explanation is for history and for @krakjoe as there was a tweet asking for help and Joe answered to it |
Had a discussion on Slack and decided to not run e2e from PHPUnit for from Joe Watkins:
Closed via 4f2a828 |
This seems to be a related issue: travis-ci/travis-ci#9706 Also, IIRC recently Travis CI force-upgraded everyone to use newer infrastructure. The above issue also mentions phpdbg. I haven't dug deeper though. The solution could have been as simple as |
Should fix infection#622 for time being.
Should fix infection#622 for time being.
Just noticed this discussion while searching for the simialr issue in travis. I think it is addressed here: php/php-src#3965 Setting php version to 7.2.18 in travis fixed the issue for me. |
This PR shows, how adding three (almost empty) files lead to
phpdbg
fails on Travis.Build: https://travis-ci.org/infection/infection/builds/489218026
Error: https://travis-ci.org/infection/infection/jobs/489218030#L3136-L3142
I started investigating this issue because of these strange fails in my latest PR: #618
I've been trying many different things but with no luck.
What is interesting, when I connect to the failed build via Travis Debug feature, running command by command from our
.travis.yml
file, the issue is not reproduced - build is always successfully finished.To be honest, I have no more ideas what to do.. Spent too much time on it.
This is a critical issue since it blocks any new PR that adds new files, including #618.
Advice would be much appreciated.