Skip to content
Failed

Console Output

GitHub pull request #6918 of commit cb3c98671f8dae1ee746a320bdd521f329020e56, no merge conflicts.
Setting status of cb3c98671f8dae1ee746a320bdd521f329020e56 to PENDING with url https://ci.eclipse.org/omr/job/CopyrightCheck/1805/ and message: 'Running'
Using context: Copyright Check
Obtained buildenv/jenkins/copyrightCheck.groovy from git https://github.com/eclipse/omr.git
[Pipeline] Start of Pipeline
[Pipeline] timeout
Timeout set to expire in 6 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Copyright Check)
[Pipeline] node
Running on proxy in /home/jenkins/jenkins-agent/workspace/CopyrightCheck
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] checkout
13:13:18 [2023-03-06T18:13:18.392Z] The recommended git tool is: git
13:13:18 [2023-03-06T18:13:18.529Z] No credentials specified
13:13:18 [2023-03-06T18:13:18.601Z] Fetching changes from the remote Git repository
13:13:18 [2023-03-06T18:13:18.563Z]  > git rev-parse --resolve-git-dir /home/jenkins/jenkins-agent/workspace/CopyrightCheck/.git # timeout=10
13:13:18 [2023-03-06T18:13:18.634Z]  > git config remote.origin.url https://github.com/eclipse/omr.git # timeout=10
13:13:18 [2023-03-06T18:13:18.705Z] Fetching upstream changes from https://github.com/eclipse/omr.git
13:13:18 [2023-03-06T18:13:18.705Z]  > git --version # timeout=10
13:13:18 [2023-03-06T18:13:18.709Z]  > git --version # 'git version 2.25.1'
13:13:18 [2023-03-06T18:13:18.709Z]  > git fetch --tags --force --progress -- https://github.com/eclipse/omr.git +refs/pull/6918/*:refs/remotes/origin/pr/6918/* +refs/heads/master:refs/remotes/origin/master # timeout=10
13:13:19 [2023-03-06T18:13:19.582Z] Checking out Revision 0715cfd716c2ed60ef34d171833edd9a7c5807ea (refs/remotes/origin/pr/6918/merge)
13:13:19 [2023-03-06T18:13:19.748Z] Commit message: "Merge cb3c98671f8dae1ee746a320bdd521f329020e56 into d5af8d16e93cc591fffb779b4cfa328ec7e0327f"
[Pipeline] sh
13:13:19 [2023-03-06T18:13:19.543Z]  > git rev-parse refs/remotes/origin/pr/6918/merge^{commit} # timeout=10
13:13:19 [2023-03-06T18:13:19.616Z]  > git config core.sparsecheckout # timeout=10
13:13:19 [2023-03-06T18:13:19.619Z]  > git checkout -f 0715cfd716c2ed60ef34d171833edd9a7c5807ea # timeout=10
13:13:20 [2023-03-06T18:13:20.619Z] + git diff -C --diff-filter=ACM --name-only origin/master HEAD
[Pipeline] echo
13:13:20 [2023-03-06T18:13:20.896Z] gc/base/standard/ParallelGlobalGC.cpp
13:13:20 [2023-03-06T18:13:20.896Z] gc/base/standard/Scavenger.cpp
[Pipeline] sh
13:13:21 [2023-03-06T18:13:21.761Z] + date +%Y
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] echo
13:13:22 [2023-03-06T18:13:22.360Z] Checking file: 'gc/base/standard/ParallelGlobalGC.cpp'
[Pipeline] sh
13:13:23 [2023-03-06T18:13:23.216Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
13:13:23 [2023-03-06T18:13:23.418Z] FAILURE - Copyright date in file: 'gc/base/standard/ParallelGlobalGC.cpp' appears to be incorrect
[Pipeline] echo
13:13:23 [2023-03-06T18:13:23.425Z] Checking file: 'gc/base/standard/Scavenger.cpp'
[Pipeline] sh
13:13:24 [2023-03-06T18:13:24.282Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/Scavenger.cpp
[Pipeline] echo
13:13:24 [2023-03-06T18:13:24.484Z] Copyright date in file: appears to be correct
[Pipeline] echo
13:13:24 [2023-03-06T18:13:24.486Z] ###################################
[Pipeline] echo
13:13:24 [2023-03-06T18:13:24.488Z] The following files were modified and have incorrect copyrights
[Pipeline] echo
13:13:24 [2023-03-06T18:13:24.501Z] gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
13:13:24 [2023-03-06T18:13:24.504Z] ###################################
[Pipeline] error
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] End of Pipeline
ERROR: One or more files do not have valid copyrights.
Setting status of cb3c98671f8dae1ee746a320bdd521f329020e56 to FAILURE with url https://ci.eclipse.org/omr/job/CopyrightCheck/1805/ and message: 'There appears to be a problem with the copyrights
 '
Using context: Copyright Check
Finished: FAILURE