eclipse / repairnator

Software development bots for Github. Join the bot revolution! :star2::robot::star2::revolving_hearts:
MIT License
384 stars 83 forks source link

The realtime scanner stopped after an unexpected error this morning. #791

Open bloriot97 opened 5 years ago

bloriot97 commented 5 years ago

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 ?

surli commented 5 years ago

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.

monperrus commented 5 years ago

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

surli commented 5 years ago

yep