{"action":"created","issue":{"url":"https://api.github.com/repos/casperjs/casperjs/issues/1528","repository_url":"https://api.github.com/repos/casperjs/casperjs","labels_url":"https://api.github.com/repos/casperjs/casperjs/issues/1528/labels{/name}","comments_url":"https://api.github.com/repos/casperjs/casperjs/issues/1528/comments","events_url":"https://api.github.com/repos/casperjs/casperjs/issues/1528/events","html_url":"https://github.com/casperjs/casperjs/issues/1528","id":147838168,"number":1528,"title":"Problems during the conversion into JUnit ","user":{"login":"amerikan","id":179356,"avatar_url":"https://avatars.githubusercontent.com/u/179356?v=3","gravatar_id":"","url":"https://api.github.com/users/amerikan","html_url":"https://github.com/amerikan","followers_url":"https://api.github.com/users/amerikan/followers","following_url":"https://api.github.com/users/amerikan/following{/other_user}","gists_url":"https://api.github.com/users/amerikan/gists{/gist_id}","starred_url":"https://api.github.com/users/amerikan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amerikan/subscriptions","organizations_url":"https://api.github.com/users/amerikan/orgs","repos_url":"https://api.github.com/users/amerikan/repos","events_url":"https://api.github.com/users/amerikan/events{/privacy}","received_events_url":"https://api.github.com/users/amerikan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-12T18:40:39Z","updated_at":"2016-04-19T20:45:36Z","closed_at":null,"body":"Getting path issues when running in Jenkins.\r\n\r\n\r\n```shell\r\n[xUnit] [ERROR] - Validation error on input\r\nERROR: Step ‘Publish xUnit test result report’ aborted due to exception: \r\nhudson.util.IOException2: There are some problems during the conversion into JUnit reports: \r\n\tat org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:183)\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:44)\r\n\tat hudson.FilePath.act(FilePath.java:990)\r\n\tat hudson.FilePath.act(FilePath.java:968)\r\n\tat org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:145)\r\n\tat org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:88)\r\n\tat org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:142)\r\n\tat org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:134)\r\n\tat hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)\r\n\tat hudson.model.Build$BuildExecution.post2(Build.java:185)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)\r\n\tat hudson.model.Run.execute(Run.java:1763)\r\n\tat hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)\r\n\tat hudson.model.ResourceController.execute(ResourceController.java:98)\r\n\tat hudson.model.Executor.run(Executor.java:410)\r\nCaused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Validation error on input\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitValidationService.validateInputFile(XUnitValidationService.java:77)\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:132)\r\n\t... 16 more\r\nCaused by: org.jenkinsci.lib.dtkit.util.validator.ValidationException: Validation error\r\n\tat org.jenkinsci.lib.dtkit.util.validator.ValidationService.processValidation(ValidationService.java:136)\r\n\tat org.jenkinsci.lib.dtkit.model.AbstractOutputMetric.validate(AbstractOutputMetric.java:62)\r\n\tat org.jenkinsci.plugins.xunit.types.JUnitInputMetric.validateInputFile(JUnitInputMetric.java:65)\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitValidationService.validateInputFile(XUnitValidationService.java:66)\r\n\t... 17 more\r\nCaused by: java.io.FileNotFoundException: /var/lib/jenkins/workspace/PortalDev/testsuites (No such file or directory)\r\n\tat java.io.FileInputStream.open0(Native Method)\r\n\tat java.io.FileInputStream.open(FileInputStream.java:195)\r\n\tat java.io.FileInputStream.<init>(FileInputStream.java:138)\r\n\tat java.io.FileInputStream.<init>(FileInputStream.java:93)\r\n\tat sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)\r\n\tat sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1305)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1271)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:263)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1167)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1050)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:964)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:155)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:116)\r\n\tat javax.xml.validation.Validator.validate(Validator.java:124)\r\n\tat org.jenkinsci.lib.dtkit.util.validator.ValidationService.processValidation(ValidationService.java:124)\r\n\t... 20 more\r\n```\r\n\r\nSee https://github.com/n1k0/casperjs/issues/1458#issuecomment-209021781 and on wards for more info."},"comment":{"url":"https://api.github.com/repos/casperjs/casperjs/issues/comments/212120365","html_url":"https://github.com/casperjs/casperjs/issues/1528#issuecomment-212120365","issue_url":"https://api.github.com/repos/casperjs/casperjs/issues/1528","id":212120365,"user":{"login":"amerikan","id":179356,"avatar_url":"https://avatars.githubusercontent.com/u/179356?v=3","gravatar_id":"","url":"https://api.github.com/users/amerikan","html_url":"https://github.com/amerikan","followers_url":"https://api.github.com/users/amerikan/followers","following_url":"https://api.github.com/users/amerikan/following{/other_user}","gists_url":"https://api.github.com/users/amerikan/gists{/gist_id}","starred_url":"https://api.github.com/users/amerikan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amerikan/subscriptions","organizations_url":"https://api.github.com/users/amerikan/orgs","repos_url":"https://api.github.com/users/amerikan/repos","events_url":"https://api.github.com/users/amerikan/events{/privacy}","received_events_url":"https://api.github.com/users/amerikan/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T20:45:36Z","updated_at":"2016-04-19T20:45:36Z","body":"Nope, same issue when trying with 1.1.1.\r\n```\r\n+ phantomjs --version\r\n1.9.8\r\n+ casperjs --version\r\n1.1.1\r\n\r\n\r\n\u001B[32;1mResult log stored in log.xml                                                    \u001B[0m\r\nBuild step 'Execute shell' marked build as failure\r\n[xUnit] [INFO] - Starting to record.\r\n[xUnit] [INFO] - Processing JUnit\r\n[xUnit] [INFO] - [JUnit] - 1 test report file(s) were found with the pattern 'log.xml' relative to '/var/lib/jenkins/workspace/PortalDev' for the testing framework 'JUnit'.\r\n[xUnit] [ERROR] - Validation error on input\r\nERROR: Step ‘Publish xUnit test result report’ aborted due to exception: \r\nhudson.util.IOException2: There are some problems during the conversion into JUnit reports: \r\n\tat org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:183)\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:44)\r\n\tat hudson.FilePath.act(FilePath.java:990)\r\n\tat hudson.FilePath.act(FilePath.java:968)\r\n\tat org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:145)\r\n\tat org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:88)\r\n\tat org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:142)\r\n\tat org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:134)\r\n\tat hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)\r\n\tat hudson.model.Build$BuildExecution.post2(Build.java:185)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)\r\n\tat hudson.model.Run.execute(Run.java:1763)\r\n\tat hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)\r\n\tat hudson.model.ResourceController.execute(ResourceController.java:98)\r\n\tat hudson.model.Executor.run(Executor.java:410)\r\nCaused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Validation error on input\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitValidationService.validateInputFile(XUnitValidationService.java:77)\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:132)\r\n\t... 16 more\r\nCaused by: org.jenkinsci.lib.dtkit.util.validator.ValidationException: Validation error\r\n\tat org.jenkinsci.lib.dtkit.util.validator.ValidationService.processValidation(ValidationService.java:136)\r\n\tat org.jenkinsci.lib.dtkit.model.AbstractOutputMetric.validate(AbstractOutputMetric.java:62)\r\n\tat org.jenkinsci.plugins.xunit.types.JUnitInputMetric.validateInputFile(JUnitInputMetric.java:65)\r\n\tat org.jenkinsci.plugins.xunit.service.XUnitValidationService.validateInputFile(XUnitValidationService.java:66)\r\n\t... 17 more\r\nCaused by: java.io.FileNotFoundException: /var/lib/jenkins/workspace/PortalDev/testsuites (No such file or directory)\r\n\tat java.io.FileInputStream.open0(Native Method)\r\n\tat java.io.FileInputStream.open(FileInputStream.java:195)\r\n\tat java.io.FileInputStream.<init>(FileInputStream.java:138)\r\n\tat java.io.FileInputStream.<init>(FileInputStream.java:93)\r\n\tat sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)\r\n\tat sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1305)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1271)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:263)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1167)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1050)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:964)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:155)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:116)\r\n\tat javax.xml.validation.Validator.validate(Validator.java:124)\r\n\tat org.jenkinsci.lib.dtkit.util.validator.ValidationService.processValidation(ValidationService.java:124)\r\n\t... 20 more\r\n```"}}