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

------------------------------------------
Started by upstream project "incubator-trafficcontrol-2.0.x-build" build number 
13
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
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace 
<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/>
[incubator-trafficcontrol-2.0.x-rat] $ /bin/bash -xe 
/tmp/hudson7606179238939522971.sh
+ rm -rf 
<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/trafficcontrol-incubating-2.0.0>
 
<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/trafficcontrol-incubating-2.0.0.tar.gz>
 '<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-2.0.x-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-2.0.x-build:
[operations-center-context]   trafficcontrol-incubating-2.0.0.tar.gz
[incubator-trafficcontrol-2.0.x-rat] $ /bin/bash -xe 
/tmp/hudson4961251051782584859.sh
+ set -exu
++ ls trafficcontrol-incubating-2.0.0.tar.gz
+ tarball=trafficcontrol-incubating-2.0.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.0.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.0.0.tar.gz .tar.gz
+ 
tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/trafficcontrol-incubating-2.0.0>
+ cd 
<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/trafficcontrol-incubating-2.0.0>
++ 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.eCQ4XawLk6
+ ratjar=/tmp/tmp.eCQ4XawLk6/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.eCQ4XawLk6/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     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100 
1587k  100 1587k    0     0  1563k      0  0:00:01  0:00:01 --:--:-- 1565k
+ curl -L -o /tmp/tmp.eCQ4XawLk6/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 --:--:-- --:--:-- --:--:--     0  
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100 
   40  100    40    0     0     97      0 --:--:-- --:--:-- --:--:--    96
++ sha1sum /tmp/tmp.eCQ4XawLk6/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.eCQ4XawLk6/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.eCQ4XawLk6/apache-rat-0.13.SNAPSHOT.jar -E 
<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/trafficcontrol-incubating-2.0.0/.rat-excludes>
 -d 
<https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-rat/ws/trafficcontrol-incubating-2.0.0>
+ rm -rf /tmp/tmp.eCQ4XawLk6
++ 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-2.0.x-rat/ws/>::
Files with unapproved licenses:

  trafficcontrol-incubating-2.0.0/traffic_ops/install/bin/todb_bootstrap.sh
  trafficcontrol-incubating-2.0.0/traffic_ops_db/pg-migration/runwaiter.sh

*****************************************************
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
No prior successful build to compare, so performing full copy of artifacts

Reply via email to