Hello, I’ve noticed that the failed builds can be assigned to a few machines. For instance, builds on ubuntu-6, ubuntu-5, H11 and H10 fails almost every time. On the other hand, all builds on the jenkins-ubuntu-1404-4gb succeedes.
For the further diagnostics it could be useful to get the unittest.log file from the failed build. Right now, the only way to do it is to wait until some build fails and grab the file from the workspace. The workspace is purged every time the jobs starts, so it requires a good timing. Maybe we can change the configuration, so the target/unittest.log file will be archived if the job is failed? Best regards, Tomek On 09/12/15 17:20, "Michael Dürig" <[email protected]> wrote: > > >On 9.12.15 12:02 , Michael Dürig wrote: >> >>> >>> Do you have any suggestions? >> >> Something must be way wrong as the build either takes ~30 minutes or it >> times out after 90 minutes. There is quite a difference here. Maybe we >> need to go through the log files and compare test execution times of >> individual tests between timed out and succeeded builds to get a clue. >> > >Comparing test execution times for builds 593 and 595. The former timed >out and the latter passed. Both ran on Java 1.8. > >Running org.apache.jackrabbit.oak.jcr.ValueFactoryTest >Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.774 sec > >vs. > >Running org.apache.jackrabbit.oak.jcr.MoveRemoveTest >Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.893 sec > > >Running org.apache.jackrabbit.oak.jcr.query.QueryTest >Tests run: 27, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 541.876 sec > >vs. > >Running org.apache.jackrabbit.oak.jcr.query.QueryTest >Tests run: 27, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 48.32 sec > >So it seems that for some reason sometimes tests run 3 - 5 times slower >than normal, which with a usual build time of ~30 minutes bumps us over >the 90 minutes build time out. > >Michael > > >See: >https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/595/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_RDB,profile=unittesting/consoleFull >https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/593/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_RDB,profile=unittesting/console
