[JIRA] Created: (HUDSON-5680) after upgrading to 0.5.2, creating test report silently fails

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5680) after upgrading to 0.5.2, creating test report silently fails

Hudson issues mailing list
after upgrading to 0.5.2, creating test report silently fails
-------------------------------------------------------------

                 Key: HUDSON-5680
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5680
             Project: Hudson
          Issue Type: Bug
            Reporter: mcrooney


Hello! We upgraded to xUnit 0.5.2 and after restarting, a job configured for xUnit shows output like this:

[xUnit] Starting to record.
[xUnit] [PHPUnit] - Use the embedded style sheet.
ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception
hudson.util.IOException2: The plugin hasn't been performed correctly.
        at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:128)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
        at hudson.model.Build$RunnerImpl.post2(Build.java:152)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
        at hudson.model.Run.run(Run.java:1221)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:122)
Caused by: hudson.util.IOException2: remote file operation failed: /code/htdocs/hudson/workspace/trunk at hudson.remoting.Channel@1592141:Dev2
        at hudson.FilePath.act(FilePath.java:690)
        at hudson.FilePath.act(FilePath.java:676)
        at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101)
        ... 10 more
Caused by: hudson.util.IOException2: Problem on converting into JUnit reports.
        at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:154)
        at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:57)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962)
        at hudson.remoting.UserRequest.perform(UserRequest.java:104)
        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:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at com.thalesgroup.hudson.plugins.xunit.types.XUnitType.isFaildedIfNotNew(XUnitType.java:75)
        at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.processTool(XUnitTransformer.java:272)
        at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:134)
        ... 11 more

and strangely the build succeeds. I noticed when going to the configuration that "Fail the build if test results were not updated this run" is not checked even though I think it was intended to be the default. I checked this, and ran again, and the build succeeded with test results. So I think the logic to make that the default for existing projects is not working.

I will check this in all our existing configs but it would be good to fix this in an update, it seems like all existing configurations are broken but maybe it is just something about our circumstances? Thanks for the two issues the 0.5.2 release does fix though, those are appreciated :)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5680) after upgrading to 0.5.2, creating test report silently fails

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mcrooney updated HUDSON-5680:
-----------------------------

    Assignee: gbois

> after upgrading to 0.5.2, creating test report silently fails
> -------------------------------------------------------------
>
>                 Key: HUDSON-5680
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5680
>             Project: Hudson
>          Issue Type: Bug
>          Components: xunit
>            Reporter: mcrooney
>            Assignee: gbois
>
> Hello! We upgraded to xUnit 0.5.2 and after restarting, a job configured for xUnit shows output like this:
> [xUnit] Starting to record.
> [xUnit] [PHPUnit] - Use the embedded style sheet.
> ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception
> hudson.util.IOException2: The plugin hasn't been performed correctly.
> at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:128)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Caused by: hudson.util.IOException2: remote file operation failed: /code/htdocs/hudson/workspace/trunk at hudson.remoting.Channel@1592141:Dev2
> at hudson.FilePath.act(FilePath.java:690)
> at hudson.FilePath.act(FilePath.java:676)
> at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101)
> ... 10 more
> Caused by: hudson.util.IOException2: Problem on converting into JUnit reports.
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:154)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:57)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962)
> at hudson.remoting.UserRequest.perform(UserRequest.java:104)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
> at com.thalesgroup.hudson.plugins.xunit.types.XUnitType.isFaildedIfNotNew(XUnitType.java:75)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.processTool(XUnitTransformer.java:272)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:134)
> ... 11 more
> and strangely the build succeeds. I noticed when going to the configuration that "Fail the build if test results were not updated this run" is not checked even though I think it was intended to be the default. I checked this, and ran again, and the build succeeded with test results. So I think the logic to make that the default for existing projects is not working.
> I will check this in all our existing configs but it would be good to fix this in an update, it seems like all existing configurations are broken but maybe it is just something about our circumstances? Thanks for the two issues the 0.5.2 release does fix though, those are appreciated :)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5680) after upgrading to 0.5.2, creating test report silently fails

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mcrooney updated HUDSON-5680:
-----------------------------

    Component/s: xunit

> after upgrading to 0.5.2, creating test report silently fails
> -------------------------------------------------------------
>
>                 Key: HUDSON-5680
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5680
>             Project: Hudson
>          Issue Type: Bug
>          Components: xunit
>            Reporter: mcrooney
>
> Hello! We upgraded to xUnit 0.5.2 and after restarting, a job configured for xUnit shows output like this:
> [xUnit] Starting to record.
> [xUnit] [PHPUnit] - Use the embedded style sheet.
> ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception
> hudson.util.IOException2: The plugin hasn't been performed correctly.
> at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:128)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Caused by: hudson.util.IOException2: remote file operation failed: /code/htdocs/hudson/workspace/trunk at hudson.remoting.Channel@1592141:Dev2
> at hudson.FilePath.act(FilePath.java:690)
> at hudson.FilePath.act(FilePath.java:676)
> at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101)
> ... 10 more
> Caused by: hudson.util.IOException2: Problem on converting into JUnit reports.
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:154)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:57)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962)
> at hudson.remoting.UserRequest.perform(UserRequest.java:104)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
> at com.thalesgroup.hudson.plugins.xunit.types.XUnitType.isFaildedIfNotNew(XUnitType.java:75)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.processTool(XUnitTransformer.java:272)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:134)
> ... 11 more
> and strangely the build succeeds. I noticed when going to the configuration that "Fail the build if test results were not updated this run" is not checked even though I think it was intended to be the default. I checked this, and ran again, and the build succeeded with test results. So I think the logic to make that the default for existing projects is not working.
> I will check this in all our existing configs but it would be good to fix this in an update, it seems like all existing configurations are broken but maybe it is just something about our circumstances? Thanks for the two issues the 0.5.2 release does fix though, those are appreciated :)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5680) after upgrading to 0.5.2, creating test report silently fails

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

gbois resolved HUDSON-5680.
---------------------------

    Resolution: Fixed

Fixed in 0.5.2.1

> after upgrading to 0.5.2, creating test report silently fails
> -------------------------------------------------------------
>
>                 Key: HUDSON-5680
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5680
>             Project: Hudson
>          Issue Type: Bug
>          Components: xunit
>            Reporter: mcrooney
>            Assignee: gbois
>
> Hello! We upgraded to xUnit 0.5.2 and after restarting, a job configured for xUnit shows output like this:
> [xUnit] Starting to record.
> [xUnit] [PHPUnit] - Use the embedded style sheet.
> ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception
> hudson.util.IOException2: The plugin hasn't been performed correctly.
> at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:128)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
> at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
> at hudson.model.Build$RunnerImpl.post2(Build.java:152)
> at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> at hudson.model.Run.run(Run.java:1221)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:122)
> Caused by: hudson.util.IOException2: remote file operation failed: /code/htdocs/hudson/workspace/trunk at hudson.remoting.Channel@1592141:Dev2
> at hudson.FilePath.act(FilePath.java:690)
> at hudson.FilePath.act(FilePath.java:676)
> at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101)
> ... 10 more
> Caused by: hudson.util.IOException2: Problem on converting into JUnit reports.
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:154)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:57)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962)
> at hudson.remoting.UserRequest.perform(UserRequest.java:104)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
> at com.thalesgroup.hudson.plugins.xunit.types.XUnitType.isFaildedIfNotNew(XUnitType.java:75)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.processTool(XUnitTransformer.java:272)
> at com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer.invoke(XUnitTransformer.java:134)
> ... 11 more
> and strangely the build succeeds. I noticed when going to the configuration that "Fail the build if test results were not updated this run" is not checked even though I think it was intended to be the default. I checked this, and ran again, and the build succeeded with test results. So I think the logic to make that the default for existing projects is not working.
> I will check this in all our existing configs but it would be good to fix this in an update, it seems like all existing configurations are broken but maybe it is just something about our circumstances? Thanks for the two issues the 0.5.2 release does fix though, those are appreciated :)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]