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

------------------------------------------
Started by upstream project "trafficcontrol-PR" build number 1985
originally caused by:
 GitHub pull request #2499 of commit 35d230c8264d4abf4a151b160b5ff9b4be69bcb9, 
no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/>
[trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins6835819217182961688.sh
+ rm -rf 
<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0>
 
<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0-docs.tar.gz>
 
<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0.tar.gz>
 '<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of trafficcontrol-PR
[operations-center-context] Copied 2 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of trafficcontrol-PR:
[operations-center-context]   apache-trafficcontrol-2.3.0-docs.tar.gz
[operations-center-context]   apache-trafficcontrol-2.3.0.tar.gz
[trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins6047284168295229679.sh
+ set -exu
++ ls apache-trafficcontrol-2.3.0-docs.tar.gz apache-trafficcontrol-2.3.0.tar.gz
++ grep -v docs
+ tarball=apache-trafficcontrol-2.3.0.tar.gz
+ tar xzf apache-trafficcontrol-2.3.0.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.3.0.tar.gz .tar.gz
+ 
tcdir=<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0>
+ cd 
<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.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
++ grep -ve md5 -e sha1
++ awk -F '"' '{print $2}'
++ sort -r
++ head -n 1
++ cut -d / -f 12
+ ratver=apache-rat-0.13-20180329.151017-101.jar
++ mktemp -d
+ ratdir=/tmp/tmp.5yk9AbbCrD
+ ratjar=/tmp/tmp.5yk9AbbCrD/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.5yk9AbbCrD/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 
26 1587k   26  416k    0     0   473k      0  0:00:03 --:--:--  0:00:03  
473k100 1587k  100 1587k    0     0  1659k      0 --:--:-- --:--:-- --:--:-- 
1658k
+ curl -L -o /tmp/tmp.5yk9AbbCrD/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     73      0 --:--:-- --:--:-- --:--:--    73
++ sha1sum /tmp/tmp.5yk9AbbCrD/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.5yk9AbbCrD/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ 635c5eccad31cff1d713c12144eaae7fc9f10cf4 == 
635c5eccad31cff1d713c12144eaae7fc9f10cf4 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.5yk9AbbCrD/apache-rat-0.13.SNAPSHOT.jar -E 
<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0/.rat-excludes>
 -d 
<https://builds.apache.org/job/trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.3.0>
+ rm -rf /tmp/tmp.5yk9AbbCrD
++ 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/trafficcontrol-PR-rat/ws/>::
Files with unapproved licenses:

  
apache-trafficcontrol-2.3.0/traffic_portal/app/src/assets/js/downloadjs-min_v4.21.js

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

Reply via email to