Console Output

Pull request #15 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-qsg7c5’ is offline
Running on oss-ubuntu-qsg7c5 in /tmp/workspace/lugins_scm-branchwp-plugin_PR-15
[Pipeline] {
12:16:24 Connecting to https://api.github.com using cesmarvin/****** (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-15 # 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/15/head:refs/remotes/origin/PR-15 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
Fetching without tags
Merging remotes/origin/develop commit d259c6a4077ca80f43272a606a61ac58666d2c5d into PR head commit 10fe245f1f30c3964cb93bd717846b7c4cf8ed96
Merge succeeded, producing 10fe245f1f30c3964cb93bd717846b7c4cf8ed96
Checking out Revision 10fe245f1f30c3964cb93bd717846b7c4cf8ed96 (PR-15)
 > git config remote.origin.url https://github.com/scm-manager/scm-branchwp-plugin.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/15/head:refs/remotes/origin/PR-15 # 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/15/head:refs/remotes/origin/PR-15 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 10fe245f1f30c3964cb93bd717846b7c4cf8ed96 # 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 d259c6a4077ca80f43272a606a61ac58666d2c5d # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 10fe245f1f30c3964cb93bd717846b7c4cf8ed96 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b PR-15 10fe245f1f30c3964cb93bd717846b7c4cf8ed96 # timeout=10
Commit message: "Bump ssri from 6.0.1 to 6.0.2"
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] 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
11d8b4a4591a: Waiting
8cf1e37ddf00: Waiting
a4c66b66455b: Verifying Checksum
a4c66b66455b: Download complete
e4c3d3e4f7b0: Download complete
8cf1e37ddf00: Verifying Checksum
15ff770a7f13: Verifying Checksum
15ff770a7f13: Download complete
e4c3d3e4f7b0: Pull complete
11d8b4a4591a: Verifying Checksum
11d8b4a4591a: Download 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-qsg7c5 does not seem to be running inside a container
$ docker run -t -d -u 1001:1002 -w /tmp/workspace/lugins_scm-branchwp-plugin_PR-15 -v /tmp/workspace/lugins_scm-branchwp-plugin_PR-15:/tmp/workspace/lugins_scm-branchwp-plugin_PR-15:rw,z -v /tmp/workspace/lugins_scm-branchwp-plugin_PR-15@tmp:/tmp/workspace/lugins_scm-branchwp-plugin_PR-15@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 ******** scmmanager/java-build:11.0.9_11.1 cat
$ docker top 04396f10ecd379f61dbf8810aa57c919ac01e88e65fe25d812bf8e452303b1c1 -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
/tmp/workspace/lugins_scm-branchwp-plugin_PR-15/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
^
/tmp/workspace/lugins_scm-branchwp-plugin_PR-15/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
^
2 warnings

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

> Task :javadoc
/tmp/workspace/lugins_scm-branchwp-plugin_PR-15/src/main/java/sonia/scm/branchwp/service/BranchWritePermissionService.java:73: warning: no description for @param
   * @param user
     ^
/tmp/workspace/lugins_scm-branchwp-plugin_PR-15/src/main/java/sonia/scm/branchwp/service/BranchWritePermissionService.java:74: warning: no description for @param
   * @param repository
     ^
/tmp/workspace/lugins_scm-branchwp-plugin_PR-15/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
/tmp/workspace/lugins_scm-branchwp-plugin_PR-15/.gradle/yarn/yarn-v1.22.5/bin/yarn -> /tmp/workspace/lugins_scm-branchwp-plugin_PR-15/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js
/tmp/workspace/lugins_scm-branchwp-plugin_PR-15/.gradle/yarn/yarn-v1.22.5/bin/yarnpkg -> /tmp/workspace/lugins_scm-branchwp-plugin_PR-15/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.22.5
added 1 package in 1.732s

> Task :yarn_install
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
warning webpack-plugin-serve@1.4.1: 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".
[4/4] Building fresh packages...
$ plugin-scripts postinstall
Done in 84.62s.

> Task :ui-bundle
yarn run v1.22.5
$ plugin-scripts build
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Hash: 3c49b7a9bdf019b38e5a
Version: webpack 4.43.0
Time: 2441ms
Built at: 04/30/2021 10:20:31 AM
                        Asset      Size  Chunks             Chunk Names
scm-branchwp-plugin.bundle.js  86.6 KiB       0  [emitted]  scm-branchwp-plugin
Entrypoint scm-branchwp-plugin = scm-branchwp-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 "styled-components" 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 + 5 modules 42 KiB {0} [built]
    | ./src/main/js/index.ts 1.38 KiB [built]
    | ./src/main/js/BranchWPsContainer.tsx 5.65 KiB [built]
    | ./src/main/js/BranchWPsForm.tsx 10.1 KiB [built]
    | ./src/main/js/table/BranchWPTable.tsx 6.06 KiB [built]
    | ./src/main/js/AddPermissionFormComponent.tsx 11.7 KiB [built]
    | ./src/main/js/table/BranchWPRow.tsx 7.06 KiB [built]
Done in 3.73s.

> 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: 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 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 3m 31s
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: /tmp/workspace/lugins_scm-branchwp-plugin_PR-15/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 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 30s
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-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-15 -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/lugins_scm-branchwp-plugin_PR-15/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/lugins_scm-branchwp-plugin_PR-15/build/jest-reports/coverage/lcov.info
No coverage information will be saved because all LCOV files cannot be found.

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

BUILD SUCCESSFUL in 1m 5s
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 04396f10ecd379f61dbf8810aa57c919ac01e88e65fe25d812bf8e452303b1c1
$ docker rm -f 04396f10ecd379f61dbf8810aa57c919ac01e88e65fe25d812bf8e452303b1c1
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

Finished: SUCCESS