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

Browser is not getting launch while running through jenkins

      I am running my automation code through jenkins.

      Chrome browser is unable to launch and the message says keep loading.

      Could you please help? in taskmanager chromedriver is running multiple times

       
      Started by user
      MOhammed Asgar
      [EnvInject] - Loading node environment variables.
      Building in workspace C:\Asgar\ATC\SanityTestCases
      Parsing POMs
      Established TCP socket on 50390
      [SanityTestCases] $ "C:\Program Files\Java\jdk1.8.0_191/bin/java" -cp C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.13.jar;C:\Asgar\Software\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar;C:\Asgar\Software\apache-maven-3.6.0/conf/logging jenkins.maven3.agent.Maven35Main C:\Asgar\Software\apache-maven-3.6.0 C:\Jenkins\war\WEB-INF\lib\remoting-3.29.jar C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.13.jar C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.13.jar 50390
      <===[JENKINS REMOTING CAPACITY]===>channel started
      Executing Maven: -B -f C:\Asgar\ATC\SanityTestCases\pom.xml install
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ----------------------< testAllCases:conexTest >----------------------
      [INFO] Building conexTest 0.0.1-SNAPSHOT
      [INFO] -------------------------------[ jar ]--------------------------------[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2[INFO]
      [INFO]

            • maven-resources-plugin:2.6:resources (default-resources) @ conexTest ---*
              [INFO] Using 'UTF-8' encoding to copy filtered resources.
              [INFO] skip non existing resourceDirectory C:\Asgar\ATC\SanityTestCases\src\main\resources
              [INFO]
              [INFO]
            • maven-compiler-plugin:3.1:compile (default-compile) @ conexTest ---*
               [INFO] Nothing to compile - all classes are up to date
              [INFO]
              [INFO]
            • maven-resources-plugin:2.6:testResources (default-testResources) @ conexTest ---*
              [INFO] Using 'UTF-8' encoding to copy filtered resources.
              [INFO] skip non existing resourceDirectory C:\Asgar\ATC\SanityTestCases\src\test\resources
              [INFO]
              [INFO]
            • maven-compiler-plugin:3.1:testCompile (default-testCompile) @ conexTest ---*
              [INFO] Nothing to compile - all classes are up to date
              [INFO]
              [INFO]
            • maven-surefire-plugin:2.12.4:test (default-test) @ conexTest ---*
              [INFO] Surefire report directory: C:\Asgar\ATC\SanityTestCases\target\surefire-reports
              -------------------------------------------------------
              T E S T S
              -------------------------------------------------------
              Running TestSuite
              Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@5ccd43c2
              Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 15335
              Only local connections are allowed.
              Jun 22, 2019 1:42:42 PM org.openqa.selenium.remote.ProtocolHandshake createSession
              INFO: Detected dialect: OSS
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded
              Loaded

          [JENKINS-58153] Browser is not getting launch while running through jenkins

          Mohammed Asgar created issue -
          Mohammed Asgar made changes -
          Attachment New: screenshot-1.png [ 47754 ]
          Mohammed Asgar made changes -
          Description Original: I am running my automation code through jenkins.

          Chrome browser is unable to launch and the message says keep loading.

          Could you please help?

           
          Started by user
          [MOhammed Asgar|http://localhost:8080/user/asgarma]
          [EnvInject] - Loading node environment variables.
          Building in workspace C:\Asgar\ATC\SanityTestCases
          Parsing POMs
          Established TCP socket on 50390
          [SanityTestCases] $ "C:\Program Files\Java\jdk1.8.0_191/bin/java" -cp C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.13.jar;C:\Asgar\Software\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar;C:\Asgar\Software\apache-maven-3.6.0/conf/logging jenkins.maven3.agent.Maven35Main C:\Asgar\Software\apache-maven-3.6.0 C:\Jenkins\war\WEB-INF\lib\remoting-3.29.jar C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.13.jar C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.13.jar 50390
          <===[JENKINS REMOTING CAPACITY]===>channel started
          Executing Maven: -B -f C:\Asgar\ATC\SanityTestCases\pom.xml install
          [INFO] Scanning for projects...
          [INFO]
          [INFO] -----------------------< testAllCases:conexTest >-----------------------
          [INFO] Building conexTest 0.0.1-SNAPSHOT
          [INFO] --------------------------------[ jar ]---------------------------------[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2[INFO]
          [INFO]
          *--- maven-resources-plugin:2.6:resources (default-resources) @ conexTest ---*
          [INFO] Using 'UTF-8' encoding to copy filtered resources.
          [INFO] skip non existing resourceDirectory C:\Asgar\ATC\SanityTestCases\src\main\resources
          [INFO]
          [INFO]
          *--- maven-compiler-plugin:3.1:compile (default-compile) @ conexTest ---*
           [INFO] Nothing to compile - all classes are up to date
          [INFO]
          [INFO]
          *--- maven-resources-plugin:2.6:testResources (default-testResources) @ conexTest ---*
          [INFO] Using 'UTF-8' encoding to copy filtered resources.
          [INFO] skip non existing resourceDirectory C:\Asgar\ATC\SanityTestCases\src\test\resources
          [INFO]
          [INFO]
          *--- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ conexTest ---*
          [INFO] Nothing to compile - all classes are up to date
          [INFO]
          [INFO]
          *--- maven-surefire-plugin:2.12.4:test (default-test) @ conexTest ---*
          [INFO] Surefire report directory: C:\Asgar\ATC\SanityTestCases\target\surefire-reports
          -------------------------------------------------------
           T E S T S
          -------------------------------------------------------
          Running TestSuite
          Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@5ccd43c2
          Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 15335
          Only local connections are allowed.
          Jun 22, 2019 1:42:42 PM org.openqa.selenium.remote.ProtocolHandshake createSession
          INFO: Detected dialect: OSS
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          Loaded
          !http://localhost:8080/static/1b409489/images/spinner.gif!
          New: I am running my automation code through jenkins.

          Chrome browser is unable to launch and the message says keep loading.

          Could you please help? in taskmanager chromedriver is running multiple times

           
           Started by user
           [MOhammed Asgar|http://localhost:8080/user/asgarma]
           [EnvInject] - Loading node environment variables.
           Building in workspace C:\Asgar\ATC\SanityTestCases
           Parsing POMs
           Established TCP socket on 50390
           [SanityTestCases] $ "C:\Program Files\Java\jdk1.8.0_191/bin/java" -cp C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.13.jar;C:\Asgar\Software\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar;C:\Asgar\Software\apache-maven-3.6.0/conf/logging jenkins.maven3.agent.Maven35Main C:\Asgar\Software\apache-maven-3.6.0 C:\Jenkins\war\WEB-INF\lib\remoting-3.29.jar C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.13.jar C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.13.jar 50390
           <===[JENKINS REMOTING CAPACITY]===>channel started
           Executing Maven: -B -f C:\Asgar\ATC\SanityTestCases\pom.xml install
           [INFO] Scanning for projects...
           [INFO]
           [INFO] -----------------------< testAllCases:conexTest >-----------------------
           [INFO] Building conexTest 0.0.1-SNAPSHOT
           [INFO] --------------------------------[ jar ]---------------------------------[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2[INFO]
           [INFO]
           *
           --
           ---
           ---- maven-resources-plugin:2.6:resources (default-resources) @ conexTest ---*
           [INFO] Using 'UTF-8' encoding to copy filtered resources.
           [INFO] skip non existing resourceDirectory C:\Asgar\ATC\SanityTestCases\src\main\resources
           [INFO]
           [INFO]
           ---- maven-compiler-plugin:3.1:compile (default-compile) @ conexTest ---*
            [INFO] Nothing to compile - all classes are up to date
           [INFO]
           [INFO]
           ---- maven-resources-plugin:2.6:testResources (default-testResources) @ conexTest ---*
           [INFO] Using 'UTF-8' encoding to copy filtered resources.
           [INFO] skip non existing resourceDirectory C:\Asgar\ATC\SanityTestCases\src\test\resources
           [INFO]
           [INFO]
           ---- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ conexTest ---*
           [INFO] Nothing to compile - all classes are up to date
           [INFO]
           [INFO]
           ---- maven-surefire-plugin:2.12.4:test (default-test) @ conexTest ---*
           [INFO] Surefire report directory: C:\Asgar\ATC\SanityTestCases\target\surefire-reports
           -------------------------------------------------------
           T E S T S
           -------------------------------------------------------
           Running TestSuite
           Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@5ccd43c2
           Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 15335
           Only local connections are allowed.
           Jun 22, 2019 1:42:42 PM org.openqa.selenium.remote.ProtocolHandshake createSession
           INFO: Detected dialect: OSS
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           Loaded
           !http://localhost:8080/static/1b409489/images/spinner.gif!

            Unassigned Unassigned
            asgarma Mohammed Asgar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: