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 2017/11/30 18:23:41 UTC

Build failed in Jenkins: incubator-trafficcontrol-PR-rat #31

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

------------------------------------------
Started by upstream project "incubator-trafficcontrol-PR" build number 708
originally caused by:
 GitHub pull request #1604 of commit e7f88401c1d7b080b602903fecbceef159e2f572, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu xenial) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins1789225871598863279.sh
+ rm -rf <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating> <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating.tar.gz> '<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR:
[operations-center-context]   apache-trafficcontrol-2.2.0-incubating.tar.gz
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins5858552045501016328.sh
+ set -exu
++ ls apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.2.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.2.0-incubating.tar.gz .tar.gz
+ tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ cd <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
++ 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-20171021.191031-67.jar
++ mktemp -d
+ ratdir=/tmp/tmp.zChqk3IRNA
+ ratjar=/tmp/tmp.zChqk3IRNA/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.zChqk3IRNA/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-20171021.191031-67.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 13 1587k   13  210k    0     0   212k      0  0:00:07 --:--:--  0:00:07  212k100 1587k  100 1587k    0     0  1349k      0  0:00:01  0:00:01 --:--:-- 1349k
+ curl -L -o /tmp/tmp.zChqk3IRNA/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-20171021.191031-67.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     61      0 --:--:-- --:--:-- --:--:--    62
++ sha1sum /tmp/tmp.zChqk3IRNA/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.zChqk3IRNA/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 == fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.zChqk3IRNA/apache-rat-0.13.SNAPSHOT.jar -E <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating/.rat-excludes> -d <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ rm -rf /tmp/tmp.zChqk3IRNA
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=10
+ [[ 10 != 0 ]]
+ echo '10 Unknown Licenses'
10 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' ratreport.txt
+ sed s:<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>::
Files with unapproved licenses:

  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/TODO.md
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/db.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/MAINTAINERS
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/doc.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_os.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_syscall.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig_test.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage_test.go

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

Jenkins build is back to normal : incubator-trafficcontrol-PR-rat #35

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/35/display/redirect>


Build failed in Jenkins: incubator-trafficcontrol-PR-rat #34

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/34/display/redirect>

------------------------------------------
Started by upstream project "incubator-trafficcontrol-PR" build number 711
originally caused by:
 GitHub pull request #1604 of commit 4a29364c3b877ad5585c29a1c800cee529e6dfa1, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu xenial) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins1602743638134086820.sh
+ rm -rf <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating> <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating.tar.gz> '<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR:
[operations-center-context]   apache-trafficcontrol-2.2.0-incubating.tar.gz
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins371266674089506753.sh
+ set -exu
++ ls apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.2.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.2.0-incubating.tar.gz .tar.gz
+ tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ cd <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
++ 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-20171021.191031-67.jar
++ mktemp -d
+ ratdir=/tmp/tmp.SV1AyUedtu
+ ratjar=/tmp/tmp.SV1AyUedtu/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.SV1AyUedtu/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-20171021.191031-67.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 12 1587k   12  197k    0     0   212k      0  0:00:07 --:--:--  0:00:07  212k100 1587k  100 1587k    0     0  1368k      0  0:00:01  0:00:01 --:--:-- 1369k
+ curl -L -o /tmp/tmp.SV1AyUedtu/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-20171021.191031-67.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     62      0 --:--:-- --:--:-- --:--:--    62
++ sha1sum /tmp/tmp.SV1AyUedtu/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.SV1AyUedtu/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 == fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.SV1AyUedtu/apache-rat-0.13.SNAPSHOT.jar -E <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating/.rat-excludes> -d <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ rm -rf /tmp/tmp.SV1AyUedtu
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=9
+ [[ 9 != 0 ]]
+ echo '9 Unknown Licenses'
9 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' ratreport.txt
+ sed s:<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>::
Files with unapproved licenses:

  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/db.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/MAINTAINERS
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/doc.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_os.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_syscall.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig_test.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage_test.go

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

Build failed in Jenkins: incubator-trafficcontrol-PR-rat #33

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/33/display/redirect>

