Console Output

Pull request #40 opened
Running with default Jenkinsfile ID: ScmPluginJenkinsfile
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
‘oss-ubuntu-h2q8gk’ is offline
Running on oss-ubuntu-h2q8gk in /tmp/workspace/lugins_scm-branchwp-plugin_PR-40
[Pipeline] {
15:00:13 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-branchwp-plugin.git
 > git init /tmp/workspace/lugins_scm-branchwp-plugin_PR-40 # timeout=10
Fetching upstream changes from https://github.com/scm-manager/scm-branchwp-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-branchwp-plugin.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
Fetching without tags
Merging remotes/origin/develop commit 32f7acd724c47193ccb31072148d22322ded5be1 into PR head commit 82584bd3ef47cc62f564d3fb6ee675ec35195056
Merge succeeded, producing 82584bd3ef47cc62f564d3fb6ee675ec35195056
Checking out Revision 82584bd3ef47cc62f564d3fb6ee675ec35195056 (PR-40)
 > git config remote.origin.url https://github.com/scm-manager/scm-branchwp-plugin.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # 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-branchwp-plugin.git # timeout=10
Fetching upstream changes from https://github.com/scm-manager/scm-branchwp-plugin.git
using GIT_ASKPASS to set credentials CESMarvin at Github
 > git fetch --no-tags --force --progress -- https://github.com/scm-manager/scm-branchwp-plugin.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 82584bd3ef47cc62f564d3fb6ee675ec35195056 # 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 32f7acd724c47193ccb31072148d22322ded5be1 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 82584bd3ef47cc62f564d3fb6ee675ec35195056 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b PR-40 82584bd3ef47cc62f564d3fb6ee675ec35195056 # timeout=10
Commit message: "Bump minimist from 1.2.5 to 1.2.6"
First time build. Skipping changelog.
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[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] withEnv
[Pipeline] {
[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
11d8b4a4591a: Waiting
8cf1e37ddf00: Waiting
a4c66b66455b: Verifying Checksum
a4c66b66455b: Download complete
e4c3d3e4f7b0: Download complete
8cf1e37ddf00: Verifying Checksum
8cf1e37ddf00: Download complete
e4c3d3e4f7b0: Pull complete
15ff770a7f13: Verifying Checksum
15ff770a7f13: Download complete
a4c66b66455b: Pull complete
11d8b4a4591a: Download 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] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
oss-ubuntu-h2q8gk does not seem to be running inside a container
$ docker run -t -d -u 1001:1002 -w /tmp/workspace/lugins_scm-branchwp-plugin_PR-40 -v /tmp/workspace/lugins_scm-branchwp-plugin_PR-40:/tmp/workspace/lugins_scm-branchwp-plugin_PR-40:rw,z -v /tmp/workspace/lugins_scm-branchwp-plugin_PR-40@tmp:/tmp/workspace/lugins_scm-branchwp-plugin_PR-40@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 ce7d059addf076437037d70e655845439081cb0060ceb3eeca6e8413ace1081e -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-7.3-bin.zip
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.3!

Here are the highlights of this release:
 - Easily declare new test suites in Java projects
 - Support for Java 17
 - Support for Scala 3

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

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :compileJava
/tmp/workspace/lugins_scm-branchwp-plugin_PR-40/src/main/java/sonia/scm/branchwp/api/BranchWritePermissionsDto.java:36: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
@EqualsAndHashCode
^
/tmp/workspace/lugins_scm-branchwp-plugin_PR-40/src/main/java/sonia/scm/branchwp/api/BranchWritePermissionDto.java:32: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
@EqualsAndHashCode
^
2 warnings

> Task :plugin-xml
> Task :processResources
> Task :classes
> Task :jar

> Task :javadoc
/tmp/workspace/lugins_scm-branchwp-plugin_PR-40/src/main/java/sonia/scm/branchwp/service/BranchWritePermissionService.java:73: warning: no description for @param
   * @param user
     ^
/tmp/workspace/lugins_scm-branchwp-plugin_PR-40/src/main/java/sonia/scm/branchwp/service/BranchWritePermissionService.java:74: warning: no description for @param
   * @param repository
     ^
/tmp/workspace/lugins_scm-branchwp-plugin_PR-40/src/main/java/sonia/scm/branchwp/service/BranchWritePermissionService.java:75: warning: no description for @param
   * @param branch
     ^
3 warnings

> 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

added 1 package, and audited 2 packages in 1s

found 0 vulnerabilities

> Task :yarn_install
yarn install v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
warning webpack-plugin-serve@1.5.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@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" 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 " > styled-components@4.4.1" has unmet peer dependency "react-dom@>= 16.3.0".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-diff-view@2.4.4" has unmet peer dependency "prop-types@>=15.6".
warning "@scm-manager/eslint-config > eslint-plugin-prettier@3.1.3" has unmet peer dependency "prettier@>= 1.13.0".
warning "@scm-manager/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.17.1" 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/jest-preset > babel-jest > babel-preset-jest@26.6.2" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/jest-preset > babel-jest > babel-preset-jest > babel-preset-current-node-syntax@1.0.1" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/jest-preset > babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/plugin-syntax-bigint@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@scm-manager/jest-preset > babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/plugin-syntax-class-properties@7.12.13" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@scm-manager/jest-preset > babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/plugin-syntax-import-meta@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@scm-manager/jest-preset > babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/plugin-syntax-logical-assignment-operators@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@scm-manager/jest-preset > babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/plugin-syntax-numeric-separator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@scm-manager/jest-preset > babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/plugin-syntax-top-level-await@7.12.13" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@scm-manager/ui-scripts > babel-loader@8.1.0" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/ui-tests > enzyme-adapter-react-16@1.15.2" has unmet peer dependency "react-dom@^16.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 "@scm-manager/plugin-scripts > babel-loader@8.2.3" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/plugin-scripts > webpack-plugin-serve > webpack-plugin-ramdisk@0.1.8" has incorrect peer dependency "webpack@^4.20.0".
[4/4] Building fresh packages...
$ plugin-scripts postinstall
Done in 72.30s.

> Task :ui-bundle
yarn run v1.22.15
$ plugin-scripts build
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
asset scm-branchwp-plugin.bundle.js 84.9 KiB [emitted] [minimized] (name: scm-branchwp-plugin)
orphan modules 40.7 KiB [orphan] 5 modules
runtime modules 964 bytes 5 modules
built modules 43.7 KiB [built]
  cacheable modules 43.5 KiB
    ./node_modules/@scm-manager/plugin-scripts/src/webpack-public-path.js 1.4 KiB [built] [code generated]
    ./src/main/js/index.ts + 5 modules 42.1 KiB [built] [code generated]
  external "@scm-manager/ui-components" 42 bytes [built] [code generated]
  external "react" 42 bytes [built] [code generated]
  external "react-i18next" 42 bytes [built] [code generated]
  external "styled-components" 42 bytes [built] [code generated]
webpack 5.66.0 compiled successfully in 3029 ms
Done in 4.29s.

> Task :smp
> Task :release-yaml
> Task :sourcesJar
> Task :assemble
> Task :checkLicenseCustomGradle
> Task :checkLicenseCustomUi
> Task :checkLicenseMain
> Task :checkLicenseTest
> Task :checkLicenses

> 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: Current scmVersion 2.0.0 is newer or equal than 2.0.0, which is requested by depending plugins

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 3m 15s
20 actionable tasks: 20 executed
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ./gradlew check
> Task :checkLicenseCustomGradle
> Task :checkLicenseCustomUi
> Task :checkLicenseMain
> Task :checkLicenseTest
> Task :checkLicenses
> Task :compileJava UP-TO-DATE
> Task :plugin-xml UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE

> Task :compileTestJava
Note: /tmp/workspace/lugins_scm-branchwp-plugin_PR-40/src/test/java/sonia/scm/branchwp/api/BranchWritePermissionResourceTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :processTestResources
> Task :testClasses
> Task :update-test-timestamp
> Task :test
> 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 23s
14 actionable tasks: 9 executed, 5 up-to-date
java.io.IOException: No such file or directory
[Pipeline] sh
+ touch build/test-results/test/TEST-sonia.scm.branchwp.api.BranchWritePermissionResourceTest.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-branchwp-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-40 -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
Use of preview features have been detected during analysis. Enable DEBUG mode to see them.
Reports path not found or is not a directory: /tmp/workspace/lugins_scm-branchwp-plugin_PR-40/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.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings

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 ce7d059addf076437037d70e655845439081cb0060ceb3eeca6e8413ace1081e
$ docker rm -f ce7d059addf076437037d70e655845439081cb0060ceb3eeca6e8413ace1081e
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

Finished: SUCCESS