Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d62da4a13b1e82bb939a950a0a278f0632fa03c1+3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (ac5396dcdaf4974f672fdb2dca5789612c85ae63) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 48b313303ce5ba460cd13c4c603c4b280f104d53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 48b313303ce5ba460cd13c4c603c4b280f104d53 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14970 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-46 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit d62da4a13b1e82bb939a950a0a278f0632fa03c1 Merge succeeded, producing 02d1e6fb4a60f367d27d20d72855643a249af650 Checking out Revision 02d1e6fb4a60f367d27d20d72855643a249af650 (PR-46) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d62da4a13b1e82bb939a950a0a278f0632fa03c1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02d1e6fb4a60f367d27d20d72855643a249af650 # timeout=10 Commit message: "Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD" > git rev-list --no-walk d62da4a13b1e82bb939a950a0a278f0632fa03c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T23:08:16.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T23:08:16.802Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T23:08:16.911Z] ========================================================= [2020-12-07T23:08:16.911Z] EdgeX Global Pipelines Version Info [2020-12-07T23:08:16.911Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:08:18.415Z] ------------------- [2020-12-07T23:08:18.415Z] stable info: [2020-12-07T23:08:18.415Z] ------------------- [2020-12-07T23:08:18.415Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T23:08:18.415Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T23:08:18.415Z] Message: update stable to v1.0.171 [2020-12-07T23:08:19.372Z] ------------------- [2020-12-07T23:08:19.372Z] experimental info: [2020-12-07T23:08:19.372Z] ------------------- [2020-12-07T23:08:19.372Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T23:08:19.372Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T23:08:19.372Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T23:08:19.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-12-07T23:08:19.736Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-12-07T23:08:19.826Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T23:08:19.913Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T23:08:19.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T23:08:20.098Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T23:08:20.192Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T23:08:20.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T23:08:20.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T23:08:20.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T23:08:20.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T23:08:20.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-12-07T23:08:20.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T23:08:21.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T23:08:21.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T23:08:21.245Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T23:08:21.346Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T23:08:21.436Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T23:08:21.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T23:08:21.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-07T23:08:21.859Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T23:08:21.976Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T23:08:22.065Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T23:08:22.172Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T23:08:22.267Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T23:08:22.404Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T23:08:22.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo [2020-12-07T23:08:22.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo [2020-12-07T23:08:22.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo [2020-12-07T23:08:22.775Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02d1e6fb4a60f367d27d20d72855643a249af650 [Pipeline] echo [2020-12-07T23:08:22.860Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02d1e6f [Pipeline] echo [2020-12-07T23:08:22.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:08:23.129Z] provisioning config files... [2020-12-07T23:08:23.162Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/config1651092150212156590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:08:23.520Z] ---> docker-login.sh [2020-12-07T23:08:23.520Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:08:23.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:24.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:24.044Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:24.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:24.044Z] [2020-12-07T23:08:24.044Z] Login Succeeded [2020-12-07T23:08:24.044Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:08:24.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:24.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:24.306Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:24.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:24.306Z] [2020-12-07T23:08:24.306Z] Login Succeeded [2020-12-07T23:08:24.306Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:08:24.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:24.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:24.306Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:24.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:24.306Z] [2020-12-07T23:08:24.306Z] Login Succeeded [2020-12-07T23:08:24.306Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:08:24.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:24.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:24.569Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:24.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:24.569Z] [2020-12-07T23:08:24.569Z] Login Succeeded [2020-12-07T23:08:24.569Z] docker.io [2020-12-07T23:08:24.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:08:24.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:08:24.832Z] Configure a credential helper to remove this warning. See [2020-12-07T23:08:24.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:08:24.832Z] [2020-12-07T23:08:24.832Z] Login Succeeded [2020-12-07T23:08:24.832Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:08:24.841Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T23:08:25.714Z] + git log --format=format:%s -1 02d1e6fb4a60f367d27d20d72855643a249af650 [Pipeline] echo [2020-12-07T23:08:25.776Z] GIT_COMMIT: 02d1e6fb4a60f367d27d20d72855643a249af650, Commit Message: Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD [Pipeline] echo [2020-12-07T23:08:25.817Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:08:26.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:08:26.428Z] [2020-12-07T23:08:26.428Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:08:26.769Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:08:26.769Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T23:08:26.769Z] 31603596830f: Pulling fs layer [2020-12-07T23:08:26.769Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T23:08:26.769Z] 6ca5941a6612: Pulling fs layer [2020-12-07T23:08:26.769Z] ecc8261a40a4: Pulling fs layer [2020-12-07T23:08:26.769Z] ecc8261a40a4: Waiting [2020-12-07T23:08:26.769Z] 2a8b12db71e7: Download complete [2020-12-07T23:08:27.033Z] 31603596830f: Verifying Checksum [2020-12-07T23:08:27.033Z] 31603596830f: Download complete [2020-12-07T23:08:27.033Z] 6ca5941a6612: Verifying Checksum [2020-12-07T23:08:27.033Z] 6ca5941a6612: Download complete [2020-12-07T23:08:27.033Z] ecc8261a40a4: Verifying Checksum [2020-12-07T23:08:27.033Z] ecc8261a40a4: Download complete [2020-12-07T23:08:27.296Z] 31603596830f: Pull complete [2020-12-07T23:08:27.560Z] 2a8b12db71e7: Pull complete [2020-12-07T23:08:28.142Z] 6ca5941a6612: Pull complete [2020-12-07T23:08:28.717Z] ecc8261a40a4: Pull complete [2020-12-07T23:08:28.717Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T23:08:28.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T23:08:28.717Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T23:08:28.823Z] prd-centos7-docker-4c-2g-14970 does not seem to be running inside a container [2020-12-07T23:08:28.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-46 -v /w/workspace/dgexfoundry_device-rest-go_PR-46:/w/workspace/dgexfoundry_device-rest-go_PR-46:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T23:08:30.834Z] $ docker top 99e35b4e8b520e57f16ebd94817194c6b5a7e1e7ea010abe19efed5f0024253b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T23:08:31.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T23:08:31.236Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T23:08:31.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T23:08:31.477Z] $ docker exec 99e35b4e8b520e57f16ebd94817194c6b5a7e1e7ea010abe19efed5f0024253b ssh-agent [2020-12-07T23:08:31.654Z] SSH_AUTH_SOCK=/tmp/ssh-V5SDB25TqBqy/agent.11 [2020-12-07T23:08:31.655Z] SSH_AGENT_PID=17 [2020-12-07T23:08:31.669Z] Running ssh-add (command line suppressed) [2020-12-07T23:08:31.802Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_7930983696929859189.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_7930983696929859189.key) [2020-12-07T23:08:31.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T23:08:32.205Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T23:08:32.231Z] $ docker exec --env ******** --env ******** 99e35b4e8b520e57f16ebd94817194c6b5a7e1e7ea010abe19efed5f0024253b ssh-agent -k [2020-12-07T23:08:32.346Z] unset SSH_AUTH_SOCK; [2020-12-07T23:08:32.346Z] unset SSH_AGENT_PID; [2020-12-07T23:08:32.347Z] echo Agent pid 17 killed; [2020-12-07T23:08:32.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T23:08:32.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T23:08:32.678Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T23:08:32.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T23:08:32.852Z] $ docker exec 99e35b4e8b520e57f16ebd94817194c6b5a7e1e7ea010abe19efed5f0024253b ssh-agent [2020-12-07T23:08:33.028Z] SSH_AUTH_SOCK=/tmp/ssh-IuZfbOctLWN3/agent.47 [2020-12-07T23:08:33.028Z] SSH_AGENT_PID=52 [2020-12-07T23:08:33.036Z] Running ssh-add (command line suppressed) [2020-12-07T23:08:33.157Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_2216283602037872722.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_2216283602037872722.key) [2020-12-07T23:08:33.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T23:08:33.598Z] + git semver init [2020-12-07T23:08:33.598Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T23:08:33.598Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.git [2020-12-07T23:08:33.598Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-46 [2020-12-07T23:08:33.598Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T23:08:33.598Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T23:08:33.598Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T23:08:33.598Z] # $SEMVER_BRANCH = PR-46 [2020-12-07T23:08:33.598Z] # $SEMVER_TEMP = /tmp/semver-415902000 [2020-12-07T23:08:33.598Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-12-07T23:08:34.545Z] # '/tmp/semver-415902000' -> '/w/workspace/dgexfoundry_device-rest-go_PR-46/.semver' [2020-12-07T23:08:34.807Z] # -> Force: false [2020-12-07T23:08:34.807Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.semver [Pipeline] } [2020-12-07T23:08:34.822Z] $ docker exec --env ******** --env ******** 99e35b4e8b520e57f16ebd94817194c6b5a7e1e7ea010abe19efed5f0024253b ssh-agent -k [2020-12-07T23:08:34.935Z] unset SSH_AUTH_SOCK; [2020-12-07T23:08:34.936Z] unset SSH_AGENT_PID; [2020-12-07T23:08:34.936Z] echo Agent pid 52 killed; [2020-12-07T23:08:34.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T23:08:35.451Z] + git semver [Pipeline] } [2020-12-07T23:08:35.470Z] $ docker stop --time=1 99e35b4e8b520e57f16ebd94817194c6b5a7e1e7ea010abe19efed5f0024253b [2020-12-07T23:08:36.919Z] $ docker rm -f 99e35b4e8b520e57f16ebd94817194c6b5a7e1e7ea010abe19efed5f0024253b [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T23:08:37.405Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T23:08:37.915Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T23:08:37.918Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-07T23:08:53.463Z] Still waiting to schedule task [2020-12-07T23:08:53.463Z] ‘prd-centos7-blackbox-4c-2g-14966’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-14967’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14971’ is offline; ‘prd-centos7-docker-4c-2g-14972’ is offline; ‘prd-centos7-docker-4c-2g-14973’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14962’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-07T23:08:53.466Z] Still waiting to schedule task [2020-12-07T23:08:53.466Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-07T23:10:23.131Z] Running on prd-centos7-docker-4c-2g-14977 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws [2020-12-07T23:10:23.189Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2020-12-07T23:10:29.762Z] using credential edgex-jenkins-ssh [2020-12-07T23:10:29.848Z] Cloning the remote Git repository [2020-12-07T23:10:29.911Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:10:30.004Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2020-12-07T23:10:30.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:10:30.127Z] > git --version # timeout=10 [2020-12-07T23:10:30.160Z] > git --version # 'git version 2.24.3' [2020-12-07T23:10:30.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:10:30.352Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:10:32.006Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit d62da4a13b1e82bb939a950a0a278f0632fa03c1 [2020-12-07T23:10:32.160Z] Merge succeeded, producing cbb3eadb9b7e76c4bee93251598139fe6cc516e4 [2020-12-07T23:10:32.160Z] Checking out Revision cbb3eadb9b7e76c4bee93251598139fe6cc516e4 (PR-46) [2020-12-07T23:10:31.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:10:31.549Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:10:31.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:10:31.590Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:10:31.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:10:31.597Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T23:10:32.020Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:10:32.032Z] > git checkout -f d62da4a13b1e82bb939a950a0a278f0632fa03c1 # timeout=10 [2020-12-07T23:10:32.082Z] > git remote # timeout=10 [2020-12-07T23:10:32.095Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T23:10:32.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:10:32.124Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2020-12-07T23:10:32.149Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T23:10:32.171Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:10:32.177Z] > git checkout -f cbb3eadb9b7e76c4bee93251598139fe6cc516e4 # timeout=10 [2020-12-07T23:10:36.230Z] Commit message: "Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD" [2020-12-07T23:10:36.246Z] > git rev-list --no-walk d62da4a13b1e82bb939a950a0a278f0632fa03c1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T23:10:37.979Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:10:38.386Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:10:38.799Z] + sudo service docker restart [2020-12-07T23:10:38.799Z] + true [2020-12-07T23:10:38.799Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:10:40.325Z] provisioning config files... [2020-12-07T23:10:40.364Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config5213059308151742985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:10:40.841Z] ---> docker-login.sh [2020-12-07T23:10:40.841Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:10:41.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:10:41.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:10:41.708Z] Configure a credential helper to remove this warning. See [2020-12-07T23:10:41.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:10:41.708Z] [2020-12-07T23:10:41.708Z] Login Succeeded [2020-12-07T23:10:41.708Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:10:41.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:10:41.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:10:41.998Z] Configure a credential helper to remove this warning. See [2020-12-07T23:10:41.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:10:41.998Z] [2020-12-07T23:10:41.998Z] Login Succeeded [2020-12-07T23:10:41.998Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:10:42.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:10:42.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:10:42.273Z] Configure a credential helper to remove this warning. See [2020-12-07T23:10:42.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:10:42.273Z] [2020-12-07T23:10:42.273Z] Login Succeeded [2020-12-07T23:10:42.273Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:10:42.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:10:42.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:10:42.548Z] Configure a credential helper to remove this warning. See [2020-12-07T23:10:42.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:10:42.548Z] [2020-12-07T23:10:42.548Z] Login Succeeded [2020-12-07T23:10:42.548Z] docker.io [2020-12-07T23:10:42.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:10:43.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:10:43.090Z] Configure a credential helper to remove this warning. See [2020-12-07T23:10:43.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:10:43.090Z] [2020-12-07T23:10:43.090Z] Login Succeeded [2020-12-07T23:10:43.090Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:10:43.102Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T23:10:43.912Z] ========================================================= [2020-12-07T23:10:43.912Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T23:10:43.912Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:10:44.361Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-07T23:10:44.361Z] Sending build context to Docker daemon 84.48kB [2020-12-07T23:10:44.646Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T23:10:44.646Z] Step 2/10 : FROM ${BASE} [2020-12-07T23:10:44.929Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T23:10:44.929Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T23:10:44.929Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T23:10:44.929Z] de9db76c5a1d: Pulling fs layer [2020-12-07T23:10:44.929Z] bca2f99d35d6: Pulling fs layer [2020-12-07T23:10:44.929Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T23:10:44.929Z] 7c6f9722023f: Pulling fs layer [2020-12-07T23:10:44.929Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T23:10:44.929Z] 93359f2a8cfa: Waiting [2020-12-07T23:10:44.929Z] 7c6f9722023f: Waiting [2020-12-07T23:10:44.929Z] a35cf1a2eb13: Waiting [2020-12-07T23:10:44.929Z] bca2f99d35d6: Waiting [2020-12-07T23:10:44.929Z] de9db76c5a1d: Download complete [2020-12-07T23:10:44.929Z] 0ef7d3d256c8: Download complete [2020-12-07T23:10:44.929Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T23:10:44.929Z] 93359f2a8cfa: Download complete [2020-12-07T23:10:44.929Z] 7c6f9722023f: Verifying Checksum [2020-12-07T23:10:44.929Z] 7c6f9722023f: Download complete [2020-12-07T23:10:44.929Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T23:10:44.929Z] 188c0c94c7c5: Download complete [2020-12-07T23:10:45.966Z] 188c0c94c7c5: Pull complete [2020-12-07T23:10:45.966Z] 0ef7d3d256c8: Pull complete [2020-12-07T23:10:46.265Z] de9db76c5a1d: Pull complete [2020-12-07T23:10:49.138Z] a35cf1a2eb13: Verifying Checksum [2020-12-07T23:10:49.138Z] a35cf1a2eb13: Download complete [2020-12-07T23:10:50.193Z] bca2f99d35d6: Verifying Checksum [2020-12-07T23:10:50.193Z] bca2f99d35d6: Download complete [2020-12-07T23:11:02.929Z] bca2f99d35d6: Pull complete [2020-12-07T23:11:02.929Z] 93359f2a8cfa: Pull complete [2020-12-07T23:11:02.929Z] 7c6f9722023f: Pull complete [2020-12-07T23:11:08.452Z] a35cf1a2eb13: Pull complete [2020-12-07T23:11:08.452Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T23:11:08.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T23:11:08.452Z] ---> a62c8e92a672 [2020-12-07T23:11:08.452Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T23:11:08.452Z] ---> Running in 5eea779a0742 [2020-12-07T23:11:08.452Z] Removing intermediate container 5eea779a0742 [2020-12-07T23:11:08.452Z] ---> 9dc41d50bb3c [2020-12-07T23:11:08.452Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T23:11:08.452Z] ---> Running in c57a2fb9fe4a [2020-12-07T23:11:08.728Z] Removing intermediate container c57a2fb9fe4a [2020-12-07T23:11:08.728Z] ---> 3485cd9f14dd [2020-12-07T23:11:08.728Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T23:11:08.728Z] ---> Running in 04b84ad0e334 [2020-12-07T23:11:09.024Z] Removing intermediate container 04b84ad0e334 [2020-12-07T23:11:09.024Z] ---> ddc43c3ee411 [2020-12-07T23:11:09.024Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T23:11:09.024Z] ---> Running in dbe83da3bdf3 [2020-12-07T23:11:11.048Z] Removing intermediate container dbe83da3bdf3 [2020-12-07T23:11:11.048Z] ---> b66ed912535a [2020-12-07T23:11:11.048Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T23:11:11.048Z] ---> Running in eff4dd62d44b [2020-12-07T23:11:12.680Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T23:11:13.265Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T23:11:14.237Z] OK: 166 MiB in 39 packages [2020-12-07T23:11:14.849Z] Removing intermediate container eff4dd62d44b [2020-12-07T23:11:14.849Z] ---> b62c22b12cf0 [2020-12-07T23:11:14.849Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T23:11:14.849Z] ---> Running in d2b108ef5d49 [2020-12-07T23:11:15.139Z] Removing intermediate container d2b108ef5d49 [2020-12-07T23:11:15.139Z] ---> 155a9863a798 [2020-12-07T23:11:15.139Z] Step 9/10 : COPY . . [2020-12-07T23:11:15.769Z] ---> bce3452a0097 [2020-12-07T23:11:15.769Z] Step 10/10 : RUN go mod download [2020-12-07T23:11:15.769Z] ---> Running in 823466332f8b [2020-12-07T23:11:42.958Z] Removing intermediate container 823466332f8b [2020-12-07T23:11:42.958Z] ---> b5d71d547a4f [2020-12-07T23:11:42.958Z] Successfully built b5d71d547a4f [2020-12-07T23:11:42.958Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:11:43.335Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T23:11:43.611Z] . [Pipeline] withDockerContainer [2020-12-07T23:11:43.979Z] prd-centos7-docker-4c-2g-14977 does not seem to be running inside a container [2020-12-07T23:11:44.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-07T23:11:45.629Z] $ docker top 4d4c6533c48f9ec1d9e82129b4cbd3d07078fa0435b4ba194678e2cef3f68d0e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:11:46.299Z] + go version [2020-12-07T23:11:46.299Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T23:11:46.325Z] $ docker stop --time=1 4d4c6533c48f9ec1d9e82129b4cbd3d07078fa0435b4ba194678e2cef3f68d0e [2020-12-07T23:11:47.860Z] $ docker rm -f 4d4c6533c48f9ec1d9e82129b4cbd3d07078fa0435b4ba194678e2cef3f68d0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:11:48.813Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T23:11:48.813Z] . [Pipeline] withDockerContainer [2020-12-07T23:11:48.976Z] prd-centos7-docker-4c-2g-14977 does not seem to be running inside a container [2020-12-07T23:11:49.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-07T23:11:49.970Z] $ docker top 566fe867bb2d31935dd46444c078e9e5a7aa91e1aae806368dbd3b05563cc01f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:11:50.581Z] + make test [2020-12-07T23:11:50.850Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T23:11:52.361Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T23:12:14.246Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14985 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws [2020-12-07T23:12:14.305Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2020-12-07T23:12:14.985Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-12-07T23:12:14.985Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 56.3% of statements [2020-12-07T23:12:14.985Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-07T23:12:18.619Z] gofmt -l . [2020-12-07T23:12:18.619Z] [ "`gofmt -l .`" = "" ] [2020-12-07T23:12:18.619Z] ./bin/test-go-mod-tidy.sh [2020-12-07T23:12:18.620Z] ./bin/test-attribution-txt.sh [2020-12-07T23:12:19.615Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-12-07T23:12:19.615Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2020-12-07T23:12:19.645Z] $ docker stop --time=1 566fe867bb2d31935dd46444c078e9e5a7aa91e1aae806368dbd3b05563cc01f [2020-12-07T23:12:19.950Z] using credential edgex-jenkins-ssh [2020-12-07T23:12:20.003Z] Cloning the remote Git repository [2020-12-07T23:12:20.061Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:12:20.169Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2020-12-07T23:12:20.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:12:20.249Z] > git --version # timeout=10 [2020-12-07T23:12:20.275Z] > git --version # 'git version 2.17.1' [2020-12-07T23:12:20.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:12:20.357Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:12:22.444Z] $ docker rm -f 566fe867bb2d31935dd46444c078e9e5a7aa91e1aae806368dbd3b05563cc01f [2020-12-07T23:12:22.689Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit d62da4a13b1e82bb939a950a0a278f0632fa03c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-12-07T23:12:23.027Z] Merge succeeded, producing bf4988bfbeaa6eecb9c65e639630d66206e1a59f [2020-12-07T23:12:23.028Z] Checking out Revision bf4988bfbeaa6eecb9c65e639630d66206e1a59f (PR-46) [Pipeline] } [Pipeline] // stage [2020-12-07T23:12:22.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:12:22.120Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T23:12:22.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-12-07T23:12:22.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-12-07T23:12:22.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:12:22.212Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T23:12:22.712Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:12:22.730Z] > git checkout -f d62da4a13b1e82bb939a950a0a278f0632fa03c1 # timeout=10 [2020-12-07T23:12:22.857Z] > git remote # timeout=10 [2020-12-07T23:12:22.882Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T23:12:22.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T23:12:22.939Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2020-12-07T23:12:22.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T23:12:23.039Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T23:12:23.062Z] > git checkout -f bf4988bfbeaa6eecb9c65e639630d66206e1a59f # timeout=10 [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-07T23:12:24.594Z] Failed in branch amd64 [2020-12-07T23:12:27.339Z] Commit message: "Merge commit '3b3704fceb7b97b6b41b020a3a5d9692cb604e42' into HEAD" [2020-12-07T23:12:27.350Z] > git rev-list --no-walk d62da4a13b1e82bb939a950a0a278f0632fa03c1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T23:12:28.932Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:12:29.373Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T23:12:29.715Z] + + sudo servicetrue docker [2020-12-07T23:12:29.715Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T23:12:32.418Z] provisioning config files... [2020-12-07T23:12:32.453Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config9223047111561597379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:12:32.880Z] ---> docker-login.sh [2020-12-07T23:12:32.880Z] nexus3.edgexfoundry.org:10001 [2020-12-07T23:12:33.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:34.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:34.083Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:34.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:34.083Z] [2020-12-07T23:12:34.083Z] Login Succeeded [2020-12-07T23:12:34.083Z] nexus3.edgexfoundry.org:10002 [2020-12-07T23:12:34.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:34.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:34.636Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:34.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:34.636Z] [2020-12-07T23:12:34.636Z] Login Succeeded [2020-12-07T23:12:34.636Z] nexus3.edgexfoundry.org:10003 [2020-12-07T23:12:34.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:35.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:35.187Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:35.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:35.187Z] [2020-12-07T23:12:35.187Z] Login Succeeded [2020-12-07T23:12:35.187Z] nexus3.edgexfoundry.org:10004 [2020-12-07T23:12:35.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:35.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:35.738Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:35.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:35.738Z] [2020-12-07T23:12:35.738Z] Login Succeeded [2020-12-07T23:12:35.738Z] docker.io [2020-12-07T23:12:36.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T23:12:36.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T23:12:36.284Z] Configure a credential helper to remove this warning. See [2020-12-07T23:12:36.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T23:12:36.284Z] [2020-12-07T23:12:36.284Z] Login Succeeded [2020-12-07T23:12:36.284Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T23:12:36.301Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T23:12:36.721Z] ========================================================= [2020-12-07T23:12:36.721Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T23:12:36.721Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:12:37.120Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-07T23:12:37.120Z] Sending build context to Docker daemon 84.48kB [2020-12-07T23:12:37.410Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T23:12:37.410Z] Step 2/10 : FROM ${BASE} [2020-12-07T23:12:37.410Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T23:12:37.687Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T23:12:37.687Z] a4357932f1b6: Pulling fs layer [2020-12-07T23:12:37.687Z] 18c013af1878: Pulling fs layer [2020-12-07T23:12:37.687Z] 00ac8860ef70: Pulling fs layer [2020-12-07T23:12:37.687Z] 63d7cb157983: Pulling fs layer [2020-12-07T23:12:37.687Z] b116817d02f9: Pulling fs layer [2020-12-07T23:12:37.687Z] 745a02a5169b: Pulling fs layer [2020-12-07T23:12:37.687Z] 00ac8860ef70: Waiting [2020-12-07T23:12:37.687Z] 745a02a5169b: Waiting [2020-12-07T23:12:37.687Z] b116817d02f9: Waiting [2020-12-07T23:12:37.687Z] 18c013af1878: Verifying Checksum [2020-12-07T23:12:37.687Z] 18c013af1878: Download complete [2020-12-07T23:12:37.687Z] a4357932f1b6: Verifying Checksum [2020-12-07T23:12:37.687Z] a4357932f1b6: Download complete [2020-12-07T23:12:37.687Z] 63d7cb157983: Verifying Checksum [2020-12-07T23:12:37.687Z] 63d7cb157983: Download complete [2020-12-07T23:12:37.687Z] b116817d02f9: Verifying Checksum [2020-12-07T23:12:37.687Z] b116817d02f9: Download complete [2020-12-07T23:12:37.687Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T23:12:37.687Z] 5f621e34cdf4: Download complete [2020-12-07T23:12:38.293Z] 5f621e34cdf4: Pull complete [2020-12-07T23:12:38.906Z] a4357932f1b6: Pull complete [2020-12-07T23:12:39.512Z] 18c013af1878: Pull complete [2020-12-07T23:12:40.105Z] 745a02a5169b: Verifying Checksum [2020-12-07T23:12:40.105Z] 745a02a5169b: Download complete [2020-12-07T23:12:41.535Z] 00ac8860ef70: Download complete [2020-12-07T23:12:51.694Z] 00ac8860ef70: Pull complete [2020-12-07T23:12:51.981Z] 63d7cb157983: Pull complete [2020-12-07T23:12:52.258Z] b116817d02f9: Pull complete [2020-12-07T23:12:56.573Z] 745a02a5169b: Pull complete [2020-12-07T23:12:56.573Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T23:12:56.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T23:12:56.573Z] ---> b7e6874047d6 [2020-12-07T23:12:56.573Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T23:12:58.587Z] ---> Running in 830998fa506a [2020-12-07T23:12:59.183Z] Removing intermediate container 830998fa506a [2020-12-07T23:12:59.183Z] ---> e9cc959f541a [2020-12-07T23:12:59.183Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T23:12:59.183Z] ---> Running in dcc4613ba6e7 [2020-12-07T23:12:59.787Z] Removing intermediate container dcc4613ba6e7 [2020-12-07T23:12:59.787Z] ---> e141b8a24206 [2020-12-07T23:12:59.787Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-07T23:12:59.787Z] ---> Running in f2cd594a36f4 [2020-12-07T23:13:00.060Z] Removing intermediate container f2cd594a36f4 [2020-12-07T23:13:00.060Z] ---> f3e5dea72fbc [2020-12-07T23:13:00.060Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T23:13:00.337Z] ---> Running in 3a7a3184b6db [2020-12-07T23:13:02.977Z] Removing intermediate container 3a7a3184b6db [2020-12-07T23:13:02.977Z] ---> d1093f87e15a [2020-12-07T23:13:02.977Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T23:13:02.977Z] ---> Running in a0324f4ceee6 [2020-12-07T23:13:03.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T23:13:04.550Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T23:13:05.147Z] OK: 142 MiB in 39 packages [2020-12-07T23:13:06.584Z] Removing intermediate container a0324f4ceee6 [2020-12-07T23:13:06.584Z] ---> d75ce1b3acf7 [2020-12-07T23:13:06.584Z] Step 8/10 : WORKDIR /device-rest-go [2020-12-07T23:13:06.584Z] ---> Running in 5169b1f2e78c [2020-12-07T23:13:06.866Z] Removing intermediate container 5169b1f2e78c [2020-12-07T23:13:06.866Z] ---> c21f384b25e4 [2020-12-07T23:13:06.866Z] Step 9/10 : COPY . . [2020-12-07T23:13:11.164Z] ---> 1748ef29a959 [2020-12-07T23:13:11.164Z] Step 10/10 : RUN go mod download [2020-12-07T23:13:11.164Z] ---> Running in 1d1f68f01c44 [2020-12-07T23:13:33.341Z] Removing intermediate container 1d1f68f01c44 [2020-12-07T23:13:33.341Z] ---> 747531c36b29 [2020-12-07T23:13:33.341Z] Successfully built 747531c36b29 [2020-12-07T23:13:33.341Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:13:33.698Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T23:13:33.698Z] . [Pipeline] withDockerContainer [2020-12-07T23:13:33.975Z] prd-ubuntu18.04-docker-arm64-4c-16g-14985 does not seem to be running inside a container [2020-12-07T23:13:34.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-07T23:13:35.522Z] $ docker top 0f00639139429070cb686708d4def73472ef07e28bda6c9cf1e93e81821ce377 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:13:36.579Z] + go version [2020-12-07T23:13:36.579Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T23:13:36.606Z] $ docker stop --time=1 0f00639139429070cb686708d4def73472ef07e28bda6c9cf1e93e81821ce377 [2020-12-07T23:13:38.567Z] $ docker rm -f 0f00639139429070cb686708d4def73472ef07e28bda6c9cf1e93e81821ce377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:13:39.584Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T23:13:39.584Z] . [Pipeline] withDockerContainer [2020-12-07T23:13:39.842Z] prd-ubuntu18.04-docker-arm64-4c-16g-14985 does not seem to be running inside a container [2020-12-07T23:13:39.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-07T23:13:41.398Z] $ docker top 4983683bc8fce05e68d86e8a79ab0789a6d3242901ec31adff04018efd57a9da -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:13:42.437Z] + make test [2020-12-07T23:13:42.437Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-12-07T23:13:43.429Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-12-07T23:14:22.496Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-12-07T23:14:22.496Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 56.3% of statements [2020-12-07T23:14:22.496Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-07T23:14:25.129Z] gofmt -l . [2020-12-07T23:14:25.129Z] [ "`gofmt -l .`" = "" ] [2020-12-07T23:14:25.402Z] ./bin/test-go-mod-tidy.sh [2020-12-07T23:14:25.679Z] ./bin/test-attribution-txt.sh [2020-12-07T23:14:26.658Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2020-12-07T23:14:26.658Z] make: *** [Makefile:28: test] Error 1 [Pipeline] } [2020-12-07T23:14:26.683Z] $ docker stop --time=1 4983683bc8fce05e68d86e8a79ab0789a6d3242901ec31adff04018efd57a9da [2020-12-07T23:14:29.034Z] $ docker rm -f 4983683bc8fce05e68d86e8a79ab0789a6d3242901ec31adff04018efd57a9da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-07T23:14:31.068Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:33.750Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:34.062Z] ---> package-listing.sh [2020-12-07T23:14:34.062Z] ++ facter osfamily [2020-12-07T23:14:34.062Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T23:14:34.062Z] + OS_FAMILY=redhat [2020-12-07T23:14:34.062Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-46 [2020-12-07T23:14:34.062Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T23:14:34.062Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T23:14:34.062Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T23:14:34.062Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T23:14:34.062Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' [2020-12-07T23:14:34.062Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T23:14:34.062Z] + case "${OS_FAMILY}" in [2020-12-07T23:14:34.062Z] + rpm -qa [2020-12-07T23:14:34.062Z] + sort [2020-12-07T23:14:39.373Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T23:14:39.373Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T23:14:39.373Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T23:14:39.373Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' [2020-12-07T23:14:39.373Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ [2020-12-07T23:14:39.373Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ [Pipeline] echo [2020-12-07T23:14:39.386Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-07T23:14:39.677Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:14:39.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:14:39.983Z] [2020-12-07T23:14:39.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T23:14:40.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:14:40.334Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T23:14:40.334Z] df20fa9351a1: Pulling fs layer [2020-12-07T23:14:40.334Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T23:14:40.334Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T23:14:40.334Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T23:14:40.334Z] 93b61091891f: Pulling fs layer [2020-12-07T23:14:40.334Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T23:14:40.334Z] 5e14af77c1be: Pulling fs layer [2020-12-07T23:14:40.334Z] 01666e4c0597: Pulling fs layer [2020-12-07T23:14:40.334Z] aa168da1d23b: Pulling fs layer [2020-12-07T23:14:40.334Z] 46f8f816bc3b: Waiting [2020-12-07T23:14:40.334Z] 01666e4c0597: Waiting [2020-12-07T23:14:40.334Z] aa168da1d23b: Waiting [2020-12-07T23:14:40.334Z] 93b9cdb0e59b: Waiting [2020-12-07T23:14:40.334Z] 36b3adc4ff6f: Download complete [2020-12-07T23:14:40.334Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T23:14:40.334Z] 46f8f816bc3b: Download complete [2020-12-07T23:14:40.609Z] df20fa9351a1: Download complete [2020-12-07T23:14:40.609Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T23:14:40.609Z] 93b9cdb0e59b: Download complete [2020-12-07T23:14:40.609Z] 93b61091891f: Download complete [2020-12-07T23:14:40.609Z] 5e14af77c1be: Verifying Checksum [2020-12-07T23:14:40.609Z] 5e14af77c1be: Download complete [2020-12-07T23:14:40.609Z] 01666e4c0597: Verifying Checksum [2020-12-07T23:14:40.609Z] 01666e4c0597: Download complete [2020-12-07T23:14:40.609Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T23:14:40.609Z] 8ad3a11d3b57: Download complete [2020-12-07T23:14:40.876Z] df20fa9351a1: Pull complete [2020-12-07T23:14:41.147Z] 36b3adc4ff6f: Pull complete [2020-12-07T23:14:41.732Z] 8ad3a11d3b57: Pull complete [2020-12-07T23:14:42.012Z] 46f8f816bc3b: Pull complete [2020-12-07T23:14:42.601Z] aa168da1d23b: Download complete [2020-12-07T23:14:42.601Z] 93b61091891f: Pull complete [2020-12-07T23:14:42.865Z] 93b9cdb0e59b: Pull complete [2020-12-07T23:14:42.865Z] 5e14af77c1be: Pull complete [2020-12-07T23:14:43.132Z] 01666e4c0597: Pull complete [2020-12-07T23:14:51.351Z] aa168da1d23b: Pull complete [2020-12-07T23:14:51.351Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T23:14:51.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T23:14:51.351Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T23:14:51.562Z] prd-centos7-docker-4c-2g-14970 does not seem to be running inside a container [2020-12-07T23:14:51.612Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-46 -v /w/workspace/dgexfoundry_device-rest-go_PR-46:/w/workspace/dgexfoundry_device-rest-go_PR-46:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T23:14:55.894Z] $ docker top d29bb0ddbe6f19d3ce59811ea63edf501343dfa49064fc1fb3a47daac13c2e1b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T23:14:56.374Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T23:14:56.676Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T23:14:56.978Z] + ls /var/log/sa-host [2020-12-07T23:14:56.978Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T23:14:56.978Z] file_magic: OK [2020-12-07T23:14:56.978Z] HZ: Using current value: 100 [2020-12-07T23:14:56.978Z] file_header: OK [2020-12-07T23:14:56.978Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-07T23:14:56.978Z] Statistics: [2020-12-07T23:14:56.978Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T23:14:56.978Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T23:14:56.978Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T23:14:56.978Z] file_magic: OK [2020-12-07T23:14:56.978Z] HZ: Using current value: 100 [2020-12-07T23:14:56.978Z] file_header: OK [2020-12-07T23:14:56.978Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-07T23:14:56.978Z] Statistics: [2020-12-07T23:14:56.978Z] Hnuu...uuuununununu... [2020-12-07T23:14:56.978Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T23:14:57.204Z] provisioning config files... [2020-12-07T23:14:57.229Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/config649948445126696546tmp [Pipeline] { [Pipeline] echo [2020-12-07T23:14:57.310Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:57.610Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T23:14:57.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T23:14:57.715Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:58.016Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T23:14:58.027Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:58.322Z] ---> sudo-logs.sh [2020-12-07T23:14:58.322Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T23:14:58.334Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:14:58.630Z] ---> job-cost.sh [2020-12-07T23:14:58.631Z] lf-activate-venv: SKIPPING [2020-12-07T23:14:58.631Z] INFO: No Stack... [2020-12-07T23:14:59.206Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T23:14:59.781Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T23:14:59.795Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T23:15:00.094Z] ---> logs-deploy.sh [2020-12-07T23:15:00.094Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-46/8 [2020-12-07T23:15:00.094Z] INFO: archiving workspace using pattern(s): [2020-12-07T23:15:02.020Z] Archives upload complete. [2020-12-07T23:15:02.020Z] INFO: archiving logs to Nexus