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

------------------------------------------
Started by upstream project "trafficcontrol-master-build" build number 1124
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 H34 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/trafficcontrol-rat/ws/>
[trafficcontrol-rat] $ /bin/bash -xe /tmp/jenkins3106286281350636388.sh
+ rm -rf '<https://builds.apache.org/job/trafficcontrol-rat/ws/*'> 
'<https://builds.apache.org/job/trafficcontrol-rat/ws/.??*'>
Copied 2 artifacts from "trafficcontrol-master-build" build number 1124
[trafficcontrol-rat] $ /bin/bash -xe /tmp/jenkins3311732905105443147.sh
+ set -exu
++ ls dist/apache-trafficcontrol-3.0.0-docs.tar.gz 
dist/apache-trafficcontrol-3.0.0.tar.gz
++ grep -v docs
+ tarball=dist/apache-trafficcontrol-3.0.0.tar.gz
+ tar xzf dist/apache-trafficcontrol-3.0.0.tar.gz
++ pwd
++ basename dist/apache-trafficcontrol-3.0.0.tar.gz .tar.gz
+ 
tcdir=<https://builds.apache.org/job/trafficcontrol-rat/ws/apache-trafficcontrol-3.0.0>
+ cd 
<https://builds.apache.org/job/trafficcontrol-rat/ws/apache-trafficcontrol-3.0.0>
++ 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
++ sort -r
++ grep -ve md5 -e sha1
++ awk -F '"' '{print $2}'
++ head -n 1
++ cut -d / -f 12
+ ratver=apache-rat-0.13-20181013.204552-112.jar
++ mktemp -d
+ ratdir=/tmp/tmp.EPT4vl6P2O
+ ratjar=/tmp/tmp.EPT4vl6P2O/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.EPT4vl6P2O/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-20181013.204552-112.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 
25 1587k   25  408k    0     0   486k      0  0:00:03 --:--:--  0:00:03  
486k100 1587k  100 1587k    0     0  1674k      0 --:--:-- --:--:-- --:--:-- 
1674k
+ curl -L -o /tmp/tmp.EPT4vl6P2O/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-20181013.204552-112.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     64      0 --:--:-- --:--:-- --:--:--    64
++ sha1sum /tmp/tmp.EPT4vl6P2O/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.EPT4vl6P2O/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ 89c422b862d21fca0d2c495d871eba4fb8e4674f == 
89c422b862d21fca0d2c495d871eba4fb8e4674f ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.EPT4vl6P2O/apache-rat-0.13.SNAPSHOT.jar -E 
<https://builds.apache.org/job/trafficcontrol-rat/ws/apache-trafficcontrol-3.0.0/.rat-excludes>
 -d 
<https://builds.apache.org/job/trafficcontrol-rat/ws/apache-trafficcontrol-3.0.0>
+ rm -rf /tmp/tmp.EPT4vl6P2O
++ 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/trafficcontrol-rat/ws/>::
Files with unapproved licenses:

  
apache-trafficcontrol-3.0.0/traffic_portal/app/src/assets/js/chartjs/Chart.min_2.7.2.js
  
apache-trafficcontrol-3.0.0/traffic_portal/app/src/assets/js/chartjs/angular-chart.min_1.1.1.js

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

Reply via email to