Hi Alex,
Fully agree with you that it can be hard to find the cause for a failing
build. You basically need to know the exact keyword to grep for. The
reason is that Jenkins does not understand all build logs to display the
error directly in the UI.
I often do the following for large logs:
$ curl
https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/12017/consoleText
| less
Then I can use '/' to search in the log quickly without my browser
slowing down.
In the linked build log, I searched for ' FAILED':
09:18:26 > Task :sdks:java:io:rabbitmq:test FAILED
09:18:26
09:18:26 FAILURE: Build failed with an exception.
09:18:26
09:18:26 * What went wrong:
09:18:26 Execution failed for task ':sdks:java:io:rabbitmq:test'.
09:18:26 > Process 'Gradle Test Executor 110' finished with non-zero
exit value 143
09:18:26 This problem might be caused by incorrect test process
configuration.
09:18:26 Please refer to the test execution section in the User
Manual at
https://docs.gradle.org/5.2.1/userguide/java_testing.html#sec:test_execution
Now, it appears that the rabbitmq tests are timing out but I'm not sure
the issue if with rabbitmq because I'm also seeing:
Build timed out (after 120 minutes). Marking the build as aborted.
Build was aborted
Recording test results
So maybe some other test slowed down the build and when it reached
rabbitmq it was killed. That can probably tested by running the build
multiple times.
-Max
On 30.06.20 19:47, Alex Amato wrote:
Often I see the build failing, but on the next page there are no
warnings and no errors.
Then when you dive into the full log, it slows down the browser and
there is no obvious ctrl-f keyword to find the error ("error" yields
over 100 results, and the error isn't always at the bottom). Is there a
faster/better way to do it?
There is a log about the build timing out, but I don't really know what
timed out or where to look next.
Is 120 min a long enough time? Did something recently happen? If so Can
we increase the timeout until we debug the regression?
https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/12017/
https://issues.apache.org/jira/browse/BEAM-10390
Thanks, I would appreciate any ideas :)
Alex