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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: tap-plugin
    • Labels:
      None
    • Similar Issues:

      Description

       

      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

       

        Attachments

          Activity

          Hide
          manuandre Emmanuel Andre added a comment -

          I downgraded to version 2.0.1 and this solved the issue. There seems to be a regression with plugin version 2.3

          Show
          manuandre Emmanuel Andre added a comment - I downgraded to version 2.0.1 and this solved the issue. There seems to be a regression with plugin version 2.3
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Emmanuel Andre I haven't updated instanttap in a while, so it may be validating for an earlier version of tap4j. Unfortunately I don't have much bandwidth for tap-plugin at the moment. Will update the issue later once I have time to look into it with calm.

          Thanks for the good description and comment about which version you downgraded and fixed it. That will help troubleshooting it. If you have a pull request, feel free to ping me as it takes normally only a few minutes for me to review PR's, so I can find some spare time for that.

          Cheers
          Bruno

          Show
          kinow Bruno P. Kinoshita added a comment - Emmanuel Andre I haven't updated instanttap in a while, so it may be validating for an earlier version of tap4j. Unfortunately I don't have much bandwidth for tap-plugin at the moment. Will update the issue later once I have time to look into it with calm. Thanks for the good description and comment about which version you downgraded and fixed it. That will help troubleshooting it. If you have a pull request, feel free to ping me as it takes normally only a few minutes for me to review PR's, so I can find some spare time for that. Cheers Bruno

            People

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

              Dates

              Created:
              Updated: