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

------------------------------------------
Started by upstream project "trafficcontrol-master-build" build number 1099
originally caused by:
 Started by user dgelinas
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace 
<https://builds.apache.org/job/trafficcontrol-rat/ws/>
[trafficcontrol-rat] $ /bin/bash -xe /tmp/jenkins5844276087584639685.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 1098
[trafficcontrol-rat] $ /bin/bash -xe /tmp/jenkins3558810674331896279.sh
+ set -exu
++ grep -v docs
++ ls dist/apache-trafficcontrol-3.0.0-docs.tar.gz 
dist/apache-trafficcontrol-3.0.0.tar.gz
+ 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 -ve md5 -e sha1
++ grep jar
++ sort -r
++ cut -d / -f 12
++ head -n 1
++ awk -F '"' '{print $2}'
+ ratver=apache-rat-0.13-20181008.204652-109.jar
++ mktemp -d
+ ratdir=/tmp/tmp.NsoVbBfNsD
+ ratjar=/tmp/tmp.NsoVbBfNsD/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.NsoVbBfNsD/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-20181008.204652-109.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  1605k      0 --:--:-- --:--:-- --:--:-- 1604k
+ curl -L -o /tmp/tmp.NsoVbBfNsD/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-20181008.204652-109.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    105      0 --:--:-- --:--:-- --:--:--   105
++ sha1sum /tmp/tmp.NsoVbBfNsD/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.NsoVbBfNsD/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ cb19cc087b1f772b0e789c4d297017be64e5bb10 == 
cb19cc087b1f772b0e789c4d297017be64e5bb10 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.NsoVbBfNsD/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.NsoVbBfNsD
++ 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 557.34 KB of artifacts by 51.7% relative to #1048

Reply via email to