See
<https://builds.apache.org/job/trafficcontrol-PR/5171/display/redirect?page=changes>
Changes:
[mitchell852] Added deprecation notice to /hwinfo/dtdata (#4331)
[ocket8888] fixes broken message when assigning servers to a delivery service
[mitchell852] Rewrite /capabilities to Go (#3870)
[mitchell852] Fixed bad rebase that created test file in wrong dir (#4338)
[ocket8888] Deprecate parameter unassigned/assigned profiles (#4337)
[ocket8888] Deprecate /divisions/:division_name/regions (#4334)
------------------------------------------
[...truncated 2.93 MB...]
[35mtraffic_router_build_1 |[0m Provides: osgi(org.apache.commons.daemon) =
1.1.0 osgi(org.apache.tomcat.jdbc) = 8.5.32
osgi(org.eclipse.jdt.core.compiler.batch) = 3.12.3 tomcat =
8.5.32-10465.aa50c229.el7 tomcat(x86-64) = 8.5.32-10465.aa50c229.el7
[35mtraffic_router_build_1 |[0m Requires(interp): /bin/sh /bin/sh /bin/sh
/bin/sh /bin/sh
[35mtraffic_router_build_1 |[0m Requires(rpmlib):
rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
[35mtraffic_router_build_1 |[0m Requires(pre): /bin/sh
[35mtraffic_router_build_1 |[0m Requires(post): /bin/sh
[35mtraffic_router_build_1 |[0m Requires(preun): /bin/sh
[35mtraffic_router_build_1 |[0m Requires(postun): /bin/sh
[35mtraffic_router_build_1 |[0m Requires(pretrans): /bin/sh
[35mtraffic_router_build_1 |[0m Requires: /bin/sh
[35mtraffic_router_build_1 |[0m Checking for unpackaged file(s):
/usr/lib/rpm/check-files
/tmp/go/src/github.com/apache/trafficcontrol/rpmbuild/BUILDROOT/tomcat-8.5.32-10465.aa50c229.el7.x86_64
[35mtraffic_router_build_1 |[0m Wrote:
/tmp/go/src/github.com/apache/trafficcontrol/rpmbuild/SRPMS/tomcat-8.5.32-10465.aa50c229.el7.src.rpm
[35mtraffic_router_build_1 |[0m Wrote:
/tmp/go/src/github.com/apache/trafficcontrol/rpmbuild/RPMS/x86_64/tomcat-8.5.32-10465.aa50c229.el7.x86_64.rpm
[35mtraffic_router_build_1 |[0m Executing(%clean): /bin/sh -e
/var/tmp/rpm-tmp.Tu8DFm
[35mtraffic_router_build_1 |[0m + umask 022
[35mtraffic_router_build_1 |[0m + cd
/tmp/go/src/github.com/apache/trafficcontrol/rpmbuild/BUILD
[35mtraffic_router_build_1 |[0m + cd apache-tomcat-8.5.32
[35mtraffic_router_build_1 |[0m + rm -rf
/tmp/go/src/github.com/apache/trafficcontrol/rpmbuild/BUILDROOT/tomcat-8.5.32-10465.aa50c229.el7.x86_64
[35mtraffic_router_build_1 |[0m + exit 0
[35mtraffic_router_build_1 |[0m
========================================================================================
[35mtraffic_router_build_1 |[0m RPM BUILD SUCCEEDED, See
/tmp/go/src/github.com/apache/trafficcontrol/dist/tomcat-8.5.32-10465.aa50c229.el7.x86_64.rpm
for the newly built rpm.
[35mtraffic_router_build_1 |[0m
========================================================================================
[35mtraffic_router_build_1 |[0m
[35mtraffic_router_build_1 |[0m The following subdirectories built
successfully:
[35mtraffic_router_build_1 |[0m traffic_router
[35mtraffic_router_build_1 |[0m See
/tmp/go/src/github.com/apache/trafficcontrol/dist for newly built rpms.
[35mtraffic_router_build_1 |[0m + echo 0
[35mtraffic_router_build_1 |[0m + exit 0
[35mtraffic_router_build_1 |[0m + cleanup
[35mtraffic_router_build_1 |[0m + setowner /trafficcontrol
/trafficcontrol/dist
[35mtraffic_router_build_1 |[0m ++ stat -c %u:%g /trafficcontrol
[35mtraffic_router_build_1 |[0m + own=910:910
[35mtraffic_router_build_1 |[0m + shift
[35mtraffic_router_build_1 |[0m + [[ -n /trafficcontrol/dist ]]
[35mtraffic_router_build_1 |[0m + chown -R 910:910 /trafficcontrol/dist
[35mtrafficcontrolpr5171_traffic_router_build_1 exited with code 0
[0m+ /tmp/docker-compose-ReaA -f
infrastructure/docker/build/docker-compose.yml -p trafficcontrolPR5171 ps -q
+ xargs docker inspect -f '{{.Name}} {{.State.ExitCode}}'
+ read name exitcode
+ tee /tmp/tc-status-wMnJ
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ /tmp/docker-compose-ReaA -f infrastructure/docker/build/docker-compose.yml -p
trafficcontrolPR5171 rm -v -f
Removing trafficcontrolpr5171_traffic_router_build_1 ...
Removing trafficcontrolpr5171_docs_1 ...
Removing trafficcontrolpr5171_weasel_1 ...
Removing trafficcontrolpr5171_source_1 ...
Removing trafficcontrolpr5171_grovetccfg_build_1 ...
Removing trafficcontrolpr5171_traffic_portal_build_1 ...
Removing trafficcontrolpr5171_traffic_monitor_build_1 ...
Removing trafficcontrolpr5171_traffic_ops_build_1 ...
Removing trafficcontrolpr5171_traffic_stats_build_1 ...
Removing trafficcontrolpr5171_grove_build_1 ...
[8A[2KRemoving trafficcontrolpr5171_weasel_1 ...
[32mdone[0m[8B[7A[2KRemoving trafficcontrolpr5171_source_1 ...
[32mdone[0m[7B[9A[2KRemoving trafficcontrolpr5171_docs_1 ...
[32mdone[0m[9B[10A[2KRemoving trafficcontrolpr5171_traffic_router_build_1
... [32mdone[0m[10B[4A[2KRemoving
trafficcontrolpr5171_traffic_monitor_build_1 ...
[32mdone[0m[4B[6A[2KRemoving trafficcontrolpr5171_grovetccfg_build_1 ...
[32mdone[0m[6B[1A[2KRemoving trafficcontrolpr5171_grove_build_1 ...
[32mdone[0m[1B[2A[2KRemoving trafficcontrolpr5171_traffic_stats_build_1
... [32mdone[0m[2B[3A[2KRemoving trafficcontrolpr5171_traffic_ops_build_1
... [32mdone[0m[3B[5A[2KRemoving
trafficcontrolpr5171_traffic_portal_build_1 ... [32mdone[0m[5BGoing to
remove trafficcontrolpr5171_traffic_router_build_1,
trafficcontrolpr5171_docs_1, trafficcontrolpr5171_weasel_1,
trafficcontrolpr5171_source_1, trafficcontrolpr5171_grovetccfg_build_1,
trafficcontrolpr5171_traffic_portal_build_1,
trafficcontrolpr5171_traffic_monitor_build_1,
trafficcontrolpr5171_traffic_ops_build_1,
trafficcontrolpr5171_traffic_stats_build_1, trafficcontrolpr5171_grove_build_1
+ ls -l dist
total 162904
-rw-r--r-- 1 jenkins jenkins 13794529 Jan 27 19:58
apache-trafficcontrol-4.0.0-docs.tar.gz
-rw-r--r-- 1 jenkins jenkins 44786920 Jan 27 19:57
apache-trafficcontrol-4.0.0.tar.gz
-rw-r--r-- 1 jenkins jenkins 31039 Jan 27 19:58 build-docs.log
-rw-r--r-- 1 jenkins jenkins 10096 Jan 27 19:57 build-grove.log
-rw-r--r-- 1 jenkins jenkins 37732 Jan 27 19:57 build-traffic_monitor.log
-rw-r--r-- 1 jenkins jenkins 135937 Jan 27 19:58 build-traffic_ops.log
-rw-r--r-- 1 jenkins jenkins 905263 Jan 27 19:59 build-traffic_portal.log
-rw-r--r-- 1 jenkins jenkins 1265501 Jan 27 19:59 build-traffic_router.log
-rw-r--r-- 1 jenkins jenkins 36685 Jan 27 19:57 build-traffic_stats.log
-rw-r--r-- 1 jenkins jenkins 2356156 Jan 27 19:57
grove-0.2-10465.aa50c229.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 3009920 Jan 27 19:57
grovetccfg-0.2-10465.aa50c229.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 7994456 Jan 27 19:59
tomcat-8.5.32-10465.aa50c229.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 6794716 Jan 27 19:57
traffic_monitor-4.0.0-10465.aa50c229.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins 3512872 Jan 27 19:57
traffic_monitor-4.0.0-10465.aa50c229.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 4073270 Jan 27 19:57
traffic_ops-4.0.0-10465.aa50c229.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins 7409948 Jan 27 19:57
traffic_ops-4.0.0-10465.aa50c229.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 5808685 Jan 27 19:58
traffic_ops_ort-4.0.0-10465.aa50c229.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins 3057344 Jan 27 19:58
traffic_ops_ort-4.0.0-10465.aa50c229.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 1694240 Jan 27 19:59
traffic_portal-4.0.0-10465.aa50c229.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins 5391848 Jan 27 19:59
traffic_portal-4.0.0-10465.aa50c229.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 35036316 Jan 27 19:59
traffic_router-4.0.0-10465.aa50c229.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 12882817 Jan 27 19:57
traffic_stats-4.0.0-10465.aa50c229.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins 6740476 Jan 27 19:57
traffic_stats-4.0.0-10465.aa50c229.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 0 Jan 27 19:56 weasel.txt
+ [[ -s dist/weasel.txt ]]
+ [[ -s /tmp/tc-status-wMnJ ]]
+ echo 'Success!'
Success!
+ finish
+ /tmp/docker-compose-ReaA -f infrastructure/docker/build/docker-compose.yml -p
trafficcontrolPR5171 down -v
Removing network trafficcontrolpr5171_default
+ /tmp/docker-compose-ReaA -f infrastructure/docker/build/docker-compose.yml -p
trafficcontrolPR5171 rm -v -f
No stopped containers
+ rm -f /tmp/docker-compose-ReaA
[trafficcontrol-PR] $ /bin/bash /tmp/jenkins8523657375338857735.sh
+ proj=trafficcontrol-PR
+ cfile=tools/golang/docker-compose.yml
+ trap finish EXIT
++ pwd
+
compose=<https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose>
+ [[ ! -x
<https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose> ]]
+ mkdir bin
++ uname -s
++ uname -m
+ curl -L
https://github.com/docker/compose/releases/download/1.25.1/docker-compose-Linux-x86_64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0100 617 0 617 0 0 1753 0 --:--:-- --:--:-- --:--:-- 1757
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
41 16.2M 41 6920k 0 0 4923k 0 0:00:03 0:00:01 0:00:02
7083k100 16.2M 100 16.2M 0 0 9513k 0 0:00:01 0:00:01 --:--:--
12.3M
+ chmod +x
<https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose>
+ docker version
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:50:12 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:48:43 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
+ <https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose> -p
trafficcontrol-PR -f tools/golang/docker-compose.yml down -v
Removing network trafficcontrol-pr_default
Network trafficcontrol-pr_default not found.
+ <https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose> -f
tools/golang/docker-compose.yml config --services
+ grep -q unit
+ <https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose> -p
trafficcontrol-PR -f tools/golang/docker-compose.yml up --build
--exit-code-from unit unit
using --exit-code-from implies --abort-on-container-exit
Creating network "trafficcontrol-pr_default" with the default driver
Building unit
Step 1/12 : FROM golang:1.11-alpine3.10 AS base
---> e116d2efa2ab
Step 2/12 : RUN apk --no-cache add gcc musl-dev git
---> Using cache
---> 3547a5d233a8
Step 3/12 : ARG DIR=github.com/apache/trafficcontrol
---> Using cache
---> 34a2698267da
Step 4/12 : ADD . /go/src/$DIR
---> 35ede7f0cad9
Step 5/12 : WORKDIR /go/src/github.com/apache/trafficcontrol
---> Running in 37a840f9ab86
Removing intermediate container 37a840f9ab86
---> c0519bec1530
Step 6/12 : RUN go get -v ./...
---> Running in e27f5107c55c
[91mFetching https://golang.org/x/net/publicsuffix?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/net/publicsuffix?go-get=1
(status code 200)
[0m[91mget "golang.org/x/net/publicsuffix": found meta tag
get.metaImport{Prefix:"golang.org/x/net", VCS:"git",
RepoRoot:"https://go.googlesource.com/net"} at
https://golang.org/x/net/publicsuffix?go-get=1
get "golang.org/x/net/publicsuffix": verifying non-authoritative meta tag
Fetching https://golang.org/x/net?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/net?go-get=1 (status code
200)
[0m[91mgolang.org/x/net (download)
[0m[91mgithub.com/dgrijalva/jwt-go (download)
[0m[91mFetching https://golang.org/x/sys/unix?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status
code 200)
[0m[91mget "golang.org/x/sys/unix": found meta tag
get.metaImport{Prefix:"golang.org/x/sys", VCS:"git",
RepoRoot:"https://go.googlesource.com/sys"} at
https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/sys?go-get=1 (status code
200)
[0m[91mgolang.org/x/sys (download)
[0m[91mFetching https://golang.org/x/text/secure/bidirule?go-get=1
[0m[91mParsing meta tags from
https://golang.org/x/text/secure/bidirule?go-get=1 (status code 200)
[0m[91mget "golang.org/x/text/secure/bidirule": found meta tag
get.metaImport{Prefix:"golang.org/x/text", VCS:"git",
RepoRoot:"https://go.googlesource.com/text"} at
https://golang.org/x/text/secure/bidirule?go-get=1
get "golang.org/x/text/secure/bidirule": verifying non-authoritative meta tag
Fetching https://golang.org/x/text?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/text?go-get=1 (status code
200)
[0m[91mgolang.org/x/text (download)
[0m[91mFetching https://golang.org/x/text/unicode/bidi?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/text/unicode/bidi?go-get=1
(status code 200)
[0m[91mget "golang.org/x/text/unicode/bidi": found meta tag
get.metaImport{Prefix:"golang.org/x/text", VCS:"git",
RepoRoot:"https://go.googlesource.com/text"} at
https://golang.org/x/text/unicode/bidi?go-get=1
get "golang.org/x/text/unicode/bidi": verifying non-authoritative meta tag
[0m[91mFetching https://golang.org/x/text/unicode/norm?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/text/unicode/norm?go-get=1
(status code 200)
[0m[91mget "golang.org/x/text/unicode/norm": found meta tag
get.metaImport{Prefix:"golang.org/x/text", VCS:"git",
RepoRoot:"https://go.googlesource.com/text"} at
https://golang.org/x/text/unicode/norm?go-get=1
get "golang.org/x/text/unicode/norm": verifying non-authoritative meta tag
[0m[91mgithub.com/kelseyhightower/envconfig (download)
[0m[91mgithub.com/miekg/dns (download)
[0m[91mFetching https://golang.org/x/crypto/ed25519?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/crypto/ed25519?go-get=1
(status code 200)
[0m[91mget "golang.org/x/crypto/ed25519": found meta tag
get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git",
RepoRoot:"https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/ed25519?go-get=1
get "golang.org/x/crypto/ed25519": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/crypto?go-get=1 (status
code 200)
[0m[91mgolang.org/x/crypto (download)
[0m[91mgithub.com/onsi/gomega (download)
[0m[91mFetching https://golang.org/x/xerrors?go-get=1
[0m[91mParsing meta tags from https://golang.org/x/xerrors?go-get=1 (status
code 200)
[0m[91mget "golang.org/x/xerrors": found meta tag
get.metaImport{Prefix:"golang.org/x/xerrors", VCS:"git",
RepoRoot:"https://go.googlesource.com/xerrors"} at
https://golang.org/x/xerrors?go-get=1
[0m[91mgolang.org/x/xerrors (download)
[0m[91mFetching https://gopkg.in/yaml.v2?go-get=1
[0m[91mParsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code
200)
[0m[91mget "gopkg.in/yaml.v2": found meta tag
get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git",
RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
[0m[91mgopkg.in/yaml.v2 (download)
[0m[91mgithub.com/basho/riak-go-client (download)
[0m[91mgithub.com/basho/backoff (download)
[0m[91mgithub.com/golang/protobuf (download)
[0m[91mcan't load package: package
github.com/apache/trafficcontrol/traffic_ops/testing/api/v1: found packages v1
(about_test.go) and v14 (capabilities_test.go) in
/go/src/github.com/apache/trafficcontrol/traffic_ops/testing/api/v1
[0mService 'unit' failed to build: The command '/bin/sh -c go get -v ./...'
returned a non-zero code: 1
+ exit 1
+ finish
+ local st=1
+ [[ 1 -ne 0 ]]
+ echo 'Exiting with status 1'
Exiting with status 1
+ <https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose> -p
trafficcontrol-PR -f tools/golang/docker-compose.yml down -v
Removing network trafficcontrol-pr_default
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful