[JIRA] (JENKINS-39509) TAP Plugin 2.0.1 fails to parse TAP stream

1 view
Skip to first unread message

daniel.mic.spencer@hpe.com (JIRA)

unread,
Nov 4, 2016, 10:10:01 AM11/4/16
to jenkinsc...@googlegroups.com
Daniel Spencer created an issue
 
Jenkins / Bug JENKINS-39509
TAP Plugin 2.0.1 fails to parse TAP stream
Issue Type: Bug Bug
Assignee: Bruno P. Kinoshita
Attachments: consistency.attributes.pl.tap
Components: tap-plugin
Created: 2016/Nov/04 2:09 PM
Environment: Jenkins version: 2.7.3; TAP Plugin version 2.0.1
Priority: Minor Minor
Reporter: Daniel Spencer

After upgrading the TAP plugin from version 1.24 to version 2.0.1, the plugin fails to parse some TAP streams with the error:

org.tap4j.parser.ParserException: Error parsing TAP Stream: Missing TAP Plan.
at org.tap4j.parser.Tap13Parser.parseTapStream(Tap13Parser.java:230)
at org.tap4j.parser.Tap13Parser.parseFile(Tap13Parser.java:193)
at org.tap4j.plugin.TapParser.parse(TapParser.java:167)
at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:540)
at org.tap4j.plugin.TapPublisher.performImpl(TapPublisher.java:412)
at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:371)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at hudson.model.Run.execute(Run.java:1766)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: org.tap4j.parser.ParserException: Missing TAP Plan.
at org.tap4j.parser.Tap13Parser.onFinish(Tap13Parser.java:393)
at org.tap4j.parser.Tap13Parser.parseTapStream(Tap13Parser.java:227)
... 15 more

I have since downgraded the plugin back to 1.24, and these same streams are now parsed correctly.

The streams that were not parsed all contained special characters. An example of a stream that could not be parsed by the plugin is attached.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

daniel.mic.spencer@hpe.com (JIRA)

unread,
Nov 4, 2016, 10:12:09 AM11/4/16
to jenkinsc...@googlegroups.com
Daniel Spencer updated an issue
Change By: Daniel Spencer


I tested this stream in InstantTap, where it was parsed successfully.
Reply all
Reply to author
Forward
0 new messages