[IPython-dev] [Ipython-build] Automatic IPython build reports Build failed in Jenkins: ipython-mac #107

Matthias BUSSONNIER bussonniermatthias at gmail.com
Wed May 16 05:00:43 EDT 2012


Le 15 mai 2012 à 14:13, Thomas Kluyver a écrit :

> We periodically get failure reports like this from the mac build bot.
> It looks like one or more of the xml files is an empty file ("Test
> report file /home/slave/jenkins/workspace/ipython-mac/results/IPython.parallel.xunit.xml
> was length 0"). When I re-run it (i.e. redownload the zip file), it
> works.
> 
> Matthias, any ideas what might be causing it? Shiningpanda currently
> downloads your results at 9am French time - should I shift that time?
> 
It works when i'm running everything myself in the venv, so it might be a problem with the cron…
the other issues I have is that wen iptest is run by the cron I've a python process that never ends :
/.../venv/jenkins/bin/python -c from IPython import embed_kernel^Jdef go():^J    a=5^J    b="hi there"^J    embed_kernel()^Jgo()^J

As for the time, it is ok, and you can choose almost at anytime, the venv is totally cleaned and reinstall every day at 2, 
and a test of last IPython every 4 hours without reinstalling the all venv.

I'll try to investigate, but i'll be away for a few days.

-- 
Matthias

> Thanks,
> Thomas
> 
> ---------- Forwarded message ----------
> From:  <admin at shiningpanda.com>
> Date: 15 May 2012 08:02
> Subject: [Ipython-build] Automatic IPython build reports Build failed
> in Jenkins: ipython-mac #107
> To: ipython-build at lists.ipython.org
> 
> 
> See <https://jenkins.shiningpanda.com/ipython/job/ipython-mac/107/>
> 
> ------------------------------------------
> Started by timer
> [EnvInject] - Loading node environment variables.
> Building remotely on Default Debian 6 - Squeeze .1 in workspace
> <https://jenkins.shiningpanda.com/ipython/job/ipython-mac/ws/>
> [ipython-mac] $ /bin/sh -xe /tmp/hudson2257515646098530057.sh
> + mkdir -p results
> + cd results
> + rm -f IPython.config.coverage.xml IPython.config.xunit.xml
> IPython.core.coverage.xml IPython.core.xunit.xml
> IPython.extensions.coverage.xml IPython.extensions.xunit.xml
> IPython.frontend.coverage.xml IPython.frontend.xunit.xml
> IPython.lib.coverage.xml IPython.lib.xunit.xml
> IPython.nbformat.coverage.xml IPython.nbformat.xunit.xml
> IPython.parallel.coverage.xml IPython.parallel.xunit.xml
> IPython.scripts.coverage.xml IPython.scripts.xunit.xml
> IPython.testing.coverage.xml IPython.testing.xunit.xml
> IPython.utils.coverage.xml IPython.utils.xunit.xml
> IPython.zmq.coverage.xml IPython.zmq.xunit.xml stderrandout.log
> test-latest.zip
> + wget -O test-latest.zip http://elacave.lmdb.eu/~carreau/ipd/test-latest.zip
> --2012-05-15 09:02:23--  http://elacave.lmdb.eu/~carreau/ipd/test-latest.zip
> Resolving elacave.lmdb.eu... 91.121.208.77, 2001:41d0:1:fd4d::1
> Connecting to elacave.lmdb.eu|91.121.208.77|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 95865 (94K) [application/zip]
> Saving to: “test-latest.zip”
> 
>     0K .......... .......... .......... .......... .......... 53% 2.35M 0s
>    50K .......... .......... .......... .......... ...       100% 5.22M=0.03s
> 
> 2012-05-15 09:02:23 (3.16 MB/s) - “test-latest.zip” saved [95865/95865]
> 
> + unzip test-latest.zip
> Archive:  test-latest.zip
>  inflating: IPython.config.coverage.xml
>  inflating: IPython.config.xunit.xml
>  inflating: IPython.core.coverage.xml
>  inflating: IPython.core.xunit.xml
>  inflating: IPython.extensions.coverage.xml
>  inflating: IPython.extensions.xunit.xml
>  inflating: IPython.frontend.coverage.xml
>  inflating: IPython.frontend.xunit.xml
>  inflating: IPython.lib.coverage.xml
>  inflating: IPython.lib.xunit.xml
>  inflating: IPython.nbformat.coverage.xml
>  inflating: IPython.nbformat.xunit.xml
>  extracting: IPython.parallel.coverage.xml
>  extracting: IPython.parallel.xunit.xml
>  inflating: IPython.scripts.coverage.xml
>  inflating: IPython.scripts.xunit.xml
>  inflating: IPython.testing.coverage.xml
>  inflating: IPython.testing.xunit.xml
>  inflating: IPython.utils.coverage.xml
>  inflating: IPython.utils.xunit.xml
>  inflating: IPython.zmq.coverage.xml
>  inflating: IPython.zmq.xunit.xml
>  inflating: stderrandout.log
> + touch IPython.config.coverage.xml IPython.core.coverage.xml
> IPython.extensions.coverage.xml IPython.frontend.coverage.xml
> IPython.lib.coverage.xml IPython.nbformat.coverage.xml
> IPython.parallel.coverage.xml IPython.scripts.coverage.xml
> IPython.testing.coverage.xml IPython.utils.coverage.xml
> IPython.zmq.coverage.xml
> + touch IPython.config.xunit.xml IPython.core.xunit.xml
> IPython.extensions.xunit.xml IPython.frontend.xunit.xml
> IPython.lib.xunit.xml IPython.nbformat.xunit.xml
> IPython.parallel.xunit.xml IPython.scripts.xunit.xml
> IPython.testing.xunit.xml IPython.utils.xunit.xml
> IPython.zmq.xunit.xml
> Publishing Cobertura coverage report...
> Publishing Cobertura coverage results...
> FATAL: Unable to parse
> /sp/mnt/jenkins/ipython/jobs/ipython-mac/builds/2012-05-15_09-02-19/coverage6.xml
> hudson.util.IOException2: Cannot parse coverage results
>        at hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:89)
>        at hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:52)
>        at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:265)
>        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
>        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
>        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680)
>        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658)
>        at hudson.model.Build$RunnerImpl.post2(Build.java:162)
>        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627)
>        at hudson.model.Run.run(Run.java:1459)
>        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>        at hudson.model.ResourceController.execute(ResourceController.java:88)
>        at hudson.model.Executor.run(Executor.java:239)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
>        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
>        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
>        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
>        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
>        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
>        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
>        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
>        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>        at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
>        at hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:81)
>        ... 12 more
> Build step 'Publish Cobertura Coverage Report' changed build result to FAILURE
> Recording test results
> _______________________________________________
> Ipython-build mailing list
> Ipython-build at lists.ipython.org
> http://lists.ipython.org/listinfo.cgi/ipython-build-ipython.org




More information about the IPython-dev mailing list