Pull request #68 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ce71f09c2d39912181f4466a92feb2fb45c7f9fd+3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (973395cf7db201d99b38639b3b7c647f642515ad) Running in Durability level: MAX_SURVIVABILITY 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-68/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-68/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18111 in /w/workspace/dgexfoundry_device-rest-go_PR-68 [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-68 # 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 > 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/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit ce71f09c2d39912181f4466a92feb2fb45c7f9fd Merge succeeded, producing ce71f09c2d39912181f4466a92feb2fb45c7f9fd Checking out Revision ce71f09c2d39912181f4466a92feb2fb45c7f9fd (PR-68) > git config core.sparsecheckout # timeout=10 > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # 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 ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T06:17:03.401Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T06:17:03.735Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T06:17:03.907Z] ========================================================= [2021-01-04T06:17:03.907Z] EdgeX Global Pipelines Version Info [2021-01-04T06:17:03.907Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:17:05.399Z] ------------------- [2021-01-04T06:17:05.399Z] stable info: [2021-01-04T06:17:05.399Z] ------------------- [2021-01-04T06:17:05.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T06:17:05.399Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:17:05.399Z] Message: update stable to v1.0.173 [2021-01-04T06:17:06.348Z] ------------------- [2021-01-04T06:17:06.348Z] experimental info: [2021-01-04T06:17:06.348Z] ------------------- [2021-01-04T06:17:06.348Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T06:17:06.348Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:17:06.348Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T06:17:06.696Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-04T06:17:06.809Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-04T06:17:06.922Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T06:17:07.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T06:17:07.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T06:17:07.326Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T06:17:07.432Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T06:17:07.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T06:17:07.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T06:17:07.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T06:17:07.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T06:17:08.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-04T06:17:08.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T06:17:08.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T06:17:08.444Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T06:17:08.564Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T06:17:08.690Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:17:08.836Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:17:08.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T06:17:09.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T06:17:09.213Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T06:17:09.330Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T06:17:09.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T06:17:09.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T06:17:09.681Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T06:17:09.803Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T06:17:09.942Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T06:17:10.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-68 [Pipeline] echo [2021-01-04T06:17:10.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-68 [Pipeline] echo [2021-01-04T06:17:10.443Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-68 [Pipeline] echo [2021-01-04T06:17:10.559Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce71f09c2d39912181f4466a92feb2fb45c7f9fd [Pipeline] echo [2021-01-04T06:17:10.676Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce71f09 [Pipeline] echo [2021-01-04T06:17:10.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:17:11.053Z] provisioning config files... [2021-01-04T06:17:11.091Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/config7290289925612255201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:17:11.515Z] ---> docker-login.sh [2021-01-04T06:17:11.515Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:17:11.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:17:12.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:17:12.156Z] Configure a credential helper to remove this warning. See [2021-01-04T06:17:12.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:17:12.156Z] [2021-01-04T06:17:12.156Z] Login Succeeded [2021-01-04T06:17:12.156Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:17:12.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:17:12.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:17:12.157Z] Configure a credential helper to remove this warning. See [2021-01-04T06:17:12.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:17:12.157Z] [2021-01-04T06:17:12.157Z] Login Succeeded [2021-01-04T06:17:12.157Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:17:12.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:17:12.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:17:12.432Z] Configure a credential helper to remove this warning. See [2021-01-04T06:17:12.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:17:12.432Z] [2021-01-04T06:17:12.432Z] Login Succeeded [2021-01-04T06:17:12.433Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:17:12.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:17:12.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:17:12.705Z] Configure a credential helper to remove this warning. See [2021-01-04T06:17:12.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:17:12.705Z] [2021-01-04T06:17:12.705Z] Login Succeeded [2021-01-04T06:17:12.705Z] docker.io [2021-01-04T06:17:12.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:17:12.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:17:12.973Z] Configure a credential helper to remove this warning. See [2021-01-04T06:17:12.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:17:12.973Z] [2021-01-04T06:17:12.973Z] Login Succeeded [2021-01-04T06:17:12.973Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:17:12.994Z] 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 [2021-01-04T06:17:14.294Z] + git log --format=format:%s -1 ce71f09c2d39912181f4466a92feb2fb45c7f9fd [Pipeline] echo [2021-01-04T06:17:14.391Z] GIT_COMMIT: ce71f09c2d39912181f4466a92feb2fb45c7f9fd, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-04T06:17:14.467Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:17:15.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:17:15.129Z] [2021-01-04T06:17:15.129Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:17:15.565Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:17:15.565Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T06:17:15.565Z] 31603596830f: Pulling fs layer [2021-01-04T06:17:15.565Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T06:17:15.565Z] 6ca5941a6612: Pulling fs layer [2021-01-04T06:17:15.565Z] ecc8261a40a4: Pulling fs layer [2021-01-04T06:17:15.565Z] ecc8261a40a4: Waiting [2021-01-04T06:17:15.565Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T06:17:15.565Z] 2a8b12db71e7: Download complete [2021-01-04T06:17:15.565Z] 31603596830f: Verifying Checksum [2021-01-04T06:17:15.565Z] 31603596830f: Download complete [2021-01-04T06:17:15.857Z] ecc8261a40a4: Verifying Checksum [2021-01-04T06:17:15.857Z] ecc8261a40a4: Download complete [2021-01-04T06:17:15.857Z] 6ca5941a6612: Verifying Checksum [2021-01-04T06:17:15.857Z] 6ca5941a6612: Download complete [2021-01-04T06:17:16.124Z] 31603596830f: Pull complete [2021-01-04T06:17:16.124Z] 2a8b12db71e7: Pull complete [2021-01-04T06:17:17.087Z] 6ca5941a6612: Pull complete [2021-01-04T06:17:17.354Z] ecc8261a40a4: Pull complete [2021-01-04T06:17:17.354Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T06:17:17.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:17:17.354Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T06:17:17.503Z] prd-centos7-docker-4c-2g-18111 does not seem to be running inside a container [2021-01-04T06:17:17.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-68 -v /w/workspace/dgexfoundry_device-rest-go_PR-68:/w/workspace/dgexfoundry_device-rest-go_PR-68:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-68@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T06:17:20.070Z] $ docker top 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T06:17:20.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:17:20.578Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:17:20.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:17:20.844Z] $ docker exec 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent [2021-01-04T06:17:21.010Z] SSH_AUTH_SOCK=/tmp/ssh-SKyDbNWoUcJ3/agent.11 [2021-01-04T06:17:21.010Z] SSH_AGENT_PID=16 [2021-01-04T06:17:21.023Z] Running ssh-add (command line suppressed) [2021-01-04T06:17:21.147Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_1801226905651236079.key (/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_1801226905651236079.key) [2021-01-04T06:17:21.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:17:21.630Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T06:17:21.668Z] $ docker exec --env ******** --env ******** 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent -k [2021-01-04T06:17:21.787Z] unset SSH_AUTH_SOCK; [2021-01-04T06:17:21.787Z] unset SSH_AGENT_PID; [2021-01-04T06:17:21.787Z] echo Agent pid 16 killed; [2021-01-04T06:17:21.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T06:17:22.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:17:22.197Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:17:22.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:17:22.392Z] $ docker exec 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent [2021-01-04T06:17:22.559Z] SSH_AUTH_SOCK=/tmp/ssh-s43Ca3v5UCRm/agent.46 [2021-01-04T06:17:22.559Z] SSH_AGENT_PID=51 [2021-01-04T06:17:22.567Z] Running ssh-add (command line suppressed) [2021-01-04T06:17:22.685Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_4041806340608678495.key (/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/private_key_4041806340608678495.key) [2021-01-04T06:17:22.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:17:23.160Z] + git semver init [2021-01-04T06:17:23.160Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T06:17:23.160Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-68/.git [2021-01-04T06:17:23.160Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-68 [2021-01-04T06:17:23.160Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T06:17:23.160Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T06:17:23.160Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T06:17:23.160Z] # $SEMVER_BRANCH = PR-68 [2021-01-04T06:17:23.160Z] # $SEMVER_TEMP = /tmp/semver-470327376 [2021-01-04T06:17:23.160Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-04T06:17:24.123Z] # '/tmp/semver-470327376' -> '/w/workspace/dgexfoundry_device-rest-go_PR-68/.semver' [2021-01-04T06:17:24.123Z] # -> Force: false [2021-01-04T06:17:24.123Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-68/.semver [Pipeline] } [2021-01-04T06:17:24.142Z] $ docker exec --env ******** --env ******** 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a ssh-agent -k [2021-01-04T06:17:24.260Z] unset SSH_AUTH_SOCK; [2021-01-04T06:17:24.260Z] unset SSH_AGENT_PID; [2021-01-04T06:17:24.261Z] echo Agent pid 51 killed; [2021-01-04T06:17:24.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T06:17:24.919Z] + git semver [Pipeline] } [2021-01-04T06:17:24.955Z] $ docker stop --time=1 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a [2021-01-04T06:17:26.391Z] $ docker rm -f 45a70270120f1f69f726464b74ca3f999eee6cf54b9c4177158230eb3b7c010a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T06:17:26.962Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T06:17:27.514Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T06:17:27.532Z] [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 [2021-01-04T06:17:43.402Z] Still waiting to schedule task [2021-01-04T06:17:43.403Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18096’ is offline; ‘prd-centos7-docker-4c-2g-18100’ is offline; ‘prd-centos7-docker-4c-2g-18101’ is offline; ‘prd-centos7-docker-4c-2g-18104’ is offline; ‘prd-centos7-docker-4c-2g-18105’ is offline; ‘prd-centos7-docker-4c-2g-18113’ is offline; ‘prd-centos7-docker-4c-2g-18114’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18103’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-04T06:17:43.430Z] Still waiting to schedule task [2021-01-04T06:17:43.430Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-04T06:19:25.204Z] Running on prd-centos7-docker-4c-2g-18121 in /w/workspace/dgexfoundry_device-rest-go_PR-68 [Pipeline] { [Pipeline] ws [2021-01-04T06:19:25.309Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:19:28.029Z] using credential edgex-jenkins-ssh [2021-01-04T06:19:28.125Z] Cloning the remote Git repository [2021-01-04T06:19:28.156Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T06:19:28.226Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-04T06:19:28.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T06:19:28.302Z] > git --version # timeout=10 [2021-01-04T06:19:28.312Z] > git --version # 'git version 2.24.3' [2021-01-04T06:19:28.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:19:28.341Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:19:30.113Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit ce71f09c2d39912181f4466a92feb2fb45c7f9fd [2021-01-04T06:19:29.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T06:19:29.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:19:29.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T06:19:29.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T06:19:29.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:19:29.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:19:30.128Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:19:30.137Z] > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 [2021-01-04T06:19:30.208Z] Merge succeeded, producing ce71f09c2d39912181f4466a92feb2fb45c7f9fd [2021-01-04T06:19:30.208Z] Checking out Revision ce71f09c2d39912181f4466a92feb2fb45c7f9fd (PR-68) [2021-01-04T06:19:30.173Z] > git remote # timeout=10 [2021-01-04T06:19:30.179Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:19:30.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:19:30.192Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2021-01-04T06:19:30.204Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:19:30.215Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:19:30.220Z] > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 [2021-01-04T06:19:34.181Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-04T06:19:34.232Z] > git --version # timeout=10 [2021-01-04T06:19:34.242Z] > git --version # 'git version 2.24.3' [2021-01-04T06:19:34.252Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:19:35.788Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:19:36.367Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:19:36.709Z] + true [2021-01-04T06:19:36.709Z] + sudo service docker restart [2021-01-04T06:19:36.709Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:19:38.247Z] provisioning config files... [2021-01-04T06:19:38.278Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8633599521590440545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:19:38.713Z] ---> docker-login.sh [2021-01-04T06:19:38.713Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:19:38.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:19:38.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:19:38.976Z] Configure a credential helper to remove this warning. See [2021-01-04T06:19:38.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:19:38.976Z] [2021-01-04T06:19:38.976Z] Login Succeeded [2021-01-04T06:19:38.976Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:19:39.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:19:39.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:19:39.239Z] Configure a credential helper to remove this warning. See [2021-01-04T06:19:39.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:19:39.239Z] [2021-01-04T06:19:39.239Z] Login Succeeded [2021-01-04T06:19:39.239Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:19:39.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:19:39.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:19:39.504Z] Configure a credential helper to remove this warning. See [2021-01-04T06:19:39.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:19:39.504Z] [2021-01-04T06:19:39.504Z] Login Succeeded [2021-01-04T06:19:39.504Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:19:39.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:19:39.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:19:39.768Z] Configure a credential helper to remove this warning. See [2021-01-04T06:19:39.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:19:39.768Z] [2021-01-04T06:19:39.768Z] Login Succeeded [2021-01-04T06:19:39.768Z] docker.io [2021-01-04T06:19:39.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:19:40.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:19:40.040Z] Configure a credential helper to remove this warning. See [2021-01-04T06:19:40.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:19:40.040Z] [2021-01-04T06:19:40.040Z] Login Succeeded [2021-01-04T06:19:40.040Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:19:40.074Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:19:40.896Z] ========================================================= [2021-01-04T06:19:40.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T06:19:40.896Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:19:41.311Z] + 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 . [2021-01-04T06:19:41.311Z] Sending build context to Docker daemon 84.48kB [2021-01-04T06:19:41.584Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2021-01-04T06:19:41.584Z] Step 2/10 : FROM ${BASE} [2021-01-04T06:19:41.584Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T06:19:41.584Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T06:19:41.584Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T06:19:41.584Z] de9db76c5a1d: Pulling fs layer [2021-01-04T06:19:41.584Z] bca2f99d35d6: Pulling fs layer [2021-01-04T06:19:41.584Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T06:19:41.584Z] 7c6f9722023f: Pulling fs layer [2021-01-04T06:19:41.584Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T06:19:41.584Z] 93359f2a8cfa: Waiting [2021-01-04T06:19:41.584Z] 7c6f9722023f: Waiting [2021-01-04T06:19:41.584Z] a35cf1a2eb13: Waiting [2021-01-04T06:19:41.584Z] bca2f99d35d6: Waiting [2021-01-04T06:19:41.584Z] de9db76c5a1d: Verifying Checksum [2021-01-04T06:19:41.584Z] de9db76c5a1d: Download complete [2021-01-04T06:19:41.584Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T06:19:41.584Z] 0ef7d3d256c8: Download complete [2021-01-04T06:19:41.584Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T06:19:41.584Z] 93359f2a8cfa: Download complete [2021-01-04T06:19:41.584Z] 7c6f9722023f: Verifying Checksum [2021-01-04T06:19:41.584Z] 7c6f9722023f: Download complete [2021-01-04T06:19:41.584Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T06:19:41.584Z] 188c0c94c7c5: Download complete [2021-01-04T06:19:41.860Z] 188c0c94c7c5: Pull complete [2021-01-04T06:19:42.138Z] 0ef7d3d256c8: Pull complete [2021-01-04T06:19:42.724Z] de9db76c5a1d: Pull complete [2021-01-04T06:19:43.309Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T06:19:43.309Z] a35cf1a2eb13: Download complete [2021-01-04T06:19:44.262Z] bca2f99d35d6: Verifying Checksum [2021-01-04T06:19:44.262Z] bca2f99d35d6: Download complete [2021-01-04T06:19:49.622Z] bca2f99d35d6: Pull complete [2021-01-04T06:19:49.622Z] 93359f2a8cfa: Pull complete [2021-01-04T06:19:49.622Z] 7c6f9722023f: Pull complete [2021-01-04T06:19:57.870Z] a35cf1a2eb13: Pull complete [2021-01-04T06:19:57.870Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T06:19:57.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T06:19:57.870Z] ---> a62c8e92a672 [2021-01-04T06:19:57.870Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T06:19:57.870Z] ---> Running in 03a8121b329b [2021-01-04T06:19:58.142Z] Removing intermediate container 03a8121b329b [2021-01-04T06:19:58.142Z] ---> b99b2b7f72a1 [2021-01-04T06:19:58.142Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T06:19:58.142Z] ---> Running in b526337e5cd0 [2021-01-04T06:19:58.142Z] Removing intermediate container b526337e5cd0 [2021-01-04T06:19:58.142Z] ---> 86f6459f38ca [2021-01-04T06:19:58.142Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T06:19:58.410Z] ---> Running in 93ed4d039be7 [2021-01-04T06:19:58.410Z] Removing intermediate container 93ed4d039be7 [2021-01-04T06:19:58.410Z] ---> d8aa4ac37888 [2021-01-04T06:19:58.410Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:19:58.675Z] ---> Running in 6b901e3f4ce4 [2021-01-04T06:20:00.095Z] Removing intermediate container 6b901e3f4ce4 [2021-01-04T06:20:00.095Z] ---> 982316ed0489 [2021-01-04T06:20:00.095Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T06:20:00.095Z] ---> Running in fbb2ed759ae0 [2021-01-04T06:20:01.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T06:20:02.125Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T06:20:02.713Z] OK: 166 MiB in 39 packages [2021-01-04T06:20:03.296Z] Removing intermediate container fbb2ed759ae0 [2021-01-04T06:20:03.296Z] ---> 875fd605aa8c [2021-01-04T06:20:03.296Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-04T06:20:03.296Z] ---> Running in 71a199b78eb6 [2021-01-04T06:20:03.560Z] Removing intermediate container 71a199b78eb6 [2021-01-04T06:20:03.560Z] ---> e8063c333563 [2021-01-04T06:20:03.560Z] Step 9/10 : COPY . . [2021-01-04T06:20:03.825Z] ---> e64824397ea6 [2021-01-04T06:20:03.825Z] Step 10/10 : RUN go mod download [2021-01-04T06:20:03.825Z] ---> Running in e006379f444a [2021-01-04T06:20:22.071Z] Removing intermediate container e006379f444a [2021-01-04T06:20:22.071Z] ---> 98a2f0d94207 [2021-01-04T06:20:22.071Z] Successfully built 98a2f0d94207 [2021-01-04T06:20:22.071Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:20:22.430Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:20:22.430Z] . [Pipeline] withDockerContainer [2021-01-04T06:20:22.571Z] prd-centos7-docker-4c-2g-18121 does not seem to be running inside a container [2021-01-04T06:20:22.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 [2021-01-04T06:20:23.520Z] $ docker top e2fece8d8531fb4d147297f9465b7c63d3722bdd7e26ab7bab06aae6a3bdcf05 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:20:24.085Z] + go version [2021-01-04T06:20:24.085Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T06:20:24.122Z] $ docker stop --time=1 e2fece8d8531fb4d147297f9465b7c63d3722bdd7e26ab7bab06aae6a3bdcf05 [2021-01-04T06:20:25.492Z] $ docker rm -f e2fece8d8531fb4d147297f9465b7c63d3722bdd7e26ab7bab06aae6a3bdcf05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:20:26.622Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:20:26.622Z] . [Pipeline] withDockerContainer [2021-01-04T06:20:26.749Z] prd-centos7-docker-4c-2g-18121 does not seem to be running inside a container [2021-01-04T06:20:26.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 [2021-01-04T06:20:27.414Z] $ docker top 75d25279c06e65642de57f7094ae8b667da1989278ea27e86c3247056826306c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:20:27.977Z] + make test [2021-01-04T06:20:27.977Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-04T06:20:28.948Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-04T06:20:35.712Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T06:20:35.712Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T06:20:35.712Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-04T06:20:35.712Z] have (string, bool, string, string) [2021-01-04T06:20:35.712Z] want (string, string) [2021-01-04T06:20:40.025Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-01-04T06:20:40.025Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-04T06:20:40.090Z] $ docker stop --time=1 75d25279c06e65642de57f7094ae8b667da1989278ea27e86c3247056826306c [2021-01-04T06:20:42.509Z] $ docker rm -f 75d25279c06e65642de57f7094ae8b667da1989278ea27e86c3247056826306c [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] 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] } [2021-01-04T06:20:45.506Z] Failed in branch amd64 [2021-01-04T06:20:53.026Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18124 in /w/workspace/dgexfoundry_device-rest-go_PR-68 [Pipeline] { [Pipeline] ws [2021-01-04T06:20:53.134Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:20:59.002Z] using credential edgex-jenkins-ssh [2021-01-04T06:20:59.109Z] Cloning the remote Git repository [2021-01-04T06:20:59.166Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T06:20:59.290Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-04T06:20:59.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T06:20:59.402Z] > git --version # timeout=10 [2021-01-04T06:20:59.426Z] > git --version # 'git version 2.17.1' [2021-01-04T06:20:59.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:20:59.495Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:21:03.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T06:21:03.079Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:21:03.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-04T06:21:03.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-04T06:21:03.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:21:03.173Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:21:04.070Z] Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit ce71f09c2d39912181f4466a92feb2fb45c7f9fd [2021-01-04T06:21:04.600Z] Merge succeeded, producing ce71f09c2d39912181f4466a92feb2fb45c7f9fd [2021-01-04T06:21:04.600Z] Checking out Revision ce71f09c2d39912181f4466a92feb2fb45c7f9fd (PR-68) [2021-01-04T06:21:04.086Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:21:04.099Z] > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 [2021-01-04T06:21:04.406Z] > git remote # timeout=10 [2021-01-04T06:21:04.454Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:21:04.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:21:04.523Z] > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 [2021-01-04T06:21:04.569Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:21:04.603Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:21:04.632Z] > git checkout -f ce71f09c2d39912181f4466a92feb2fb45c7f9fd # timeout=10 [2021-01-04T06:21:09.310Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-04T06:21:09.396Z] > git --version # timeout=10 [2021-01-04T06:21:09.407Z] > git --version # 'git version 2.17.1' [2021-01-04T06:21:09.425Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:21:11.305Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:21:11.932Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:21:12.384Z] + + truesudo [2021-01-04T06:21:12.384Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:21:15.176Z] provisioning config files... [2021-01-04T06:21:15.216Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1540408483367345460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:21:15.709Z] ---> docker-login.sh [2021-01-04T06:21:15.710Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:21:16.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:21:17.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:21:17.304Z] Configure a credential helper to remove this warning. See [2021-01-04T06:21:17.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:21:17.304Z] [2021-01-04T06:21:17.304Z] Login Succeeded [2021-01-04T06:21:17.304Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:21:17.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:21:17.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:21:17.873Z] Configure a credential helper to remove this warning. See [2021-01-04T06:21:17.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:21:17.873Z] [2021-01-04T06:21:17.873Z] Login Succeeded [2021-01-04T06:21:17.873Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:21:18.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:21:18.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:21:18.425Z] Configure a credential helper to remove this warning. See [2021-01-04T06:21:18.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:21:18.425Z] [2021-01-04T06:21:18.425Z] Login Succeeded [2021-01-04T06:21:18.425Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:21:18.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:21:18.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:21:18.976Z] Configure a credential helper to remove this warning. See [2021-01-04T06:21:18.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:21:18.976Z] [2021-01-04T06:21:18.976Z] Login Succeeded [2021-01-04T06:21:18.976Z] docker.io [2021-01-04T06:21:19.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:21:19.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:21:19.546Z] Configure a credential helper to remove this warning. See [2021-01-04T06:21:19.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:21:19.546Z] [2021-01-04T06:21:19.822Z] Login Succeeded [2021-01-04T06:21:19.822Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:21:19.863Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:21:20.528Z] ========================================================= [2021-01-04T06:21:20.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T06:21:20.528Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:21:20.952Z] + 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 . [2021-01-04T06:21:20.952Z] Sending build context to Docker daemon 84.48kB [2021-01-04T06:21:21.230Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2021-01-04T06:21:21.230Z] Step 2/10 : FROM ${BASE} [2021-01-04T06:21:21.507Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T06:21:21.507Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T06:21:21.507Z] a4357932f1b6: Pulling fs layer [2021-01-04T06:21:21.507Z] 18c013af1878: Pulling fs layer [2021-01-04T06:21:21.507Z] 00ac8860ef70: Pulling fs layer [2021-01-04T06:21:21.507Z] 63d7cb157983: Pulling fs layer [2021-01-04T06:21:21.507Z] b116817d02f9: Pulling fs layer [2021-01-04T06:21:21.507Z] 745a02a5169b: Pulling fs layer [2021-01-04T06:21:21.507Z] 00ac8860ef70: Waiting [2021-01-04T06:21:21.507Z] 63d7cb157983: Waiting [2021-01-04T06:21:21.508Z] b116817d02f9: Waiting [2021-01-04T06:21:21.508Z] 745a02a5169b: Waiting [2021-01-04T06:21:21.508Z] 18c013af1878: Download complete [2021-01-04T06:21:21.508Z] a4357932f1b6: Verifying Checksum [2021-01-04T06:21:21.508Z] a4357932f1b6: Download complete [2021-01-04T06:21:21.508Z] 63d7cb157983: Verifying Checksum [2021-01-04T06:21:21.508Z] 63d7cb157983: Download complete [2021-01-04T06:21:21.508Z] b116817d02f9: Verifying Checksum [2021-01-04T06:21:21.508Z] b116817d02f9: Download complete [2021-01-04T06:21:21.508Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T06:21:21.508Z] 5f621e34cdf4: Download complete [2021-01-04T06:21:22.111Z] 5f621e34cdf4: Pull complete [2021-01-04T06:21:22.716Z] a4357932f1b6: Pull complete [2021-01-04T06:21:23.319Z] 18c013af1878: Pull complete [2021-01-04T06:21:24.298Z] 745a02a5169b: Verifying Checksum [2021-01-04T06:21:24.298Z] 745a02a5169b: Download complete [2021-01-04T06:21:26.278Z] 00ac8860ef70: Verifying Checksum [2021-01-04T06:21:26.278Z] 00ac8860ef70: Download complete [2021-01-04T06:21:36.860Z] 00ac8860ef70: Pull complete [2021-01-04T06:21:36.860Z] 63d7cb157983: Pull complete [2021-01-04T06:21:36.860Z] b116817d02f9: Pull complete [2021-01-04T06:21:40.256Z] 745a02a5169b: Pull complete [2021-01-04T06:21:40.256Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T06:21:40.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T06:21:40.256Z] ---> b7e6874047d6 [2021-01-04T06:21:40.256Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T06:21:43.658Z] ---> Running in 968edff006b7 [2021-01-04T06:21:43.658Z] Removing intermediate container 968edff006b7 [2021-01-04T06:21:43.658Z] ---> fe6cf5c94eb1 [2021-01-04T06:21:43.658Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T06:21:43.658Z] ---> Running in a5d505b01cef [2021-01-04T06:21:44.279Z] Removing intermediate container a5d505b01cef [2021-01-04T06:21:44.279Z] ---> d22ae7aab1c5 [2021-01-04T06:21:44.279Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T06:21:44.279Z] ---> Running in 6a05db824e85 [2021-01-04T06:21:44.888Z] Removing intermediate container 6a05db824e85 [2021-01-04T06:21:44.888Z] ---> 76230993b8c5 [2021-01-04T06:21:44.888Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:21:45.163Z] ---> Running in 4ba123961b0a [2021-01-04T06:21:47.815Z] Removing intermediate container 4ba123961b0a [2021-01-04T06:21:47.815Z] ---> db2e0f78c64e [2021-01-04T06:21:47.815Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T06:21:47.815Z] ---> Running in 6e7c4d754be9 [2021-01-04T06:21:48.818Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T06:21:50.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T06:21:52.885Z] OK: 142 MiB in 39 packages [2021-01-04T06:21:54.347Z] Removing intermediate container 6e7c4d754be9 [2021-01-04T06:21:54.347Z] ---> 3bfb8877abfe [2021-01-04T06:21:54.347Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-04T06:21:54.347Z] ---> Running in 0db561736f9c [2021-01-04T06:21:54.633Z] Removing intermediate container 0db561736f9c [2021-01-04T06:21:54.633Z] ---> edf36f7a8bdc [2021-01-04T06:21:54.633Z] Step 9/10 : COPY . . [2021-01-04T06:21:55.644Z] ---> a6b47c039169 [2021-01-04T06:21:55.644Z] Step 10/10 : RUN go mod download [2021-01-04T06:21:55.935Z] ---> Running in b4857ab7843e [2021-01-04T06:22:22.797Z] Removing intermediate container b4857ab7843e [2021-01-04T06:22:22.797Z] ---> 71f11aa97a0c [2021-01-04T06:22:22.797Z] Successfully built 71f11aa97a0c [2021-01-04T06:22:22.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:22:23.190Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:22:23.190Z] . [Pipeline] withDockerContainer [2021-01-04T06:22:23.495Z] prd-ubuntu18.04-docker-arm64-4c-16g-18124 does not seem to be running inside a container [2021-01-04T06:22:23.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 [2021-01-04T06:22:25.263Z] $ docker top e2fea9cca5fcc3118b4bfcc21d007f118f53fa0628c67501b3945c55505d216d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:22:26.391Z] + go version [2021-01-04T06:22:26.391Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T06:22:26.428Z] $ docker stop --time=1 e2fea9cca5fcc3118b4bfcc21d007f118f53fa0628c67501b3945c55505d216d [2021-01-04T06:22:28.491Z] $ docker rm -f e2fea9cca5fcc3118b4bfcc21d007f118f53fa0628c67501b3945c55505d216d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:22:29.759Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:22:29.759Z] . [Pipeline] withDockerContainer [2021-01-04T06:22:30.092Z] prd-ubuntu18.04-docker-arm64-4c-16g-18124 does not seem to be running inside a container [2021-01-04T06:22:30.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 [2021-01-04T06:22:31.951Z] $ docker top 10a8d539086a081ab1b358bea9208b03483dadc9434f4ee5d205bdc1f5645413 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:22:33.081Z] + make test [2021-01-04T06:22:33.081Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-04T06:22:34.076Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-04T06:23:01.014Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T06:23:01.014Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T06:23:01.014Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-04T06:23:01.014Z] have (string, bool, string, string) [2021-01-04T06:23:01.014Z] want (string, string) [2021-01-04T06:23:11.252Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-01-04T06:23:11.252Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-04T06:23:11.306Z] $ docker stop --time=1 10a8d539086a081ab1b358bea9208b03483dadc9434f4ee5d205bdc1f5645413 [2021-01-04T06:23:13.706Z] $ docker rm -f 10a8d539086a081ab1b358bea9208b03483dadc9434f4ee5d205bdc1f5645413 [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] } [2021-01-04T06:23:16.302Z] 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 [2021-01-04T06:23:21.244Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:23:21.872Z] ---> package-listing.sh [2021-01-04T06:23:21.872Z] ++ facter osfamily [2021-01-04T06:23:21.872Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T06:23:21.872Z] + OS_FAMILY=redhat [2021-01-04T06:23:21.872Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-68 [2021-01-04T06:23:21.873Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T06:23:21.873Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T06:23:21.873Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T06:23:21.873Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T06:23:21.873Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-68 ']' [2021-01-04T06:23:21.873Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T06:23:21.873Z] + case "${OS_FAMILY}" in [2021-01-04T06:23:21.873Z] + rpm -qa [2021-01-04T06:23:21.873Z] + sort [2021-01-04T06:23:27.234Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T06:23:27.234Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T06:23:27.234Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T06:23:27.234Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-68 ']' [2021-01-04T06:23:27.234Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-68/archives/ [2021-01-04T06:23:27.234Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-68/archives/ [Pipeline] echo [2021-01-04T06:23:27.274Z] 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-68/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T06:23:27.603Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:23:27.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:23:27.956Z] [2021-01-04T06:23:27.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:23:28.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:23:28.459Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T06:23:28.459Z] df20fa9351a1: Pulling fs layer [2021-01-04T06:23:28.459Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T06:23:28.459Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T06:23:28.459Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T06:23:28.459Z] 93b61091891f: Pulling fs layer [2021-01-04T06:23:28.459Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T06:23:28.459Z] 5e14af77c1be: Pulling fs layer [2021-01-04T06:23:28.459Z] 01666e4c0597: Pulling fs layer [2021-01-04T06:23:28.459Z] aa168da1d23b: Pulling fs layer [2021-01-04T06:23:28.459Z] 93b9cdb0e59b: Waiting [2021-01-04T06:23:28.459Z] 5e14af77c1be: Waiting [2021-01-04T06:23:28.459Z] 01666e4c0597: Waiting [2021-01-04T06:23:28.459Z] 46f8f816bc3b: Waiting [2021-01-04T06:23:28.459Z] 93b61091891f: Waiting [2021-01-04T06:23:28.459Z] aa168da1d23b: Waiting [2021-01-04T06:23:28.459Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T06:23:28.459Z] 36b3adc4ff6f: Download complete [2021-01-04T06:23:28.459Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T06:23:28.459Z] 46f8f816bc3b: Download complete [2021-01-04T06:23:28.747Z] df20fa9351a1: Download complete [2021-01-04T06:23:28.747Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T06:23:28.747Z] 93b9cdb0e59b: Download complete [2021-01-04T06:23:28.747Z] 5e14af77c1be: Verifying Checksum [2021-01-04T06:23:28.747Z] 5e14af77c1be: Download complete [2021-01-04T06:23:28.747Z] 93b61091891f: Download complete [2021-01-04T06:23:28.747Z] 01666e4c0597: Verifying Checksum [2021-01-04T06:23:28.747Z] 01666e4c0597: Download complete [2021-01-04T06:23:29.022Z] df20fa9351a1: Pull complete [2021-01-04T06:23:29.022Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T06:23:29.299Z] 36b3adc4ff6f: Pull complete [2021-01-04T06:23:30.265Z] 8ad3a11d3b57: Pull complete [2021-01-04T06:23:30.265Z] 46f8f816bc3b: Pull complete [2021-01-04T06:23:30.859Z] aa168da1d23b: Download complete [2021-01-04T06:23:31.439Z] 93b61091891f: Pull complete [2021-01-04T06:23:31.439Z] 93b9cdb0e59b: Pull complete [2021-01-04T06:23:31.439Z] 5e14af77c1be: Pull complete [2021-01-04T06:23:31.705Z] 01666e4c0597: Pull complete [2021-01-04T06:23:39.907Z] aa168da1d23b: Pull complete [2021-01-04T06:23:39.907Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T06:23:39.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:23:39.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T06:23:40.141Z] prd-centos7-docker-4c-2g-18111 does not seem to be running inside a container [2021-01-04T06:23:40.205Z] $ 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-68/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-68 -v /w/workspace/dgexfoundry_device-rest-go_PR-68:/w/workspace/dgexfoundry_device-rest-go_PR-68:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-68@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-68@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T06:23:43.739Z] $ docker top 2bfa36eb19c8b35f5a99620e112f44f585b8247fcc655d9155c72792978db287 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:23:44.327Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T06:23:44.654Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T06:23:44.980Z] + ls /var/log/sa-host [2021-01-04T06:23:44.980Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T06:23:44.980Z] file_magic: OK [2021-01-04T06:23:44.980Z] HZ: Using current value: 100 [2021-01-04T06:23:44.980Z] file_header: OK [2021-01-04T06:23:44.980Z] 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 [2021-01-04T06:23:44.980Z] Statistics: [2021-01-04T06:23:44.980Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T06:23:44.980Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T06:23:44.980Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T06:23:44.980Z] file_magic: OK [2021-01-04T06:23:44.980Z] HZ: Using current value: 100 [2021-01-04T06:23:44.980Z] file_header: OK [2021-01-04T06:23:44.980Z] 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 [2021-01-04T06:23:44.980Z] Statistics: [2021-01-04T06:23:44.980Z] Hnuu...uuuununununu... [2021-01-04T06:23:44.980Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T06:23:45.279Z] provisioning config files... [2021-01-04T06:23:45.300Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-68@tmp/config8523681805810179426tmp [Pipeline] { [Pipeline] echo [2021-01-04T06:23:45.427Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:23:45.805Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T06:23:45.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T06:23:46.026Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:23:46.370Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T06:23:46.405Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:23:46.760Z] ---> sudo-logs.sh [2021-01-04T06:23:46.760Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T06:23:46.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:23:47.139Z] ---> job-cost.sh [2021-01-04T06:23:47.139Z] lf-activate-venv: SKIPPING [2021-01-04T06:23:47.139Z] INFO: No Stack... [2021-01-04T06:23:48.090Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T06:23:48.668Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T06:23:48.708Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:23:49.231Z] ---> logs-deploy.sh [2021-01-04T06:23:49.231Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-68/1 [2021-01-04T06:23:49.231Z] INFO: archiving workspace using pattern(s): [2021-01-04T06:23:51.273Z] Archives upload complete. [2021-01-04T06:23:51.273Z] INFO: archiving logs to Nexus