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

The surefire process continues to run even after the job is ABORTED

      1) Run mvn test  -> interns trigger the jenkins job

      2) Manually Abort the job

      3) Check if mvn test  command running is stopped

      Actual output :

      Maven command Continuous to run

       

      Expected output:

      mvn test command should end its execution

       

          [JENKINS-65102] The surefire process continues to run even after the job is ABORTED

          Oleg Nenashev added a comment -

          Please provide information about your environment (OS, Shell Wrapper being used, Jenkins and plugin versions)

          Oleg Nenashev added a comment - Please provide information about your environment (OS, Shell Wrapper being used, Jenkins and plugin versions)

          kesav added a comment -

          OS Name Microsoft Windows 10 EnterpriseOS 

          Version 10.0.18363 Build 18363

          mvn cmd - mvn clean test

          jenkins version CloudBees Jenkins Enterprise 2.249.2.4-rolling

           

          <maven.build.helper.plugin.version>3.0.0</maven.build.helper.plugin.version>
          <cucumber.version>1.2.4</cucumber.version>
          <maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version>
          <maven.jar.plugin.version>3.1.2</maven.jar.plugin.version>

           

          surefire plugin - 2.22.2

          <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.22.2</version>
          <dependencies>
          <dependency>
          <groupId>org.apache.maven.surefire</groupId>
          <artifactId>surefire-junit47</artifactId>
          <version>2.22.2</version>
          </dependency>
          </dependencies>
          <configuration>
          <useSystemClassLoader>false</useSystemClassLoader>
          <parallel>classes</parallel>
          <threadCount>3</threadCount>
          <!-- <threadCountClasses>2</threadCountClasses>-->
          <!-- <perCoreThreadCount>true</perCoreThreadCount>-->
          <forkCount>3</forkCount>
          <!-<!– <forkCount>4</forkCount>–>->
          <reuseForks>false</reuseForks>
          <testFailureIgnore>true</testFailureIgnore>
          <includes>
          <include>*/_IT.java</include>
          </includes>
          <forkedProcessExitTimeoutInSeconds>5</forkedProcessExitTimeoutInSeconds>

          </configuration>
          </plugin>

           

          kesav added a comment - OS Name Microsoft Windows 10 EnterpriseOS   Version 10.0.18363 Build 18363 mvn cmd - mvn clean test jenkins version -  CloudBees Jenkins Enterprise 2.249.2.4-rolling   <maven.build.helper.plugin.version>3.0.0</maven.build.helper.plugin.version> <cucumber.version>1.2.4</cucumber.version> <maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version> <maven.jar.plugin.version>3.1.2</maven.jar.plugin.version>   surefire plugin - 2.22.2 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>2.22.2</version> </dependency> </dependencies> <configuration> <useSystemClassLoader>false</useSystemClassLoader> <parallel>classes</parallel> <threadCount>3</threadCount> <!-- <threadCountClasses>2</threadCountClasses>--> <!-- <perCoreThreadCount>true</perCoreThreadCount>--> <forkCount>3</forkCount> <!- <!– <forkCount>4</forkCount>–> -> <reuseForks>false</reuseForks> <testFailureIgnore>true</testFailureIgnore> <includes> <include>* / _IT.java</include> </includes> <forkedProcessExitTimeoutInSeconds>5</forkedProcessExitTimeoutInSeconds> </configuration> </plugin>  

          kesav added a comment -

          Any update on fixing this issue.

          kesav added a comment - Any update on fixing this issue.

          Oleg Nenashev added a comment -

          kragi Since you use CloudBees Jenkins Enterprise, please use the CloudBees support channels to get a quick response. Do not hesitate to CC me there

          Oleg Nenashev added a comment - kragi  Since you use CloudBees Jenkins Enterprise, please use the CloudBees support channels to get a quick response. Do not hesitate to CC me there

            Unassigned Unassigned
            kragi kesav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: