Pull request #193 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2+fcf415a52e09a542e74d978699b87b5b4fab4063 (80a6299188373d84faefedce888d7d239eb5de18) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-193/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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-193/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15839 in /w/workspace/gexfoundry_device-mqtt-go_PR-193 [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-193 # 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/193/head:refs/remotes/origin/PR-193 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 Merge succeeded, producing 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 Checking out Revision 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 (PR-193) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 # 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 fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 # 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-14T06:23:14.653Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-14T06:23:15.015Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-14T06:23:15.202Z] ========================================================= [2020-12-14T06:23:15.202Z] EdgeX Global Pipelines Version Info [2020-12-14T06:23:15.202Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:23:16.690Z] ------------------- [2020-12-14T06:23:16.690Z] stable info: [2020-12-14T06:23:16.690Z] ------------------- [2020-12-14T06:23:16.690Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:23:16.690Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:23:16.690Z] Message: update stable to v1.0.172 [2020-12-14T06:23:17.665Z] ------------------- [2020-12-14T06:23:17.666Z] experimental info: [2020-12-14T06:23:17.666Z] ------------------- [2020-12-14T06:23:17.666Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:23:17.666Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:23:17.666Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-14T06:23:18.033Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-12-14T06:23:18.155Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-12-14T06:23:18.280Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-14T06:23:18.411Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-14T06:23:18.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-14T06:23:18.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-14T06:23:18.874Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-14T06:23:19.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-14T06:23:19.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-14T06:23:19.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-14T06:23:19.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-14T06:23:19.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-12-14T06:23:19.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-14T06:23:19.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-14T06:23:20.023Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T06:23:20.178Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T06:23:20.308Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:23:20.455Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:23:20.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-14T06:23:20.698Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-14T06:23:20.820Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-14T06:23:20.944Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-14T06:23:21.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-14T06:23:21.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-14T06:23:21.309Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-14T06:23:21.443Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-14T06:23:21.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-193 [Pipeline] echo [2020-12-14T06:23:21.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-193 [Pipeline] echo [2020-12-14T06:23:21.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-193 [Pipeline] echo [2020-12-14T06:23:21.981Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 [Pipeline] echo [2020-12-14T06:23:22.113Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d1b1d4 [Pipeline] echo [2020-12-14T06:23:22.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:23:22.481Z] provisioning config files... [2020-12-14T06:23:22.512Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp/config5366291626461270990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:23:22.922Z] ---> docker-login.sh [2020-12-14T06:23:22.922Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:23:23.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:23.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:23.184Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:23.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:23.184Z] [2020-12-14T06:23:23.184Z] Login Succeeded [2020-12-14T06:23:23.184Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:23:23.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:23.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:23.449Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:23.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:23.449Z] [2020-12-14T06:23:23.449Z] Login Succeeded [2020-12-14T06:23:23.449Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:23:23.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:23.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:23.449Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:23.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:23.449Z] [2020-12-14T06:23:23.449Z] Login Succeeded [2020-12-14T06:23:23.449Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:23:23.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:23.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:23.709Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:23.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:23.709Z] [2020-12-14T06:23:23.709Z] Login Succeeded [2020-12-14T06:23:23.709Z] docker.io [2020-12-14T06:23:23.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:23:24.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:23:24.283Z] Configure a credential helper to remove this warning. See [2020-12-14T06:23:24.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:23:24.283Z] [2020-12-14T06:23:24.283Z] Login Succeeded [2020-12-14T06:23:24.283Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:23:24.311Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:23:25.406Z] + git log --format=format:%s -1 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 [Pipeline] echo [2020-12-14T06:23:25.499Z] GIT_COMMIT: 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-14T06:23:25.567Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:23:26.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:23:26.178Z] [2020-12-14T06:23:26.178Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:23:26.577Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:23:26.577Z] latest: Pulling from edgex-devops/git-semver [2020-12-14T06:23:26.577Z] 31603596830f: Pulling fs layer [2020-12-14T06:23:26.577Z] 2a8b12db71e7: Pulling fs layer [2020-12-14T06:23:26.577Z] 6ca5941a6612: Pulling fs layer [2020-12-14T06:23:26.577Z] ecc8261a40a4: Pulling fs layer [2020-12-14T06:23:26.577Z] ecc8261a40a4: Waiting [2020-12-14T06:23:26.577Z] 2a8b12db71e7: Download complete [2020-12-14T06:23:26.844Z] ecc8261a40a4: Verifying Checksum [2020-12-14T06:23:26.844Z] ecc8261a40a4: Download complete [2020-12-14T06:23:26.844Z] 6ca5941a6612: Verifying Checksum [2020-12-14T06:23:26.844Z] 6ca5941a6612: Download complete [2020-12-14T06:23:26.844Z] 31603596830f: Verifying Checksum [2020-12-14T06:23:26.844Z] 31603596830f: Download complete [2020-12-14T06:23:27.109Z] 31603596830f: Pull complete [2020-12-14T06:23:27.375Z] 2a8b12db71e7: Pull complete [2020-12-14T06:23:28.329Z] 6ca5941a6612: Pull complete [2020-12-14T06:23:28.329Z] ecc8261a40a4: Pull complete [2020-12-14T06:23:28.329Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-14T06:23:28.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:23:28.329Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-14T06:23:29.370Z] prd-centos7-docker-4c-2g-15839 does not seem to be running inside a container [2020-12-14T06:23:29.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-193 -v /w/workspace/gexfoundry_device-mqtt-go_PR-193:/w/workspace/gexfoundry_device-mqtt-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-193@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-14T06:23:31.468Z] $ docker top 487801433b9a89ed4d8e8bbf7c60033284c208e03303cc88add9f0b8f4ece044 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T06:23:31.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:23:31.869Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:23:32.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:23:32.106Z] $ docker exec 487801433b9a89ed4d8e8bbf7c60033284c208e03303cc88add9f0b8f4ece044 ssh-agent [2020-12-14T06:23:32.286Z] SSH_AUTH_SOCK=/tmp/ssh-5bg19pWtyFOp/agent.11 [2020-12-14T06:23:32.286Z] SSH_AGENT_PID=16 [2020-12-14T06:23:32.301Z] Running ssh-add (command line suppressed) [2020-12-14T06:23:32.428Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp/private_key_5572790188022592435.key (/w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp/private_key_5572790188022592435.key) [2020-12-14T06:23:32.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:23:32.858Z] + git tag --points-at HEAD [Pipeline] } [2020-12-14T06:23:32.892Z] $ docker exec --env ******** --env ******** 487801433b9a89ed4d8e8bbf7c60033284c208e03303cc88add9f0b8f4ece044 ssh-agent -k [2020-12-14T06:23:33.014Z] unset SSH_AUTH_SOCK; [2020-12-14T06:23:33.015Z] unset SSH_AGENT_PID; [2020-12-14T06:23:33.015Z] echo Agent pid 16 killed; [2020-12-14T06:23:33.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-14T06:23:33.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:23:33.294Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:23:33.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:23:33.476Z] $ docker exec 487801433b9a89ed4d8e8bbf7c60033284c208e03303cc88add9f0b8f4ece044 ssh-agent [2020-12-14T06:23:33.634Z] SSH_AUTH_SOCK=/tmp/ssh-ENKxrsttQSuP/agent.47 [2020-12-14T06:23:33.634Z] SSH_AGENT_PID=52 [2020-12-14T06:23:33.641Z] Running ssh-add (command line suppressed) [2020-12-14T06:23:33.764Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp/private_key_7301696739510942063.key (/w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp/private_key_7301696739510942063.key) [2020-12-14T06:23:33.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:23:34.230Z] + git semver init [2020-12-14T06:23:34.230Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T06:23:34.230Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-193/.git [2020-12-14T06:23:34.230Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-193 [2020-12-14T06:23:34.230Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T06:23:34.230Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T06:23:34.230Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T06:23:34.230Z] # $SEMVER_BRANCH = PR-193 [2020-12-14T06:23:34.230Z] # $SEMVER_TEMP = /tmp/semver-640499129 [2020-12-14T06:23:34.230Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-12-14T06:23:34.804Z] # '/tmp/semver-640499129' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-193/.semver' [2020-12-14T06:23:34.804Z] # -> Force: false [2020-12-14T06:23:34.804Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-193/.semver [Pipeline] } [2020-12-14T06:23:34.829Z] $ docker exec --env ******** --env ******** 487801433b9a89ed4d8e8bbf7c60033284c208e03303cc88add9f0b8f4ece044 ssh-agent -k [2020-12-14T06:23:34.945Z] unset SSH_AUTH_SOCK; [2020-12-14T06:23:34.946Z] unset SSH_AGENT_PID; [2020-12-14T06:23:34.946Z] echo Agent pid 52 killed; [2020-12-14T06:23:34.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T06:23:35.585Z] + git semver [Pipeline] } [2020-12-14T06:23:35.617Z] $ docker stop --time=1 487801433b9a89ed4d8e8bbf7c60033284c208e03303cc88add9f0b8f4ece044 [2020-12-14T06:23:36.991Z] $ docker rm -f 487801433b9a89ed4d8e8bbf7c60033284c208e03303cc88add9f0b8f4ece044 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T06:23:37.501Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-14T06:23:37.928Z] Stashed 1 file(s) [Pipeline] echo [2020-12-14T06:23:37.949Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-14T06:23:53.807Z] Still waiting to schedule task [2020-12-14T06:23:53.807Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-14T06:23:53.832Z] Still waiting to schedule task [2020-12-14T06:23:53.832Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-14T06:25:40.855Z] Running on prd-centos7-docker-4c-2g-15842 in /w/workspace/gexfoundry_device-mqtt-go_PR-193 [Pipeline] { [Pipeline] ws [2020-12-14T06:25:40.951Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-12-14T06:25:44.008Z] using credential edgex-jenkins-ssh [2020-12-14T06:25:44.064Z] Cloning the remote Git repository [2020-12-14T06:25:44.111Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:25:44.183Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-14T06:25:44.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:25:44.246Z] > git --version # timeout=10 [2020-12-14T06:25:44.254Z] > git --version # 'git version 2.24.3' [2020-12-14T06:25:44.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:25:44.298Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:25:45.179Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 [2020-12-14T06:25:45.265Z] Merge succeeded, producing 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 [2020-12-14T06:25:45.265Z] Checking out Revision 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 (PR-193) [2020-12-14T06:25:44.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:25:44.811Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:25:44.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:25:44.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:25:44.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:25:44.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:25:45.189Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:25:45.194Z] > git checkout -f 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 # timeout=10 [2020-12-14T06:25:45.231Z] > git remote # timeout=10 [2020-12-14T06:25:45.237Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:25:45.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:25:45.248Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-14T06:25:45.259Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:25:45.270Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:25:45.276Z] > git checkout -f 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 # timeout=10 [2020-12-14T06:25:48.924Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-14T06:25:48.962Z] > git --version # timeout=10 [2020-12-14T06:25:48.970Z] > git --version # 'git version 2.24.3' [2020-12-14T06:25:48.978Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:25:50.576Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:25:50.971Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:25:51.309Z] + sudo service docker restart [2020-12-14T06:25:51.309Z] + true [2020-12-14T06:25:51.309Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:25:52.386Z] provisioning config files... [2020-12-14T06:25:52.417Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config634032332480492552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:25:52.840Z] ---> docker-login.sh [2020-12-14T06:25:52.840Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:25:53.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:53.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:53.373Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:53.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:53.373Z] [2020-12-14T06:25:53.373Z] Login Succeeded [2020-12-14T06:25:53.373Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:25:53.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:53.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:53.373Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:53.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:53.373Z] [2020-12-14T06:25:53.373Z] Login Succeeded [2020-12-14T06:25:53.373Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:25:53.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:53.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:53.638Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:53.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:53.638Z] [2020-12-14T06:25:53.638Z] Login Succeeded [2020-12-14T06:25:53.638Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:25:53.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:53.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:53.921Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:53.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:53.921Z] [2020-12-14T06:25:53.921Z] Login Succeeded [2020-12-14T06:25:53.921Z] docker.io [2020-12-14T06:25:53.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:25:54.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:25:54.185Z] Configure a credential helper to remove this warning. See [2020-12-14T06:25:54.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:25:54.185Z] [2020-12-14T06:25:54.185Z] Login Succeeded [2020-12-14T06:25:54.185Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:25:54.243Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T06:25:54.748Z] ========================================================= [2020-12-14T06:25:54.749Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-14T06:25:54.749Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:25:55.133Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-14T06:25:55.133Z] Sending build context to Docker daemon 485.9kB [2020-12-14T06:25:55.133Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T06:25:55.133Z] Step 2/8 : FROM ${BASE} [2020-12-14T06:25:55.400Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-14T06:25:55.400Z] 188c0c94c7c5: Pulling fs layer [2020-12-14T06:25:55.400Z] 0ef7d3d256c8: Pulling fs layer [2020-12-14T06:25:55.400Z] de9db76c5a1d: Pulling fs layer [2020-12-14T06:25:55.400Z] bca2f99d35d6: Pulling fs layer [2020-12-14T06:25:55.400Z] 93359f2a8cfa: Pulling fs layer [2020-12-14T06:25:55.400Z] 7c6f9722023f: Pulling fs layer [2020-12-14T06:25:55.400Z] a35cf1a2eb13: Pulling fs layer [2020-12-14T06:25:55.400Z] bca2f99d35d6: Waiting [2020-12-14T06:25:55.400Z] 7c6f9722023f: Waiting [2020-12-14T06:25:55.400Z] a35cf1a2eb13: Waiting [2020-12-14T06:25:55.400Z] 93359f2a8cfa: Waiting [2020-12-14T06:25:55.400Z] de9db76c5a1d: Download complete [2020-12-14T06:25:55.400Z] 0ef7d3d256c8: Verifying Checksum [2020-12-14T06:25:55.400Z] 0ef7d3d256c8: Download complete [2020-12-14T06:25:55.400Z] 93359f2a8cfa: Verifying Checksum [2020-12-14T06:25:55.400Z] 93359f2a8cfa: Download complete [2020-12-14T06:25:55.400Z] 7c6f9722023f: Verifying Checksum [2020-12-14T06:25:55.400Z] 7c6f9722023f: Download complete [2020-12-14T06:25:55.400Z] 188c0c94c7c5: Verifying Checksum [2020-12-14T06:25:55.400Z] 188c0c94c7c5: Download complete [2020-12-14T06:25:55.673Z] 188c0c94c7c5: Pull complete [2020-12-14T06:25:55.948Z] 0ef7d3d256c8: Pull complete [2020-12-14T06:25:55.948Z] de9db76c5a1d: Pull complete [2020-12-14T06:25:59.285Z] a35cf1a2eb13: Verifying Checksum [2020-12-14T06:25:59.285Z] a35cf1a2eb13: Download complete [2020-12-14T06:25:59.863Z] bca2f99d35d6: Verifying Checksum [2020-12-14T06:25:59.863Z] bca2f99d35d6: Download complete [2020-12-14T06:26:06.527Z] bca2f99d35d6: Pull complete [2020-12-14T06:26:06.527Z] 93359f2a8cfa: Pull complete [2020-12-14T06:26:06.527Z] 7c6f9722023f: Pull complete [2020-12-14T06:26:13.157Z] a35cf1a2eb13: Pull complete [2020-12-14T06:26:13.157Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-14T06:26:13.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-14T06:26:13.157Z] ---> a62c8e92a672 [2020-12-14T06:26:13.157Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-14T06:26:13.157Z] ---> Running in 29000e6d0d80 [2020-12-14T06:26:13.422Z] Removing intermediate container 29000e6d0d80 [2020-12-14T06:26:13.422Z] ---> a0842b474d4c [2020-12-14T06:26:13.422Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T06:26:13.422Z] ---> Running in d6471862596e [2020-12-14T06:26:14.842Z] Removing intermediate container d6471862596e [2020-12-14T06:26:14.842Z] ---> 9284dadaa34e [2020-12-14T06:26:14.842Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-14T06:26:14.842Z] ---> Running in 637a12055de5 [2020-12-14T06:26:15.796Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-14T06:26:16.747Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-14T06:26:17.011Z] (1/14) Installing libmagic (5.38-r0) [2020-12-14T06:26:17.276Z] (2/14) Installing file (5.38-r0) [2020-12-14T06:26:17.276Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-14T06:26:17.276Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-14T06:26:23.887Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-14T06:26:23.887Z] (6/14) Installing patch (2.7.6-r6) [2020-12-14T06:26:23.887Z] (7/14) Installing build-base (0.5-r2) [2020-12-14T06:26:23.887Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-14T06:26:23.887Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-14T06:26:23.887Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-14T06:26:24.153Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-14T06:26:24.416Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-14T06:26:24.416Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-14T06:26:24.682Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-14T06:26:24.682Z] Executing busybox-1.31.1-r19.trigger [2020-12-14T06:26:24.682Z] OK: 237 MiB in 53 packages [2020-12-14T06:26:28.012Z] Removing intermediate container 637a12055de5 [2020-12-14T06:26:28.012Z] ---> 78b9739b72e5 [2020-12-14T06:26:28.012Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-14T06:26:28.012Z] ---> Running in df79a3d9b443 [2020-12-14T06:26:28.275Z] Removing intermediate container df79a3d9b443 [2020-12-14T06:26:28.275Z] ---> 107fa02b1279 [2020-12-14T06:26:28.275Z] Step 7/8 : COPY . . [2020-12-14T06:26:29.226Z] ---> 7390c6b094c6 [2020-12-14T06:26:29.226Z] Step 8/8 : RUN go mod download [2020-12-14T06:26:29.226Z] ---> Running in 7a619f6b9287 [2020-12-14T06:26:51.265Z] Removing intermediate container 7a619f6b9287 [2020-12-14T06:26:51.265Z] ---> 2a7e66d6d254 [2020-12-14T06:26:51.265Z] Successfully built 2a7e66d6d254 [2020-12-14T06:26:51.265Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:26:51.462Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15843 in /w/workspace/gexfoundry_device-mqtt-go_PR-193 [Pipeline] { [Pipeline] ws [2020-12-14T06:26:51.565Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [2020-12-14T06:26:51.613Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:26:51.613Z] . [Pipeline] withDockerContainer [2020-12-14T06:26:51.779Z] prd-centos7-docker-4c-2g-15842 does not seem to be running inside a container [2020-12-14T06:26:51.843Z] $ 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 [2020-12-14T06:26:52.664Z] $ docker top 2bd819d71f8071c633b15714d8d2877b8c6c791a33c6adaf3d937eabef5a05bc -eo pid,comm [Pipeline] { [Pipeline] checkout [Pipeline] sh [2020-12-14T06:26:53.262Z] + go version [2020-12-14T06:26:53.262Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-14T06:26:53.294Z] $ docker stop --time=1 2bd819d71f8071c633b15714d8d2877b8c6c791a33c6adaf3d937eabef5a05bc [2020-12-14T06:26:54.657Z] $ docker rm -f 2bd819d71f8071c633b15714d8d2877b8c6c791a33c6adaf3d937eabef5a05bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:26:55.767Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:26:55.767Z] . [Pipeline] withDockerContainer [2020-12-14T06:26:55.882Z] prd-centos7-docker-4c-2g-15842 does not seem to be running inside a container [2020-12-14T06:26:55.932Z] $ 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 [2020-12-14T06:26:56.654Z] $ docker top 6ce7a0289033bba5f3d77c75adaf9b1d769cd36c3cf92bf8a1937e498cab045f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:26:57.202Z] + make test [2020-12-14T06:26:57.203Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-14T06:26:57.725Z] using credential edgex-jenkins-ssh [2020-12-14T06:26:57.784Z] Cloning the remote Git repository [2020-12-14T06:26:57.837Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:26:58.613Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-14T06:26:57.944Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-14T06:26:58.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:26:58.006Z] > git --version # timeout=10 [2020-12-14T06:26:58.025Z] > git --version # 'git version 2.17.1' [2020-12-14T06:26:58.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:26:58.096Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:26:58.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:26:58.899Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:26:58.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-14T06:26:58.970Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-14T06:26:58.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:26:58.988Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:26:59.445Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 [2020-12-14T06:26:59.764Z] Merge succeeded, producing 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 [2020-12-14T06:26:59.765Z] Checking out Revision 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 (PR-193) [2020-12-14T06:26:59.469Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:26:59.491Z] > git checkout -f 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 # timeout=10 [2020-12-14T06:26:59.583Z] > git remote # timeout=10 [2020-12-14T06:26:59.601Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:26:59.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:26:59.688Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-14T06:26:59.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:26:59.776Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:26:59.821Z] > git checkout -f 1d1b1d41a7c2a5e3c7e47de21dd1bf189d7705b2 # timeout=10 [2020-12-14T06:27:04.158Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-14T06:27:04.214Z] > git --version # timeout=10 [2020-12-14T06:27:04.222Z] > git --version # 'git version 2.17.1' [2020-12-14T06:27:04.234Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:27:05.952Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:27:06.425Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:27:06.794Z] + true [2020-12-14T06:27:06.794Z] + sudo service docker restart [2020-12-14T06:27:06.921Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-14T06:27:06.921Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-14T06:27:06.921Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:27:09.614Z] provisioning config files... [2020-12-14T06:27:09.658Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5415866229334227635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:27:10.129Z] ---> docker-login.sh [2020-12-14T06:27:10.129Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:27:10.291Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2020-12-14T06:27:10.291Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2020-12-14T06:27:10.344Z] $ docker stop --time=1 6ce7a0289033bba5f3d77c75adaf9b1d769cd36c3cf92bf8a1937e498cab045f [2020-12-14T06:27:10.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:27:11.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:27:11.343Z] Configure a credential helper to remove this warning. See [2020-12-14T06:27:11.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:27:11.343Z] [2020-12-14T06:27:11.343Z] Login Succeeded [2020-12-14T06:27:11.343Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:27:11.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:27:11.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:27:11.911Z] Configure a credential helper to remove this warning. See [2020-12-14T06:27:11.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:27:11.911Z] [2020-12-14T06:27:11.911Z] Login Succeeded [2020-12-14T06:27:11.911Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:27:12.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:27:12.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:27:12.461Z] Configure a credential helper to remove this warning. See [2020-12-14T06:27:12.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:27:12.461Z] [2020-12-14T06:27:12.461Z] Login Succeeded [2020-12-14T06:27:12.461Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:27:12.735Z] $ docker rm -f 6ce7a0289033bba5f3d77c75adaf9b1d769cd36c3cf92bf8a1937e498cab045f [2020-12-14T06:27:12.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:27:13.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:27:13.013Z] Configure a credential helper to remove this warning. See [2020-12-14T06:27:13.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:27:13.013Z] [2020-12-14T06:27:13.013Z] Login Succeeded [2020-12-14T06:27:13.013Z] docker.io [Pipeline] // withDockerContainer [2020-12-14T06:27:13.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // script [2020-12-14T06:27:13.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:27:13.563Z] Configure a credential helper to remove this warning. See [2020-12-14T06:27:13.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:27:13.563Z] [2020-12-14T06:27:13.563Z] Login Succeeded [2020-12-14T06:27:13.563Z] ---> docker-login.sh ends [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:27:13.718Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] stage [Pipeline] { (Build) [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] echo [2020-12-14T06:27:14.284Z] ========================================================= [2020-12-14T06:27:14.284Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-14T06:27:14.284Z] ========================================================= Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:27:14.911Z] + 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 . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2020-12-14T06:27:15.186Z] Sending build context to Docker daemon 484.9kB [2020-12-14T06:27:15.186Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-14T06:27:15.186Z] Step 2/8 : FROM ${BASE} [Pipeline] } [Pipeline] // ws [2020-12-14T06:27:15.468Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-14T06:27:15.468Z] 5f621e34cdf4: Pulling fs layer [2020-12-14T06:27:15.468Z] a4357932f1b6: Pulling fs layer [2020-12-14T06:27:15.468Z] 18c013af1878: Pulling fs layer [2020-12-14T06:27:15.468Z] 00ac8860ef70: Pulling fs layer [2020-12-14T06:27:15.468Z] 63d7cb157983: Pulling fs layer [2020-12-14T06:27:15.468Z] b116817d02f9: Pulling fs layer [2020-12-14T06:27:15.468Z] 745a02a5169b: Pulling fs layer [2020-12-14T06:27:15.468Z] 00ac8860ef70: Waiting [2020-12-14T06:27:15.468Z] 63d7cb157983: Waiting [2020-12-14T06:27:15.468Z] 745a02a5169b: Waiting [2020-12-14T06:27:15.468Z] b116817d02f9: Waiting [2020-12-14T06:27:15.468Z] 18c013af1878: Verifying Checksum [2020-12-14T06:27:15.468Z] 18c013af1878: Download complete [2020-12-14T06:27:15.468Z] a4357932f1b6: Verifying Checksum [2020-12-14T06:27:15.468Z] a4357932f1b6: Download complete [2020-12-14T06:27:15.468Z] 63d7cb157983: Verifying Checksum [2020-12-14T06:27:15.468Z] 63d7cb157983: Download complete [2020-12-14T06:27:15.468Z] b116817d02f9: Download complete [2020-12-14T06:27:15.468Z] 5f621e34cdf4: Verifying Checksum [2020-12-14T06:27:15.468Z] 5f621e34cdf4: Download complete [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:27:15.866Z] Failed in branch amd64 [2020-12-14T06:27:16.073Z] 5f621e34cdf4: Pull complete [2020-12-14T06:27:16.690Z] a4357932f1b6: Pull complete [2020-12-14T06:27:16.964Z] 18c013af1878: Pull complete [2020-12-14T06:27:17.944Z] 745a02a5169b: Verifying Checksum [2020-12-14T06:27:17.944Z] 745a02a5169b: Download complete [2020-12-14T06:27:18.924Z] 00ac8860ef70: Verifying Checksum [2020-12-14T06:27:18.924Z] 00ac8860ef70: Download complete [2020-12-14T06:27:29.109Z] 00ac8860ef70: Pull complete [2020-12-14T06:27:29.109Z] 63d7cb157983: Pull complete [2020-12-14T06:27:29.387Z] b116817d02f9: Pull complete [2020-12-14T06:27:33.727Z] 745a02a5169b: Pull complete [2020-12-14T06:27:33.727Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-14T06:27:33.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-14T06:27:33.727Z] ---> b7e6874047d6 [2020-12-14T06:27:33.727Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-14T06:27:35.718Z] ---> Running in 6634ab244aaa [2020-12-14T06:27:36.329Z] Removing intermediate container 6634ab244aaa [2020-12-14T06:27:36.329Z] ---> d09bf1d44fa9 [2020-12-14T06:27:36.329Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T06:27:36.329Z] ---> Running in 1c922f17035f [2020-12-14T06:27:38.958Z] Removing intermediate container 1c922f17035f [2020-12-14T06:27:38.958Z] ---> f6df7eb52cba [2020-12-14T06:27:38.958Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-14T06:27:38.958Z] ---> Running in a6fefedd295d [2020-12-14T06:27:39.943Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-14T06:27:40.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-14T06:27:41.515Z] (1/14) Installing libmagic (5.38-r0) [2020-12-14T06:27:41.515Z] (2/14) Installing file (5.38-r0) [2020-12-14T06:27:41.515Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-14T06:27:41.806Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-14T06:27:47.200Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-14T06:27:47.200Z] (6/14) Installing patch (2.7.6-r6) [2020-12-14T06:27:47.200Z] (7/14) Installing build-base (0.5-r2) [2020-12-14T06:27:47.200Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-14T06:27:47.200Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-14T06:27:47.200Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-14T06:27:47.790Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-14T06:27:47.790Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-14T06:27:47.790Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-14T06:27:48.061Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-14T06:27:48.061Z] Executing busybox-1.31.1-r19.trigger [2020-12-14T06:27:48.061Z] OK: 221 MiB in 53 packages [2020-12-14T06:27:52.384Z] Removing intermediate container a6fefedd295d [2020-12-14T06:27:52.384Z] ---> 89623f7088d7 [2020-12-14T06:27:52.384Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-14T06:27:52.384Z] ---> Running in 9fd30b6229c3 [2020-12-14T06:27:52.660Z] Removing intermediate container 9fd30b6229c3 [2020-12-14T06:27:52.660Z] ---> b02a94d9fae2 [2020-12-14T06:27:52.660Z] Step 7/8 : COPY . . [2020-12-14T06:27:53.665Z] ---> 25be7587582e [2020-12-14T06:27:53.665Z] Step 8/8 : RUN go mod download [2020-12-14T06:27:53.665Z] ---> Running in c32b6a81d779 [2020-12-14T06:28:15.881Z] Removing intermediate container c32b6a81d779 [2020-12-14T06:28:15.881Z] ---> 6ccc51f51462 [2020-12-14T06:28:15.881Z] Successfully built 6ccc51f51462 [2020-12-14T06:28:15.881Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:28:16.283Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:28:16.283Z] . [Pipeline] withDockerContainer [2020-12-14T06:28:16.553Z] prd-ubuntu18.04-docker-arm64-4c-16g-15843 does not seem to be running inside a container [2020-12-14T06:28:16.640Z] $ 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-arm64 cat [2020-12-14T06:28:17.991Z] $ docker top 96f4b0559d908105b743ea00215b08d5ccd9469f445c0c6815b50a2be678bed4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:28:19.109Z] + go version [2020-12-14T06:28:19.109Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-14T06:28:19.156Z] $ docker stop --time=1 96f4b0559d908105b743ea00215b08d5ccd9469f445c0c6815b50a2be678bed4 [2020-12-14T06:28:21.069Z] $ docker rm -f 96f4b0559d908105b743ea00215b08d5ccd9469f445c0c6815b50a2be678bed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:28:22.404Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:28:22.404Z] . [Pipeline] withDockerContainer [2020-12-14T06:28:22.671Z] prd-ubuntu18.04-docker-arm64-4c-16g-15843 does not seem to be running inside a container [2020-12-14T06:28:22.764Z] $ 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-arm64 cat [2020-12-14T06:28:24.255Z] $ docker top 66fd843ff695daed153696b8738d597864deb23aab074b665572af17fc9c06fe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:28:25.322Z] + make test [2020-12-14T06:28:25.322Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-14T06:28:26.314Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-14T06:28:53.178Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-14T06:28:53.178Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-14T06:28:53.178Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-14T06:28:59.925Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2020-12-14T06:29:00.199Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2020-12-14T06:29:00.263Z] $ docker stop --time=1 66fd843ff695daed153696b8738d597864deb23aab074b665572af17fc9c06fe [2020-12-14T06:29:02.552Z] $ docker rm -f 66fd843ff695daed153696b8738d597864deb23aab074b665572af17fc9c06fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:29:05.249Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:29:09.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:29:10.007Z] ---> package-listing.sh [2020-12-14T06:29:10.007Z] ++ facter osfamily [2020-12-14T06:29:10.007Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-14T06:29:10.007Z] + OS_FAMILY=redhat [2020-12-14T06:29:10.007Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-193 [2020-12-14T06:29:10.007Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-14T06:29:10.007Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-14T06:29:10.007Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-14T06:29:10.007Z] + PACKAGES=/tmp/packages_start.txt [2020-12-14T06:29:10.007Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-193 ']' [2020-12-14T06:29:10.007Z] + PACKAGES=/tmp/packages_end.txt [2020-12-14T06:29:10.007Z] + case "${OS_FAMILY}" in [2020-12-14T06:29:10.007Z] + rpm -qa [2020-12-14T06:29:10.007Z] + sort [2020-12-14T06:29:14.299Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-14T06:29:14.299Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-14T06:29:14.299Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-14T06:29:14.299Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-193 ']' [2020-12-14T06:29:14.299Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-193/archives/ [2020-12-14T06:29:14.299Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-193/archives/ [Pipeline] echo [2020-12-14T06:29:14.359Z] 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-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-14T06:29:14.683Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:29:15.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:29:15.061Z] [2020-12-14T06:29:15.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:29:15.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:29:15.494Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-14T06:29:15.494Z] df20fa9351a1: Pulling fs layer [2020-12-14T06:29:15.494Z] 36b3adc4ff6f: Pulling fs layer [2020-12-14T06:29:15.494Z] 8ad3a11d3b57: Pulling fs layer [2020-12-14T06:29:15.494Z] 46f8f816bc3b: Pulling fs layer [2020-12-14T06:29:15.494Z] 93b61091891f: Pulling fs layer [2020-12-14T06:29:15.494Z] 93b9cdb0e59b: Pulling fs layer [2020-12-14T06:29:15.494Z] 5e14af77c1be: Pulling fs layer [2020-12-14T06:29:15.494Z] 01666e4c0597: Pulling fs layer [2020-12-14T06:29:15.494Z] aa168da1d23b: Pulling fs layer [2020-12-14T06:29:15.494Z] 93b61091891f: Waiting [2020-12-14T06:29:15.494Z] 93b9cdb0e59b: Waiting [2020-12-14T06:29:15.494Z] 5e14af77c1be: Waiting [2020-12-14T06:29:15.494Z] 01666e4c0597: Waiting [2020-12-14T06:29:15.494Z] aa168da1d23b: Waiting [2020-12-14T06:29:15.494Z] 46f8f816bc3b: Waiting [2020-12-14T06:29:15.494Z] 36b3adc4ff6f: Download complete [2020-12-14T06:29:15.494Z] 46f8f816bc3b: Verifying Checksum [2020-12-14T06:29:15.494Z] 46f8f816bc3b: Download complete [2020-12-14T06:29:15.494Z] df20fa9351a1: Verifying Checksum [2020-12-14T06:29:15.494Z] df20fa9351a1: Download complete [2020-12-14T06:29:15.763Z] 93b9cdb0e59b: Verifying Checksum [2020-12-14T06:29:15.764Z] 93b9cdb0e59b: Download complete [2020-12-14T06:29:15.764Z] 5e14af77c1be: Verifying Checksum [2020-12-14T06:29:15.764Z] 5e14af77c1be: Download complete [2020-12-14T06:29:15.764Z] 93b61091891f: Download complete [2020-12-14T06:29:15.764Z] 01666e4c0597: Verifying Checksum [2020-12-14T06:29:15.764Z] 01666e4c0597: Download complete [2020-12-14T06:29:16.030Z] df20fa9351a1: Pull complete [2020-12-14T06:29:16.030Z] 8ad3a11d3b57: Verifying Checksum [2020-12-14T06:29:16.030Z] 8ad3a11d3b57: Download complete [2020-12-14T06:29:16.030Z] 36b3adc4ff6f: Pull complete [2020-12-14T06:29:16.995Z] 8ad3a11d3b57: Pull complete [2020-12-14T06:29:16.996Z] 46f8f816bc3b: Pull complete [2020-12-14T06:29:18.028Z] aa168da1d23b: Verifying Checksum [2020-12-14T06:29:18.028Z] aa168da1d23b: Download complete [2020-12-14T06:29:18.028Z] 93b61091891f: Pull complete [2020-12-14T06:29:18.294Z] 93b9cdb0e59b: Pull complete [2020-12-14T06:29:18.294Z] 5e14af77c1be: Pull complete [2020-12-14T06:29:18.294Z] 01666e4c0597: Pull complete [2020-12-14T06:29:26.528Z] aa168da1d23b: Pull complete [2020-12-14T06:29:26.528Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-14T06:29:26.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:29:26.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-14T06:29:26.715Z] prd-centos7-docker-4c-2g-15839 does not seem to be running inside a container [2020-12-14T06:29:26.768Z] $ 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-193/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-193 -v /w/workspace/gexfoundry_device-mqtt-go_PR-193:/w/workspace/gexfoundry_device-mqtt-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-14T06:29:30.520Z] $ docker top fb761f0c8c72a23b0cf0943cf816536973362f5e7ba0c3094c4e92adaed1452e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:29:31.380Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-14T06:29:31.699Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-14T06:29:32.024Z] + ls /var/log/sa-host [2020-12-14T06:29:32.024Z] + sadf -c /var/log/sa-host/sa14 [2020-12-14T06:29:32.024Z] file_magic: OK [2020-12-14T06:29:32.024Z] HZ: Using current value: 100 [2020-12-14T06:29:32.024Z] file_header: OK [2020-12-14T06:29:32.025Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-14T06:29:32.025Z] Statistics: [2020-12-14T06:29:32.025Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-14T06:29:32.025Z] File successfully converted to sysstat format version 12.2.1 [2020-12-14T06:29:32.025Z] + sadf -c /var/log/sa-host/sa23 [2020-12-14T06:29:32.025Z] file_magic: OK [2020-12-14T06:29:32.025Z] HZ: Using current value: 100 [2020-12-14T06:29:32.025Z] file_header: OK [2020-12-14T06:29:32.025Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-14T06:29:32.025Z] Statistics: [2020-12-14T06:29:32.025Z] Hnuu...uuuununununu... [2020-12-14T06:29:32.025Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-14T06:29:32.292Z] provisioning config files... [2020-12-14T06:29:32.312Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-193@tmp/config1247423111035668831tmp [Pipeline] { [Pipeline] echo [2020-12-14T06:29:32.440Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:29:32.774Z] ---> create-netrc.sh [Pipeline] } [2020-12-14T06:29:32.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-14T06:29:32.956Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:29:33.296Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-14T06:29:33.324Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:29:33.656Z] ---> sudo-logs.sh [2020-12-14T06:29:33.656Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-14T06:29:33.689Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:29:34.028Z] ---> job-cost.sh [2020-12-14T06:29:34.028Z] lf-activate-venv: SKIPPING [2020-12-14T06:29:34.028Z] INFO: No Stack... [2020-12-14T06:29:35.426Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-14T06:29:35.696Z] INFO: Archiving Costs [Pipeline] echo [2020-12-14T06:29:35.741Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:29:36.099Z] ---> logs-deploy.sh [2020-12-14T06:29:36.100Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-193/1 [2020-12-14T06:29:36.100Z] INFO: archiving workspace using pattern(s): [2020-12-14T06:29:37.525Z] Archives upload complete. [2020-12-14T06:29:37.787Z] INFO: archiving logs to Nexus