Pull request #199 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a1661a1e73a94b7c1e29060cfbff76a73d868fcd+fcf415a52e09a542e74d978699b87b5b4fab4063 (4095fcd14a0c9c961d650cf3b5b4d9ab624a5a7d) 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-199/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-199/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 ‘prd-centos7-builder-2c-1g-18093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18094’ is offline; ‘prd-centos7-docker-4c-2g-18100’ is offline Running on prd-centos7-docker-4c-2g-18102 in /w/workspace/gexfoundry_device-mqtt-go_PR-199 [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-199 # 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/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit a1661a1e73a94b7c1e29060cfbff76a73d868fcd Merge succeeded, producing a1661a1e73a94b7c1e29060cfbff76a73d868fcd Checking out Revision a1661a1e73a94b7c1e29060cfbff76a73d868fcd (PR-199) > git config core.sparsecheckout # timeout=10 > git checkout -f a1661a1e73a94b7c1e29060cfbff76a73d868fcd # 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 a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T06:12:03.020Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T06:12:03.421Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T06:12:03.597Z] ========================================================= [2021-01-04T06:12:03.597Z] EdgeX Global Pipelines Version Info [2021-01-04T06:12:03.597Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:12:05.606Z] ------------------- [2021-01-04T06:12:05.606Z] stable info: [2021-01-04T06:12:05.606Z] ------------------- [2021-01-04T06:12:05.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T06:12:05.606Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:12:05.606Z] Message: update stable to v1.0.173 [2021-01-04T06:12:06.185Z] ------------------- [2021-01-04T06:12:06.185Z] experimental info: [2021-01-04T06:12:06.185Z] ------------------- [2021-01-04T06:12:06.185Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T06:12:06.185Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:12:06.185Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T06:12:06.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-04T06:12:06.682Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-04T06:12:06.811Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T06:12:06.946Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T06:12:07.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T06:12:07.197Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T06:12:07.324Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T06:12:07.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T06:12:07.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T06:12:07.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T06:12:07.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T06:12:07.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-04T06:12:08.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T06:12:08.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T06:12:08.362Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T06:12:08.492Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T06:12:08.622Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:12:08.741Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:12:08.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T06:12:08.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-04T06:12:09.102Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T06:12:09.220Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T06:12:09.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T06:12:09.490Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T06:12:09.635Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T06:12:09.754Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T06:12:09.870Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T06:12:10.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2021-01-04T06:12:10.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2021-01-04T06:12:10.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2021-01-04T06:12:10.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1661a1e73a94b7c1e29060cfbff76a73d868fcd [Pipeline] echo [2021-01-04T06:12:10.597Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1661a1 [Pipeline] echo [2021-01-04T06:12:10.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:12:11.014Z] provisioning config files... [2021-01-04T06:12:11.057Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/config1737730668796574151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:12:11.470Z] ---> docker-login.sh [2021-01-04T06:12:11.470Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:12:11.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:12:11.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:12:11.997Z] Configure a credential helper to remove this warning. See [2021-01-04T06:12:11.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:12:11.997Z] [2021-01-04T06:12:11.997Z] Login Succeeded [2021-01-04T06:12:11.997Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:12:11.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:12:12.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:12:12.262Z] Configure a credential helper to remove this warning. See [2021-01-04T06:12:12.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:12:12.262Z] [2021-01-04T06:12:12.262Z] Login Succeeded [2021-01-04T06:12:12.262Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:12:12.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:12:12.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:12:12.262Z] Configure a credential helper to remove this warning. See [2021-01-04T06:12:12.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:12:12.262Z] [2021-01-04T06:12:12.262Z] Login Succeeded [2021-01-04T06:12:12.262Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:12:12.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:12:12.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:12:12.528Z] Configure a credential helper to remove this warning. See [2021-01-04T06:12:12.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:12:12.528Z] [2021-01-04T06:12:12.528Z] Login Succeeded [2021-01-04T06:12:12.528Z] docker.io [2021-01-04T06:12:12.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:12:12.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:12:12.791Z] Configure a credential helper to remove this warning. See [2021-01-04T06:12:12.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:12:12.791Z] [2021-01-04T06:12:12.791Z] Login Succeeded [2021-01-04T06:12:12.791Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:12:12.824Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:12:13.997Z] + git log --format=format:%s -1 a1661a1e73a94b7c1e29060cfbff76a73d868fcd [Pipeline] echo [2021-01-04T06:12:14.105Z] GIT_COMMIT: a1661a1e73a94b7c1e29060cfbff76a73d868fcd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-04T06:12:14.179Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:12:14.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:12:14.843Z] [2021-01-04T06:12:14.843Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:12:15.239Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:12:15.239Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T06:12:15.239Z] 31603596830f: Pulling fs layer [2021-01-04T06:12:15.239Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T06:12:15.239Z] 6ca5941a6612: Pulling fs layer [2021-01-04T06:12:15.239Z] ecc8261a40a4: Pulling fs layer [2021-01-04T06:12:15.239Z] ecc8261a40a4: Waiting [2021-01-04T06:12:15.239Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T06:12:15.239Z] 2a8b12db71e7: Download complete [2021-01-04T06:12:15.503Z] 31603596830f: Verifying Checksum [2021-01-04T06:12:15.503Z] 31603596830f: Download complete [2021-01-04T06:12:15.503Z] ecc8261a40a4: Verifying Checksum [2021-01-04T06:12:15.503Z] ecc8261a40a4: Download complete [2021-01-04T06:12:15.503Z] 6ca5941a6612: Verifying Checksum [2021-01-04T06:12:15.503Z] 6ca5941a6612: Download complete [2021-01-04T06:12:16.082Z] 31603596830f: Pull complete [2021-01-04T06:12:16.082Z] 2a8b12db71e7: Pull complete [2021-01-04T06:12:17.032Z] 6ca5941a6612: Pull complete [2021-01-04T06:12:17.032Z] ecc8261a40a4: Pull complete [2021-01-04T06:12:17.032Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T06:12:17.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:12:17.296Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T06:12:17.421Z] prd-centos7-docker-4c-2g-18102 does not seem to be running inside a container [2021-01-04T06:12:17.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-199 -v /w/workspace/gexfoundry_device-mqtt-go_PR-199:/w/workspace/gexfoundry_device-mqtt-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T06:12:20.046Z] $ docker top 9784dc655ddb65d7874664044d7b10a610a22c36d5938de2d3f08a315f0d5973 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T06:12:20.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:12:20.582Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:12:20.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:12:20.802Z] $ docker exec 9784dc655ddb65d7874664044d7b10a610a22c36d5938de2d3f08a315f0d5973 ssh-agent [2021-01-04T06:12:20.973Z] SSH_AUTH_SOCK=/tmp/ssh-ZMKmJaOHMEmd/agent.11 [2021-01-04T06:12:20.973Z] SSH_AGENT_PID=16 [2021-01-04T06:12:20.983Z] Running ssh-add (command line suppressed) [2021-01-04T06:12:21.109Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_7799191541759861497.key (/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_7799191541759861497.key) [2021-01-04T06:12:21.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:12:21.546Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T06:12:21.577Z] $ docker exec --env ******** --env ******** 9784dc655ddb65d7874664044d7b10a610a22c36d5938de2d3f08a315f0d5973 ssh-agent -k [2021-01-04T06:12:21.690Z] unset SSH_AUTH_SOCK; [2021-01-04T06:12:21.690Z] unset SSH_AGENT_PID; [2021-01-04T06:12:21.690Z] echo Agent pid 16 killed; [2021-01-04T06:12:21.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T06:12:21.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:12:21.945Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:12:22.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:12:22.121Z] $ docker exec 9784dc655ddb65d7874664044d7b10a610a22c36d5938de2d3f08a315f0d5973 ssh-agent [2021-01-04T06:12:22.287Z] SSH_AUTH_SOCK=/tmp/ssh-sIj6VO8obbD8/agent.44 [2021-01-04T06:12:22.287Z] SSH_AGENT_PID=49 [2021-01-04T06:12:22.297Z] Running ssh-add (command line suppressed) [2021-01-04T06:12:22.421Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_5140654536982249663.key (/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_5140654536982249663.key) [2021-01-04T06:12:22.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:12:22.850Z] + git semver init [2021-01-04T06:12:22.850Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T06:12:22.850Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-199/.git [2021-01-04T06:12:22.850Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-199 [2021-01-04T06:12:22.850Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T06:12:22.850Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T06:12:22.850Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T06:12:22.850Z] # $SEMVER_BRANCH = PR-199 [2021-01-04T06:12:22.850Z] # $SEMVER_TEMP = /tmp/semver-362901287 [2021-01-04T06:12:22.850Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-04T06:12:23.423Z] # '/tmp/semver-362901287' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-199/.semver' [2021-01-04T06:12:23.423Z] # -> Force: false [2021-01-04T06:12:23.423Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-199/.semver [Pipeline] } [2021-01-04T06:12:23.447Z] $ docker exec --env ******** --env ******** 9784dc655ddb65d7874664044d7b10a610a22c36d5938de2d3f08a315f0d5973 ssh-agent -k [2021-01-04T06:12:23.569Z] unset SSH_AUTH_SOCK; [2021-01-04T06:12:23.571Z] unset SSH_AGENT_PID; [2021-01-04T06:12:23.571Z] echo Agent pid 49 killed; [2021-01-04T06:12:23.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T06:12:24.200Z] + git semver [Pipeline] } [2021-01-04T06:12:24.231Z] $ docker stop --time=1 9784dc655ddb65d7874664044d7b10a610a22c36d5938de2d3f08a315f0d5973 [2021-01-04T06:12:25.595Z] $ docker rm -f 9784dc655ddb65d7874664044d7b10a610a22c36d5938de2d3f08a315f0d5973 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T06:12:26.183Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T06:12:26.609Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T06:12:26.653Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-04T06:12:42.441Z] Still waiting to schedule task [2021-01-04T06:12:42.442Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T06:12:42.466Z] Still waiting to schedule task [2021-01-04T06:12:42.466Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18097’ is offline [2021-01-04T06:14:23.274Z] Running on prd-centos7-docker-4c-2g-18105 in /w/workspace/gexfoundry_device-mqtt-go_PR-199 [Pipeline] { [Pipeline] ws [2021-01-04T06:14:23.416Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:14:25.760Z] using credential edgex-jenkins-ssh [2021-01-04T06:14:25.810Z] Cloning the remote Git repository [2021-01-04T06:14:25.837Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:14:25.901Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-04T06:14:26.932Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit a1661a1e73a94b7c1e29060cfbff76a73d868fcd [2021-01-04T06:14:27.017Z] Merge succeeded, producing a1661a1e73a94b7c1e29060cfbff76a73d868fcd [2021-01-04T06:14:27.017Z] Checking out Revision a1661a1e73a94b7c1e29060cfbff76a73d868fcd (PR-199) [2021-01-04T06:14:25.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:14:25.957Z] > git --version # timeout=10 [2021-01-04T06:14:25.963Z] > git --version # 'git version 2.24.3' [2021-01-04T06:14:25.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:14:25.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:14:26.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:14:26.546Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:14:26.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:14:26.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:14:26.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:14:26.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:14:26.940Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:14:26.953Z] > git checkout -f a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [2021-01-04T06:14:26.981Z] > git remote # timeout=10 [2021-01-04T06:14:26.985Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:14:26.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:14:26.993Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2021-01-04T06:14:27.001Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:14:27.021Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:14:27.034Z] > git checkout -f a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [2021-01-04T06:14:30.671Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-04T06:14:30.700Z] > git --version # timeout=10 [2021-01-04T06:14:30.705Z] > git --version # 'git version 2.24.3' [2021-01-04T06:14:30.711Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:14:32.288Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:14:32.633Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:14:32.963Z] + sudo service docker restart [2021-01-04T06:14:32.963Z] + true [2021-01-04T06:14:32.963Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:14:34.036Z] provisioning config files... [2021-01-04T06:14:34.061Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5912888990420134090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:14:34.528Z] ---> docker-login.sh [2021-01-04T06:14:34.528Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:14:34.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:34.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:34.791Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:34.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:34.791Z] [2021-01-04T06:14:34.791Z] Login Succeeded [2021-01-04T06:14:34.791Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:14:35.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:35.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:35.054Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:35.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:35.054Z] [2021-01-04T06:14:35.054Z] Login Succeeded [2021-01-04T06:14:35.054Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:14:35.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:35.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:35.318Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:35.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:35.318Z] [2021-01-04T06:14:35.318Z] Login Succeeded [2021-01-04T06:14:35.318Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:14:35.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:35.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:35.318Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:35.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:35.318Z] [2021-01-04T06:14:35.318Z] Login Succeeded [2021-01-04T06:14:35.318Z] docker.io [2021-01-04T06:14:35.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:14:36.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:14:36.913Z] Configure a credential helper to remove this warning. See [2021-01-04T06:14:36.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:14:36.913Z] [2021-01-04T06:14:36.913Z] Login Succeeded [2021-01-04T06:14:36.913Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:14:36.945Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:14:37.444Z] ========================================================= [2021-01-04T06:14:37.444Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T06:14:37.444Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:14:37.828Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-04T06:14:37.828Z] Sending build context to Docker daemon 485.9kB [2021-01-04T06:14:37.828Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-04T06:14:37.828Z] Step 2/8 : FROM ${BASE} [2021-01-04T06:14:37.828Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T06:14:37.828Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T06:14:37.828Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T06:14:37.828Z] de9db76c5a1d: Pulling fs layer [2021-01-04T06:14:37.828Z] bca2f99d35d6: Pulling fs layer [2021-01-04T06:14:37.828Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T06:14:37.828Z] 7c6f9722023f: Pulling fs layer [2021-01-04T06:14:37.828Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T06:14:37.828Z] 93359f2a8cfa: Waiting [2021-01-04T06:14:37.828Z] 7c6f9722023f: Waiting [2021-01-04T06:14:37.828Z] a35cf1a2eb13: Waiting [2021-01-04T06:14:37.828Z] bca2f99d35d6: Waiting [2021-01-04T06:14:38.094Z] de9db76c5a1d: Verifying Checksum [2021-01-04T06:14:38.094Z] de9db76c5a1d: Download complete [2021-01-04T06:14:38.094Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T06:14:38.094Z] 0ef7d3d256c8: Download complete [2021-01-04T06:14:38.094Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T06:14:38.094Z] 93359f2a8cfa: Download complete [2021-01-04T06:14:38.094Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T06:14:38.094Z] 188c0c94c7c5: Download complete [2021-01-04T06:14:38.094Z] 7c6f9722023f: Verifying Checksum [2021-01-04T06:14:38.094Z] 7c6f9722023f: Download complete [2021-01-04T06:14:38.358Z] 188c0c94c7c5: Pull complete [2021-01-04T06:14:38.358Z] 0ef7d3d256c8: Pull complete [2021-01-04T06:14:38.626Z] de9db76c5a1d: Pull complete [2021-01-04T06:14:39.579Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T06:14:39.579Z] a35cf1a2eb13: Download complete [2021-01-04T06:14:40.156Z] bca2f99d35d6: Verifying Checksum [2021-01-04T06:14:40.156Z] bca2f99d35d6: Download complete [2021-01-04T06:14:45.485Z] bca2f99d35d6: Pull complete [2021-01-04T06:14:45.485Z] 93359f2a8cfa: Pull complete [2021-01-04T06:14:45.485Z] 7c6f9722023f: Pull complete [2021-01-04T06:14:50.814Z] a35cf1a2eb13: Pull complete [2021-01-04T06:14:50.814Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T06:14:50.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T06:14:50.814Z] ---> a62c8e92a672 [2021-01-04T06:14:50.814Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T06:14:50.814Z] ---> Running in f5784f495885 [2021-01-04T06:14:51.396Z] Removing intermediate container f5784f495885 [2021-01-04T06:14:51.396Z] ---> eb3deb717317 [2021-01-04T06:14:51.396Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:14:51.396Z] ---> Running in 3030f7a1715c [2021-01-04T06:14:52.346Z] Removing intermediate container 3030f7a1715c [2021-01-04T06:14:52.346Z] ---> 524205570181 [2021-01-04T06:14:52.346Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T06:14:52.614Z] ---> Running in 079d96e8ad7f [2021-01-04T06:14:52.879Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T06:14:53.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T06:14:54.415Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T06:14:54.682Z] (2/14) Installing file (5.38-r0) [2021-01-04T06:14:54.682Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T06:14:54.682Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T06:15:06.956Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T06:15:06.957Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T06:15:06.957Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T06:15:06.957Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T06:15:06.957Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T06:15:06.957Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T06:15:08.121Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T06:15:08.388Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T06:15:08.654Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T06:15:08.918Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T06:15:09.182Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T06:15:09.457Z] OK: 237 MiB in 53 packages [2021-01-04T06:15:12.042Z] Removing intermediate container 079d96e8ad7f [2021-01-04T06:15:12.042Z] ---> 9330331d3f20 [2021-01-04T06:15:12.042Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T06:15:12.319Z] ---> Running in 2ef50ab48789 [2021-01-04T06:15:12.319Z] Removing intermediate container 2ef50ab48789 [2021-01-04T06:15:12.319Z] ---> 4d8ac2523a4e [2021-01-04T06:15:12.319Z] Step 7/8 : COPY . . [2021-01-04T06:15:13.278Z] ---> b0e468acbb26 [2021-01-04T06:15:13.279Z] Step 8/8 : RUN go mod download [2021-01-04T06:15:13.279Z] ---> Running in c46e3f7ec0bb [2021-01-04T06:15:35.327Z] Removing intermediate container c46e3f7ec0bb [2021-01-04T06:15:35.327Z] ---> c19829133779 [2021-01-04T06:15:35.327Z] Successfully built c19829133779 [2021-01-04T06:15:35.327Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:15:35.681Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:15:35.681Z] . [Pipeline] withDockerContainer [2021-01-04T06:15:35.832Z] prd-centos7-docker-4c-2g-18105 does not seem to be running inside a container [2021-01-04T06:15:35.885Z] $ 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-04T06:15:36.678Z] $ docker top b3fabde8ee0e58efe73b7b267b5fb9e44932e3836da9496b60c7651b5bc0a69b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:15:37.218Z] + go version [2021-01-04T06:15:37.218Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T06:15:37.248Z] $ docker stop --time=1 b3fabde8ee0e58efe73b7b267b5fb9e44932e3836da9496b60c7651b5bc0a69b [2021-01-04T06:15:38.589Z] $ docker rm -f b3fabde8ee0e58efe73b7b267b5fb9e44932e3836da9496b60c7651b5bc0a69b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:15:39.692Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:15:39.692Z] . [Pipeline] withDockerContainer [2021-01-04T06:15:39.817Z] prd-centos7-docker-4c-2g-18105 does not seem to be running inside a container [2021-01-04T06:15:39.874Z] $ 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-04T06:15:40.442Z] $ docker top 72a092d81bca97a6127d8edb3df5d04947c5fd82e37e06f1b94076010e9f0f1f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:15:41.026Z] + make test [2021-01-04T06:15:41.026Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T06:15:42.440Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T06:15:44.879Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18107 in /w/workspace/gexfoundry_device-mqtt-go_PR-199 [Pipeline] { [Pipeline] ws [2021-01-04T06:15:45.171Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:15:49.234Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T06:15:49.234Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T06:15:49.234Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-04T06:15:49.234Z] have (string, bool, string, string) [2021-01-04T06:15:49.234Z] want (string, string) [2021-01-04T06:15:50.742Z] using credential edgex-jenkins-ssh [2021-01-04T06:15:50.807Z] Cloning the remote Git repository [2021-01-04T06:15:50.862Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:15:50.987Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-01-04T06:15:51.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:15:51.073Z] > git --version # timeout=10 [2021-01-04T06:15:51.092Z] > git --version # 'git version 2.17.1' [2021-01-04T06:15:51.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:15:51.179Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:15:52.542Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit a1661a1e73a94b7c1e29060cfbff76a73d868fcd [2021-01-04T06:15:52.612Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-04T06:15:52.613Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-04T06:15:52.669Z] $ docker stop --time=1 72a092d81bca97a6127d8edb3df5d04947c5fd82e37e06f1b94076010e9f0f1f [2021-01-04T06:15:52.863Z] Merge succeeded, producing a1661a1e73a94b7c1e29060cfbff76a73d868fcd [2021-01-04T06:15:52.863Z] Checking out Revision a1661a1e73a94b7c1e29060cfbff76a73d868fcd (PR-199) [2021-01-04T06:15:51.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:15:52.002Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:15:52.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T06:15:52.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T06:15:52.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:15:52.088Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:15:52.559Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:15:52.580Z] > git checkout -f a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [2021-01-04T06:15:52.660Z] > git remote # timeout=10 [2021-01-04T06:15:52.681Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:15:52.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:15:52.747Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2021-01-04T06:15:52.791Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:15:52.965Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:15:53.032Z] > git checkout -f a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [2021-01-04T06:15:55.048Z] $ docker rm -f 72a092d81bca97a6127d8edb3df5d04947c5fd82e37e06f1b94076010e9f0f1f [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 [2021-01-04T06:15:57.430Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] } [2021-01-04T06:15:57.486Z] Failed in branch amd64 [2021-01-04T06:15:57.521Z] > git --version # timeout=10 [2021-01-04T06:15:57.538Z] > git --version # 'git version 2.17.1' [2021-01-04T06:15:57.552Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:15:59.521Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:15:59.974Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:16:00.352Z] + true [2021-01-04T06:16:00.352Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T06:16:02.496Z] provisioning config files... [2021-01-04T06:16:02.542Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8545006474506996348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:16:03.014Z] ---> docker-login.sh [2021-01-04T06:16:03.014Z] nexus3.edgexfoundry.org:10001 [2021-01-04T06:16:03.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:16:04.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:16:04.268Z] Configure a credential helper to remove this warning. See [2021-01-04T06:16:04.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:16:04.268Z] [2021-01-04T06:16:04.268Z] Login Succeeded [2021-01-04T06:16:04.268Z] nexus3.edgexfoundry.org:10002 [2021-01-04T06:16:04.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:16:04.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:16:04.814Z] Configure a credential helper to remove this warning. See [2021-01-04T06:16:04.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:16:04.814Z] [2021-01-04T06:16:04.814Z] Login Succeeded [2021-01-04T06:16:04.814Z] nexus3.edgexfoundry.org:10003 [2021-01-04T06:16:05.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:16:05.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:16:05.359Z] Configure a credential helper to remove this warning. See [2021-01-04T06:16:05.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:16:05.359Z] [2021-01-04T06:16:05.359Z] Login Succeeded [2021-01-04T06:16:05.359Z] nexus3.edgexfoundry.org:10004 [2021-01-04T06:16:05.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:16:05.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:16:05.631Z] Configure a credential helper to remove this warning. See [2021-01-04T06:16:05.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:16:05.631Z] [2021-01-04T06:16:05.631Z] Login Succeeded [2021-01-04T06:16:05.631Z] docker.io [2021-01-04T06:16:06.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T06:16:06.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T06:16:06.508Z] Configure a credential helper to remove this warning. See [2021-01-04T06:16:06.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T06:16:06.508Z] [2021-01-04T06:16:06.508Z] Login Succeeded [2021-01-04T06:16:06.508Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T06:16:06.556Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T06:16:07.163Z] ========================================================= [2021-01-04T06:16:07.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T06:16:07.163Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:16:07.621Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-04T06:16:07.901Z] Sending build context to Docker daemon 484.9kB [2021-01-04T06:16:07.901Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-04T06:16:07.901Z] Step 2/8 : FROM ${BASE} [2021-01-04T06:16:08.181Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T06:16:08.181Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T06:16:08.181Z] a4357932f1b6: Pulling fs layer [2021-01-04T06:16:08.181Z] 18c013af1878: Pulling fs layer [2021-01-04T06:16:08.181Z] 00ac8860ef70: Pulling fs layer [2021-01-04T06:16:08.181Z] 63d7cb157983: Pulling fs layer [2021-01-04T06:16:08.181Z] b116817d02f9: Pulling fs layer [2021-01-04T06:16:08.181Z] 745a02a5169b: Pulling fs layer [2021-01-04T06:16:08.181Z] 00ac8860ef70: Waiting [2021-01-04T06:16:08.181Z] 63d7cb157983: Waiting [2021-01-04T06:16:08.181Z] b116817d02f9: Waiting [2021-01-04T06:16:08.181Z] 745a02a5169b: Waiting [2021-01-04T06:16:08.181Z] 18c013af1878: Verifying Checksum [2021-01-04T06:16:08.181Z] 18c013af1878: Download complete [2021-01-04T06:16:08.181Z] a4357932f1b6: Verifying Checksum [2021-01-04T06:16:08.181Z] a4357932f1b6: Download complete [2021-01-04T06:16:08.181Z] 63d7cb157983: Download complete [2021-01-04T06:16:08.181Z] b116817d02f9: Verifying Checksum [2021-01-04T06:16:08.181Z] b116817d02f9: Download complete [2021-01-04T06:16:08.181Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T06:16:08.181Z] 5f621e34cdf4: Download complete [2021-01-04T06:16:09.183Z] 5f621e34cdf4: Pull complete [2021-01-04T06:16:09.824Z] a4357932f1b6: Pull complete [2021-01-04T06:16:10.106Z] 18c013af1878: Pull complete [2021-01-04T06:16:12.124Z] 745a02a5169b: Verifying Checksum [2021-01-04T06:16:12.124Z] 745a02a5169b: Download complete [2021-01-04T06:16:14.100Z] 00ac8860ef70: Verifying Checksum [2021-01-04T06:16:14.100Z] 00ac8860ef70: Download complete [2021-01-04T06:16:24.277Z] 00ac8860ef70: Pull complete [2021-01-04T06:16:24.277Z] 63d7cb157983: Pull complete [2021-01-04T06:16:24.277Z] b116817d02f9: Pull complete [2021-01-04T06:16:27.688Z] 745a02a5169b: Pull complete [2021-01-04T06:16:27.688Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T06:16:27.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T06:16:27.688Z] ---> b7e6874047d6 [2021-01-04T06:16:27.688Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T06:16:31.182Z] ---> Running in 2c2e4f428cad [2021-01-04T06:16:31.794Z] Removing intermediate container 2c2e4f428cad [2021-01-04T06:16:31.794Z] ---> 60cf6b252c90 [2021-01-04T06:16:31.794Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T06:16:31.794Z] ---> Running in 2d53119a4670 [2021-01-04T06:16:34.435Z] Removing intermediate container 2d53119a4670 [2021-01-04T06:16:34.435Z] ---> 4aec1877fa16 [2021-01-04T06:16:34.435Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T06:16:34.435Z] ---> Running in a0b80c689cdf [2021-01-04T06:16:35.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T06:16:36.862Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T06:16:37.844Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T06:16:38.123Z] (2/14) Installing file (5.38-r0) [2021-01-04T06:16:38.403Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T06:16:38.403Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T06:16:46.668Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T06:16:46.668Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T06:16:46.668Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T06:16:46.668Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T06:16:46.940Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T06:16:46.940Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T06:16:47.541Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T06:16:47.820Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T06:16:47.820Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T06:16:48.102Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T06:16:48.102Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T06:16:48.102Z] OK: 221 MiB in 53 packages [2021-01-04T06:16:52.431Z] Removing intermediate container a0b80c689cdf [2021-01-04T06:16:52.431Z] ---> a7e3892780e8 [2021-01-04T06:16:52.431Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T06:16:52.431Z] ---> Running in 67e0ea44b688 [2021-01-04T06:16:53.036Z] Removing intermediate container 67e0ea44b688 [2021-01-04T06:16:53.036Z] ---> a969365d458a [2021-01-04T06:16:53.036Z] Step 7/8 : COPY . . [2021-01-04T06:16:54.025Z] ---> bd56049d1c78 [2021-01-04T06:16:54.025Z] Step 8/8 : RUN go mod download [2021-01-04T06:16:54.025Z] ---> Running in 391c4df409aa [2021-01-04T06:17:20.933Z] Removing intermediate container 391c4df409aa [2021-01-04T06:17:20.933Z] ---> ee0cb35c12ea [2021-01-04T06:17:20.933Z] Successfully built ee0cb35c12ea [2021-01-04T06:17:20.933Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:17:21.328Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:17:21.328Z] . [Pipeline] withDockerContainer [2021-01-04T06:17:21.659Z] prd-ubuntu18.04-docker-arm64-4c-16g-18107 does not seem to be running inside a container [2021-01-04T06:17:21.752Z] $ 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-04T06:17:23.394Z] $ docker top b29118f96f85ef11dbe323ad3a4b425142f13758998643114450d5cc0fd5a071 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:17:24.531Z] + go version [2021-01-04T06:17:24.531Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T06:17:24.572Z] $ docker stop --time=1 b29118f96f85ef11dbe323ad3a4b425142f13758998643114450d5cc0fd5a071 [2021-01-04T06:17:26.689Z] $ docker rm -f b29118f96f85ef11dbe323ad3a4b425142f13758998643114450d5cc0fd5a071 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:17:27.965Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:17:27.965Z] . [Pipeline] withDockerContainer [2021-01-04T06:17:28.281Z] prd-ubuntu18.04-docker-arm64-4c-16g-18107 does not seem to be running inside a container [2021-01-04T06:17:28.372Z] $ 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-04T06:17:29.990Z] $ docker top 806e0da120e25dae14cf4e69a58939b68f6d8acdcf3156b8a45727d5a783de68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:17:31.126Z] + make test [2021-01-04T06:17:31.126Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T06:17:32.108Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T06:17:54.370Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T06:17:54.371Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T06:17:54.371Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-04T06:17:54.371Z] have (string, bool, string, string) [2021-01-04T06:17:54.371Z] want (string, string) [2021-01-04T06:18:09.638Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-04T06:18:09.638Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-04T06:18:09.762Z] $ docker stop --time=1 806e0da120e25dae14cf4e69a58939b68f6d8acdcf3156b8a45727d5a783de68 [2021-01-04T06:18:12.100Z] $ docker rm -f 806e0da120e25dae14cf4e69a58939b68f6d8acdcf3156b8a45727d5a783de68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T06:18:14.631Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:18:18.931Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:18:19.325Z] ---> package-listing.sh [2021-01-04T06:18:19.325Z] ++ facter osfamily [2021-01-04T06:18:19.325Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T06:18:19.325Z] + OS_FAMILY=redhat [2021-01-04T06:18:19.325Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-199 [2021-01-04T06:18:19.325Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T06:18:19.325Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T06:18:19.325Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T06:18:19.325Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T06:18:19.325Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-199 ']' [2021-01-04T06:18:19.325Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T06:18:19.325Z] + case "${OS_FAMILY}" in [2021-01-04T06:18:19.325Z] + rpm -qa [2021-01-04T06:18:19.325Z] + sort [2021-01-04T06:18:24.652Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T06:18:24.652Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T06:18:24.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T06:18:24.652Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-199 ']' [2021-01-04T06:18:24.652Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-199/archives/ [2021-01-04T06:18:24.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-199/archives/ [Pipeline] echo [2021-01-04T06:18:24.689Z] 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T06:18:25.007Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:18:25.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:18:25.366Z] [2021-01-04T06:18:25.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:18:25.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:18:25.758Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T06:18:25.758Z] df20fa9351a1: Pulling fs layer [2021-01-04T06:18:25.758Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T06:18:25.758Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T06:18:25.758Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T06:18:25.758Z] 93b61091891f: Pulling fs layer [2021-01-04T06:18:25.758Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T06:18:25.758Z] 5e14af77c1be: Pulling fs layer [2021-01-04T06:18:25.758Z] 01666e4c0597: Pulling fs layer [2021-01-04T06:18:25.758Z] aa168da1d23b: Pulling fs layer [2021-01-04T06:18:25.758Z] 01666e4c0597: Waiting [2021-01-04T06:18:25.758Z] 93b9cdb0e59b: Waiting [2021-01-04T06:18:25.758Z] 5e14af77c1be: Waiting [2021-01-04T06:18:25.758Z] 46f8f816bc3b: Waiting [2021-01-04T06:18:25.758Z] 93b61091891f: Waiting [2021-01-04T06:18:25.758Z] aa168da1d23b: Waiting [2021-01-04T06:18:25.758Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T06:18:25.758Z] 36b3adc4ff6f: Download complete [2021-01-04T06:18:25.758Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T06:18:25.758Z] 46f8f816bc3b: Download complete [2021-01-04T06:18:26.030Z] df20fa9351a1: Verifying Checksum [2021-01-04T06:18:26.030Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T06:18:26.030Z] 93b9cdb0e59b: Download complete [2021-01-04T06:18:26.030Z] 5e14af77c1be: Download complete [2021-01-04T06:18:26.030Z] 93b61091891f: Verifying Checksum [2021-01-04T06:18:26.030Z] 93b61091891f: Download complete [2021-01-04T06:18:26.030Z] 01666e4c0597: Verifying Checksum [2021-01-04T06:18:26.030Z] 01666e4c0597: Download complete [2021-01-04T06:18:26.293Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T06:18:26.293Z] 8ad3a11d3b57: Download complete [2021-01-04T06:18:26.293Z] df20fa9351a1: Pull complete [2021-01-04T06:18:26.559Z] 36b3adc4ff6f: Pull complete [2021-01-04T06:18:27.525Z] 8ad3a11d3b57: Pull complete [2021-01-04T06:18:27.525Z] 46f8f816bc3b: Pull complete [2021-01-04T06:18:28.937Z] 93b61091891f: Pull complete [2021-01-04T06:18:28.937Z] aa168da1d23b: Verifying Checksum [2021-01-04T06:18:28.937Z] aa168da1d23b: Download complete [2021-01-04T06:18:28.937Z] 93b9cdb0e59b: Pull complete [2021-01-04T06:18:29.514Z] 5e14af77c1be: Pull complete [2021-01-04T06:18:29.514Z] 01666e4c0597: Pull complete [2021-01-04T06:18:37.763Z] aa168da1d23b: Pull complete [2021-01-04T06:18:37.763Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T06:18:37.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:18:37.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T06:18:38.009Z] prd-centos7-docker-4c-2g-18102 does not seem to be running inside a container [2021-01-04T06:18:38.062Z] $ 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-199/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-199 -v /w/workspace/gexfoundry_device-mqtt-go_PR-199:/w/workspace/gexfoundry_device-mqtt-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T06:18:43.478Z] $ docker top 5a7af2627986d983361ec9f34745296df9b2595f65ffe808b46d3c25746e3c04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:18:44.038Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T06:18:44.366Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T06:18:44.697Z] + ls /var/log/sa-host [2021-01-04T06:18:44.697Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T06:18:44.697Z] file_magic: OK [2021-01-04T06:18:44.697Z] HZ: Using current value: 100 [2021-01-04T06:18:44.697Z] file_header: OK [2021-01-04T06:18:44.697Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T06:18:44.697Z] Statistics: [2021-01-04T06:18:44.697Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T06:18:44.697Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T06:18:44.697Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T06:18:44.697Z] file_magic: OK [2021-01-04T06:18:44.697Z] HZ: Using current value: 100 [2021-01-04T06:18:44.697Z] file_header: OK [2021-01-04T06:18:44.697Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T06:18:44.697Z] Statistics: [2021-01-04T06:18:44.697Z] Hnuu...uuuununununu... [2021-01-04T06:18:44.697Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T06:18:44.967Z] provisioning config files... [2021-01-04T06:18:44.983Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/config1263393451490995411tmp [Pipeline] { [Pipeline] echo [2021-01-04T06:18:45.136Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:18:45.481Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T06:18:45.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T06:18:45.649Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:18:46.002Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T06:18:46.039Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:18:46.385Z] ---> sudo-logs.sh [2021-01-04T06:18:46.385Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T06:18:46.417Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:18:46.748Z] ---> job-cost.sh [2021-01-04T06:18:46.748Z] lf-activate-venv: SKIPPING [2021-01-04T06:18:46.748Z] INFO: No Stack... [2021-01-04T06:18:48.146Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T06:18:48.412Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T06:18:48.459Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:18:48.800Z] ---> logs-deploy.sh [2021-01-04T06:18:48.800Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-199/1 [2021-01-04T06:18:48.800Z] INFO: archiving workspace using pattern(s): [2021-01-04T06:18:51.395Z] Archives upload complete. [2021-01-04T06:18:51.395Z] INFO: archiving logs to Nexus