Test flake in CpsThreadTest.stop

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • workflow-job 2.33

      java.lang.AssertionError: 
      Expected: a string containing "Finished: ABORTED"
           but: was "Started
      [Pipeline] unkillable
      Aborted by unknown
      [Pipeline] End of Pipeline
      "
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      	at org.junit.Assert.assertThat(Assert.java:956)
      	at org.junit.Assert.assertThat(Assert.java:923)
      	at org.jvnet.hudson.test.JenkinsRule.assertLogContains(JenkinsRule.java:1215)
      	at org.jvnet.hudson.test.JenkinsRule.waitForMessage(JenkinsRule.java:1263)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadTest.stop(CpsThreadTest.java:70)
      

      As noted in sources, WorkflowRun.isBuilding() can go to false before .finish has completed.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: