0% found this document useful (0 votes)
45 views5 pages

Autotest 1

The log file documents the execution of automated tests on a Jenkins server. The tests were triggered from a Git repository and used Maven to build and run TestNG tests against a Sigma application. One test failed due to an error initializing the ChromeDriver browser automation tool. The build completed with 1 failure and 5 skipped tests out of 6 total tests.

Uploaded by

alana.nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views5 pages

Autotest 1

The log file documents the execution of automated tests on a Jenkins server. The tests were triggered from a Git repository and used Maven to build and run TestNG tests against a Sigma application. One test failed due to an error initializing the ChromeDriver browser automation tool. The build completed with 1 failure and 5 skipped tests out of 6 total tests.

Uploaded by

alana.nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

Skip to content

[Jenkins]Jenkins
1
1
BeyondEdge
log out

Dashboard
Testing
Testing Jobs
Sigma-Origination-AutoTest
#12
Console Output

Status
Changes
Console Output
View as plain text
Edit Build Information
Timings
Git Build Data
Monitor Maven Process
Previous Build
Console Output
Progress:

[cancel]

Started by user BeyondEdge


Running as SYSTEM
Building on the built-in node in workspace /var/jenkins_home/workspace/Testing
Jobs/Sigma-Origination-AutoTest
The recommended git tool is: NONE
using credential bitbucket_chris
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/Testing Jobs/Sigma-
Origination-AutoTest/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://[email protected]/marketnode/sigma-
origination-autotest.git # timeout=10
Fetching upstream changes from https://[email protected]/marketnode/sigma-
origination-autotest.git
> git --version # timeout=10
> git --version # 'git version 2.30.2'
using GIT_ASKPASS to set credentials
> git fetch --tags --force --progress --
https://[email protected]/marketnode/sigma-origination-autotest.git
+refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/Build_Framework^{commit} # timeout=10
Checking out Revision 6a126bf99ddbda5fa05c7b0391464a0325f39180
(refs/remotes/origin/Build_Framework)
> git config core.sparsecheckout # timeout=10
> git checkout -f 6a126bf99ddbda5fa05c7b0391464a0325f39180 # timeout=10
Commit message: "Edit config to run on headless"
> git rev-list --no-walk f7323d64ea1b45884eb5a4240c8d3583b34cd325 # timeout=10
[Sigma-Origination-AutoTest] $ /bin/sh -xe /tmp/jenkins8737907550329918295.sh
+ ls -la /var/jenkins_home/workspace/Testing
Jobs/Sigma-Origination-AutoTest/resources/chromedriver
-rw-r--r-- 1 jenkins jenkins 20427216 May 17 11:14
/var/jenkins_home/workspace/Testing
Jobs/Sigma-Origination-AutoTest/resources/chromedriver
+ chmod 755 /var/jenkins_home/workspace/Testing
Jobs/Sigma-Origination-AutoTest/resources/chromedriver
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 41895
[Sigma-Origination-AutoTest] $ java -cp /var/jenkins_home/plugins/maven-plugin/WEB-
INF/lib/maven35-agent-1.13.jar:/var/jenkins_home/tools/
hudson.tasks.Maven_MavenInstallation/maven-3.8.6/boot/plexus-classworlds-
2.6.0.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven-
3.8.6/conf/logging jenkins.maven3.agent.Maven35Main
/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven-3.8.6
/var/jenkins_home/war/WEB-INF/lib/remoting-3107.v665000b_51092.jar
/var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar
/var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-
1.13.jar 41895
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven: -B -f /var/jenkins_home/workspace/Testing Jobs/Sigma-Origination-
AutoTest/pom.xml install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
MarketNodeproject:MarketNodeSIGMA_login:jar:0.0.1-SNAPSHOT
[WARNING] 'groupId' contains an expression but should be a constant. @ $
{project.groupId}:MarketNodeSIGMA_login:0.0.1-SNAPSHOT,
/var/jenkins_home/workspace/Testing Jobs/Sigma-Origination-AutoTest/pom.xml, line
5, column 12
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be
unique: io.github.bonigarcia:webdrivermanager:jar -> version $
{webdrivermanager.version} vs 5.1.1 @ $
{project.groupId}:MarketNodeSIGMA_login:0.0.1-SNAPSHOT,
/var/jenkins_home/workspace/Testing Jobs/Sigma-Origination-AutoTest/pom.xml, line
146, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the
stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building
such malformed projects.
[WARNING]
[INFO]
[INFO] --------------< MarketNodeproject:MarketNodeSIGMA_login >---------------
[INFO] Building MarketnodeSigma_login 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.testng:testng:jar:5.14.3 is invalid, transitive
dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.beust:jcommander:jar:1.66 is missing, no dependency
information available
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
MarketNodeSIGMA_login ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/Testing
Jobs/Sigma-Origination-AutoTest/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @
MarketNodeSIGMA_login ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @
MarketNodeSIGMA_login ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/Testing
Jobs/Sigma-Origination-AutoTest/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @
MarketNodeSIGMA_login ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ MarketNodeSIGMA_login
---
[INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[TestNGContentHandler] [WARN] It is strongly recommended to add "<!DOCTYPE suite
SYSTEM "http://testng.org/testng-1.0.dtd" >" at the top of your file, otherwise
TestNG may fail or not work as expected.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
/var/jenkins_home/workspace/Testing
Jobs/Sigma-Origination-AutoTest/resources/chromedriver: error while loading shared
libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or
directory
May 17, 2023 11:15:45 AM org.openqa.selenium.os.OsProcess checkForError
SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: 127
(Exit value: 127)
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 5, Time elapsed: 28.089 s
<<< FAILURE! - in TestSuite
[ERROR] Testcases.MarketNode_testcase.beforeTest[chrome,
https://gwy.qa.marketnode.com/login](0) Time elapsed: 26.307 s <<< FAILURE!
org.openqa.selenium.WebDriverException:
Timed out waiting for driver server to start.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-
14T08:17:03'
System info: host: 'ip-10-128-1-8.ap-southeast-1.compute.internal', ip:
'10.128.1.8', os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.178-
162.673.amzn2.x86_64', java.version: '11.0.19'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.j
ava:202)
at
org.openqa.selenium.remote.service.DriverService.start(DriverService.java:188)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecu
tor.java:79)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:157)
at Actions.commons.Abstracstest.multiBrowser(Abstracstest.java:73)
at Testcases.MarketNode_testcase.beforeTest(MarketNode_testcase.java:38)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
AccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java
:124)
at
org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInv
ocationHelper.java:59)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.TestRunner.beforeRun(TestRunner.java:529)
at org.testng.TestRunner.run(TestRunner.java:497)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java
:71)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:
385)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting
for [http://localhost:30842/status] to be available after 20003 ms
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:100)
at
org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.j
ava:197)
... 38 more
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimit
er.java:156)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:75)
... 39 more

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] MarketNode_testcase.beforeTest:38->Abstracstest.multiBrowser:73 »
WebDriver Timed out waiting for driver server to start.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-
14T08:17:03'
System info: host: 'ip-10-128-1-8.ap-southeast-1.compute.internal', ip:
'10.128.1.8', os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.178-
162.673.amzn2.x86_64', java.version: '11.0.19'
Driver info: driver.version: ChromeDriver
[INFO]
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 5
[INFO]
[ERROR] There are test failures.

Please refer to /var/jenkins_home/workspace/Testing Jobs/Sigma-Origination-


AutoTest/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and
[date].dumpstream.
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ MarketNodeSIGMA_login ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @
MarketNodeSIGMA_login ---
[INFO] Installing /var/jenkins_home/workspace/Testing Jobs/Sigma-Origination-
AutoTest/target/MarketNodeSIGMA_login-0.0.1-SNAPSHOT.jar to
/var/jenkins_home/.m2/repository/MarketNodeproject/MarketNodeSIGMA_login/0.0.1-
SNAPSHOT/MarketNodeSIGMA_login-0.0.1-SNAPSHOT.jar
[INFO] Installing /var/jenkins_home/workspace/Testing Jobs/Sigma-Origination-
AutoTest/pom.xml to
/var/jenkins_home/.m2/repository/MarketNodeproject/MarketNodeSIGMA_login/0.0.1-
SNAPSHOT/MarketNodeSIGMA_login-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55.674 s
[INFO] Finished at: 2023-05-17T11:15:54Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data

REST API
Jenkins 2.387.3

You might also like