repairnator icon indicating copy to clipboard operation
repairnator copied to clipboard

The realtime scanner stopped after an unexpected error this morning.

Open bloriot97 opened this issue 6 years ago • 3 comments

Hey this morning the realtime scanner stopped running properly after it got this error :

Exception in thread "Thread-2" java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:542)
        at java.lang.Integer.parseInt(Integer.java:615)
        at fr.inria.jtravis.parsers.MavenLogParser.parseTestLine(MavenLogParser.java:52)
        at fr.inria.jtravis.parsers.MavenLogParser.advancedParseLog(MavenLogParser.java:102)
        at fr.inria.jtravis.parsers.MavenLogParser.parseLog(MavenLogParser.java:67)
        at fr.inria.jtravis.parsers.LogParser.getTestsInformation(LogParser.java:113)
        at fr.inria.jtravis.entities.Log.getTestsInformation(Log.java:52)
        at fr.inria.spirals.repairnator.realtime.RTScanner.isRepositoryInteresting(RTScanner.java:261)
        at fr.inria.spirals.repairnator.realtime.InspectJobs.run(InspectJobs.java:47)
        at java.lang.Thread.run(Thread.java:748)

After this error the RT-scanner was not able to retrieve failing builds and it was only logging this (with a decreasing number of builds down to 0, they were most likely sent to the pipeline).

[Thread-1] INFO  f.i.s.r.realtime.InspectBuilds - Refresh all inspected build status (nb builds: 4)

I was not able to find what was the faulty travis build, but I think this is probably related to an unhandled exception in JTravis, @surli WDYT ?

bloriot97 avatar Dec 03 '18 08:12 bloriot97

I was not able to find what was the faulty travis build, but I think this is probably related to an unhandled exception in JTravis, @surli WDYT ?

Would have been really great to get the faulty travis build there! Apparently JTravis detected the proper format of a failing test but it did not manage to parse it. And indeed it crashed the InspectJob thread, that's why it did not take back the other jobs.

I'll open an issue on jTravis side.

surli avatar Dec 03 '18 09:12 surli

Simon, do you plan to fix it yourself? Thanks! --Martin

monperrus avatar Dec 03 '18 12:12 monperrus

yep

surli avatar Dec 03 '18 12:12 surli