Skip to content
Failed

Console Output

GitHub pull request #6917 of commit 82101f4d69ed7bce308ab6944b87e223b8860550, no merge conflicts.
Setting status of 82101f4d69ed7bce308ab6944b87e223b8860550 to PENDING with url https://ci.eclipse.org/omr/job/CopyrightCheck/1803/ 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:49:31 [2023-03-06T17:49:31.376Z] The recommended git tool is: git
12:49:31 [2023-03-06T17:49:31.513Z] No credentials specified
12:49:31 [2023-03-06T17:49:31.586Z] Fetching changes from the remote Git repository
12:49:31 [2023-03-06T17:49:31.547Z]  > git rev-parse --resolve-git-dir /home/jenkins/jenkins-agent/workspace/CopyrightCheck/.git # timeout=10
12:49:31 [2023-03-06T17:49:31.620Z]  > git config remote.origin.url https://github.com/eclipse/omr.git # timeout=10
12:49:31 [2023-03-06T17:49:31.691Z] Fetching upstream changes from https://github.com/eclipse/omr.git
12:49:31 [2023-03-06T17:49:31.691Z]  > git --version # timeout=10
12:49:31 [2023-03-06T17:49:31.695Z]  > git --version # 'git version 2.25.1'
12:49:31 [2023-03-06T17:49:31.695Z]  > 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:49:32 [2023-03-06T17:49:32.512Z] Checking out Revision f2c249cddcb330e02776b1932e75be8441d8ca73 (refs/remotes/origin/pr/6917/merge)
12:49:32 [2023-03-06T17:49:32.686Z] Commit message: "Merge 82101f4d69ed7bce308ab6944b87e223b8860550 into d5af8d16e93cc591fffb779b4cfa328ec7e0327f"
[Pipeline] sh
12:49:32 [2023-03-06T17:49:32.475Z]  > git rev-parse refs/remotes/origin/pr/6917/merge^{commit} # timeout=10
12:49:32 [2023-03-06T17:49:32.546Z]  > git config core.sparsecheckout # timeout=10
12:49:32 [2023-03-06T17:49:32.550Z]  > git checkout -f f2c249cddcb330e02776b1932e75be8441d8ca73 # timeout=10
12:49:33 [2023-03-06T17:49:33.577Z] + git diff -C --diff-filter=ACM --name-only origin/master HEAD
[Pipeline] echo
12:49:33 [2023-03-06T17:49:33.846Z] gc/base/standard/ParallelGlobalGC.cpp
12:49:33 [2023-03-06T17:49:33.846Z] gc/base/standard/Scavenger.cpp
[Pipeline] sh
12:49:34 [2023-03-06T17:49:34.704Z] + date +%Y
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] echo
12:49:35 [2023-03-06T17:49:35.115Z] Checking file: 'gc/base/standard/ParallelGlobalGC.cpp'
[Pipeline] sh
12:49:35 [2023-03-06T17:49:35.973Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
12:49:36 [2023-03-06T17:49:36.175Z] FAILURE - Copyright date in file: 'gc/base/standard/ParallelGlobalGC.cpp' appears to be incorrect
[Pipeline] echo
12:49:36 [2023-03-06T17:49:36.184Z] Checking file: 'gc/base/standard/Scavenger.cpp'
[Pipeline] sh
12:49:37 [2023-03-06T17:49:37.041Z] + grep -qE Copyright \(c\) ([0-9]{4}), 2023 gc/base/standard/Scavenger.cpp
[Pipeline] echo
12:49:37 [2023-03-06T17:49:37.244Z] Copyright date in file: appears to be correct
[Pipeline] echo
12:49:37 [2023-03-06T17:49:37.246Z] ###################################
[Pipeline] echo
12:49:37 [2023-03-06T17:49:37.248Z] The following files were modified and have incorrect copyrights
[Pipeline] echo
12:49:37 [2023-03-06T17:49:37.256Z] gc/base/standard/ParallelGlobalGC.cpp
[Pipeline] echo
12:49:37 [2023-03-06T17:49:37.258Z] ###################################
[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 82101f4d69ed7bce308ab6944b87e223b8860550 to FAILURE with url https://ci.eclipse.org/omr/job/CopyrightCheck/1803/ and message: 'There appears to be a problem with the copyrights
 '
Using context: Copyright Check
Finished: FAILURE