Skip to content

Instantly share code, notes, and snippets.

@AndreyKurilo
Created October 25, 2021 16:52
Show Gist options
  • Save AndreyKurilo/8e47adb482fca7e7225c388142bc537a to your computer and use it in GitHub Desktop.
Save AndreyKurilo/8e47adb482fca7e7225c388142bc537a to your computer and use it in GitHub Desktop.
Selenium Console Output
Console Output
Started by user admin
Running as SYSTEM
Building in workspace C:\Users\Andrey\.jenkins\workspace\addressbook-tests
The recommended git tool is: NONE
No credentials specified
> C:\Program Files\Git\bin\git.exe rev-parse --resolve-git-dir C:\Users\Andrey\.jenkins\workspace\addressbook-tests\.git # timeout=10
Fetching changes from the remote Git repository
> C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/AK-1971/AFT_Java_New # timeout=10
Fetching upstream changes from https://github.com/AK-1971/AFT_Java_New
> C:\Program Files\Git\bin\git.exe --version # timeout=10
> git --version # 'git version 2.33.1.windows.1'
> C:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- https://github.com/AK-1971/AFT_Java_New +refs/heads/*:refs/remotes/origin/* # timeout=10
Seen branch in repository origin/main
Seen branch in repository origin/workingBranch
Seen 2 remote branches
> C:\Program Files\Git\bin\git.exe show-ref --tags -d # timeout=10
Checking out Revision db8c144072aac30c4fb36b5ffb0acc3e74649328 (origin/workingBranch)
> C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
> C:\Program Files\Git\bin\git.exe checkout -f db8c144072aac30c4fb36b5ffb0acc3e74649328 # timeout=10
Commit message: "10.2. Реализована возможность удаленного запуска браузера"
> C:\Program Files\Git\bin\git.exe rev-list --no-walk db8c144072aac30c4fb36b5ffb0acc3e74649328 # timeout=10
[Gradle] - Launching build.
[addressbook-web-tests] $ cmd.exe /C "C:\Tools\gradle-7.2\bin\gradle.bat -Pbrowser=chrome -Ptarget=remote clean testGroups && exit %%ERRORLEVEL%%"
Starting a Gradle Daemon, 2 incompatible and 3 stopped Daemons could not be reused, use --status for details
> Task :clean
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :compileTestJava
Note: C:\Users\Andrey\.jenkins\workspace\addressbook-tests\addressbook-web-tests\src\test\java\ru\stqa\pft\addressbook\appManager\AppsManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :processTestResources
> Task :testClasses
> Task :testGroups
ru.stqa.pft.addressbook.test.GroupCreationTests.setUp FAILED
org.openqa.selenium.SessionNotCreatedException at ProtocolHandshake.java:126
ru.stqa.pft.addressbook.test.GroupCreationTests.tearDown FAILED
java.lang.NullPointerException at AppsManager.java:92
5 tests completed, 2 failed, 3 skipped
> Task :testGroups FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':testGroups'.
> There were failing tests. See the report at: file:///C:/Users/Andrey/.jenkins/workspace/addressbook-tests/addressbook-web-tests/build/reports/tests/testGroups/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 28s
4 actionable tasks: 4 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment