Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-2023

The integration test Surefire946KillMainProcessInReusableForkIT hanged and timed out because SIGTERM happened before the first test has started. The plugin should be able to terminate itself whenever after SIGTERM.

    XMLWordPrintableJSON

Details

    Description

      [INFO] Running org.apache.maven.surefire.its.jiras.Surefire946KillMainProcessInReusableForkIT
      Error:  Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 107.514 s <<< FAILURE! - in org.apache.maven.surefire.its.jiras.Surefire946KillMainProcessInReusableForkIT
      Error:  org.apache.maven.surefire.its.jiras.Surefire946KillMainProcessInReusableForkIT.test[exit-kill]  Time elapsed: 31.379 s  <<< ERROR!
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      	at app/surefire.its@3.0.0-M6-SNAPSHOT/org.apache.maven.surefire.its.jiras.Surefire946KillMainProcessInReusableForkIT.test(Surefire946KillMainProcessInReusableForkIT.java:111)
      

      The test has timed out 60 seconds.
      2022-02-12T19:44:53.470
      2022-02-12T19:46:00.745

      The shutdown hoot is registered on fork startup.
      The fork has started and no shutdown Thread could break the fork because the SIGTERM signal was received by the JVM before the fork has started.

      Attachments

        1. log.txt
          2 kB
          Tibor Digana
        2. 2022-02-12T19-44-50_418-jvmRun1.dumpstream
          0.8 kB
          Tibor Digana
        3. 2022-02-12T19-44-50_418-jvmRun1.dump
          5 kB
          Tibor Digana
        4. 2022-02-12T19-44-50_418.dumpstream
          0.3 kB
          Tibor Digana

        Activity

          People

            tibordigana Tibor Digana
            tibordigana Tibor Digana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: