The attached TAP does not parse with "Enable subtests" checked.

        1. exception.txt
          1 kB
        2. tap.txt
          0.2 kB

          [JENKINS-17947] Nested TAP not parsed correctly

          James Howe created issue -
          James Howe made changes -
          Attachment New: exception.txt [ 23648 ]
          Attachment New: tap.txt [ 23649 ]
          Description Original: The following TAP does not parse with "Enable subtests" checked.

          ..3
              1..1
              ok 1 - subtest 1
          ok 1 - test 1
              1..4
              ok 1 - subtest 1
              ok 2 - subtest 2
              ok 3 - subtest 3
              ok 4 - subtest 4
          ok 2 - test 2
              1..15
              Bail out!
              not ok 1 - test 3

          org.tap4j.parser.ParserException: Error parsing TAP Stream: Duplicated TAP Plan found.
          at org.tap4j.parser.Tap13Parser.parse(Tap13Parser.java:204)
          at org.tap4j.parser.Tap13Parser.parseFile(Tap13Parser.java:170)
          at org.tap4j.plugin.TapParser.parse(TapParser.java:105)
          at org.tap4j.plugin.TapPublisher.loadResults(TapPublisher.java:297)
          at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:239)
          at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
          at hudson.model.Build$BuildExecution.post2(Build.java:183)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
          at hudson.model.Run.execute(Run.java:1600)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:241)
          Caused by: org.tap4j.parser.ParserException: Duplicated TAP Plan found.
          at org.tap4j.parser.Tap13Parser.onPlan(Tap13Parser.java:394)
          at org.tap4j.parser.Tap13Parser.parseLine(Tap13Parser.java:294)
          at org.tap4j.parser.Tap13Parser.parse(Tap13Parser.java:199)
          ... 13 more
          New: The attached TAP does not parse with "Enable subtests" checked.
          Bruno P. Kinoshita made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Bruno P. Kinoshita made changes -
          Labels New: pending-dependency-release
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Bruno P. Kinoshita made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 149244 ] New: JNJira + In-Review [ 206647 ]

            kinow Bruno P. Kinoshita
            jameshowe James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: