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

------------------------------------------
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 333
originally caused by:
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 
<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/>
[incubator-trafficcontrol-rat] $ /bin/bash -xe 
/tmp/jenkins7714187794044825199.sh
+ rm -rf 
<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/apache-trafficcontrol-2.2.0-incubating>
 
<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/apache-trafficcontrol-2.2.0-incubating.tar.gz>
 '<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   apache-trafficcontrol-2.2.0-incubating.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe 
/tmp/jenkins4958608255326936930.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-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ cd 
<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/apache-trafficcontrol-2.2.0-incubating>
++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 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.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.5YFYGmDotj
+ ratjar=/tmp/tmp.5YFYGmDotj/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.5YFYGmDotj/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-20170427.032418-37.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  
0 1587k    0 15666    0     0  30683      0  0:00:52 --:--:--  0:00:52 30657100 
1587k  100 1587k    0     0  1651k      0 --:--:-- --:--:-- --:--:-- 1651k
+ curl -L -o /tmp/tmp.5YFYGmDotj/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-20170427.032418-37.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     95      0 --:--:-- --:--:-- --:--:--    95
++ awk '{print $1}'
++ sha1sum /tmp/tmp.5YFYGmDotj/apache-rat-0.13.SNAPSHOT.jar
++ cat /tmp/tmp.5YFYGmDotj/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.5YFYGmDotj/apache-rat-0.13.SNAPSHOT.jar -E 
<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/apache-trafficcontrol-2.2.0-incubating/.rat-excludes>
 -d 
<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ rm -rf /tmp/tmp.5YFYGmDotj
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=1
+ [[ 1 != 0 ]]
+ echo '1 Unknown Licenses'
1 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:<https://builds.apache.org/job/incubator-trafficcontrol-rat/ws/>::
Files with unapproved licenses:

  
apache-trafficcontrol-2.2.0-incubating/traffic_ops/traffic_ops_golang/routing_test.go

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

Reply via email to