------------------------------------------
Started by upstream project "incubator-trafficcontrol-PR" build number 710
originally caused by:
 GitHub pull request #1604 of commit b47c78289c8d6165a18ccf5b64c81d0c8dc96fda, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu xenial) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins1984013335541576273.sh
+ rm -rf <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating> <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating.tar.gz> '<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR:
[operations-center-context]   apache-trafficcontrol-2.2.0-incubating.tar.gz
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins5769740300860604170.sh
+ set -exu
++ ls apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.2.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.2.0-incubating.tar.gz .tar.gz
+ tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ cd <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
++ 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-20171021.191031-67.jar
++ mktemp -d
+ ratdir=/tmp/tmp.YpcenllO0n
+ ratjar=/tmp/tmp.YpcenllO0n/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.YpcenllO0n/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-20171021.191031-67.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  1299k      0  0:00:01  0:00:01 --:--:-- 1300k
+ curl -L -o /tmp/tmp.YpcenllO0n/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-20171021.191031-67.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     63      0 --:--:-- --:--:-- --:--:--    63
++ sha1sum /tmp/tmp.YpcenllO0n/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.YpcenllO0n/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 == fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.YpcenllO0n/apache-rat-0.13.SNAPSHOT.jar -E <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating/.rat-excludes> -d <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ rm -rf /tmp/tmp.YpcenllO0n
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=9
+ [[ 9 != 0 ]]
+ echo '9 Unknown Licenses'
9 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' ratreport.txt
+ sed s:<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>::
Files with unapproved licenses:

  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/db.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/MAINTAINERS
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/doc.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_os.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_syscall.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig_test.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage_test.go

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

Build failed in Jenkins: incubator-trafficcontrol-PR-rat #32

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/32/display/redirect>

------------------------------------------
Started by upstream project "incubator-trafficcontrol-PR" build number 709
originally caused by:
 GitHub pull request #1604 of commit fcb92b29a86591c5177564235d1cf354386795e7, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (ubuntu trusty) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins4414734369652252033.sh
+ rm -rf '<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/*'> '<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/.??*'>
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 'Last successful build (either stable or unstable)' of incubator-trafficcontrol-PR:
[operations-center-context]   apache-trafficcontrol-2.2.0-incubating.tar.gz
[incubator-trafficcontrol-PR-rat] $ /bin/bash -xe /tmp/jenkins2669561213213491763.sh
+ set -exu
++ ls apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tarball=apache-trafficcontrol-2.2.0-incubating.tar.gz
+ tar xzf apache-trafficcontrol-2.2.0-incubating.tar.gz
++ pwd
++ basename apache-trafficcontrol-2.2.0-incubating.tar.gz .tar.gz
+ tcdir=<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ cd <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
++ 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-20171021.191031-67.jar
++ mktemp -d
+ ratdir=/tmp/tmp.IqVzUPcjr0
+ ratjar=/tmp/tmp.IqVzUPcjr0/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.IqVzUPcjr0/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-20171021.191031-67.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  1379k      0  0:00:01  0:00:01 --:--:-- 1380k
+ curl -L -o /tmp/tmp.IqVzUPcjr0/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-20171021.191031-67.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     91      0 --:--:-- --:--:-- --:--:--    91
++ sha1sum /tmp/tmp.IqVzUPcjr0/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.IqVzUPcjr0/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 == fdeb4a0aaa0fc7e56c2d1dbab9038abb9cb31511 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.IqVzUPcjr0/apache-rat-0.13.SNAPSHOT.jar -E <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating/.rat-excludes> -d <https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/apache-trafficcontrol-2.2.0-incubating>
+ rm -rf /tmp/tmp.IqVzUPcjr0
++ perl -lne 'print $1 if /(\d+) Unknown Licenses/' ratreport.txt
+ unknown=10
+ [[ 10 != 0 ]]
+ echo '10 Unknown Licenses'
10 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' ratreport.txt
+ sed s:<https://builds.apache.org/job/incubator-trafficcontrol-PR-rat/ws/>::
Files with unapproved licenses:

  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/TODO.md
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/db.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/MAINTAINERS
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/doc.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_os.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/env_syscall.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/envconfig_test.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage.go
  apache-trafficcontrol-2.2.0-incubating/traffic_ops/testing/api/vendor/github.com/kelseyhightower/envconfig/usage_test.go

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