Pull request #203 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 09803946b1061887119f8356daeca5dbb16be082+cdd6c33d41f01dc10b68606080ac8b6263924bf1 (565126b583c6d071850fac72c27d3c1cc0749cde) 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-mqtt-go/branches/PR-203/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-mqtt-go/branches/PR-203/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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt-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: true 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-19469 in /w/workspace/gexfoundry_device-mqtt-go_PR-203 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-203 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 09803946b1061887119f8356daeca5dbb16be082 Merge succeeded, producing 09803946b1061887119f8356daeca5dbb16be082 Checking out Revision 09803946b1061887119f8356daeca5dbb16be082 (PR-203) > git config core.sparsecheckout # timeout=10 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # 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 cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # 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-11T08:06:18.098Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T08:06:18.459Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T08:06:18.664Z] ========================================================= [2021-01-11T08:06:18.664Z] EdgeX Global Pipelines Version Info [2021-01-11T08:06:18.664Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:06:20.318Z] ------------------- [2021-01-11T08:06:20.318Z] stable info: [2021-01-11T08:06:20.318Z] ------------------- [2021-01-11T08:06:20.318Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T08:06:20.318Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T08:06:20.318Z] Message: update stable to v1.0.173 [2021-01-11T08:06:21.265Z] ------------------- [2021-01-11T08:06:21.265Z] experimental info: [2021-01-11T08:06:21.265Z] ------------------- [2021-01-11T08:06:21.265Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T08:06:21.265Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T08:06:21.265Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T08:06:21.690Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-11T08:06:21.834Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-11T08:06:21.962Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T08:06:22.110Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T08:06:22.243Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T08:06:22.384Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T08:06:22.506Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T08:06:22.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T08:06:22.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T08:06:22.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T08:06:23.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T08:06:23.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-11T08:06:23.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T08:06:23.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T08:06:23.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T08:06:23.709Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T08:06:23.840Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T08:06:23.991Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T08:06:24.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T08:06:24.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-11T08:06:24.462Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T08:06:24.580Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T08:06:24.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T08:06:24.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T08:06:24.956Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T08:06:25.089Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T08:06:25.213Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T08:06:25.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo [2021-01-11T08:06:25.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo [2021-01-11T08:06:25.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo [2021-01-11T08:06:25.699Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09803946b1061887119f8356daeca5dbb16be082 [Pipeline] echo [2021-01-11T08:06:25.823Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0980394 [Pipeline] echo [2021-01-11T08:06:25.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:06:26.207Z] provisioning config files... [2021-01-11T08:06:26.242Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/config4992508287190998760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:06:26.657Z] ---> docker-login.sh [2021-01-11T08:06:26.658Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:06:26.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:27.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:27.186Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:27.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:27.186Z] [2021-01-11T08:06:27.186Z] Login Succeeded [2021-01-11T08:06:27.186Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:06:27.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:27.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:27.449Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:27.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:27.449Z] [2021-01-11T08:06:27.449Z] Login Succeeded [2021-01-11T08:06:27.449Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:06:27.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:27.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:27.711Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:27.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:27.711Z] [2021-01-11T08:06:27.711Z] Login Succeeded [2021-01-11T08:06:27.711Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:06:27.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:27.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:27.712Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:27.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:27.712Z] [2021-01-11T08:06:27.712Z] Login Succeeded [2021-01-11T08:06:27.712Z] docker.io [2021-01-11T08:06:27.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:28.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:28.240Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:28.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:28.240Z] [2021-01-11T08:06:28.240Z] Login Succeeded [2021-01-11T08:06:28.240Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:06:28.275Z] 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-11T08:06:29.343Z] + git log --format=format:%s -1 09803946b1061887119f8356daeca5dbb16be082 [Pipeline] echo [2021-01-11T08:06:29.441Z] GIT_COMMIT: 09803946b1061887119f8356daeca5dbb16be082, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-11T08:06:29.515Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:06:30.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:06:30.209Z] [2021-01-11T08:06:30.209Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:06:30.604Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:06:30.604Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T08:06:30.604Z] 31603596830f: Pulling fs layer [2021-01-11T08:06:30.604Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T08:06:30.604Z] 6ca5941a6612: Pulling fs layer [2021-01-11T08:06:30.604Z] ecc8261a40a4: Pulling fs layer [2021-01-11T08:06:30.604Z] ecc8261a40a4: Waiting [2021-01-11T08:06:30.604Z] 2a8b12db71e7: Download complete [2021-01-11T08:06:30.604Z] 31603596830f: Verifying Checksum [2021-01-11T08:06:30.604Z] 31603596830f: Download complete [2021-01-11T08:06:30.873Z] 6ca5941a6612: Verifying Checksum [2021-01-11T08:06:30.873Z] 6ca5941a6612: Download complete [2021-01-11T08:06:31.142Z] ecc8261a40a4: Verifying Checksum [2021-01-11T08:06:31.142Z] ecc8261a40a4: Download complete [2021-01-11T08:06:31.142Z] 31603596830f: Pull complete [2021-01-11T08:06:31.142Z] 2a8b12db71e7: Pull complete [2021-01-11T08:06:32.141Z] 6ca5941a6612: Pull complete [2021-01-11T08:06:32.404Z] ecc8261a40a4: Pull complete [2021-01-11T08:06:32.404Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T08:06:32.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:06:32.404Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T08:06:32.569Z] prd-centos7-docker-4c-2g-19469 does not seem to be running inside a container [2021-01-11T08:06:32.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-203 -v /w/workspace/gexfoundry_device-mqtt-go_PR-203:/w/workspace/gexfoundry_device-mqtt-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-203@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-11T08:06:34.622Z] $ docker top 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T08:06:35.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T08:06:35.017Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T08:06:35.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T08:06:35.251Z] $ docker exec 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent [2021-01-11T08:06:35.428Z] SSH_AUTH_SOCK=/tmp/ssh-IEVY5NapH1LB/agent.11 [2021-01-11T08:06:35.428Z] SSH_AGENT_PID=17 [2021-01-11T08:06:35.442Z] Running ssh-add (command line suppressed) [2021-01-11T08:06:35.569Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_5510518580437723869.key (/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_5510518580437723869.key) [2021-01-11T08:06:35.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T08:06:36.016Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T08:06:36.054Z] $ docker exec --env ******** --env ******** 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent -k [2021-01-11T08:06:36.186Z] unset SSH_AUTH_SOCK; [2021-01-11T08:06:36.187Z] unset SSH_AGENT_PID; [2021-01-11T08:06:36.187Z] echo Agent pid 17 killed; [2021-01-11T08:06:36.236Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T08:06:36.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T08:06:36.430Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T08:06:36.607Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T08:06:36.613Z] $ docker exec 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent [2021-01-11T08:06:36.782Z] SSH_AUTH_SOCK=/tmp/ssh-4mP3e3LJfeuy/agent.45 [2021-01-11T08:06:36.782Z] SSH_AGENT_PID=51 [2021-01-11T08:06:36.789Z] Running ssh-add (command line suppressed) [2021-01-11T08:06:36.916Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_7331821911419576838.key (/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_7331821911419576838.key) [2021-01-11T08:06:36.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T08:06:37.380Z] + git semver init [2021-01-11T08:06:37.380Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T08:06:37.380Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-203/.git [2021-01-11T08:06:37.380Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-203 [2021-01-11T08:06:37.380Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T08:06:37.380Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T08:06:37.380Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T08:06:37.380Z] # $SEMVER_BRANCH = PR-203 [2021-01-11T08:06:37.380Z] # $SEMVER_TEMP = /tmp/semver-889737970 [2021-01-11T08:06:37.380Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-11T08:06:37.957Z] # '/tmp/semver-889737970' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-203/.semver' [2021-01-11T08:06:37.957Z] # -> Force: false [2021-01-11T08:06:37.957Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-203/.semver [Pipeline] } [2021-01-11T08:06:37.996Z] $ docker exec --env ******** --env ******** 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent -k [2021-01-11T08:06:38.132Z] unset SSH_AUTH_SOCK; [2021-01-11T08:06:38.133Z] unset SSH_AGENT_PID; [2021-01-11T08:06:38.133Z] echo Agent pid 51 killed; [2021-01-11T08:06:38.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T08:06:38.753Z] + git semver [Pipeline] } [2021-01-11T08:06:38.784Z] $ docker stop --time=1 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 [2021-01-11T08:06:40.159Z] $ docker rm -f 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T08:06:40.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T08:06:41.218Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T08:06:41.248Z] [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-11T08:06:57.361Z] Still waiting to schedule task [2021-01-11T08:06:57.361Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19470’ is offline; ‘prd-centos7-docker-4c-2g-19471’ is offline; ‘prd-centos7-docker-4c-2g-19472’ is offline; ‘prd-centos7-docker-4c-2g-19473’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-11T08:06:57.392Z] Still waiting to schedule task [2021-01-11T08:06:57.392Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-11T08:07:58.250Z] Running on prd-centos7-docker-4c-2g-19476 in /w/workspace/gexfoundry_device-mqtt-go_PR-203 [Pipeline] { [Pipeline] ws [2021-01-11T08:07:58.350Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T08:08:01.406Z] using credential edgex-jenkins-ssh [2021-01-11T08:08:01.483Z] Cloning the remote Git repository [2021-01-11T08:08:01.512Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:01.603Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-11T08:08:01.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:01.677Z] > git --version # timeout=10 [2021-01-11T08:08:01.688Z] > git --version # 'git version 2.24.3' [2021-01-11T08:08:01.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:01.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:08:03.868Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:08:03.881Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:08:03.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:08:03.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:03.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:03.917Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T08:08:04.565Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 09803946b1061887119f8356daeca5dbb16be082 [2021-01-11T08:08:04.644Z] Merge succeeded, producing 09803946b1061887119f8356daeca5dbb16be082 [2021-01-11T08:08:04.644Z] Checking out Revision 09803946b1061887119f8356daeca5dbb16be082 (PR-203) [2021-01-11T08:08:04.574Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:08:04.581Z] > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 [2021-01-11T08:08:04.614Z] > git remote # timeout=10 [2021-01-11T08:08:04.620Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T08:08:04.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:04.628Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-11T08:08:04.638Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T08:08:04.648Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:08:04.653Z] > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 [2021-01-11T08:08:08.331Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T08:08:08.362Z] > git --version # timeout=10 [2021-01-11T08:08:08.367Z] > git --version # 'git version 2.24.3' [2021-01-11T08:08:08.374Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T08:08:10.077Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:08:10.482Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:08:10.830Z] + sudo service docker restart [2021-01-11T08:08:10.830Z] + true [2021-01-11T08:08:10.830Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:08:12.383Z] provisioning config files... [2021-01-11T08:08:12.413Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8579224287945258999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:08:12.837Z] ---> docker-login.sh [2021-01-11T08:08:12.838Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:08:13.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.364Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.364Z] [2021-01-11T08:08:13.364Z] Login Succeeded [2021-01-11T08:08:13.364Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:08:13.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.364Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.364Z] [2021-01-11T08:08:13.364Z] Login Succeeded [2021-01-11T08:08:13.364Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:08:13.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.628Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.628Z] [2021-01-11T08:08:13.628Z] Login Succeeded [2021-01-11T08:08:13.628Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:08:13.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.890Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.890Z] [2021-01-11T08:08:13.890Z] Login Succeeded [2021-01-11T08:08:13.890Z] docker.io [2021-01-11T08:08:13.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:14.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:14.153Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:14.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:14.153Z] [2021-01-11T08:08:14.153Z] Login Succeeded [2021-01-11T08:08:14.153Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:08:14.176Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T08:08:14.725Z] ========================================================= [2021-01-11T08:08:14.725Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T08:08:14.725Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:08:15.105Z] + 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-11T08:08:15.105Z] Sending build context to Docker daemon 493.1kB [2021-01-11T08:08:15.105Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T08:08:15.105Z] Step 2/8 : FROM ${BASE} [2021-01-11T08:08:15.366Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T08:08:15.366Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T08:08:15.366Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T08:08:15.366Z] de9db76c5a1d: Pulling fs layer [2021-01-11T08:08:15.366Z] bca2f99d35d6: Pulling fs layer [2021-01-11T08:08:15.366Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T08:08:15.366Z] 7c6f9722023f: Pulling fs layer [2021-01-11T08:08:15.366Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T08:08:15.366Z] bca2f99d35d6: Waiting [2021-01-11T08:08:15.366Z] 93359f2a8cfa: Waiting [2021-01-11T08:08:15.366Z] 7c6f9722023f: Waiting [2021-01-11T08:08:15.366Z] a35cf1a2eb13: Waiting [2021-01-11T08:08:15.366Z] de9db76c5a1d: Download complete [2021-01-11T08:08:15.366Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T08:08:15.366Z] 0ef7d3d256c8: Download complete [2021-01-11T08:08:15.366Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T08:08:15.366Z] 93359f2a8cfa: Download complete [2021-01-11T08:08:15.366Z] 7c6f9722023f: Verifying Checksum [2021-01-11T08:08:15.366Z] 7c6f9722023f: Download complete [2021-01-11T08:08:15.634Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T08:08:15.634Z] 188c0c94c7c5: Download complete [2021-01-11T08:08:15.900Z] 188c0c94c7c5: Pull complete [2021-01-11T08:08:15.900Z] 0ef7d3d256c8: Pull complete [2021-01-11T08:08:16.165Z] de9db76c5a1d: Pull complete [2021-01-11T08:08:19.579Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T08:08:19.579Z] a35cf1a2eb13: Download complete [2021-01-11T08:08:19.844Z] bca2f99d35d6: Verifying Checksum [2021-01-11T08:08:19.844Z] bca2f99d35d6: Download complete [2021-01-11T08:08:26.619Z] bca2f99d35d6: Pull complete [2021-01-11T08:08:26.619Z] 93359f2a8cfa: Pull complete [2021-01-11T08:08:26.619Z] 7c6f9722023f: Pull complete [2021-01-11T08:08:33.249Z] a35cf1a2eb13: Pull complete [2021-01-11T08:08:33.249Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T08:08:33.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T08:08:33.249Z] ---> a62c8e92a672 [2021-01-11T08:08:33.249Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T08:08:33.249Z] ---> Running in 0f60bd6e708a [2021-01-11T08:08:33.249Z] Removing intermediate container 0f60bd6e708a [2021-01-11T08:08:33.249Z] ---> 5a2437777b5f [2021-01-11T08:08:33.249Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T08:08:33.249Z] ---> Running in 05457698799f [2021-01-11T08:08:34.680Z] Removing intermediate container 05457698799f [2021-01-11T08:08:34.680Z] ---> 72bf7b927dda [2021-01-11T08:08:34.680Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T08:08:34.680Z] ---> Running in 00583249561f [2021-01-11T08:08:35.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T08:08:36.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T08:08:37.530Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T08:08:37.795Z] (2/14) Installing file (5.38-r0) [2021-01-11T08:08:37.795Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T08:08:37.795Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T08:08:50.112Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T08:08:50.112Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T08:08:50.112Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T08:08:50.112Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T08:08:50.112Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T08:08:50.112Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T08:08:50.377Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T08:08:50.377Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T08:08:50.642Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T08:08:50.907Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T08:08:50.907Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T08:08:51.169Z] OK: 237 MiB in 53 packages [2021-01-11T08:08:54.710Z] Removing intermediate container 00583249561f [2021-01-11T08:08:54.710Z] ---> 1fa51f5b5e02 [2021-01-11T08:08:54.710Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T08:08:54.710Z] ---> Running in 12fba2b7ed1e [2021-01-11T08:08:54.710Z] Removing intermediate container 12fba2b7ed1e [2021-01-11T08:08:54.710Z] ---> 664990de1459 [2021-01-11T08:08:54.710Z] Step 7/8 : COPY . . [2021-01-11T08:08:55.672Z] ---> 2398894bc148 [2021-01-11T08:08:55.672Z] Step 8/8 : RUN go mod download [2021-01-11T08:08:55.672Z] ---> Running in 7379e059f42b [2021-01-11T08:09:17.756Z] Removing intermediate container 7379e059f42b [2021-01-11T08:09:17.756Z] ---> d7131e0086fd [2021-01-11T08:09:17.756Z] Successfully built d7131e0086fd [2021-01-11T08:09:17.756Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:09:18.116Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T08:09:18.116Z] . [Pipeline] withDockerContainer [2021-01-11T08:09:18.273Z] prd-centos7-docker-4c-2g-19476 does not seem to be running inside a container [2021-01-11T08:09:18.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-x86_64 cat [2021-01-11T08:09:19.154Z] $ docker top 5e7ebf39a639bbcacd0daae6bbdba517d80ccc3b2c4114a26180f2d2bd36b67a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:09:19.745Z] + go version [2021-01-11T08:09:19.745Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T08:09:19.780Z] $ docker stop --time=1 5e7ebf39a639bbcacd0daae6bbdba517d80ccc3b2c4114a26180f2d2bd36b67a [2021-01-11T08:09:21.670Z] $ docker rm -f 5e7ebf39a639bbcacd0daae6bbdba517d80ccc3b2c4114a26180f2d2bd36b67a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:09:22.745Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T08:09:22.745Z] . [Pipeline] withDockerContainer [2021-01-11T08:09:22.870Z] prd-centos7-docker-4c-2g-19476 does not seem to be running inside a container [2021-01-11T08:09:22.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-x86_64 cat [2021-01-11T08:09:23.590Z] $ docker top 588da14c30a68b544fbf09beca68c85d9045b82da342959910cacf5583a7313a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:09:24.165Z] + make test [2021-01-11T08:09:24.165Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T08:09:25.586Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T08:09:32.259Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T08:09:32.259Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T08:09:32.259Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T08:09:32.259Z] have (string, bool, string, string) [2021-01-11T08:09:32.259Z] want (string, string) [2021-01-11T08:09:36.560Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-11T08:09:36.560Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-11T08:09:36.630Z] $ docker stop --time=1 588da14c30a68b544fbf09beca68c85d9045b82da342959910cacf5583a7313a [2021-01-11T08:09:39.059Z] $ docker rm -f 588da14c30a68b544fbf09beca68c85d9045b82da342959910cacf5583a7313a [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-11T08:09:41.634Z] Failed in branch amd64 [2021-01-11T08:10:09.137Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19483 in /w/workspace/gexfoundry_device-mqtt-go_PR-203 [Pipeline] { [Pipeline] ws [2021-01-11T08:10:09.234Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T08:10:15.286Z] using credential edgex-jenkins-ssh [2021-01-11T08:10:15.344Z] Cloning the remote Git repository [2021-01-11T08:10:15.434Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:10:15.564Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-11T08:10:15.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:10:15.663Z] > git --version # timeout=10 [2021-01-11T08:10:15.692Z] > git --version # 'git version 2.17.1' [2021-01-11T08:10:15.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:10:15.794Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:10:16.843Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:10:16.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:10:16.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:10:16.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:10:16.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:10:16.964Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T08:10:17.483Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 09803946b1061887119f8356daeca5dbb16be082 [2021-01-11T08:10:17.833Z] Merge succeeded, producing 09803946b1061887119f8356daeca5dbb16be082 [2021-01-11T08:10:17.834Z] Checking out Revision 09803946b1061887119f8356daeca5dbb16be082 (PR-203) [2021-01-11T08:10:17.510Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:10:17.533Z] > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 [2021-01-11T08:10:17.635Z] > git remote # timeout=10 [2021-01-11T08:10:17.662Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T08:10:17.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:10:17.756Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-11T08:10:17.801Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T08:10:17.849Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:10:17.880Z] > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 [2021-01-11T08:10:22.506Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T08:10:22.579Z] > git --version # timeout=10 [2021-01-11T08:10:22.605Z] > git --version # 'git version 2.17.1' [2021-01-11T08:10:22.621Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T08:10:24.525Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:10:24.959Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:10:25.330Z] + true [2021-01-11T08:10:25.330Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:10:28.115Z] provisioning config files... [2021-01-11T08:10:28.154Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5460766802105691514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:10:28.611Z] ---> docker-login.sh [2021-01-11T08:10:28.611Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:10:29.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:29.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:29.876Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:29.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:29.876Z] [2021-01-11T08:10:29.876Z] Login Succeeded [2021-01-11T08:10:29.876Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:10:30.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:30.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:30.431Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:30.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:30.431Z] [2021-01-11T08:10:30.431Z] Login Succeeded [2021-01-11T08:10:30.431Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:10:30.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:30.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:30.707Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:30.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:30.707Z] [2021-01-11T08:10:30.707Z] Login Succeeded [2021-01-11T08:10:30.707Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:10:31.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:31.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:31.304Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:31.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:31.304Z] [2021-01-11T08:10:31.304Z] Login Succeeded [2021-01-11T08:10:31.304Z] docker.io [2021-01-11T08:10:31.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:32.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:32.194Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:32.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:32.194Z] [2021-01-11T08:10:32.194Z] Login Succeeded [2021-01-11T08:10:32.194Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:10:32.236Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T08:10:32.805Z] ========================================================= [2021-01-11T08:10:32.805Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T08:10:32.805Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:10:33.237Z] + 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-11T08:10:33.513Z] Sending build context to Docker daemon 492kB [2021-01-11T08:10:33.513Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T08:10:33.513Z] Step 2/8 : FROM ${BASE} [2021-01-11T08:10:33.513Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T08:10:33.513Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T08:10:33.513Z] a4357932f1b6: Pulling fs layer [2021-01-11T08:10:33.513Z] 18c013af1878: Pulling fs layer [2021-01-11T08:10:33.513Z] 00ac8860ef70: Pulling fs layer [2021-01-11T08:10:33.513Z] 63d7cb157983: Pulling fs layer [2021-01-11T08:10:33.513Z] b116817d02f9: Pulling fs layer [2021-01-11T08:10:33.513Z] 745a02a5169b: Pulling fs layer [2021-01-11T08:10:33.513Z] 63d7cb157983: Waiting [2021-01-11T08:10:33.513Z] 745a02a5169b: Waiting [2021-01-11T08:10:33.513Z] 00ac8860ef70: Waiting [2021-01-11T08:10:33.513Z] b116817d02f9: Waiting [2021-01-11T08:10:33.786Z] 18c013af1878: Verifying Checksum [2021-01-11T08:10:33.786Z] 18c013af1878: Download complete [2021-01-11T08:10:33.786Z] a4357932f1b6: Verifying Checksum [2021-01-11T08:10:33.786Z] a4357932f1b6: Download complete [2021-01-11T08:10:33.786Z] 63d7cb157983: Verifying Checksum [2021-01-11T08:10:33.786Z] 63d7cb157983: Download complete [2021-01-11T08:10:33.786Z] b116817d02f9: Verifying Checksum [2021-01-11T08:10:33.786Z] b116817d02f9: Download complete [2021-01-11T08:10:33.786Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T08:10:33.786Z] 5f621e34cdf4: Download complete [2021-01-11T08:10:34.399Z] 5f621e34cdf4: Pull complete [2021-01-11T08:10:35.045Z] a4357932f1b6: Pull complete [2021-01-11T08:10:35.655Z] 18c013af1878: Pull complete [2021-01-11T08:10:36.260Z] 745a02a5169b: Verifying Checksum [2021-01-11T08:10:36.260Z] 745a02a5169b: Download complete [2021-01-11T08:10:37.247Z] 00ac8860ef70: Verifying Checksum [2021-01-11T08:10:37.247Z] 00ac8860ef70: Download complete [2021-01-11T08:10:49.691Z] 00ac8860ef70: Pull complete [2021-01-11T08:10:49.691Z] 63d7cb157983: Pull complete [2021-01-11T08:10:49.691Z] b116817d02f9: Pull complete [2021-01-11T08:10:53.104Z] 745a02a5169b: Pull complete [2021-01-11T08:10:53.104Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T08:10:53.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T08:10:53.104Z] ---> b7e6874047d6 [2021-01-11T08:10:53.104Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T08:10:55.755Z] ---> Running in ab48eb152777 [2021-01-11T08:10:56.359Z] Removing intermediate container ab48eb152777 [2021-01-11T08:10:56.359Z] ---> e81482d504e7 [2021-01-11T08:10:56.359Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T08:10:56.648Z] ---> Running in 07b36a44acf1 [2021-01-11T08:10:59.303Z] Removing intermediate container 07b36a44acf1 [2021-01-11T08:10:59.303Z] ---> 6c37e3421cc2 [2021-01-11T08:10:59.303Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T08:10:59.303Z] ---> Running in 436ddebfee47 [2021-01-11T08:11:00.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T08:11:01.382Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T08:11:02.824Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T08:11:03.422Z] (2/14) Installing file (5.38-r0) [2021-01-11T08:11:03.422Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T08:11:03.697Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T08:11:18.802Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T08:11:18.802Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T08:11:18.802Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T08:11:18.802Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T08:11:18.802Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T08:11:18.802Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T08:11:19.404Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T08:11:19.404Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T08:11:19.404Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T08:11:19.677Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T08:11:19.952Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T08:11:19.952Z] OK: 221 MiB in 53 packages [2021-01-11T08:11:24.315Z] Removing intermediate container 436ddebfee47 [2021-01-11T08:11:24.315Z] ---> cfde0642f06f [2021-01-11T08:11:24.315Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T08:11:24.587Z] ---> Running in d0410c99825c [2021-01-11T08:11:24.866Z] Removing intermediate container d0410c99825c [2021-01-11T08:11:24.866Z] ---> f466c9cbcd08 [2021-01-11T08:11:24.866Z] Step 7/8 : COPY . . [2021-01-11T08:11:25.857Z] ---> a0b9b23f8093 [2021-01-11T08:11:25.857Z] Step 8/8 : RUN go mod download [2021-01-11T08:11:25.857Z] ---> Running in a538fec697e7 [2021-01-11T08:11:52.727Z] Removing intermediate container a538fec697e7 [2021-01-11T08:11:52.727Z] ---> 551646e863c1 [2021-01-11T08:11:52.727Z] Successfully built 551646e863c1 [2021-01-11T08:11:52.727Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:11:53.132Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T08:11:53.132Z] . [Pipeline] withDockerContainer [2021-01-11T08:11:53.478Z] prd-ubuntu18.04-docker-arm64-4c-16g-19483 does not seem to be running inside a container [2021-01-11T08:11:53.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-arm64 cat [2021-01-11T08:11:55.371Z] $ docker top ba8059c1e397f7ee6fea61541743d81e0a0f8ee461faebf25cf5aa8714c9575b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:11:56.494Z] + go version [2021-01-11T08:11:56.494Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T08:11:56.558Z] $ docker stop --time=1 ba8059c1e397f7ee6fea61541743d81e0a0f8ee461faebf25cf5aa8714c9575b [2021-01-11T08:11:58.634Z] $ docker rm -f ba8059c1e397f7ee6fea61541743d81e0a0f8ee461faebf25cf5aa8714c9575b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:11:59.878Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T08:11:59.878Z] . [Pipeline] withDockerContainer [2021-01-11T08:12:00.147Z] prd-ubuntu18.04-docker-arm64-4c-16g-19483 does not seem to be running inside a container [2021-01-11T08:12:00.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-arm64 cat [2021-01-11T08:12:01.782Z] $ docker top 9099c56a9d0024e7dcc5061a8a0e3c51e858bed59169d33e79cf4b4615dd1158 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:12:02.861Z] + make test [2021-01-11T08:12:02.861Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T08:12:04.305Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T08:12:31.236Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T08:12:31.236Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T08:12:31.236Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T08:12:31.236Z] have (string, bool, string, string) [2021-01-11T08:12:31.236Z] want (string, string) [2021-01-11T08:12:43.864Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-11T08:12:43.864Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-11T08:12:43.939Z] $ docker stop --time=1 9099c56a9d0024e7dcc5061a8a0e3c51e858bed59169d33e79cf4b4615dd1158 [2021-01-11T08:12:46.302Z] $ docker rm -f 9099c56a9d0024e7dcc5061a8a0e3c51e858bed59169d33e79cf4b4615dd1158 [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-11T08:12:48.847Z] 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-11T08:12:53.367Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:12:53.981Z] ---> package-listing.sh [2021-01-11T08:12:53.981Z] ++ facter osfamily [2021-01-11T08:12:53.981Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T08:12:53.981Z] + OS_FAMILY=redhat [2021-01-11T08:12:53.981Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-203 [2021-01-11T08:12:53.981Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T08:12:53.981Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T08:12:53.981Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T08:12:53.981Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T08:12:53.981Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-203 ']' [2021-01-11T08:12:53.981Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T08:12:53.981Z] + case "${OS_FAMILY}" in [2021-01-11T08:12:53.981Z] + rpm -qa [2021-01-11T08:12:53.981Z] + sort [2021-01-11T08:13:00.614Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T08:13:00.614Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T08:13:00.614Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T08:13:00.614Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-203 ']' [2021-01-11T08:13:00.614Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-203/archives/ [2021-01-11T08:13:00.614Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-203/archives/ [Pipeline] echo [2021-01-11T08:13:00.651Z] 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/gexfoundry_device-mqtt-go_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-11T08:13:00.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:13:01.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:13:01.318Z] [2021-01-11T08:13:01.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:13:01.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:13:01.739Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T08:13:01.739Z] df20fa9351a1: Pulling fs layer [2021-01-11T08:13:01.739Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T08:13:01.739Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T08:13:01.739Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T08:13:01.739Z] 93b61091891f: Pulling fs layer [2021-01-11T08:13:01.739Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T08:13:01.739Z] 5e14af77c1be: Pulling fs layer [2021-01-11T08:13:01.739Z] 01666e4c0597: Pulling fs layer [2021-01-11T08:13:01.739Z] aa168da1d23b: Pulling fs layer [2021-01-11T08:13:01.739Z] 93b61091891f: Waiting [2021-01-11T08:13:01.739Z] 93b9cdb0e59b: Waiting [2021-01-11T08:13:01.739Z] 5e14af77c1be: Waiting [2021-01-11T08:13:01.739Z] 01666e4c0597: Waiting [2021-01-11T08:13:01.739Z] aa168da1d23b: Waiting [2021-01-11T08:13:01.739Z] 46f8f816bc3b: Waiting [2021-01-11T08:13:01.739Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T08:13:01.739Z] 36b3adc4ff6f: Download complete [2021-01-11T08:13:01.739Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T08:13:01.739Z] 46f8f816bc3b: Download complete [2021-01-11T08:13:02.007Z] df20fa9351a1: Download complete [2021-01-11T08:13:02.007Z] 93b9cdb0e59b: Download complete [2021-01-11T08:13:02.007Z] 5e14af77c1be: Verifying Checksum [2021-01-11T08:13:02.007Z] 5e14af77c1be: Download complete [2021-01-11T08:13:02.007Z] 93b61091891f: Verifying Checksum [2021-01-11T08:13:02.007Z] 93b61091891f: Download complete [2021-01-11T08:13:02.007Z] 01666e4c0597: Verifying Checksum [2021-01-11T08:13:02.007Z] 01666e4c0597: Download complete [2021-01-11T08:13:02.271Z] df20fa9351a1: Pull complete [2021-01-11T08:13:02.534Z] 36b3adc4ff6f: Pull complete [2021-01-11T08:13:02.534Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T08:13:02.534Z] 8ad3a11d3b57: Download complete [2021-01-11T08:13:03.507Z] 8ad3a11d3b57: Pull complete [2021-01-11T08:13:03.507Z] 46f8f816bc3b: Pull complete [2021-01-11T08:13:04.098Z] 93b61091891f: Pull complete [2021-01-11T08:13:04.359Z] aa168da1d23b: Verifying Checksum [2021-01-11T08:13:04.359Z] aa168da1d23b: Download complete [2021-01-11T08:13:04.621Z] 93b9cdb0e59b: Pull complete [2021-01-11T08:13:04.897Z] 5e14af77c1be: Pull complete [2021-01-11T08:13:04.897Z] 01666e4c0597: Pull complete [2021-01-11T08:13:11.523Z] aa168da1d23b: Pull complete [2021-01-11T08:13:11.523Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T08:13:11.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:13:11.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T08:13:11.790Z] prd-centos7-docker-4c-2g-19469 does not seem to be running inside a container [2021-01-11T08:13:11.852Z] $ 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/gexfoundry_device-mqtt-go_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-203 -v /w/workspace/gexfoundry_device-mqtt-go_PR-203:/w/workspace/gexfoundry_device-mqtt-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-203@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-11T08:13:15.468Z] $ docker top a4c2522eab311bc8c0ad1ba9f5fb45e3fe7d79dcd83709e593d4459c155f4342 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:13:16.026Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T08:13:16.345Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T08:13:16.675Z] + ls /var/log/sa-host [2021-01-11T08:13:16.675Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T08:13:16.675Z] file_magic: OK [2021-01-11T08:13:16.675Z] HZ: Using current value: 100 [2021-01-11T08:13:16.675Z] file_header: OK [2021-01-11T08:13:16.675Z] 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-11T08:13:16.675Z] Statistics: [2021-01-11T08:13:16.675Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T08:13:16.675Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T08:13:16.675Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T08:13:16.675Z] file_magic: OK [2021-01-11T08:13:16.675Z] HZ: Using current value: 100 [2021-01-11T08:13:16.675Z] file_header: OK [2021-01-11T08:13:16.675Z] 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-11T08:13:16.675Z] Statistics: [2021-01-11T08:13:16.675Z] Hnuu...uuuununununu... [2021-01-11T08:13:16.675Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T08:13:16.962Z] provisioning config files... [2021-01-11T08:13:16.982Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/config8696814549016506551tmp [Pipeline] { [Pipeline] echo [2021-01-11T08:13:17.148Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:17.522Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T08:13:17.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T08:13:17.702Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:18.038Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T08:13:18.071Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:18.409Z] ---> sudo-logs.sh [2021-01-11T08:13:18.409Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T08:13:18.445Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:18.788Z] ---> job-cost.sh [2021-01-11T08:13:18.788Z] lf-activate-venv: SKIPPING [2021-01-11T08:13:18.788Z] INFO: No Stack... [2021-01-11T08:13:19.736Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T08:13:20.316Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T08:13:20.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:20.685Z] ---> logs-deploy.sh [2021-01-11T08:13:20.685Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-203/1 [2021-01-11T08:13:20.685Z] INFO: archiving workspace using pattern(s): [2021-01-11T08:13:22.617Z] Archives upload complete. [2021-01-11T08:13:22.617Z] INFO: archiving logs to Nexus