Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59881

org.tap4j.parser.ParserException: Error parsing TAP Stream: Duplicated TAP Plan found.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • tap-plugin
    • None

       

      My tap passed the validation at: http://instanttap.appspot.com/

      But the parsing by the plugin failed.

      The tap was generated by npm tap version 14.8.2

      https://www.npmjs.com/package/tap

       

      Looking for TAP results report in workspace using pattern: */.tap
      Saving reports...
      org.tap4j.parser.ParserException: Error parsing TAP Stream: Duplicated TAP Plan found.
      at org.tap4j.parser.Tap13Parser.parseTapStream(Tap13Parser.java:257)
      at org.tap4j.parser.Tap13Parser.parseFile(Tap13Parser.java:231)
      at org.tap4j.plugin.TapParser.parse(TapParser.java:173)
      at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:572)
      at org.tap4j.plugin.TapPublisher.performImpl(TapPublisher.java:444)
      at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:403)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1840)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Caused by: org.tap4j.parser.ParserException: Duplicated TAP Plan found.
      at org.tap4j.parser.Tap13Parser.parseLine(Tap13Parser.java:354)
      at org.tap4j.parser.Tap13Parser.parseTapStream(Tap13Parser.java:252)
      ... 15 more
      TAP parse errors found in the build. Marking build as UNSTABLE
      TAP Reports Processing: FINISH

       

        1. failedtap.tap
          15 kB
          Emmanuel Andre
        2. image-2019-10-22-19-25-00-514.png
          59 kB
          Emmanuel Andre

            kinow Bruno P. Kinoshita
            manuandre Emmanuel Andre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: