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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

       

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

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

          Show
          oleg_nenashev Oleg Nenashev added a comment - Please provide information about your environment (OS, Shell Wrapper being used, Jenkins and plugin versions)
          Hide
          kragi 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>

           

          Show
          kragi 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>  
          Hide
          kragi kesav added a comment -

          Any update on fixing this issue.

          Show
          kragi kesav added a comment - Any update on fixing this issue.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

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

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

            People

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

              Dates

              Created:
              Updated: