[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
SCM/JIRA link daemon commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Code changed in jenkins User: Jean-Jacques Lafay Path: src/main/java/org/jenkinsci/plugins/xunit/XUnitProcessor.java http://jenkins-ci.org/commit/xunit-plugin/bfbd152110312588b99d20a0f94305c8c07cd02c Log: Fix JENKINS-18443 when running on slaves This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
SCM/JIRA link daemon commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/xunit/XUnitProcessor.java http://jenkins-ci.org/commit/xunit-plugin/531de4bb33d769c33d91a4547fc5322ca026f238 Log: Merge pull request #21 from lanfeust69/master Fix JENKINS-18443 when running on slaves Compare: https://github.com/jenkinsci/xunit-plugin/compare/be6f3ecc808d...531de4bb33d7 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
SCM/JIRA link daemon commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/xunit/XUnitProcessor.java http://jenkins-ci.org/commit/xunit-plugin/be6f3ecc808d03e0d57afbddf5aa0e9362ccc1a9 Log: Merge pull request #20 from harcher81/master Fix JENKINS-18443 Compare: https://github.com/jenkinsci/xunit-plugin/compare/68dda81eadd7...be6f3ecc808d This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
SCM/JIRA link daemon commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Code changed in jenkins User: Mathieu Cantin Path: src/main/java/org/jenkinsci/plugins/xunit/XUnitProcessor.java http://jenkins-ci.org/commit/xunit-plugin/fbb835f47592f7271a0ea7e2f16bfe961a0bf652 Log: Fix JENKINS-18443 If we have 2 tests, A and B, both having the "Skip if there are no test files" checkbox checked and parser A has test files, but parser B doesn't. The result of parser A is ignored because parser B doesn't have any files. I see the reason of the line added for JENKINS-18443, but that just hides the real problem. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Alexander Artemov commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing It works for me as well. Thank you for the fix! This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Gregory Boissinot resolved JENKINS-18443 as Fixed SkipNoTestFiles flag ignored. Build still set to failed if test files missing Fixed for me. Check your version Change By: Gregory Boissinot (24/Feb/14 4:52 PM) Status: Reopened Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
x29a reopened JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Unfortunately, it still doesnt work. On version 1.82 (jenkins 1.544), i have enabled "Skip if there are no test files" for all configurations and get: Archiving artifacts [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing CppUnit-1.12.1 (default) [xUnit] [INFO] - [CppUnit-1.12.1 (default)] - No test report file(s) were found with the pattern '*UnitTestU.log' relative to 'e:\jenkins\workspace\job' for the testing framework 'CppUnit-1.12.1 (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'CppUnit-1.12.1 (default)'? [xUnit] [WARNING] - No test reports found for the metric 'CppUnit' with the resolved pattern '*UnitTestU.log'. [xUnit] [INFO] - Failing BUILD because 'set build failed if errors' option is activated. [xUnit] [INFO] - There are errors when processing test results. [xUnit] [INFO] - Skipping tests recording. [xUnit] [INFO] - Stop build. Build step 'Publish xUnit test result report' changed build result to FAILURE Finished: FAILURE Change By: x29a (17/Feb/14 12:24 PM) Resolution: Fixed Status: Resolved Reopened This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Gregory Boissinot resolved JENKINS-18443 as Fixed SkipNoTestFiles flag ignored. Build still set to failed if test files missing Should be fixed in 1.82 Change By: Gregory Boissinot (15/Feb/14 5:56 PM) Status: Reopened Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
SCM/JIRA link daemon commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/xunit/XUnitProcessor.java http://jenkins-ci.org/commit/xunit-plugin/90224cdd4c458c6a43b9a7cee54a36f7b44e4460 Log: Fix JENKINS-18443 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Carlos Alexandre commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing I never noticed this issue until I upgraded from 1.78 to 1.81 After upgrading to 1.81 some projects started failing due to the absence of results files... I downgraded back to 1.78 and now everything is OK. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
x29a reopened JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing I am reopening this issue because i see the behavior in the current version of xUnit. Please see my comment for further investigation. Thanks! Change By: x29a (14/Jan/14 9:04 AM) Resolution: Fixed Status: Resolved Reopened This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
x29a commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Unfortunately this seems to still occur on Windows 7 host (java version "1.7.0_17") Jenkins v1.544, xUnit 1.78 The build is configured to run without unittests, so there is nothing to parse for xUnit. The build itself ran just fine, but the raised Exception by xUnit marks it as failed. Config: "[email protected]"> *UnitTestU.log true false true false *UnittestG.log true false true false 1 1 3000 Error: Archiving artifacts [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing CppUnit-1.12.1 (default) [xUnit] [INFO] - [CppUnit-1.12.1 (default)] - No test report file(s) were found with the pattern '*UnitTestU.log' relative to 'e:\jenkins\workspace\build' for the testing framework 'CppUnit-1.12.1 (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'CppUnit-1.12.1 (default)'? [xUnit] [WARNING] - No test reports found for the metric 'CppUnit' with the resolved pattern '*UnitTestU.log'. ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.lang.InterruptedException: org.jenkinsci.plugins.xunit.SkipTestException at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:887) at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:111) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:54) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:88) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.FilePath$TunneledInterruptedException: org.jenkinsci.plugins.xunit.SkipTestException at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2463) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Unknown Source) Caused by: org.jenkinsci.plugins.xunit.SkipTestException at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:142) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:17) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461) ... 10 more Finished: FAILURE Checking the code on github i found the exception beeing thrown in https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/java/org/jenkinsci/plugins/xunit/service/XUnitTransformer.java and the problem seems to be that the exception is inheriting from "InterruptedException" here https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/java/org/jenkinsci/plugins/xunit/SkipTestException.java which jenkins will fail on apperantly :/ This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Gregory Boissinot commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Please check with the latest version, it should be OK for now. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Marc Seeger commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Running into this with the new release: Build step 'Execute shell' marked build as failure Archiving artifacts ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.lang.NullPointerException at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:80) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) (xml generated by the ci_reporter gem: https://github.com/nicksieger/ci_reporter) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Marc Seeger edited a comment on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Running into this with the new release: Build step 'Execute shell' marked build as failure Archiving artifacts ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.lang.NullPointerException at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:80) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Last working release seems to be 1.58 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Gregory Boissinot resolved JENKINS-18443 as Fixed SkipNoTestFiles flag ignored. Build still set to failed if test files missing Change By: Gregory Boissinot (27/Dec/13 11:41 PM) Status: Reopened Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
SCM/JIRA link daemon commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Code changed in jenkins User: Gregory Boissinot Path: src/main/resources/com/thalesgroup/dtkit/metrics/hudson/api/descriptor/TestTypeDescriptor/config.jelly http://jenkins-ci.org/commit/xunit-plugin/2bb32262c45b23dd37dc07b0b27b1e3a027a077e Log: Fix JENKINS-18443 Compare: https://github.com/jenkinsci/xunit-plugin/compare/7ce17fa7f1ad...2bb32262c45b This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Szymon S commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing For me the skipNoTestFiles is not saved, and every project that does not have tests fails. I use 1.67 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Diogo Campos reopened JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Change By: Diogo Campos (28/Nov/13 6:59 PM) Resolution: Fixed Status: Resolved Reopened This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Diogo Campos edited a comment on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Still having problems with this in 1.65 It seems that the SkipTestException raised is being captured and turned into a (Tunneled)InterruptedException. In this example I'm publishing junit tests (2 files) and boosttest (0 files): [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing JUnit [xUnit] [INFO] - [JUnit] - 2 test report file(s) were found with the pattern 'PATTERN' relative to 'PATH' for the testing framework 'JUnit'. [xUnit] [INFO] - Processing BoostTest-1.x (default) [xUnit] [INFO] - [BoostTest-1.x (default)] - No test report file(s) were found with the pattern 'PATTERN' relative to 'PATH' for the testing framework 'BoostTest-1.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'BoostTest-1.x (default)'? [xUnit] [WARNING] - No test reports found for the metric 'BoostTest' with the resolved pattern 'PATTERN'. ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.lang.InterruptedException at hudson.FilePath.act(FilePath.java:908) at hudson.FilePath.act(FilePath.java:890) at org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:185) at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:118) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: hudson.FilePath$TunneledInterruptedException at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2427) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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 hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:722) Caused by: org.jenkinsci.plugins.xunit.SkipTestException at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:167) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:38) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2425) ... 10 more Job XML: "[email protected]"> PATTERN false false true true PATTERN true false true true 0 0 1 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Diogo Campos commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Still having problems with this in 1.6.5 It seems that the SkipTestException raised is being captured and turned into a (Tunneled)InterruptedException. In this example I'm publishing junit tests (2 files) and boosttest (0 files): [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing JUnit [xUnit] [INFO] - [JUnit] - 2 test report file(s) were found with the pattern 'PATTERN' relative to 'PATH' for the testing framework 'JUnit'. [xUnit] [INFO] - Processing BoostTest-1.x (default) [xUnit] [INFO] - [BoostTest-1.x (default)] - No test report file(s) were found with the pattern 'PATTERN' relative to 'PATH' for the testing framework 'BoostTest-1.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'BoostTest-1.x (default)'? [xUnit] [WARNING] - No test reports found for the metric 'BoostTest' with the resolved pattern 'PATTERN'. ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.lang.InterruptedException at hudson.FilePath.act(FilePath.java:908) at hudson.FilePath.act(FilePath.java:890) at org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:185) at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:118) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: hudson.FilePath$TunneledInterruptedException at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2427) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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 hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:722) Caused by: org.jenkinsci.plugins.xunit.SkipTestException at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:167) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:38) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2425) ... 10 more Job XML: "[email protected]"> PATTERN false false true true PATTERN true false true true 0 0 1 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Gregory Boissinot resolved JENKINS-18443 as Fixed SkipNoTestFiles flag ignored. Build still set to failed if test files missing Change By: Gregory Boissinot (03/Aug/13 9:46 PM) Status: Open Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
SCM/JIRA link daemon commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Code changed in jenkins User: Gregory Boissinot Path: src/main/java/com/thalesgroup/hudson/plugins/xunit/service/XUnitTransformer.java src/main/java/org/jenkinsci/plugins/xunit/SkipTestException.java src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java http://jenkins-ci.org/commit/xunit-plugin/3d5fcf4abefbd70d965d2a01301e8f00cc7f4d4e Log: Fix JENKINS-18443 Compare: https://github.com/jenkinsci/xunit-plugin/compare/4a9dd4c67e95...3d5fcf4abefb This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Peter Loron commented on JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing I am seeing similar behavior. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [xunit] (JENKINS-18443) SkipNoTestFiles flag ignored. Build still set to failed if test files missing
Iain Mackay created JENKINS-18443 SkipNoTestFiles flag ignored. Build still set to failed if test files missing Issue Type: Bug Assignee: Gregory Boissinot Components: xunit Created: 21/Jun/13 9:52 AM Description: I have a parameterised build that allows me to skip the Unit Tests as required, but the build fails when this is used because: With the checkboxes: "Skip if there are no test files" checked "Fail the build if the results were not updated this run" unchecked I would expect the absence of the test files not to fail the build. BUILD SUCCESSFUL Total time: 16 minutes 34 seconds [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing PHPUnit-3.x (default) [xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build\*\report\*.xml' relative to 'C:\jenkins-node-workspace\workspace\Reports-Package' for the testing framework 'PHPUnit-3.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'PHPUnit-3.x (default)'? [xUnit] [WARNING] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build\*\report\*.xmlIgnore. [xUnit] [INFO] - Setting the build status to FAILURE [xUnit] [INFO] - Stopping recording. Build step 'Publish xUnit test result report' changed build result to FAILURE Archiving artifacts Sending e-mails to: xxx Finished: FAILURE Environment: Windows Server 2003 Project: Jenkins Priority: Major Reporter: Iain Mackay This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
