Console Output

Pull request #25 opened
Running with default Jenkinsfile ID: ScmPluginJenkinsfile
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘docker’
Running on oss-ubuntu-musnc9 in /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25
[Pipeline] {
09:39:38 Connecting to https://api.github.com using CESMarvin at Github
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential cesmarvin-github
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Fetching without tags
Cloning repository https://github.com/scm-manager/scm-cas-plugin.git
 > git init /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25 # timeout=10
Fetching upstream changes from https://github.com/scm-manager/scm-cas-plugin.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials CESMarvin at Github
 > git fetch --no-tags --force --progress -- https://github.com/scm-manager/scm-cas-plugin.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
 > git config remote.origin.url https://github.com/scm-manager/scm-cas-plugin.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/25/head:refs/remotes/origin/PR-25 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/develop:refs/remotes/origin/develop # timeout=10
 > git config remote.origin.url https://github.com/scm-manager/scm-cas-plugin.git # timeout=10
Fetching upstream changes from https://github.com/scm-manager/scm-cas-plugin.git
using GIT_ASKPASS to set credentials CESMarvin at Github
 > git fetch --no-tags --force --progress -- https://github.com/scm-manager/scm-cas-plugin.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
Merging remotes/origin/develop commit bf7a56cd1a58822b5de3737c6250726e1df3112b into PR head commit 144650f3f9dff0d3b305eed2252b1ec9d12a348a
Merge succeeded, producing 144650f3f9dff0d3b305eed2252b1ec9d12a348a
Checking out Revision 144650f3f9dff0d3b305eed2252b1ec9d12a348a (PR-25)
Commit message: "Update gradle-smp-plugin to version 0.8.5"
First time build. Skipping changelog.
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 144650f3f9dff0d3b305eed2252b1ec9d12a348a # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials CESMarvin at Github
 > git merge bf7a56cd1a58822b5de3737c6250726e1df3112b # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 144650f3f9dff0d3b305eed2252b1ec9d12a348a # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b PR-25 144650f3f9dff0d3b305eed2252b1ec9d12a348a # timeout=10
[Pipeline] isUnix
[Pipeline] sh
+ docker inspect -f . scmmanager/java-build:11.0.9_11.1
.
[Pipeline] withDockerContainer
oss-ubuntu-musnc9 does not seem to be running inside a container
$ docker run -t -d -u 1001:1002 -w /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25 -v /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25:/tmp/workspace/ger-plugins_scm-cas-plugin_PR-25:rw,z -v /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25@tmp:/tmp/workspace/ger-plugins_scm-cas-plugin_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** scmmanager/java-build:11.0.9_11.1 cat
$ docker top 8063cff62bea716663dab67312a8a8b510b95136d885e0739a683d946bbe6138 -eo pid,comm
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare build)
[Pipeline] script
[Pipeline] {
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Set Version)
Stage "Set Version" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ./gradlew build -xtest
Downloading https://services.gradle.org/distributions/gradle-6.7.1-bin.zip
.........10%..........20%..........30%..........40%..........50%.........60%..........70%..........80%..........90%..........100%

Welcome to Gradle 6.7.1!

Here are the highlights of this release:
 - File system watching is ready for production use
 - Declare the version of Java your build requires
 - Java 15 support

For more details see https://docs.gradle.org/6.7.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava
> Task :plugin-xml
> Task :processResources
> Task :classes
> Task :jar
> Task :javadoc
> Task :javadocJar

> Task :openapi
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.

> Task :nodeSetup

> Task :yarnSetup
/tmp/workspace/ger-plugins_scm-cas-plugin_PR-25/.gradle/yarn/yarn-v1.22.5/bin/yarn -> /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js
/tmp/workspace/ger-plugins_scm-cas-plugin_PR-25/.gradle/yarn/yarn-v1.22.5/bin/yarnpkg -> /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.22.5
added 1 package in 0.386s

