Unable to create Jenkins test results reports

277 views
Skip to first unread message

OmPrakash P

unread,
Sep 11, 2014, 6:44:36 AM9/11/14
to jenkin...@googlegroups.com
Hi,

I created test cases by using jasmine framework and run through grunt file and after executing unable to analyze the test results in grunt 
i tried with TAP i got the bellow error  

TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: results/testresult.tap
Saving reports...
org.tap4j.parser.ParserException: Error parsing TAP Stream: Missing TAP Plan.
	at org.tap4j.parser.Tap13Parser.parse(Tap13Parser.java:221)
	at org.tap4j.parser.Tap13Parser.parseFile(Tap13Parser.java:187)
	at org.tap4j.plugin.TapParser.parse(TapParser.java:140)
	at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:331)
	at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:253)
	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
	at hudson.model.Run.execute(Run.java:1757)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:234)
Caused by: org.tap4j.parser.ParserException: Missing TAP Plan.
	at org.tap4j.parser.Tap13Parser.onFinish(Tap13Parser.java:502)
	at org.tap4j.parser.Tap13Parser.parse(Tap13Parser.java:219)
	... 13 more
TAP parse errors found in the build. Marking build as UNSTABLE
TAP Reports Processing: FINISH
Build step 'Publish TAP Results' changed build result to UNSTABLE
Finished: UNSTABLE



Can any one help to solve this problem or any other method to see the results. 

Regards
Om Prakash.

Bruno P. Kinoshita

unread,
Sep 11, 2014, 7:25:53 AM9/11/14
to jenkin...@googlegroups.com
Hi Prakash

Can you share plug-in version, and your TAP stream, please?

All the best
Bruno


From: OmPrakash P <p.oom...@gmail.com>
To: jenkin...@googlegroups.com
Sent: Thursday, September 11, 2014 7:44 AM
Subject: Unable to create Jenkins test results reports

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


OmPrakash P

unread,
Sep 11, 2014, 7:33:49 AM9/11/14
to jenkin...@googlegroups.com, brunod...@yahoo.com.br
Hi Bruno,

Currently it is showing 1.20 

Regards
OmPrakash
Reply all
Reply to author
Forward
0 new messages