org.tap4j.parser.ParserException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When tap output contains messages like: 17:14:06 ok 169 - SL_Chrome ListFilterConfiguration controller should be able to switch list filter mode' passed (357ms) 17:14:06 not ok 170 - SL_Chrome Module: ListFilterConfiguration content from controller is present through bindings in both tabs 17:14:06 --- 17:14:06 message: ""Values should not be null. actual:undefined, expected: undefined"" 17:14:06 ... It fails with: :13 org.tap4j.parser.ParserException: Error parsing TAP Stream: Error parsing YAML [ message: ""Values should not be null. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Values should not be null. actua ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:602) 17:14:13 at org.tap4j.plugin.TapParser.parse(TapParser.java:105) 17:14:13 at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:297) 17:14:13 at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:239) 17:14:13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) 17:14:13 at hudson.model.Build$BuildExecution.post2(Build.java:183) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) 17:14:13 at hudson.model.Run.execute(Run.java:1568) 17:14:13 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:14:13 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:14:13 at hudson.model.Executor.run(Executor.java:236) 17:14:13 Caused by: org.tap4j.parser.ParserException: Error parsing YAML [ message: ""Values should not be null. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Values should not be null. actua ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:691) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseLine(Tap13YamlParser.java:232) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:597) 17:14:13 ... 12 more 17:14:13 Caused by: while parsing a block mapping 17:14:13 in 'string', line 1, column 5: 17:14:13 message: ""Values should not be ... 17:14:13 ^ 17:14:13 expected <block end>, but found Scalar 17:14:13 in 'string', line 1, column 16: 17:14:13 message: ""Values should not be null. actua ... 17:14:13 ^ 17:14:13 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) 17:14:13 at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) 17:14:13 at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) 17:14:13 at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) 17:14:13 at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:687) 17:14:13 ... 14 more 17:14:13 Processing '/var/lib/jenkins/jobs/Trunk_Client_Unit_tests_JK/builds/2013-02-06_17-07-47/tap-master-files/tap_out_sl_firefox.txt' 17:14:13 Parsing TAP test result [/var/lib/jenkins/jobs/Trunk_Client_Unit_tests_JK/builds/2013-02-06_17-07-47/tap-master-files/tap_out_sl_firefox.txt]. 17:14:13 org.tap4j.parser.ParserException: Error parsing TAP Stream: Error parsing YAML [ message: ""Timeout: wait() called but resume() never called. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Timeout: wait() called but resum ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:602) 17:14:13 at org.tap4j.plugin.TapParser.parse(TapParser.java:105) 17:14:13 at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:297) 17:14:13 at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:239) 17:14:13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) 17:14:13 at hudson.model.Build$BuildExecution.post2(Build.java:183) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) 17:14:13 at hudson.model.Run.execute(Run.java:1568) 17:14:13 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:14:13 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:14:13 at hudson.model.Executor.run(Executor.java:236) 17:14:13 Caused by: org.tap4j.parser.ParserException: Error parsing YAML [ message: ""Timeout: wait() called but resume() never called. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Timeout: wait() called but resum ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:691) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseLine(Tap13YamlParser.java:232) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:597) 17:14:13 ... 12 more 17:14:13 Caused by: while parsing a block mapping 17:14:13 in 'string', line 1, column 5: 17:14:13 message: ""Timeout: wait() calle ... 17:14:13 ^ 17:14:13 expected <block end>, but found Scalar 17:14:13 in 'string', line 1, column 16: 17:14:13 message: ""Timeout: wait() called but resum ... 17:14:13 ^ 17:14:13 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) 17:14:13 at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) 17:14:13 at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) 17:14:13 at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) 17:14:13 at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:687) 17:14:13 ... 14 more 17:14:14 Found matching files but did not find any TAP results. 17:14:14 Archiving artifacts 17:14:14 Finished: SUCCESS Also it finishes with SUCCESS.
    via by Jan Kopriva,
  • When tap output contains messages like: 17:14:06 ok 169 - SL_Chrome ListFilterConfiguration controller should be able to switch list filter mode' passed (357ms) 17:14:06 not ok 170 - SL_Chrome Module: ListFilterConfiguration content from controller is present through bindings in both tabs 17:14:06 --- 17:14:06 message: ""Values should not be null. actual:undefined, expected: undefined"" 17:14:06 ... It fails with: :13 org.tap4j.parser.ParserException: Error parsing TAP Stream: Error parsing YAML [ message: ""Values should not be null. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Values should not be null. actua ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:602) 17:14:13 at org.tap4j.plugin.TapParser.parse(TapParser.java:105) 17:14:13 at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:297) 17:14:13 at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:239) 17:14:13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) 17:14:13 at hudson.model.Build$BuildExecution.post2(Build.java:183) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) 17:14:13 at hudson.model.Run.execute(Run.java:1568) 17:14:13 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:14:13 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:14:13 at hudson.model.Executor.run(Executor.java:236) 17:14:13 Caused by: org.tap4j.parser.ParserException: Error parsing YAML [ message: ""Values should not be null. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Values should not be null. actua ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:691) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseLine(Tap13YamlParser.java:232) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:597) 17:14:13 ... 12 more 17:14:13 Caused by: while parsing a block mapping 17:14:13 in 'string', line 1, column 5: 17:14:13 message: ""Values should not be ... 17:14:13 ^ 17:14:13 expected <block end>, but found Scalar 17:14:13 in 'string', line 1, column 16: 17:14:13 message: ""Values should not be null. actua ... 17:14:13 ^ 17:14:13 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) 17:14:13 at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) 17:14:13 at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) 17:14:13 at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) 17:14:13 at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:687) 17:14:13 ... 14 more 17:14:13 Processing '/var/lib/jenkins/jobs/Trunk_Client_Unit_tests_JK/builds/2013-02-06_17-07-47/tap-master-files/tap_out_sl_firefox.txt' 17:14:13 Parsing TAP test result [/var/lib/jenkins/jobs/Trunk_Client_Unit_tests_JK/builds/2013-02-06_17-07-47/tap-master-files/tap_out_sl_firefox.txt]. 17:14:13 org.tap4j.parser.ParserException: Error parsing TAP Stream: Error parsing YAML [ message: ""Timeout: wait() called but resume() never called. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Timeout: wait() called but resum ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:602) 17:14:13 at org.tap4j.plugin.TapParser.parse(TapParser.java:105) 17:14:13 at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:297) 17:14:13 at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:239) 17:14:13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) 17:14:13 at hudson.model.Build$BuildExecution.post2(Build.java:183) 17:14:13 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) 17:14:13 at hudson.model.Run.execute(Run.java:1568) 17:14:13 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:14:13 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:14:13 at hudson.model.Executor.run(Executor.java:236) 17:14:13 Caused by: org.tap4j.parser.ParserException: Error parsing YAML [ message: ""Timeout: wait() called but resume() never called. actual:undefined, expected: undefined"" 17:14:13 ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: 17:14:13 message: ""Timeout: wait() called but resum ... 17:14:13 ^ 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:691) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseLine(Tap13YamlParser.java:232) 17:14:13 at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:597) 17:14:13 ... 12 more 17:14:13 Caused by: while parsing a block mapping 17:14:13 in 'string', line 1, column 5: 17:14:13 message: ""Timeout: wait() calle ... 17:14:13 ^ 17:14:13 expected <block end>, but found Scalar 17:14:13 in 'string', line 1, column 16: 17:14:13 message: ""Timeout: wait() called but resum ... 17:14:13 ^ 17:14:13 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) 17:14:13 at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) 17:14:13 at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) 17:14:13 at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) 17:14:13 at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) 17:14:13 at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) 17:14:13 at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) 17:14:13 at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:687) 17:14:13 ... 14 more 17:14:14 Found matching files but did not find any TAP results. 17:14:14 Archiving artifacts 17:14:14 Finished: SUCCESS Also it finishes with SUCCESS.
    via by Jan Kopriva,
  • When parsing the attached test-report.tap file I get the following error: {code} Parsing TAP test result [XXX/builds/2012-11-09_15-24-05/tap-master-files/test-report.tap]. org.tap4j.parser.ParserException: Error parsing TAP Stream: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:587) at org.tap4j.plugin.TapParser.parse(TapParser.java:94) at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:240) at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:182) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: org.tap4j.parser.ParserException: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.checkTAPPlanIsSet(Tap13YamlParser.java:353) at org.tap4j.parser.Tap13YamlParser.postProcess(Tap13YamlParser.java:736) at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:585) ... 12 more Found matching files but did not find any TAP results. {code} Its fine when there are no test failures. The TAP file is generated using the Mocha test framework for nodejs. I've tested the output on InstantTap and its fine on there (but that doesn't use the YAML parser??)
    via by James Frost,
  • When parsing the attached test-report.tap file I get the following error: {code} Parsing TAP test result [XXX/builds/2012-11-09_15-24-05/tap-master-files/test-report.tap]. org.tap4j.parser.ParserException: Error parsing TAP Stream: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:587) at org.tap4j.plugin.TapParser.parse(TapParser.java:94) at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:240) at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:182) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: org.tap4j.parser.ParserException: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.checkTAPPlanIsSet(Tap13YamlParser.java:353) at org.tap4j.parser.Tap13YamlParser.postProcess(Tap13YamlParser.java:736) at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:585) ... 12 more Found matching files but did not find any TAP results. {code} Its fine when there are no test failures. The TAP file is generated using the Mocha test framework for nodejs. I've tested the output on InstantTap and its fine on there (but that doesn't use the YAML parser??)
    via by James Frost,
  • A .tap file containing a NOTESTS result (from eg a skip_all declaration in a .t file) such as {code} /opt/performance/scripts/t/dbcoststest1.t .. skipped: No Relevant Tests as No DB Costs for GetSmoidTrackV11New Files=1, Tests=0, 1 wallclock secs ( 0.01 usr 0.02 sys + 0.54 cusr 0.04 csys = 0.61 CPU) Result: NOTESTS {code} results in the following errors when running a plan from Jenkins: {code} Parsing TAP test result [/var/lib/jenkins/jobs/Performance-Server-Trunk/builds/2012-09-26_16-06-21/tap/dbcostsGetSmoidTrackV11New.tap]. org.tap4j.parser.ParserException: Error parsing TAP Stream: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:587) at org.tap4j.plugin.TapParser.parse(TapParser.java:94) at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:240) at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:182) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:996) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627) at hudson.model.Run.run(Run.java:1438) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:479) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: org.tap4j.parser.ParserException: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.checkTAPPlanIsSet(Tap13YamlParser.java:353) at org.tap4j.parser.Tap13YamlParser.postProcess(Tap13YamlParser.java:736) at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:585) ... 12 more {code}
    via by Alex Newnham,
  • A .tap file containing a NOTESTS result (from eg a skip_all declaration in a .t file) such as {code} /opt/performance/scripts/t/dbcoststest1.t .. skipped: No Relevant Tests as No DB Costs for GetSmoidTrackV11New Files=1, Tests=0, 1 wallclock secs ( 0.01 usr 0.02 sys + 0.54 cusr 0.04 csys = 0.61 CPU) Result: NOTESTS {code} results in the following errors when running a plan from Jenkins: {code} Parsing TAP test result [/var/lib/jenkins/jobs/Performance-Server-Trunk/builds/2012-09-26_16-06-21/tap/dbcostsGetSmoidTrackV11New.tap]. org.tap4j.parser.ParserException: Error parsing TAP Stream: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:587) at org.tap4j.plugin.TapParser.parse(TapParser.java:94) at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:240) at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:182) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:996) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627) at hudson.model.Run.run(Run.java:1438) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:479) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: org.tap4j.parser.ParserException: Missing TAP Plan. at org.tap4j.parser.Tap13YamlParser.checkTAPPlanIsSet(Tap13YamlParser.java:353) at org.tap4j.parser.Tap13YamlParser.postProcess(Tap13YamlParser.java:736) at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:585) ... 12 more {code}
    via by Alex Newnham,
  • YAML parser isn't parsing correctly.
    via GitHub by konobi
    ,
    • org.tap4j.parser.ParserException: Error parsing TAP Stream: Error parsing YAML [ message: ""Timeout: wait() called but resume() never called. actual:undefined, expected: undefined"" ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: message: ""Timeout: wait() called but resum ... ^ at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:602) at org.tap4j.plugin.TapParser.parse(TapParser.java:105) at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:297) at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:239) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1568) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: org.tap4j.parser.ParserException: Error parsing YAML [ message: ""Timeout: wait() called but resume() never called. actual:undefined, expected: undefined"" ]: while parsing a block mapping; expected <block end>, but found Scalar; in 'string', line 1, column 16: message: ""Timeout: wait() called but resum ... ^ at org.tap4j.parser.Tap13YamlParser.checkAndParseTapDiagnostic(Tap13YamlParser.java:691) at org.tap4j.parser.Tap13YamlParser.parseLine(Tap13YamlParser.java:232) at org.tap4j.parser.Tap13YamlParser.parseFile(Tap13YamlParser.java:597) ... 12 more
    No Bugmate found.