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

------------------------------------------
Started by upstream project "incubator-trafficcontrol-PR" build number 1399
originally caused by:
 GitHub pull request #2124 of commit e9966d5f70b561a40d53255811f920632dfa63d5, 
no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on H27 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe 
/tmp/jenkins9127074194322497013.sh
+ rm -rf 
<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0-incubating>
 
<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.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.3.0-incubating.tar.gz
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe 
/tmp/jenkins6155086562138434260.sh
+ set -exu
++ ls apache-trafficcontrol-2.3.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.3.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.3.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.3.0-incubating.tar.gz .tar.gz
+ 
tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0-incubating>
+ cd 
<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.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
++ head -n 1
++ sort -r
+ ratver=apache-rat-0.13-20180329.151017-101.jar
++ mktemp -d
+ ratdir=/tmp/tmp.i4EGEZFCvY
+ ratjar=/tmp/tmp.i4EGEZFCvY/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.i4EGEZFCvY/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-20180329.151017-101.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 
21 1587k   21  344k    0     0   389k      0  0:00:04 --:--:--  0:00:04  
389k100 1587k  100 1587k    0     0  1545k      0  0:00:01  0:00:01 --:--:-- 
1547k
+ curl -L -o /tmp/tmp.i4EGEZFCvY/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-20180329.151017-101.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     75      0 --:--:-- --:--:-- --:--:--    75
++ sha1sum /tmp/tmp.i4EGEZFCvY/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.i4EGEZFCvY/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ 635c5eccad31cff1d713c12144eaae7fc9f10cf4 == 
635c5eccad31cff1d713c12144eaae7fc9f10cf4 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.i4EGEZFCvY/apache-rat-0.13.SNAPSHOT.jar -E 
<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0-incubating/.rat-excludes>
 -d 
<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0-incubating>
+ rm -rf /tmp/tmp.i4EGEZFCvY
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=2
+ [[ 2 != 0 ]]
+ echo '2 Unknown Licenses'
2 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.3.0-incubating/traffic_ops/traffic_ops_golang/deliveryservice/deliveryservicesv12.go
  
apache-trafficcontrol-2.3.0-incubating/traffic_ops/traffic_ops_golang/deliveryservice/deliveryservicesv13.go

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

Reply via email to