> Task :yarn_install
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
warning webpack-plugin-serve@1.3.0: Invalid bin field for "webpack-plugin-serve".
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > react-i18next@10.13.2" has unmet peer dependency "i18next@>= 17.0.0".
warning " > react-redux@5.1.2" has incorrect peer dependency "react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0".
warning " > styled-components@5.2.1" has unmet peer dependency "react-dom@>= 16.8.0".
warning " > styled-components@5.2.1" has unmet peer dependency "react-is@>= 16.8.0".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-diff-view@2.4.7" has unmet peer dependency "prop-types@>=15.6".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-select@2.4.4" has incorrect peer dependency "react@^15.3.0 || ^16.0.0".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-select@2.4.4" has incorrect peer dependency "react-dom@^15.3.0 || ^16.0.0".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-select > react-input-autosize@2.2.2" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0".
warning "@scm-manager/eslint-config > @typescript-eslint/eslint-plugin@2.34.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "@scm-manager/eslint-config > @typescript-eslint/parser@2.34.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "@scm-manager/eslint-config > eslint-config-react-app@5.2.1" has incorrect peer dependency "eslint@6.x".
warning "@scm-manager/eslint-config > eslint-plugin-prettier@3.3.1" has unmet peer dependency "prettier@>=1.13.0".
warning "@scm-manager/eslint-config > eslint-plugin-react-hooks@2.5.1" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning "@scm-manager/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.20.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@scm-manager/jest-preset > babel-jest@26.6.3" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/ui-scripts > @pmmmwh/react-refresh-webpack-plugin@0.4.3" has incorrect peer dependency "react-refresh@>=0.8.3 <0.10.0".
warning "@scm-manager/ui-scripts > babel-loader@8.2.2" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/ui-tests > @wojtekmaj/enzyme-adapter-react-17@0.6.3" has unmet peer dependency "react-dom@^17.0.0-0".
warning "@scm-manager/ui-tests > enzyme-context-react-router-4@2.1.0" has unmet peer dependency "react-router@4.x || 5.x".
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
$ plugin-scripts postinstall
Done in 72.98s.

> Task :ui-bundle
yarn run v1.22.5
$ plugin-scripts build
Hash: 6dd10850f1ab0bd442f7
Version: webpack 4.46.0
Time: 3697ms
Built at: 07/30/2021 7:42:27 AM
                   Asset      Size  Chunks             Chunk Names
scm-cas-plugin.bundle.js  36.5 KiB       0  [emitted]  scm-cas-plugin
Entrypoint scm-cas-plugin = scm-cas-plugin.bundle.js
[0] external "react" 42 bytes {0} [built]
[1] external "@scm-manager/ui-components" 42 bytes {0} [built]
[2] external "react-i18next" 42 bytes {0} [built]
[3] external "@scm-manager/ui-extensions" 42 bytes {0} [built]
[4] multi ./node_modules/@scm-manager/plugin-scripts/src/webpack-public-path.js ./src/main/js/index.ts 40 bytes {0} [built]
[5] ./node_modules/@scm-manager/plugin-scripts/src/webpack-public-path.js 1.4 KiB {0} [built]
[6] ./src/main/js/index.ts + 3 modules 11.6 KiB {0} [built]
    | ./src/main/js/index.ts 1.59 KiB [built]
    | ./src/main/js/GlobalCasConfiguration.tsx 2.59 KiB [built]
    | ./src/main/js/CasLoginLink.tsx 1.48 KiB [built]
    | ./src/main/js/GlobalCasConfigurationForm.tsx 5.87 KiB [built]
Done in 5.28s.

> Task :smp
> Task :release-yaml
> Task :sourcesJar
> Task :assemble
> Task :licenseBuild UP-TO-DATE
> Task :licenseMain UP-TO-DATE
> Task :licenseTest UP-TO-DATE
> Task :licenseUI UP-TO-DATE
> Task :license UP-TO-DATE

> Task :validate
[INFO ] Rule passed: gradle and package.json names are equal
[INFO ] Rule passed: version of gradle.properties and package.json are equal
[INFO ] Rule passed: gradle uses scm snapshot, no need to match @scm-manager/ui-plugins
[INFO ] Rule passed: package.json uses post install of plugin-scripts
[INFO ] Rule passed: no plugin dependencies with min-version condition found

> Task :validatePluginJson
> Task :check
> Task :build

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 2m 45s
20 actionable tasks: 16 executed, 4 up-to-date
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ./gradlew check
> Task :licenseBuild UP-TO-DATE
> Task :licenseMain UP-TO-DATE
> Task :licenseTest UP-TO-DATE
> Task :licenseUI UP-TO-DATE
> Task :license UP-TO-DATE
> Task :compileJava UP-TO-DATE
> Task :plugin-xml UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE

> Task :compileTestJava
Note: Some input files use or override 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 :update-test-timestamp

