Skip to content
Failed

Console Output

GitHub pull request #6916 of commit d27255e84cb0bf1266d4855e430c96f95c615121, no merge conflicts.
Setting status of d27255e84cb0bf1266d4855e430c96f95c615121 to PENDING with url https://ci.eclipse.org/omr/job/CopyrightCheck/1794/ 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
20:27:11 [2023-03-06T01:27:11.167Z] The recommended git tool is: git
20:27:11 [2023-03-06T01:27:11.302Z] No credentials specified
20:27:11 [2023-03-06T01:27:11.376Z] Fetching changes from the remote Git repository
20:27:11 [2023-03-06T01:27:11.339Z]  > git rev-parse --resolve-git-dir /home/jenkins/jenkins-agent/workspace/CopyrightCheck/.git # timeout=10
20:27:11 [2023-03-06T01:27:11.409Z]  > git config remote.origin.url https://github.com/eclipse/omr.git # timeout=10
20:27:11 [2023-03-06T01:27:11.480Z] Fetching upstream changes from https://github.com/eclipse/omr.git
20:27:11 [2023-03-06T01:27:11.480Z]  > git --version # timeout=10
20:27:11 [2023-03-06T01:27:11.483Z]  > git --version # 'git version 2.25.1'
20:27:11 [2023-03-06T01:27:11.484Z]  > git fetch --tags --force --progress -- https://github.com/eclipse/omr.git +refs/pull/6916/*:refs/remotes/origin/pr/6916/* +refs/heads/master:refs/remotes/origin/master # timeout=10
20:27:12 [2023-03-06T01:27:12.340Z] Checking out Revision a4e430fb1ac66662c51521466cafdfbb172317f1 (refs/remotes/origin/pr/6916/merge)
20:27:12 [2023-03-06T01:27:12.544Z] Commit message: "Merge d27255e84cb0bf1266d4855e430c96f95c615121 into d5af8d16e93cc591fffb779b4cfa328ec7e0327f"
[Pipeline] sh
20:27:12 [2023-03-06T01:27:12.302Z]  > git rev-parse refs/remotes/origin/pr/6916/merge^{commit} # timeout=10
20:27:12 [2023-03-06T01:27:12.373Z]  > git config core.sparsecheckout # timeout=10
20:27:12 [2023-03-06T01:27:12.376Z]  > git checkout -f a4e430fb1ac66662c51521466cafdfbb172317f1 # timeout=10
20:27:13 [2023-03-06T01:27:13.406Z] + git diff -C --diff-filter=ACM --name-only origin/master HEAD
[Pipeline] echo
20:27:13 [2023-03-06T01:27:13.673Z] fvtest/compilertriltest/ArrayTest.cpp
20:27:13 [2023-03-06T01:27:13.674Z] fvtest/compilertriltest/CMakeLists.txt
[Pipeline] sh
20:27:14 [2023-03-06T01:27:14.530Z] + date +%Y
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] echo
20:27:14 [2023-03-06T01:27:14.935Z] Checking file: 'fvtest/compilertriltest/ArrayTest.cpp'
[Pipeline] sh
20:27:15 [2023-03-06T01:27:15.793Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 fvtest/compilertriltest/ArrayTest.cpp
[Pipeline] echo
20:27:15 [2023-03-06T01:27:15.995Z] FAILURE - Copyright date in file: 'fvtest/compilertriltest/ArrayTest.cpp' appears to be incorrect
[Pipeline] echo
20:27:16 [2023-03-06T01:27:16.002Z] Checking file: 'fvtest/compilertriltest/CMakeLists.txt'
[Pipeline] sh
20:27:16 [2023-03-06T01:27:16.860Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 fvtest/compilertriltest/CMakeLists.txt
[Pipeline] echo
20:27:17 [2023-03-06T01:27:17.066Z] FAILURE - Copyright date in file: 'fvtest/compilertriltest/CMakeLists.txt' appears to be incorrect
[Pipeline] echo
20:27:17 [2023-03-06T01:27:17.067Z] ###################################
[Pipeline] echo
20:27:17 [2023-03-06T01:27:17.069Z] The following files were modified and have incorrect copyrights
[Pipeline] echo
20:27:17 [2023-03-06T01:27:17.075Z] fvtest/compilertriltest/ArrayTest.cpp
[Pipeline] echo
20:27:17 [2023-03-06T01:27:17.080Z] fvtest/compilertriltest/CMakeLists.txt
[Pipeline] echo
20:27:17 [2023-03-06T01:27:17.081Z] ###################################
[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 d27255e84cb0bf1266d4855e430c96f95c615121 to FAILURE with url https://ci.eclipse.org/omr/job/CopyrightCheck/1794/ and message: 'There appears to be a problem with the copyrights
 '
Using context: Copyright Check
Finished: FAILURE