Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: tap-plugin
-
Environment:ubuntu server
-
Similar Issues:
Description
When parsing the attached test-report.tap file I get the following error:
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.
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??)
Fixed in 1.8. This version will be available from update manager within few hours.