[Ros-release] devel build failures with "java.io.FileNotFoundException" on buildfailures.txt

Bhaskara Marthi bhaskara at willowgarage.com
Wed Nov 9 17:59:12 UTC 2011


On Wed, Nov 9, 2011 at 7:51 AM, Brian Gerkey <gerkey at willowgarage.com> wrote:
> I've seen the same thing.  I'm starting to ignore the failures, which
> is a bad thing, as it makes the continuous integration system much
> less valuable.
>
> I know that the Java Exception output in the report email is a
> consequence of the job not getting to the point where it produces
> results files that Hudson is configured to read into the email.  So
> there's an aesthetic fix to be made there, in making the result
> file-reading more robust.  But there would remain the fact that the
> job is failing.
>
> Is there a list anywhere of known causes of job failure?  Can we
> (stack maintainers) do anything to help?
>
>        brian.

I've been seeing such errors as well, with prerelease builds, and
filed a ticket at https://code.ros.org/trac/ros/ticket/3736.  One
thing I noticed from the errors was that a pip install step often
seemed to be failing.
- Bhaskara

>
> On Wed, Nov 9, 2011 at 5:26 AM, Armin Hornung
> <HornungA at informatik.uni-freiburg.de> wrote:
>> Looks like this is the first post to this mailing list - hello everyone!
>>
>> Lately, I'm getting a lot of mails from the ROS autobuild server about
>> failed devel builds, after every checkin to the octomap_mapping stack. They
>> all have the subject devel_electric_octomap_mapping_* (concerning electric
>> currently, but across all kinds of Ubuntu versions). The error messages are
>> all identical, here is one example:
>>
>> ----
>>
>> devel_electric_octomap_mapping_oneiric_i386 - Build # 2 - Failure:
>>
>> Check console output
>> athttp://build.willowgarage.com//job/devel_electric_octomap_mapping_oneiric_i386/2/
>>  to view the results.
>>
>> java.io.FileNotFoundException:
>> /home/rosbuild/hudson/workspace/devel_electric_octomap_mapping_oneiric_i386/build_output/buildfailures.txt
>> (No such file or directory)
>>        at java.io.FileInputStream.open(Native Method)
>>        at java.io.FileInputStream.<init>(FileInputStream.java:137)
>>        at groovy.util.CharsetToolkit.<init>(CharsetToolkit.java:68)
>>        at
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.newReader(DefaultGroovyMethods.java:9798)
>>        at
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.getText(DefaultGroovyMethods.java:9222)
>>        at org.codehaus.groovy.runtime.dgm$239.doMethodInvoke(Unknown Source)
>>        at
>> groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3432)
>>        at
>> org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:57)
>>        at
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:236)
>>        at Script1.run(Script1.groovy:1)
>>        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:561)
>>        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:536)
>>        at
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:123)
>>        at
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:101)
>>        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
>>        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>>        at hudson.remoting.Request$2.run(Request.java:270)
>>        at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>        at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>        at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>        at java.lang.Thread.run(Thread.java:636)
>>
>> java.io.FileNotFoundException:
>> /home/rosbuild/hudson/workspace/devel_electric_octomap_mapping_oneiric_i386/test_output/testfailures.txt
>> (No such file or directory)
>>        at java.io.FileInputStream.open(Native Method)
>>        at java.io.FileInputStream.<init>(FileInputStream.java:137)
>>        at groovy.util.CharsetToolkit.<init>(CharsetToolkit.java:68)
>>        at
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.newReader(DefaultGroovyMethods.java:9798)
>>        at
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.getText(DefaultGroovyMethods.java:9222)
>>        at org.codehaus.groovy.runtime.dgm$239.doMethodInvoke(Unknown Source)
>>        at
>> groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3432)
>>        at
>> org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:57)
>>        at
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:236)
>>        at Script1.run(Script1.groovy:1)
>>        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:561)
>>        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:536)
>>        at
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:123)
>>        at
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:101)
>>        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
>>        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>>        at hudson.remoting.Request$2.run(Request.java:270)
>>        at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>        at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>        at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>        at java.lang.Thread.run(Thread.java:636)
>>
>> java.io.FileNotFoundException:
>> /home/rosbuild/hudson/workspace/devel_electric_octomap_mapping_oneiric_i386/build_output/buildfailures-with-context.txt
>> (No such file or directory)
>>        at java.io.FileInputStream.open(Native Method)
>>        at java.io.FileInputStream.<init>(FileInputStream.java:137)
>>        at groovy.util.CharsetToolkit.<init>(CharsetToolkit.java:68)
>>        at
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.newReader(DefaultGroovyMethods.java:9798)
>>        at
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.getText(DefaultGroovyMethods.java:9222)
>>        at org.codehaus.groovy.runtime.dgm$239.doMethodInvoke(Unknown Source)
>>        at
>> groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3432)
>>        at
>> org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:57)
>>        at
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:236)
>>        at Script1.run(Script1.groovy:1)
>>        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:561)
>>        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:536)
>>        at
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:123)
>>        at
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:101)
>>        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
>>        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>>        at hudson.remoting.Request$2.run(Request.java:270)
>>        at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>        at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>        at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>        at java.lang.Thread.run(Thread.java:636)
>>
>>
>>
>> ----
>>
>> I assume that's some error on the build server (could not create / locate
>> the build/testfailures.txt files?) which I can't really fix...
>>
>> At the same time I'm getting devel_unstable_octomap_mapping_... "still
>> failing" with "Result: 'assimp'. Check the console output for test failure
>> details." but I guess that's because unstable builds are likely to fail
>> anyways right now.
>>
>> Best,
>> Armin
>>
>>
>> --
>> Armin Hornung
>> Humanoid Robots Lab, Albert-Ludwigs-Universität Freiburg
>> Contact: http://www.informatik.uni-freiburg.de/~hornunga
>>
>> _______________________________________________
>> Ros-release mailing list
>> Ros-release at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-release
>>
>
>
>
> --
> http://brian.gerkey.org
> _______________________________________________
> Ros-release mailing list
> Ros-release at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-release
>



-- 
Bhaskara Marthi
Research Scientist
Willow Garage Inc.
650-475-2856



More information about the Ros-release mailing list