You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/02/13 00:03:41 UTC

Build failed in Jenkins: incubator-trafficcontrol-PR-rat #327

See <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/327/display/redirect>

------------------------------------------
Started by upstream project "incubator-trafficcontrol-PR" build number 1013
originally caused by:
 GitHub pull request #1874 of commit db23f9f7ef46bea5b89cc482405dd3b534d4fc2f, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu xenial) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins348855012191929257.sh
+ rm -rf <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating> <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating.tar.gz> '<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR:
[operations-center-context]   apache-trafficcontrol-2.2.0-incubating.tar.gz
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins7182886449124355999.sh
+ set -exu
++ ls apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.2.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.2.0-incubating.tar.gz .tar.gz
+ tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ cd <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
++ date +%Y
+ egrep 'Copyright .*-?2018 The Apache Software Foundation' NOTICE
Copyright 2016-2018 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
++ curl https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/ -sN
++ grep jar
++ grep -ve md5 -e sha1
++ awk -F '"' '{print $2}'
++ cut -d / -f 12
++ sort -r
++ head -n 1
+ ratver=apache-rat-0.13-20180208.222412-98.jar
++ mktemp -d
+ ratdir=/tmp/tmp.sWZMIyujWL
+ ratjar=/tmp/tmp.sWZMIyujWL/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.sWZMIyujWL/apache-rat-0.13.SNAPSHOT.jar https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20180208.222412-98.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  6 1587k    6 97536    0     0   126k      0  0:00:12 --:--:--  0:00:12  125k100 1587k  100 1587k    0     0  1534k      0  0:00:01  0:00:01 --:--:-- 1536k
+ curl -L -o /tmp/tmp.sWZMIyujWL/apache-rat-0.13.SNAPSHOT.jar.sha1 https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20180208.222412-98.jar.sha1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100    40  100    40    0     0     73      0 --:--:-- --:--:-- --:--:--    73
++ sha1sum /tmp/tmp.sWZMIyujWL/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.sWZMIyujWL/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ f6c4aadd6500b18299a0abd30430f6dddff7d6d8 == f6c4aadd6500b18299a0abd30430f6dddff7d6d8 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.sWZMIyujWL/apache-rat-0.13.SNAPSHOT.jar -E <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating/.rat-excludes> -d <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ rm -rf /tmp/tmp.sWZMIyujWL
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=3
+ [[ 3 != 0 ]]
+ echo '3 Unknown Licenses'
3 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' ratreport.txt
+ sed s:<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>::
Files with unapproved licenses:

  apache-trafficcontrol-2.2.0-incubating/traffic_monitor/cache/stats_type_astats.go
  apache-trafficcontrol-2.2.0-incubating/traffic_monitor/cache/stats_type_astats_dsnames.go
  apache-trafficcontrol-2.2.0-incubating/traffic_monitor/cache/stats_types.go

*****************************************************
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
[Fast Archiver] Compressed 422.05 KB of artifacts by 60.7% relative to #324

Jenkins build is back to normal : incubator-trafficcontrol-PR-rat #329

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/329/display/redirect>


Build failed in Jenkins: incubator-trafficcontrol-PR-rat #328

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/328/display/redirect>

------------------------------------------
Started by upstream project "incubator-trafficcontrol-PR" build number 1014
originally caused by:
 GitHub pull request #1818 of commit a8723eb403d61c79720ec8273503e0317799caec, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on H25 (ubuntu xenial) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins7308571750870652138.sh
+ rm -rf <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating> <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating.tar.gz> '<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR:
[operations-center-context]   apache-trafficcontrol-2.2.0-incubating.tar.gz
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins4347206531649012733.sh
+ set -exu
++ ls apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.2.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.2.0-incubating.tar.gz .tar.gz
+ tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ cd <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
++ date +%Y
+ egrep 'Copyright .*-?2018 The Apache Software Foundation' NOTICE
Copyright 2016-2018 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
++ cut -d / -f 12
++ head -n 1
++ sort -r
++ awk -F '"' '{print $2}'
++ grep -ve md5 -e sha1
++ grep jar
++ curl https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/ -sN
+ ratver=apache-rat-0.13-20180208.222412-98.jar
++ mktemp -d
+ ratdir=/tmp/tmp.sPVzei4hwt
+ ratjar=/tmp/tmp.sPVzei4hwt/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.sPVzei4hwt/apache-rat-0.13.SNAPSHOT.jar https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20180208.222412-98.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 49 1587k   49  791k    0     0   862k      0  0:00:01 --:--:--  0:00:01  861k100 1587k  100 1587k    0     0  1607k      0 --:--:-- --:--:-- --:--:-- 1606k
+ curl -L -o /tmp/tmp.sPVzei4hwt/apache-rat-0.13.SNAPSHOT.jar.sha1 https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20180208.222412-98.jar.sha1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100    40  100    40    0     0     79      0 --:--:-- --:--:-- --:--:--    79
++ sha1sum /tmp/tmp.sPVzei4hwt/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.sPVzei4hwt/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ f6c4aadd6500b18299a0abd30430f6dddff7d6d8 == f6c4aadd6500b18299a0abd30430f6dddff7d6d8 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.sPVzei4hwt/apache-rat-0.13.SNAPSHOT.jar -E <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating/.rat-excludes> -d <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ rm -rf /tmp/tmp.sPVzei4hwt
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=3
+ [[ 3 != 0 ]]
+ echo '3 Unknown Licenses'
3 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' ratreport.txt
+ sed s:<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>::
Files with unapproved licenses:

  apache-trafficcontrol-2.2.0-incubating/traffic_monitor/cache/stats_type_astats.go
  apache-trafficcontrol-2.2.0-incubating/traffic_monitor/cache/stats_type_astats_dsnames.go
  apache-trafficcontrol-2.2.0-incubating/traffic_monitor/cache/stats_types.go

*****************************************************
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
[Fast Archiver] Compressed 422.05 KB of artifacts by 60.7% relative to #324