Skip to content
Failed

Console Output

GitHub pull request #6918 of commit 25e07002d94bdc9994010cbde2061dc073086fc0, no merge conflicts.
Setting status of 25e07002d94bdc9994010cbde2061dc073086fc0 to PENDING with url https://ci.eclipse.org/omr/job/CopyrightCheck/1804/ 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:52:33 [2023-03-06T17:52:33.359Z] The recommended git tool is: git
12:52:33 [2023-03-06T17:52:33.494Z] No credentials specified
12:52:33 [2023-03-06T17:52:33.585Z] Fetching changes from the remote Git repository
12:52:33 [2023-03-06T17:52:33.528Z]  > git rev-parse --resolve-git-dir /home/jenkins/jenkins-agent/workspace/CopyrightCheck/.git # timeout=10
12:52:33 [2023-03-06T17:52:33.619Z]  > git config remote.origin.url https://github.com/eclipse/omr.git # timeout=10
12:52:33 [2023-03-06T17:52:33.695Z] Fetching upstream changes from https://github.com/eclipse/omr.git
12:52:33 [2023-03-06T17:52:33.695Z]  > git --version # timeout=10
12:52:33 [2023-03-06T17:52:33.699Z]  > git --version # 'git version 2.25.1'
12:52:33 [2023-03-06T17:52:33.699Z]  > 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
12:52:34 [2023-03-06T17:52:34.491Z] Checking out Revision 60ebe9b625c6c8150376d10f0b7473f1997a8945 (refs/remotes/origin/pr/6918/merge)
12:52:34 [2023-03-06T17:52:34.662Z] Commit message: "Merge 25e07002d94bdc9994010cbde2061dc073086fc0 into d5af8d16e93cc591fffb779b4cfa328ec7e0327f"
[Pipeline] sh
12:52:34 [2023-03-06T17:52:34.450Z]  > git rev-parse refs/remotes/origin/pr/6918/merge^{commit} # timeout=10
12:52:34 [2023-03-06T17:52:34.525Z]  > git config core.sparsecheckout # timeout=10
12:52:34 [2023-03-06T17:52:34.529Z]  > git checkout -f 60ebe9b625c6c8150376d10f0b7473f1997a8945 # timeout=10
12:52:35 [2023-03-06T17:52:35.541Z] + git diff -C --diff-filter=ACM --name-only origin/master HEAD
[Pipeline] echo
12:52:35 [2023-03-06T17:52:35.811Z] gc/base/standard/ParallelGlobalGC.cpp
12:52:35 [2023-03-06T17:52:35.812Z] gc/base/standard/Scavenger.cpp
[Pipeline] sh
12:52:36 [2023-03-06T17:52:36.669Z] + date +%Y
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] echo
12:52:37 [2023-03-06T17:52:37.082Z] Checking file: 'gc/base/standard/ParallelGlobalGC.cpp'
[Pipeline] sh
12:52:37 [2023-03-06T17:52:37.966Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
12:52:38 [2023-03-06T17:52:38.171Z] FAILURE - Copyright date in file: 'gc/base/standard/ParallelGlobalGC.cpp' appears to be incorrect
[Pipeline] echo
12:52:38 [2023-03-06T17:52:38.178Z] Checking file: 'gc/base/standard/Scavenger.cpp'
[Pipeline] sh
12:52:39 [2023-03-06T17:52:39.037Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/Scavenger.cpp
[Pipeline] echo
12:52:39 [2023-03-06T17:52:39.359Z] Copyright date in file: appears to be correct
[Pipeline] echo
12:52:39 [2023-03-06T17:52:39.457Z] ###################################
[Pipeline] echo
12:52:39 [2023-03-06T17:52:39.478Z] The following files were modified and have incorrect copyrights
[Pipeline] echo
12:52:39 [2023-03-06T17:52:39.527Z] gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
12:52:39 [2023-03-06T17:52:39.598Z] ###################################
[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 25e07002d94bdc9994010cbde2061dc073086fc0 to FAILURE with url https://ci.eclipse.org/omr/job/CopyrightCheck/1804/ and message: 'There appears to be a problem with the copyrights
 '
Using context: Copyright Check
Finished: FAILURE