Skip to content
Failed

Console Output

GitHub pull request #6917 of commit 50674723d8dc1c5d68ee19e853597802bad43d37, no merge conflicts.
Setting status of 50674723d8dc1c5d68ee19e853597802bad43d37 to PENDING with url https://ci.eclipse.org/omr/job/CopyrightCheck/1802/ 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
12:31:32 [2023-03-06T17:31:32.047Z] The recommended git tool is: git
12:31:52 [2023-03-06T17:31:52.820Z] No credentials specified
12:31:53 [2023-03-06T17:31:53.929Z] Fetching changes from the remote Git repository
12:31:53 [2023-03-06T17:31:53.426Z]  > git rev-parse --resolve-git-dir /home/jenkins/jenkins-agent/workspace/CopyrightCheck/.git # timeout=10
12:31:53 [2023-03-06T17:31:53.966Z]  > git config remote.origin.url https://github.com/eclipse/omr.git # timeout=10
12:31:54 [2023-03-06T17:31:54.193Z] Fetching upstream changes from https://github.com/eclipse/omr.git
12:31:54 [2023-03-06T17:31:54.196Z]  > git --version # timeout=10
12:31:54 [2023-03-06T17:31:54.201Z]  > git --version # 'git version 2.25.1'
12:31:54 [2023-03-06T17:31:54.202Z]  > git fetch --tags --force --progress -- https://github.com/eclipse/omr.git +refs/pull/6917/*:refs/remotes/origin/pr/6917/* +refs/heads/master:refs/remotes/origin/master # timeout=10
12:31:55 [2023-03-06T17:31:55.071Z] Checking out Revision f68eeff1e6ec634ca4fff9589a39fe103251f35f (refs/remotes/origin/pr/6917/merge)
12:31:55 [2023-03-06T17:31:55.028Z]  > git rev-parse refs/remotes/origin/pr/6917/merge^{commit} # timeout=10
12:31:55 [2023-03-06T17:31:55.173Z]  > git config core.sparsecheckout # timeout=10
12:31:55 [2023-03-06T17:31:55.177Z]  > git checkout -f f68eeff1e6ec634ca4fff9589a39fe103251f35f # timeout=10
12:32:03 [2023-03-06T17:32:03.072Z] Commit message: "Merge 50674723d8dc1c5d68ee19e853597802bad43d37 into d5af8d16e93cc591fffb779b4cfa328ec7e0327f"
[Pipeline] sh
12:32:04 [2023-03-06T17:32:04.944Z] + git diff -C --diff-filter=ACM --name-only origin/master HEAD
[Pipeline] echo
12:32:06 [2023-03-06T17:32:06.771Z] gc/base/standard/ParallelGlobalGC.cpp
12:32:06 [2023-03-06T17:32:06.771Z] gc/base/standard/Scavenger.cpp
[Pipeline] sh
12:32:07 [2023-03-06T17:32:07.701Z] + date +%Y
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] echo
12:32:08 [2023-03-06T17:32:08.646Z] Checking file: 'gc/base/standard/ParallelGlobalGC.cpp'
[Pipeline] sh
12:32:09 [2023-03-06T17:32:09.515Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
12:32:09 [2023-03-06T17:32:09.738Z] FAILURE - Copyright date in file: 'gc/base/standard/ParallelGlobalGC.cpp' appears to be incorrect
[Pipeline] echo
12:32:09 [2023-03-06T17:32:09.766Z] Checking file: 'gc/base/standard/Scavenger.cpp'
[Pipeline] sh
12:32:10 [2023-03-06T17:32:10.667Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/Scavenger.cpp
[Pipeline] echo
12:32:10 [2023-03-06T17:32:10.871Z] Copyright date in file: appears to be correct
[Pipeline] echo
12:32:10 [2023-03-06T17:32:10.874Z] ###################################
[Pipeline] echo
12:32:10 [2023-03-06T17:32:10.877Z] The following files were modified and have incorrect copyrights
[Pipeline] echo
12:32:10 [2023-03-06T17:32:10.886Z] gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
12:32:10 [2023-03-06T17:32:10.889Z] ###################################
[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 50674723d8dc1c5d68ee19e853597802bad43d37 to FAILURE with url https://ci.eclipse.org/omr/job/CopyrightCheck/1802/ and message: 'There appears to be a problem with the copyrights
 '
Using context: Copyright Check
Finished: FAILURE