Pull request #29 opened Running with default Jenkinsfile ID: ScmPluginJenkinsfile Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task ‘oss-ubuntu-m9xh6m’ is offline Running on oss-ubuntu-m9xh6m in /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29 [Pipeline] { 08:21:18 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 Cloning repository https://github.com/scm-manager/scm-cas-plugin.git > git init /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29 # 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/29/head:refs/remotes/origin/PR-29 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Fetching without tags > git config remote.origin.url https://github.com/scm-manager/scm-cas-plugin.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/29/head:refs/remotes/origin/PR-29 # 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/29/head:refs/remotes/origin/PR-29 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Merging remotes/origin/develop commit 30eaf31ed90b49e1c082fc3b24f648d5a07b3f1c into PR head commit 2dde162eab0b62bdbb50044db23b9426b2f2baa4 Merge succeeded, producing 2dde162eab0b62bdbb50044db23b9426b2f2baa4 Checking out Revision 2dde162eab0b62bdbb50044db23b9426b2f2baa4 (PR-29) Commit message: "Bump url-parse from 1.5.1 to 1.5.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' > git config core.sparsecheckout # timeout=10 > git checkout -f 2dde162eab0b62bdbb50044db23b9426b2f2baa4 # 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 30eaf31ed90b49e1c082fc3b24f648d5a07b3f1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dde162eab0b62bdbb50044db23b9426b2f2baa4 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b PR-29 2dde162eab0b62bdbb50044db23b9426b2f2baa4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . scmmanager/java-build:11.0.9_11.1 Error: No such object: scmmanager/java-build:11.0.9_11.1 [Pipeline] isUnix [Pipeline] sh + docker pull scmmanager/java-build:11.0.9_11.1 11.0.9_11.1: Pulling from scmmanager/java-build e4c3d3e4f7b0: Pulling fs layer a4c66b66455b: Pulling fs layer 15ff770a7f13: Pulling fs layer 8cf1e37ddf00: Pulling fs layer 11d8b4a4591a: Pulling fs layer 8cf1e37ddf00: Waiting 11d8b4a4591a: Waiting a4c66b66455b: Verifying Checksum a4c66b66455b: Download complete 8cf1e37ddf00: Verifying Checksum 8cf1e37ddf00: Download complete e4c3d3e4f7b0: Verifying Checksum e4c3d3e4f7b0: Download complete 15ff770a7f13: Verifying Checksum 15ff770a7f13: Download complete 11d8b4a4591a: Verifying Checksum 11d8b4a4591a: Download complete e4c3d3e4f7b0: Pull complete a4c66b66455b: Pull complete 15ff770a7f13: Pull complete 8cf1e37ddf00: Pull complete 11d8b4a4591a: Pull complete Digest: sha256:7507b0c87359c132dfb73e0d20a57b580c9236709ebe17360e16cfbb0d5a36d3 Status: Downloaded newer image for scmmanager/java-build:11.0.9_11.1 docker.io/scmmanager/java-build:11.0.9_11.1 [Pipeline] withDockerContainer oss-ubuntu-m9xh6m 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-29 -v /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29:/tmp/workspace/ger-plugins_scm-cas-plugin_PR-29:rw,z -v /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29@tmp:/tmp/workspace/ger-plugins_scm-cas-plugin_PR-29@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 ******** scmmanager/java-build:11.0.9_11.1 cat $ docker top 7d61159ff8a2c93b13d4785380d1d7ff45f72a1b82b04d90c6434e7902a9f764 -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-29/.gradle/yarn/yarn-v1.22.5/bin/yarn -> /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29/.gradle/yarn/yarn-v1.22.5/bin/yarnpkg -> /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js + yarn@1.22.5 added 1 package in 0.362s > 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 77.27s. > Task :ui-bundle yarn run v1.22.5 $ plugin-scripts build Hash: 6dd10850f1ab0bd442f7 Version: webpack 4.46.0 Time: 2643ms Built at: 10/06/2021 6:24:41 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 4.06s. > 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: scm version is equal with @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 48s 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-29/%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(java.lang.Object) 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 36s 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-29 -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. Reports path not found or is not a directory: /tmp/workspace/ger-plugins_scm-cas-plugin_PR-29/build/jest-reports Couldn't flush user prefs: java.util.prefs.BackingStoreException: ?/.java/.userPrefs/org create failed. > Task :sonarqube No coverage information will be saved because all LCOV files cannot be found. BUILD SUCCESSFUL in 1m 6s 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 7d61159ff8a2c93b13d4785380d1d7ff45f72a1b82b04d90c6434e7902a9f764 $ docker rm -f 7d61159ff8a2c93b13d4785380d1d7ff45f72a1b82b04d90c6434e7902a9f764 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result Finished: SUCCESS