> Task :test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.mockito.internal.util.reflection.ReflectionMemberAccessor (file:/tmp/workspace/ger-plugins_scm-cas-plugin_PR-25/%3f/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-core/3.6.28/ad16f503916da658bd7b805816ae3b296f3eea4c/mockito-core-3.6.28.jar) to constructor java.util.Optional()
WARNING: Please consider reporting this to the maintainers of org.mockito.internal.util.reflection.ReflectionMemberAccessor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

> Task :jacocoTestReport
> Task :validate UP-TO-DATE
> Task :validatePluginJson UP-TO-DATE
> Task :check

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 29s
14 actionable tasks: 5 executed, 9 up-to-date
java.io.IOException: No such file or directory
[Pipeline] sh
+ touch build/test-results/test/TEST-com.cloudogu.scm.cas.AssertionMapperTest$GroupMapping.xml build/test-results/test/TEST-com.cloudogu.scm.cas.AssertionMapperTest$UserMapping.xml build/test-results/test/TEST-com.cloudogu.scm.cas.AuthenticationInfoBuilderTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.CasContextTest$SetTests.xml build/test-results/test/TEST-com.cloudogu.scm.cas.CasContextTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.CasGroupResolverTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.CasLoginLinkProviderTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.GroupStoreTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.IndexConfigurationEnricherTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.TicketValidatorFactoryTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.CasAuthenticationFilterTest$WithSubject.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.CasAuthenticationFilterTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.CasAuthenticationResourceTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.CasTokenRealmTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.CasTokenTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.CleanTicketStoreListenerTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.CleanTicketStoreTaskTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.ForceCasLoginFilterTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.LoginHandlerTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.LogoutAccessTokenValidatorTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.LogoutHandlerTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.ServiceUrlProviderTest$withHTTPRequest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.ServiceUrlProviderTest$withoutHTTPRequest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.ServiceUrlProviderTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.browser.TicketStoreTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.config.ConfigurationMapperTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.config.ConfigurationResourceTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.rest.AfterLogoutRedirectToCasTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.rest.CasRestClientTest.xml build/test-results/test/TEST-com.cloudogu.scm.cas.rest.CasRestRealmTest.xml
[Pipeline] sh
+ touch build/jest-reports/TEST-*.xml
touch: cannot touch 'build/jest-reports/TEST-*.xml': No such file or directory
+ true
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (SonarQube)
[Pipeline] sh
+ git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
[Pipeline] sh
+ git fetch origin master
From https://github.com/scm-manager/scm-cas-plugin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
[Pipeline] script
[Pipeline] {
[Pipeline] withSonarQubeEnv
Injecting SonarQube environment variables using the configuration: sonarcloud.io-scm
[Pipeline] {
[Pipeline] sh
+ ./gradlew sonarqube -Dsonar.organization=scm-manager -Dsonar.branch.name=PR-25 -Dsonar.branch.target=master
> Task :compileJava UP-TO-DATE
> Task :plugin-xml UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :compileTestJava UP-TO-DATE
Couldn't flush user prefs: java.util.prefs.BackingStoreException: java.io.FileNotFoundException: ?/.java/.userPrefs/org/prefs.tmp (No such file or directory)
> Task :sonarqube
Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them.

Couldn't flush user prefs: java.util.prefs.BackingStoreException: ?/.java/.userPrefs/org create failed.

> Task :sonarqube
Reports path not found or is not a directory: /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25/build/jest-reports
No coverage information will be saved because LCOV file cannot be found.
Provided LCOV file path: build/jest-reports/coverage/lcov.info. Seek file with path: /tmp/workspace/ger-plugins_scm-cas-plugin_PR-25/build/jest-reports/coverage/lcov.info
No coverage information will be saved because all LCOV files cannot be found.

BUILD SUCCESSFUL in 1m 24s
5 actionable tasks: 1 executed, 4 up-to-date
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deployment)
Stage "Deployment" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Push Tag)
Stage "Push Tag" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Plugin Center)
Stage "Plugin Center" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Set Next Version)
Stage "Set Next Version" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Delete Release Branch)
Stage "Delete Release Branch" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 8063cff62bea716663dab67312a8a8b510b95136d885e0739a683d946bbe6138
$ docker rm -f 8063cff62bea716663dab67312a8a8b510b95136d885e0739a683d946bbe6138
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

Finished: SUCCESS