Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 07355228612828934d7917b8177258c9093cd58a+7a1b18f551239dfc150e88617034cadc3790dddc (128c751b63634bfb528d08c3b99d727841d92d0e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-18330 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [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-179 # 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/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 07355228612828934d7917b8177258c9093cd58a Merge succeeded, producing 5d85dca9b400226a05ffbfd955efd05e21e58a56 Checking out Revision 5d85dca9b400226a05ffbfd955efd05e21e58a56 (PR-179) > git config core.sparsecheckout # timeout=10 > git checkout -f 07355228612828934d7917b8177258c9093cd58a # 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 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d85dca9b400226a05ffbfd955efd05e21e58a56 # timeout=10 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T23:19:13.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T23:19:13.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk f7ab47e5364e83bc313ef5f4d7b01f84b301d32e # timeout=10 [Pipeline] echo [2021-01-04T23:19:13.974Z] ========================================================= [2021-01-04T23:19:13.974Z] EdgeX Global Pipelines Version Info [2021-01-04T23:19:13.974Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:19:15.474Z] ------------------- [2021-01-04T23:19:15.474Z] stable info: [2021-01-04T23:19:15.474Z] ------------------- [2021-01-04T23:19:15.474Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T23:19:15.474Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:19:15.474Z] Message: update stable to v1.0.173 [2021-01-04T23:19:16.433Z] ------------------- [2021-01-04T23:19:16.433Z] experimental info: [2021-01-04T23:19:16.433Z] ------------------- [2021-01-04T23:19:16.433Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T23:19:16.433Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:19:16.433Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T23:19:16.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-04T23:19:16.793Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-04T23:19:16.886Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T23:19:16.979Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T23:19:17.069Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T23:19:17.156Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T23:19:17.291Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T23:19:17.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T23:19:17.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T23:19:17.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T23:19:17.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T23:19:17.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-04T23:19:17.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T23:19:18.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T23:19:18.150Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:19:18.264Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:19:18.354Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:19:18.461Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:19:18.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T23:19:18.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-04T23:19:18.717Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T23:19:18.802Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T23:19:18.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T23:19:18.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T23:19:19.075Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T23:19:19.199Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T23:19:19.302Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T23:19:19.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2021-01-04T23:19:19.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2021-01-04T23:19:19.571Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2021-01-04T23:19:19.663Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d85dca9b400226a05ffbfd955efd05e21e58a56 [Pipeline] echo [2021-01-04T23:19:19.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d85dca [Pipeline] echo [2021-01-04T23:19:19.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:19:20.046Z] provisioning config files... [2021-01-04T23:19:20.073Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config695397450017511790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:19:20.489Z] ---> docker-login.sh [2021-01-04T23:19:20.490Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:19:20.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:20.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:20.752Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:20.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:20.752Z] [2021-01-04T23:19:20.752Z] Login Succeeded [2021-01-04T23:19:20.752Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:19:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:21.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:21.015Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:21.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:21.015Z] [2021-01-04T23:19:21.015Z] Login Succeeded [2021-01-04T23:19:21.015Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:19:21.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:21.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:21.279Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:21.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:21.279Z] [2021-01-04T23:19:21.279Z] Login Succeeded [2021-01-04T23:19:21.279Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:19:21.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:21.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:21.279Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:21.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:21.279Z] [2021-01-04T23:19:21.279Z] Login Succeeded [2021-01-04T23:19:21.279Z] docker.io [2021-01-04T23:19:21.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:21.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:21.811Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:21.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:21.811Z] [2021-01-04T23:19:21.811Z] Login Succeeded [2021-01-04T23:19:21.811Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:19:21.821Z] 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-04T23:19:22.677Z] + git log --format=format:%s -1 5d85dca9b400226a05ffbfd955efd05e21e58a56 [Pipeline] echo [2021-01-04T23:19:22.741Z] GIT_COMMIT: 5d85dca9b400226a05ffbfd955efd05e21e58a56, Commit Message: Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD [Pipeline] echo [2021-01-04T23:19:22.787Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:19:23.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:19:23.443Z] [2021-01-04T23:19:23.443Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:19:23.805Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:19:23.805Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T23:19:23.805Z] 31603596830f: Pulling fs layer [2021-01-04T23:19:23.805Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T23:19:23.805Z] 6ca5941a6612: Pulling fs layer [2021-01-04T23:19:23.805Z] ecc8261a40a4: Pulling fs layer [2021-01-04T23:19:23.805Z] ecc8261a40a4: Waiting [2021-01-04T23:19:23.805Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T23:19:23.805Z] 2a8b12db71e7: Download complete [2021-01-04T23:19:23.805Z] 31603596830f: Download complete [2021-01-04T23:19:24.068Z] ecc8261a40a4: Verifying Checksum [2021-01-04T23:19:24.068Z] ecc8261a40a4: Download complete [2021-01-04T23:19:24.068Z] 6ca5941a6612: Verifying Checksum [2021-01-04T23:19:24.068Z] 6ca5941a6612: Download complete [2021-01-04T23:19:24.329Z] 31603596830f: Pull complete [2021-01-04T23:19:24.329Z] 2a8b12db71e7: Pull complete [2021-01-04T23:19:25.284Z] 6ca5941a6612: Pull complete [2021-01-04T23:19:25.284Z] ecc8261a40a4: Pull complete [2021-01-04T23:19:25.549Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T23:19:25.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:19:25.549Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T23:19:25.654Z] prd-centos7-docker-4c-2g-18330 does not seem to be running inside a container [2021-01-04T23:19:25.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@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-04T23:19:27.463Z] $ docker top 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T23:19:27.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:19:27.753Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:19:27.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:19:27.980Z] $ docker exec 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent [2021-01-04T23:19:28.154Z] SSH_AUTH_SOCK=/tmp/ssh-IMSVNUbG4Thn/agent.12 [2021-01-04T23:19:28.154Z] SSH_AGENT_PID=17 [2021-01-04T23:19:28.164Z] Running ssh-add (command line suppressed) [2021-01-04T23:19:28.291Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_5284933926300677320.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_5284933926300677320.key) [2021-01-04T23:19:28.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:19:28.673Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T23:19:28.694Z] $ docker exec --env ******** --env ******** 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent -k [2021-01-04T23:19:28.809Z] unset SSH_AUTH_SOCK; [2021-01-04T23:19:28.809Z] unset SSH_AGENT_PID; [2021-01-04T23:19:28.809Z] echo Agent pid 17 killed; [2021-01-04T23:19:28.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T23:19:29.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:19:29.003Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:19:29.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:19:29.178Z] $ docker exec 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent [2021-01-04T23:19:29.352Z] SSH_AUTH_SOCK=/tmp/ssh-Rqq2jJh9u5ZD/agent.46 [2021-01-04T23:19:29.352Z] SSH_AGENT_PID=52 [2021-01-04T23:19:29.359Z] Running ssh-add (command line suppressed) [2021-01-04T23:19:29.485Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_6352726294049219920.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_6352726294049219920.key) [2021-01-04T23:19:29.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:19:29.875Z] + git semver init [2021-01-04T23:19:29.875Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T23:19:29.875Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git [2021-01-04T23:19:29.875Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 [2021-01-04T23:19:29.875Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T23:19:29.875Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T23:19:29.875Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T23:19:29.875Z] # $SEMVER_BRANCH = PR-179 [2021-01-04T23:19:30.138Z] # $SEMVER_TEMP = /tmp/semver-439106007 [2021-01-04T23:19:30.138Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-04T23:19:30.400Z] # '/tmp/semver-439106007' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' [2021-01-04T23:19:30.400Z] # -> Force: false [2021-01-04T23:19:30.400Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } [2021-01-04T23:19:30.414Z] $ docker exec --env ******** --env ******** 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 ssh-agent -k [2021-01-04T23:19:30.532Z] unset SSH_AUTH_SOCK; [2021-01-04T23:19:30.533Z] unset SSH_AGENT_PID; [2021-01-04T23:19:30.533Z] echo Agent pid 52 killed; [2021-01-04T23:19:30.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T23:19:31.049Z] + git semver [Pipeline] } [2021-01-04T23:19:31.070Z] $ docker stop --time=1 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 [2021-01-04T23:19:32.481Z] $ docker rm -f 23feb40d4e24447676d316ea18ed23006f0e3396f667c589e7e659e952a54212 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T23:19:33.007Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T23:19:33.446Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T23:19:33.449Z] [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-04T23:19:48.988Z] Still waiting to schedule task [2021-01-04T23:19:48.988Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18321’ is offline; ‘prd-centos7-docker-4c-2g-18322’ is offline; ‘prd-centos7-docker-4c-2g-18333’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18313’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18326’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18331’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-04T23:19:48.990Z] Still waiting to schedule task [2021-01-04T23:19:48.990Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-04T23:20:52.318Z] Running on prd-centos7-docker-4c-2g-18336 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws [2021-01-04T23:20:52.379Z] Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout [2021-01-04T23:20:55.260Z] using credential edgex-jenkins-ssh [2021-01-04T23:20:55.310Z] Cloning the remote Git repository [2021-01-04T23:20:55.342Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:20:55.413Z] > git init /w/workspace/device-mqtt-go/9 # timeout=10 [2021-01-04T23:20:55.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:20:55.477Z] > git --version # timeout=10 [2021-01-04T23:20:55.485Z] > git --version # 'git version 2.24.3' [2021-01-04T23:20:55.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:20:55.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:20:56.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:20:56.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:20:56.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:20:56.138Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:20:56.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:20:56.142Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T23:20:56.572Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 07355228612828934d7917b8177258c9093cd58a [2021-01-04T23:20:56.684Z] Merge succeeded, producing 875297dd50ab68ad7c7ebf0e5935534a6d067646 [2021-01-04T23:20:56.684Z] Checking out Revision 875297dd50ab68ad7c7ebf0e5935534a6d067646 (PR-179) [2021-01-04T23:20:56.582Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:20:56.588Z] > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 [2021-01-04T23:20:56.623Z] > git remote # timeout=10 [2021-01-04T23:20:56.630Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:20:56.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:20:56.648Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T23:20:56.678Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:20:56.688Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:20:56.692Z] > git checkout -f 875297dd50ab68ad7c7ebf0e5935534a6d067646 # timeout=10 [2021-01-04T23:21:00.332Z] Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" [2021-01-04T23:21:00.342Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:21:00.336Z] > git rev-list --no-walk f7ab47e5364e83bc313ef5f4d7b01f84b301d32e # timeout=10 [2021-01-04T23:21:01.651Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:21:01.981Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:21:02.277Z] + sudo service docker restart [2021-01-04T23:21:02.277Z] + true [2021-01-04T23:21:02.277Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:21:03.300Z] provisioning config files... [2021-01-04T23:21:03.333Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config6406234644251558134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:21:03.696Z] ---> docker-login.sh [2021-01-04T23:21:03.696Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:21:03.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:03.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:03.960Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:03.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:03.960Z] [2021-01-04T23:21:03.960Z] Login Succeeded [2021-01-04T23:21:03.960Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:21:04.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:04.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:04.222Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:04.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:04.222Z] [2021-01-04T23:21:04.222Z] Login Succeeded [2021-01-04T23:21:04.222Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:21:04.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:04.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:04.487Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:04.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:04.487Z] [2021-01-04T23:21:04.487Z] Login Succeeded [2021-01-04T23:21:04.487Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:21:04.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:04.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:04.750Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:04.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:04.750Z] [2021-01-04T23:21:04.750Z] Login Succeeded [2021-01-04T23:21:04.750Z] docker.io [2021-01-04T23:21:04.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:21:05.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:21:05.014Z] Configure a credential helper to remove this warning. See [2021-01-04T23:21:05.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:21:05.014Z] [2021-01-04T23:21:05.014Z] Login Succeeded [2021-01-04T23:21:05.014Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:21:05.025Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:21:05.453Z] ========================================================= [2021-01-04T23:21:05.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T23:21:05.453Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:21:05.867Z] + 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-04T23:21:05.867Z] Sending build context to Docker daemon 494.6kB [2021-01-04T23:21:06.129Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:21:06.129Z] Step 2/8 : FROM ${BASE} [2021-01-04T23:21:06.129Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T23:21:06.129Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T23:21:06.129Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T23:21:06.129Z] de9db76c5a1d: Pulling fs layer [2021-01-04T23:21:06.129Z] bca2f99d35d6: Pulling fs layer [2021-01-04T23:21:06.129Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T23:21:06.129Z] 7c6f9722023f: Pulling fs layer [2021-01-04T23:21:06.129Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T23:21:06.129Z] 7c6f9722023f: Waiting [2021-01-04T23:21:06.129Z] bca2f99d35d6: Waiting [2021-01-04T23:21:06.129Z] 93359f2a8cfa: Waiting [2021-01-04T23:21:06.129Z] a35cf1a2eb13: Waiting [2021-01-04T23:21:06.129Z] de9db76c5a1d: Verifying Checksum [2021-01-04T23:21:06.129Z] de9db76c5a1d: Download complete [2021-01-04T23:21:06.129Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T23:21:06.129Z] 0ef7d3d256c8: Download complete [2021-01-04T23:21:06.393Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T23:21:06.393Z] 188c0c94c7c5: Download complete [2021-01-04T23:21:06.393Z] 93359f2a8cfa: Download complete [2021-01-04T23:21:06.393Z] 7c6f9722023f: Verifying Checksum [2021-01-04T23:21:06.393Z] 7c6f9722023f: Download complete [2021-01-04T23:21:06.661Z] 188c0c94c7c5: Pull complete [2021-01-04T23:21:06.661Z] 0ef7d3d256c8: Pull complete [2021-01-04T23:21:06.925Z] de9db76c5a1d: Pull complete [2021-01-04T23:21:08.322Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T23:21:08.322Z] a35cf1a2eb13: Download complete [2021-01-04T23:21:08.585Z] bca2f99d35d6: Verifying Checksum [2021-01-04T23:21:08.585Z] bca2f99d35d6: Download complete [2021-01-04T23:21:13.922Z] bca2f99d35d6: Pull complete [2021-01-04T23:21:13.922Z] 93359f2a8cfa: Pull complete [2021-01-04T23:21:14.186Z] 7c6f9722023f: Pull complete [2021-01-04T23:21:19.529Z] a35cf1a2eb13: Pull complete [2021-01-04T23:21:19.529Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T23:21:19.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T23:21:19.529Z] ---> a62c8e92a672 [2021-01-04T23:21:19.529Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T23:21:19.529Z] ---> Running in a0d4a6e4515b [2021-01-04T23:21:19.794Z] Removing intermediate container a0d4a6e4515b [2021-01-04T23:21:19.794Z] ---> 09b6195cc4cb [2021-01-04T23:21:19.794Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:21:19.794Z] ---> Running in 610ebb20a4aa [2021-01-04T23:21:20.762Z] Removing intermediate container 610ebb20a4aa [2021-01-04T23:21:20.762Z] ---> f3f0ae5cfae0 [2021-01-04T23:21:20.762Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T23:21:20.762Z] ---> Running in 6f42c1629108 [2021-01-04T23:21:21.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T23:21:22.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T23:21:23.238Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T23:21:23.501Z] (2/14) Installing file (5.38-r0) [2021-01-04T23:21:23.501Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T23:21:23.764Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T23:21:29.072Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T23:21:29.072Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T23:21:29.072Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T23:21:29.072Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T23:21:29.072Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T23:21:29.072Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T23:21:29.072Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T23:21:29.072Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T23:21:29.072Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T23:21:29.335Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T23:21:29.335Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T23:21:29.335Z] OK: 237 MiB in 53 packages [2021-01-04T23:21:32.673Z] Removing intermediate container 6f42c1629108 [2021-01-04T23:21:32.673Z] ---> 38d76e94975a [2021-01-04T23:21:32.673Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T23:21:32.673Z] ---> Running in cf9aac0d4691 [2021-01-04T23:21:32.936Z] Removing intermediate container cf9aac0d4691 [2021-01-04T23:21:32.936Z] ---> 686730ea9877 [2021-01-04T23:21:32.936Z] Step 7/8 : COPY . . [2021-01-04T23:21:33.886Z] ---> 58b9a310fa2a [2021-01-04T23:21:33.886Z] Step 8/8 : RUN go mod download [2021-01-04T23:21:33.886Z] ---> Running in 04b2752e28d8 [2021-01-04T23:21:55.922Z] Removing intermediate container 04b2752e28d8 [2021-01-04T23:21:55.922Z] ---> d159b14d1982 [2021-01-04T23:21:55.922Z] Successfully built d159b14d1982 [2021-01-04T23:21:55.922Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:21:56.242Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:21:56.242Z] . [Pipeline] withDockerContainer [2021-01-04T23:21:56.357Z] prd-centos7-docker-4c-2g-18336 does not seem to be running inside a container [2021-01-04T23:21:56.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T23:21:57.263Z] $ docker top 686aafedd7d004630d02bb9e87a1982d1902fc885463e4ff81a8bf83e8ea7910 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:21:57.839Z] + go version [2021-01-04T23:21:57.839Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T23:21:57.855Z] $ docker stop --time=1 686aafedd7d004630d02bb9e87a1982d1902fc885463e4ff81a8bf83e8ea7910 [2021-01-04T23:21:59.204Z] $ docker rm -f 686aafedd7d004630d02bb9e87a1982d1902fc885463e4ff81a8bf83e8ea7910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:21:59.999Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:21:59.999Z] . [Pipeline] withDockerContainer [2021-01-04T23:22:00.107Z] prd-centos7-docker-4c-2g-18336 does not seem to be running inside a container [2021-01-04T23:22:00.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T23:22:00.900Z] $ docker top 5d408e583807b3d08e2becd256f3ba3dd28b8aa0e07ea35a020cdd810a86a783 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:22:01.387Z] + make test [2021-01-04T23:22:01.388Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:22:02.801Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T23:22:15.201Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T23:22:15.201Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2021-01-04T23:22:15.201Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T23:22:15.201Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T23:22:17.815Z] gofmt -l . [2021-01-04T23:22:17.815Z] ["`gofmt -l .`" = ""] [2021-01-04T23:22:17.815Z] ./bin/test-attribution-txt.sh [2021-01-04T23:22:18.392Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-04T23:22:18.392Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-04T23:22:18.414Z] $ docker stop --time=1 5d408e583807b3d08e2becd256f3ba3dd28b8aa0e07ea35a020cdd810a86a783 [2021-01-04T23:22:20.887Z] $ docker rm -f 5d408e583807b3d08e2becd256f3ba3dd28b8aa0e07ea35a020cdd810a86a783 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T23:22:22.421Z] Failed in branch amd64 [2021-01-04T23:22:22.661Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18339 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws [2021-01-04T23:22:22.731Z] Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout [2021-01-04T23:22:27.771Z] using credential edgex-jenkins-ssh [2021-01-04T23:22:27.853Z] Cloning the remote Git repository [2021-01-04T23:22:27.911Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:22:28.018Z] > git init /w/workspace/device-mqtt-go/9 # timeout=10 [2021-01-04T23:22:28.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:22:28.099Z] > git --version # timeout=10 [2021-01-04T23:22:28.132Z] > git --version # 'git version 2.17.1' [2021-01-04T23:22:28.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:22:28.225Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:22:29.756Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit 07355228612828934d7917b8177258c9093cd58a [2021-01-04T23:22:29.989Z] Merge succeeded, producing 49fcca916efb9b660bacb747e46ca96f89092872 [2021-01-04T23:22:29.989Z] Checking out Revision 49fcca916efb9b660bacb747e46ca96f89092872 (PR-179) [2021-01-04T23:22:29.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:22:29.078Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:22:29.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:22:29.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:22:29.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:22:29.250Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T23:22:29.779Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:22:29.797Z] > git checkout -f 07355228612828934d7917b8177258c9093cd58a # timeout=10 [2021-01-04T23:22:29.872Z] > git remote # timeout=10 [2021-01-04T23:22:29.892Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:22:29.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:22:29.924Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T23:22:29.971Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:22:29.998Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:22:30.007Z] > git checkout -f 49fcca916efb9b660bacb747e46ca96f89092872 # timeout=10 [2021-01-04T23:22:34.247Z] Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" [2021-01-04T23:22:34.269Z] First time build. Skipping changelog. [2021-01-04T23:22:34.258Z] > git rev-list --no-walk f7ab47e5364e83bc313ef5f4d7b01f84b301d32e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:22:35.813Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:22:36.226Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:22:36.567Z] + sudo service docker restart [2021-01-04T23:22:36.567Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:22:38.621Z] provisioning config files... [2021-01-04T23:22:38.666Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config1408520264403754243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:22:39.067Z] ---> docker-login.sh [2021-01-04T23:22:39.067Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:22:40.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:22:40.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:22:40.325Z] Configure a credential helper to remove this warning. See [2021-01-04T23:22:40.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:22:40.325Z] [2021-01-04T23:22:40.325Z] Login Succeeded [2021-01-04T23:22:40.325Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:22:40.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:22:40.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:22:40.881Z] Configure a credential helper to remove this warning. See [2021-01-04T23:22:40.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:22:40.881Z] [2021-01-04T23:22:40.881Z] Login Succeeded [2021-01-04T23:22:40.881Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:22:41.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:22:41.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:22:41.433Z] Configure a credential helper to remove this warning. See [2021-01-04T23:22:41.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:22:41.433Z] [2021-01-04T23:22:41.433Z] Login Succeeded [2021-01-04T23:22:41.433Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:22:41.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:22:41.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:22:41.981Z] Configure a credential helper to remove this warning. See [2021-01-04T23:22:41.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:22:41.981Z] [2021-01-04T23:22:41.981Z] Login Succeeded [2021-01-04T23:22:41.981Z] docker.io [2021-01-04T23:22:42.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:22:42.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:22:42.850Z] Configure a credential helper to remove this warning. See [2021-01-04T23:22:42.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:22:42.850Z] [2021-01-04T23:22:42.850Z] Login Succeeded [2021-01-04T23:22:42.850Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:22:42.867Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:22:43.416Z] ========================================================= [2021-01-04T23:22:43.416Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T23:22:43.416Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:22:43.798Z] + 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-04T23:22:44.090Z] Sending build context to Docker daemon 493.6kB [2021-01-04T23:22:44.090Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:22:44.090Z] Step 2/8 : FROM ${BASE} [2021-01-04T23:22:44.369Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T23:22:44.369Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T23:22:44.369Z] a4357932f1b6: Pulling fs layer [2021-01-04T23:22:44.369Z] 18c013af1878: Pulling fs layer [2021-01-04T23:22:44.369Z] 00ac8860ef70: Pulling fs layer [2021-01-04T23:22:44.369Z] 63d7cb157983: Pulling fs layer [2021-01-04T23:22:44.369Z] b116817d02f9: Pulling fs layer [2021-01-04T23:22:44.369Z] 745a02a5169b: Pulling fs layer [2021-01-04T23:22:44.369Z] 63d7cb157983: Waiting [2021-01-04T23:22:44.369Z] b116817d02f9: Waiting [2021-01-04T23:22:44.369Z] 00ac8860ef70: Waiting [2021-01-04T23:22:44.369Z] 745a02a5169b: Waiting [2021-01-04T23:22:44.369Z] 18c013af1878: Verifying Checksum [2021-01-04T23:22:44.369Z] 18c013af1878: Download complete [2021-01-04T23:22:44.369Z] a4357932f1b6: Verifying Checksum [2021-01-04T23:22:44.369Z] a4357932f1b6: Download complete [2021-01-04T23:22:44.369Z] 63d7cb157983: Verifying Checksum [2021-01-04T23:22:44.369Z] 63d7cb157983: Download complete [2021-01-04T23:22:44.646Z] b116817d02f9: Verifying Checksum [2021-01-04T23:22:44.647Z] b116817d02f9: Download complete [2021-01-04T23:22:44.647Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T23:22:44.647Z] 5f621e34cdf4: Download complete [2021-01-04T23:22:45.252Z] 5f621e34cdf4: Pull complete [2021-01-04T23:22:45.876Z] a4357932f1b6: Pull complete [2021-01-04T23:22:46.151Z] 18c013af1878: Pull complete [2021-01-04T23:22:46.747Z] 745a02a5169b: Verifying Checksum [2021-01-04T23:22:46.747Z] 745a02a5169b: Download complete [2021-01-04T23:22:47.731Z] 00ac8860ef70: Verifying Checksum [2021-01-04T23:22:47.731Z] 00ac8860ef70: Download complete [2021-01-04T23:22:57.907Z] 00ac8860ef70: Pull complete [2021-01-04T23:22:58.504Z] 63d7cb157983: Pull complete [2021-01-04T23:22:58.784Z] b116817d02f9: Pull complete [2021-01-04T23:23:03.116Z] 745a02a5169b: Pull complete [2021-01-04T23:23:03.116Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T23:23:03.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T23:23:03.116Z] ---> b7e6874047d6 [2021-01-04T23:23:03.116Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T23:23:05.740Z] ---> Running in a738dc668a15 [2021-01-04T23:23:06.018Z] Removing intermediate container a738dc668a15 [2021-01-04T23:23:06.018Z] ---> ef357d7bdcc1 [2021-01-04T23:23:06.018Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:23:06.018Z] ---> Running in 081ab86fe49c [2021-01-04T23:23:08.649Z] Removing intermediate container 081ab86fe49c [2021-01-04T23:23:08.649Z] ---> 0a64e8680c50 [2021-01-04T23:23:08.649Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T23:23:08.649Z] ---> Running in 70d9ae160500 [2021-01-04T23:23:09.635Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T23:23:10.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T23:23:10.823Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T23:23:11.095Z] (2/14) Installing file (5.38-r0) [2021-01-04T23:23:11.095Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T23:23:11.370Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T23:23:15.166Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T23:23:15.166Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T23:23:15.166Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T23:23:15.166Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T23:23:15.166Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T23:23:15.166Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T23:23:15.166Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T23:23:15.166Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T23:23:15.440Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T23:23:15.440Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T23:23:15.440Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T23:23:15.440Z] OK: 221 MiB in 53 packages [2021-01-04T23:23:19.756Z] Removing intermediate container 70d9ae160500 [2021-01-04T23:23:19.756Z] ---> aa9439018a0e [2021-01-04T23:23:19.756Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T23:23:19.756Z] ---> Running in 879f8bf5a6b0 [2021-01-04T23:23:20.030Z] Removing intermediate container 879f8bf5a6b0 [2021-01-04T23:23:20.030Z] ---> 44351470cfd7 [2021-01-04T23:23:20.030Z] Step 7/8 : COPY . . [2021-01-04T23:23:21.010Z] ---> 41b516c89abe [2021-01-04T23:23:21.010Z] Step 8/8 : RUN go mod download [2021-01-04T23:23:21.284Z] ---> Running in adba228e7fb6 [2021-01-04T23:23:48.103Z] Removing intermediate container adba228e7fb6 [2021-01-04T23:23:48.103Z] ---> e3f4d65075f9 [2021-01-04T23:23:48.103Z] Successfully built e3f4d65075f9 [2021-01-04T23:23:48.103Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:23:48.444Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:23:48.445Z] . [Pipeline] withDockerContainer [2021-01-04T23:23:48.687Z] prd-ubuntu18.04-docker-arm64-4c-16g-18339 does not seem to be running inside a container [2021-01-04T23:23:48.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-04T23:23:50.343Z] $ docker top 148486cd55eeb60da5f29f6da3762b23e5c488c942343d97388e66fc1d3cb1cc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:23:51.426Z] + go version [2021-01-04T23:23:51.426Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T23:23:51.452Z] $ docker stop --time=1 148486cd55eeb60da5f29f6da3762b23e5c488c942343d97388e66fc1d3cb1cc [2021-01-04T23:23:53.347Z] $ docker rm -f 148486cd55eeb60da5f29f6da3762b23e5c488c942343d97388e66fc1d3cb1cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:23:54.355Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:23:54.355Z] . [Pipeline] withDockerContainer [2021-01-04T23:23:54.630Z] prd-ubuntu18.04-docker-arm64-4c-16g-18339 does not seem to be running inside a container [2021-01-04T23:23:54.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-04T23:23:56.229Z] $ docker top 210ca6c386433aae0747ecbafde277a3672a4f14a2fa9600f767a40fe83bb615 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:23:57.247Z] + make test [2021-01-04T23:23:57.247Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:23:58.226Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T23:24:37.313Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T23:24:37.313Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.036s coverage: 28.3% of statements [2021-01-04T23:24:37.313Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T23:24:37.313Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T23:24:45.612Z] gofmt -l . [2021-01-04T23:24:45.612Z] ["`gofmt -l .`" = ""] [2021-01-04T23:24:45.612Z] ./bin/test-attribution-txt.sh [2021-01-04T23:24:46.211Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-01-04T23:24:46.211Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-04T23:24:46.239Z] $ docker stop --time=1 210ca6c386433aae0747ecbafde277a3672a4f14a2fa9600f767a40fe83bb615 [2021-01-04T23:24:48.688Z] $ docker rm -f 210ca6c386433aae0747ecbafde277a3672a4f14a2fa9600f767a40fe83bb615 [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-04T23:24:50.829Z] 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-04T23:24:53.791Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:54.360Z] ---> package-listing.sh [2021-01-04T23:24:54.361Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T23:24:54.361Z] ++ facter osfamily [2021-01-04T23:24:54.361Z] + OS_FAMILY=redhat [2021-01-04T23:24:54.361Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 [2021-01-04T23:24:54.361Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T23:24:54.361Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T23:24:54.361Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T23:24:54.361Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T23:24:54.361Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' [2021-01-04T23:24:54.361Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T23:24:54.361Z] + case "${OS_FAMILY}" in [2021-01-04T23:24:54.361Z] + rpm -qa [2021-01-04T23:24:54.361Z] + sort [2021-01-04T23:24:58.592Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T23:24:58.592Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T23:24:58.592Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T23:24:58.592Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' [2021-01-04T23:24:58.592Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ [2021-01-04T23:24:58.592Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ [Pipeline] echo [2021-01-04T23:24:58.607Z] 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T23:24:58.904Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:24:59.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:24:59.212Z] [2021-01-04T23:24:59.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:24:59.571Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:24:59.571Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T23:24:59.571Z] df20fa9351a1: Pulling fs layer [2021-01-04T23:24:59.571Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T23:24:59.571Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T23:24:59.571Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T23:24:59.571Z] 93b61091891f: Pulling fs layer [2021-01-04T23:24:59.571Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T23:24:59.571Z] 5e14af77c1be: Pulling fs layer [2021-01-04T23:24:59.571Z] 01666e4c0597: Pulling fs layer [2021-01-04T23:24:59.571Z] aa168da1d23b: Pulling fs layer [2021-01-04T23:24:59.571Z] 46f8f816bc3b: Waiting [2021-01-04T23:24:59.571Z] 93b61091891f: Waiting [2021-01-04T23:24:59.571Z] 93b9cdb0e59b: Waiting [2021-01-04T23:24:59.571Z] 5e14af77c1be: Waiting [2021-01-04T23:24:59.571Z] 01666e4c0597: Waiting [2021-01-04T23:24:59.571Z] aa168da1d23b: Waiting [2021-01-04T23:24:59.571Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T23:24:59.571Z] 36b3adc4ff6f: Download complete [2021-01-04T23:24:59.571Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T23:24:59.571Z] 46f8f816bc3b: Download complete [2021-01-04T23:24:59.571Z] df20fa9351a1: Verifying Checksum [2021-01-04T23:24:59.571Z] df20fa9351a1: Download complete [2021-01-04T23:24:59.571Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T23:24:59.571Z] 93b9cdb0e59b: Download complete [2021-01-04T23:24:59.571Z] 5e14af77c1be: Verifying Checksum [2021-01-04T23:24:59.571Z] 5e14af77c1be: Download complete [2021-01-04T23:24:59.833Z] 93b61091891f: Verifying Checksum [2021-01-04T23:24:59.833Z] 93b61091891f: Download complete [2021-01-04T23:24:59.833Z] 01666e4c0597: Verifying Checksum [2021-01-04T23:24:59.833Z] 01666e4c0597: Download complete [2021-01-04T23:25:00.095Z] df20fa9351a1: Pull complete [2021-01-04T23:25:00.095Z] 36b3adc4ff6f: Pull complete [2021-01-04T23:25:00.359Z] 8ad3a11d3b57: Download complete [2021-01-04T23:25:00.943Z] 8ad3a11d3b57: Pull complete [2021-01-04T23:25:01.215Z] 46f8f816bc3b: Pull complete [2021-01-04T23:25:01.809Z] 93b61091891f: Pull complete [2021-01-04T23:25:02.075Z] aa168da1d23b: Verifying Checksum [2021-01-04T23:25:02.075Z] aa168da1d23b: Download complete [2021-01-04T23:25:02.075Z] 93b9cdb0e59b: Pull complete [2021-01-04T23:25:02.339Z] 5e14af77c1be: Pull complete [2021-01-04T23:25:02.616Z] 01666e4c0597: Pull complete [2021-01-04T23:25:09.257Z] aa168da1d23b: Pull complete [2021-01-04T23:25:09.257Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T23:25:09.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:25:09.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T23:25:09.407Z] prd-centos7-docker-4c-2g-18330 does not seem to be running inside a container [2021-01-04T23:25:09.456Z] $ 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-179/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-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@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-04T23:25:13.268Z] $ docker top a01c6421dd012e28571b4ec6965abd7abfba3abc243fe95bfa74cbd07c901f00 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:25:13.835Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T23:25:14.139Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T23:25:14.442Z] + ls /var/log/sa-host [2021-01-04T23:25:14.442Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T23:25:14.442Z] file_magic: OK [2021-01-04T23:25:14.442Z] HZ: Using current value: 100 [2021-01-04T23:25:14.442Z] file_header: OK [2021-01-04T23:25:14.442Z] 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-04T23:25:14.442Z] Statistics: [2021-01-04T23:25:14.442Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T23:25:14.442Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T23:25:14.442Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T23:25:14.442Z] file_magic: OK [2021-01-04T23:25:14.442Z] HZ: Using current value: 100 [2021-01-04T23:25:14.442Z] file_header: OK [2021-01-04T23:25:14.442Z] 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-04T23:25:14.442Z] Statistics: [2021-01-04T23:25:14.442Z] Hnuu...uuuununununu... [2021-01-04T23:25:14.442Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T23:25:14.671Z] provisioning config files... [2021-01-04T23:25:14.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config2626298946437350595tmp [Pipeline] { [Pipeline] echo [2021-01-04T23:25:14.775Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:25:15.077Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T23:25:15.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T23:25:15.178Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:25:15.481Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T23:25:15.492Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:25:15.797Z] ---> sudo-logs.sh [2021-01-04T23:25:15.797Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T23:25:15.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:25:16.116Z] ---> job-cost.sh [2021-01-04T23:25:16.116Z] lf-activate-venv: SKIPPING [2021-01-04T23:25:16.116Z] INFO: No Stack... [2021-01-04T23:25:17.061Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T23:25:17.634Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T23:25:17.647Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:25:17.940Z] ---> logs-deploy.sh [2021-01-04T23:25:17.940Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/9 [2021-01-04T23:25:17.940Z] INFO: archiving workspace using pattern(s): [2021-01-04T23:25:19.859Z] Archives upload complete. [2021-01-04T23:25:19.859Z] INFO: archiving logs to Nexus