-
Notifications
You must be signed in to change notification settings - Fork 497
UNIT_MainWindow_TEST fails in Jenkins but not on local machine #811
Comments
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
|
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero). I was looking at this issue sometime during last weeks. I was unable to reproduce it using the same development machine, logging into base system and run the tests from there. I think it should be something related to run tests from a chroot, but not sure. |
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero). I made a chroot in my local machine and tried to run the test from there. It works just fine. |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). It fails for me when I run overnight and my monitor is off. Can you try it with your monitor disconnected? ie. ssh in from another machine? |
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero). I've launched the test with a sleep of 5 seconds, I've turned off the monitor and test is running fine. Even disconnecting the cable. |
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero). During the last in person discussion @nkoenig @scpeters and me arrived at the following conclusions regards to this bug:
|
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).
Done in pull request #764 |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Here's an example test failure with error message:
The strange thing is that this test passes on my local machine.
I have been able to see failures of this test in my overnight testing with the gz_build_test.bash script. They have the following console output:
For this case, I believe the failure is related to the line that prints the average color before and after wireframe is turned on:
since there is a QVerify statement that expects these values to be different.
In the morning, the script is still running, and once I log in to the machine with the monitor turned on, the test starts passing. So perhaps some hardware component is disabled when the screen is turned off.
The text was updated successfully, but these errors were encountered: