You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/05/15 17:56:53 UTC

Build failed in Jenkins: trafficcontrol-rat #1336

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

------------------------------------------
Started by upstream project "trafficcontrol-master-build" build number 1385
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu xenial) in workspace <https://builds.apache.org/job/trafficcontrol-rat/ws/>
[trafficcontrol-rat] $ /bin/bash -xe /tmp/jenkins1406303762429297909.sh
+ rm -rf <https://builds.apache.org/job/trafficcontrol-rat/ws/apache-trafficcontrol-3.0.0> <https://builds.apache.org/job/trafficcontrol-rat/ws/dist> '<https://builds.apache.org/job/trafficcontrol-rat/ws/.??*'>
Copied 2 artifacts from "trafficcontrol-master-build" build number 1385
[trafficcontrol-rat] $ /bin/bash -xe /tmp/jenkins56706460433695902.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 .*-?2019 The Apache Software Foundation' NOTICE
Copyright 2016-2019 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.14-SNAPSHOT/ -sN
++ grep jar
++ awk -F '"' '{print $2}'
++ sort -r
++ grep -ve md5 -e sha1
++ head -n 1
++ cut -d / -f 12
+ ratver=apache-rat-0.14-20190320.202128-10.jar
++ mktemp -d
+ ratdir=/tmp/tmp.94TCmUCcha
+ ratjar=/tmp/tmp.94TCmUCcha/apache-rat-0.14.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.94TCmUCcha/apache-rat-0.14.SNAPSHOT.jar https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.14-SNAPSHOT/apache-rat-0.14-20190320.202128-10.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 15665    0     0  26098      0  0:01:02 --:--:--  0:01:02 26064100 1587k  100 1587k    0     0  1546k      0  0:00:01  0:00:01 --:--:-- 1548k
+ curl -L -o /tmp/tmp.94TCmUCcha/apache-rat-0.14.SNAPSHOT.jar.sha1 https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.14-SNAPSHOT/apache-rat-0.14-20190320.202128-10.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    40    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100    40  100    40    0     0     75      0 --:--:-- --:--:-- --:--:--    74
++ sha1sum /tmp/tmp.94TCmUCcha/apache-rat-0.14.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.94TCmUCcha/apache-rat-0.14.SNAPSHOT.jar.sha1
+ [[ 91757fc73e0c2e0caec857324e890f462ffb3cc1 == 91757fc73e0c2e0caec857324e890f462ffb3cc1 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.94TCmUCcha/apache-rat-0.14.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.94TCmUCcha
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=3
+ [[ 3 != 0 ]]
+ echo '3 Unknown Licenses'
3 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/css/jsonformatter.min_0.6.0.css
  apache-trafficcontrol-3.0.0/traffic_portal/app/src/assets/js/fast-json-patch_v2.1.0.js
  apache-trafficcontrol-3.0.0/traffic_portal/app/src/assets/js/jsonformatter.min_0.6.0.js

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