[JIRA] (JENKINS-41232) Error parsing TAP Stream when using Yslow.js tool in Jenkins v 2.33

3 views
Skip to first unread message

nakeene@live.com (JIRA)

unread,
Jan 19, 2017, 4:44:02 PM1/19/17
to jenkinsc...@googlegroups.com
Nick Keene created an issue
 
Jenkins / Bug JENKINS-41232
Error parsing TAP Stream when using Yslow.js tool in Jenkins v 2.33
Issue Type: Bug Bug
Assignee: Bruno P. Kinoshita
Components: tap-plugin
Created: 2017/Jan/19 9:43 PM
Priority: Minor Minor
Reporter: Nick Keene

I am using the Yslow.js file for PhantomJS to do some page monitoring. I have followed the set up rules listed on their page (http://yslow.org/phantomjs/). After building the job, I receive the following error message in console.

{{org.tap4j.parser.ParserException: Error parsing TAP Stream: Error parsing YAML [ message: This page has 36 external Javascript scripts. Try combining them into one.
This page has 5 external stylesheets. Try combining them into one.
This page has 8 external background images. Try combining them with CSS sprites.
]: null; expected '<document start>', but found Scalar; in 'string', line 2, column 1:
This page has 5 external stylesh ...
^
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:1753)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: org.tap4j.parser.ParserException: Error parsing YAML [ message: This page has 36 external Javascript scripts. Try combining them into one.
This page has 5 external stylesheets. Try combining them into one.
This page has 8 external background images. Try combining them with CSS sprites.
]: null; expected '<document start>', but found Scalar; in 'string', line 2, column 1:
This page has 5 external stylesh ...
^
at org.tap4j.parser.Tap13Parser.parseDiagnostics(Tap13Parser.java:429)
at org.tap4j.parser.Tap13Parser.parseLine(Tap13Parser.java:262)
at org.tap4j.parser.Tap13Parser.parseTapStream(Tap13Parser.java:224)
... 15 more
Caused by: expected '<document start>', but found Scalar
in 'string', line 2, column 1:
This page has 5 external stylesh ...
^

at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:225)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:400)
at org.tap4j.parser.Tap13Parser.parseDiagnostics(Tap13Parser.java:424)
... 17 more
TAP parse errors found in the build. Marking build as UNSTABLE}}

Please advise.

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

nakeene@live.com (JIRA)

unread,
Jan 19, 2017, 4:45:01 PM1/19/17
to jenkinsc...@googlegroups.com
Nick Keene updated an issue
Change By: Nick Keene
I am using the Yslow.js file for PhantomJS to do some page monitoring.  I have followed the set up rules listed on their page (http://yslow.org/phantomjs/).  After building the job, I receive the following error message in console.

{ quote} { { org.tap4j.parser.ParserException: Error parsing TAP Stream: Error parsing YAML [  message: This page has 36 external Javascript scripts.  Try combining them into one.
TAP parse errors found in the build. Marking build as UNSTABLE}} {quote}

Please advise.
Reply all
Reply to author
Forward
0 new messages