Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a1661a1e73a94b7c1e29060cfbff76a73d868fcd+7a1b18f551239dfc150e88617034cadc3790dddc (444439e5cc19c6ecc57e9043a16e75d446ef92a7) 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-18327 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 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit a1661a1e73a94b7c1e29060cfbff76a73d868fcd Merge succeeded, producing e0f0cebf7d1eb8c0bdb7f62ee14bc1eda1867022 Checking out Revision e0f0cebf7d1eb8c0bdb7f62ee14bc1eda1867022 (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 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0f0cebf7d1eb8c0bdb7f62ee14bc1eda1867022 # timeout=10 Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" > git rev-list --no-walk a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T23:17:35.453Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T23:17:35.762Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T23:17:35.863Z] ========================================================= [2021-01-04T23:17:35.863Z] EdgeX Global Pipelines Version Info [2021-01-04T23:17:35.863Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:17:37.318Z] ------------------- [2021-01-04T23:17:37.318Z] stable info: [2021-01-04T23:17:37.318Z] ------------------- [2021-01-04T23:17:37.318Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T23:17:37.318Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:17:37.318Z] Message: update stable to v1.0.173 [2021-01-04T23:17:38.264Z] ------------------- [2021-01-04T23:17:38.264Z] experimental info: [2021-01-04T23:17:38.264Z] ------------------- [2021-01-04T23:17:38.264Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T23:17:38.264Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:17:38.264Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T23:17:38.555Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-04T23:17:38.669Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-04T23:17:38.777Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T23:17:38.902Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T23:17:39.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T23:17:39.137Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T23:17:39.264Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T23:17:39.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T23:17:39.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T23:17:39.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T23:17:39.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T23:17:39.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-04T23:17:39.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T23:17:40.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T23:17:40.156Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:17:40.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:17:40.385Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:17:40.498Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:17:40.612Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T23:17:40.729Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-04T23:17:40.859Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T23:17:40.955Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T23:17:41.047Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T23:17:41.152Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T23:17:41.242Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T23:17:41.334Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T23:17:41.428Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T23:17:41.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2021-01-04T23:17:41.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2021-01-04T23:17:41.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2021-01-04T23:17:41.820Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0f0cebf7d1eb8c0bdb7f62ee14bc1eda1867022 [Pipeline] echo [2021-01-04T23:17:41.910Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0f0ceb [Pipeline] echo [2021-01-04T23:17:42.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:17:42.212Z] provisioning config files... [2021-01-04T23:17:42.241Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/config987594730643351211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:17:42.598Z] ---> docker-login.sh [2021-01-04T23:17:42.598Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:17:42.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:17:43.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:17:43.122Z] Configure a credential helper to remove this warning. See [2021-01-04T23:17:43.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:17:43.122Z] [2021-01-04T23:17:43.122Z] Login Succeeded [2021-01-04T23:17:43.122Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:17:43.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:17:43.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:17:43.122Z] Configure a credential helper to remove this warning. See [2021-01-04T23:17:43.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:17:43.122Z] [2021-01-04T23:17:43.122Z] Login Succeeded [2021-01-04T23:17:43.385Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:17:43.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:17:43.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:17:43.385Z] Configure a credential helper to remove this warning. See [2021-01-04T23:17:43.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:17:43.385Z] [2021-01-04T23:17:43.385Z] Login Succeeded [2021-01-04T23:17:43.385Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:17:43.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:17:43.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:17:43.648Z] Configure a credential helper to remove this warning. See [2021-01-04T23:17:43.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:17:43.648Z] [2021-01-04T23:17:43.648Z] Login Succeeded [2021-01-04T23:17:43.648Z] docker.io [2021-01-04T23:17:43.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:17:43.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:17:43.911Z] Configure a credential helper to remove this warning. See [2021-01-04T23:17:43.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:17:43.911Z] [2021-01-04T23:17:43.911Z] Login Succeeded [2021-01-04T23:17:43.911Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:17:43.921Z] 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:17:44.733Z] + git log --format=format:%s -1 e0f0cebf7d1eb8c0bdb7f62ee14bc1eda1867022 [Pipeline] echo [2021-01-04T23:17:44.792Z] GIT_COMMIT: e0f0cebf7d1eb8c0bdb7f62ee14bc1eda1867022, Commit Message: Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD [Pipeline] echo [2021-01-04T23:17:44.837Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:17:45.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:17:45.413Z] [2021-01-04T23:17:45.413Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:17:45.765Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:17:45.766Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T23:17:45.766Z] 31603596830f: Pulling fs layer [2021-01-04T23:17:45.766Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T23:17:45.766Z] 6ca5941a6612: Pulling fs layer [2021-01-04T23:17:45.766Z] ecc8261a40a4: Pulling fs layer [2021-01-04T23:17:45.766Z] ecc8261a40a4: Waiting [2021-01-04T23:17:45.766Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T23:17:45.766Z] 2a8b12db71e7: Download complete [2021-01-04T23:17:45.766Z] 31603596830f: Verifying Checksum [2021-01-04T23:17:45.766Z] 31603596830f: Download complete [2021-01-04T23:17:46.030Z] 6ca5941a6612: Verifying Checksum [2021-01-04T23:17:46.030Z] 6ca5941a6612: Download complete [2021-01-04T23:17:46.030Z] ecc8261a40a4: Verifying Checksum [2021-01-04T23:17:46.030Z] ecc8261a40a4: Download complete [2021-01-04T23:17:46.292Z] 31603596830f: Pull complete [2021-01-04T23:17:46.292Z] 2a8b12db71e7: Pull complete [2021-01-04T23:17:47.246Z] 6ca5941a6612: Pull complete [2021-01-04T23:17:47.508Z] ecc8261a40a4: Pull complete [2021-01-04T23:17:47.508Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T23:17:47.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:17:47.508Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T23:17:47.612Z] prd-centos7-docker-4c-2g-18327 does not seem to be running inside a container [2021-01-04T23:17:47.658Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T23:17:49.687Z] $ docker top eb7ad8286937004ef03d3bd5f4d85da30632c74fc91575f23353238961e5788f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T23:17:50.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:17:50.175Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:17:50.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:17:50.426Z] $ docker exec eb7ad8286937004ef03d3bd5f4d85da30632c74fc91575f23353238961e5788f ssh-agent [2021-01-04T23:17:50.739Z] SSH_AUTH_SOCK=/tmp/ssh-jTjBFrOLsbbh/agent.11 [2021-01-04T23:17:50.739Z] SSH_AGENT_PID=16 [2021-01-04T23:17:50.793Z] Running ssh-add (command line suppressed) [2021-01-04T23:17:50.914Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_5505526897662762089.key (/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_5505526897662762089.key) [2021-01-04T23:17:50.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:17:51.306Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T23:17:51.331Z] $ docker exec --env ******** --env ******** eb7ad8286937004ef03d3bd5f4d85da30632c74fc91575f23353238961e5788f ssh-agent -k [2021-01-04T23:17:51.459Z] unset SSH_AUTH_SOCK; [2021-01-04T23:17:51.460Z] unset SSH_AGENT_PID; [2021-01-04T23:17:51.460Z] echo Agent pid 16 killed; [2021-01-04T23:17:51.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T23:17:51.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:17:51.663Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:17:51.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:17:51.880Z] $ docker exec eb7ad8286937004ef03d3bd5f4d85da30632c74fc91575f23353238961e5788f ssh-agent [2021-01-04T23:17:52.048Z] SSH_AUTH_SOCK=/tmp/ssh-S2PqFSl468cr/agent.46 [2021-01-04T23:17:52.048Z] SSH_AGENT_PID=51 [2021-01-04T23:17:52.057Z] Running ssh-add (command line suppressed) [2021-01-04T23:17:52.183Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_556718512425037630.key (/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/private_key_556718512425037630.key) [2021-01-04T23:17:52.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:17:52.590Z] + git semver init [2021-01-04T23:17:52.590Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T23:17:52.590Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-199/.git [2021-01-04T23:17:52.590Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-199 [2021-01-04T23:17:52.591Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T23:17:52.591Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T23:17:52.591Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T23:17:52.591Z] # $SEMVER_BRANCH = PR-199 [2021-01-04T23:17:52.591Z] # $SEMVER_TEMP = /tmp/semver-595605451 [2021-01-04T23:17:52.591Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-04T23:17:53.169Z] # '/tmp/semver-595605451' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-199/.semver' [2021-01-04T23:17:53.169Z] # -> Force: false [2021-01-04T23:17:53.169Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-199/.semver [Pipeline] } [2021-01-04T23:17:53.184Z] $ docker exec --env ******** --env ******** eb7ad8286937004ef03d3bd5f4d85da30632c74fc91575f23353238961e5788f ssh-agent -k [2021-01-04T23:17:53.322Z] unset SSH_AUTH_SOCK; [2021-01-04T23:17:53.322Z] unset SSH_AGENT_PID; [2021-01-04T23:17:53.322Z] echo Agent pid 51 killed; [2021-01-04T23:17:53.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T23:17:53.843Z] + git semver [Pipeline] } [2021-01-04T23:17:53.862Z] $ docker stop --time=1 eb7ad8286937004ef03d3bd5f4d85da30632c74fc91575f23353238961e5788f [2021-01-04T23:17:55.317Z] $ docker rm -f eb7ad8286937004ef03d3bd5f4d85da30632c74fc91575f23353238961e5788f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T23:17:55.799Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T23:17:56.317Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T23:17:56.320Z] [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:18:11.827Z] Still waiting to schedule task [2021-01-04T23:18:11.827Z] ‘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-18328’ is offline; ‘prd-centos7-docker-4c-2g-18329’ 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’ [2021-01-04T23:18:11.830Z] Still waiting to schedule task [2021-01-04T23:18:11.830Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-04T23:19:17.586Z] Running on prd-centos7-docker-4c-2g-18332 in /w/workspace/gexfoundry_device-mqtt-go_PR-199 [Pipeline] { [Pipeline] ws [2021-01-04T23:19:17.719Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T23:19:20.147Z] using credential edgex-jenkins-ssh [2021-01-04T23:19:20.216Z] Cloning the remote Git repository [2021-01-04T23:19:19.745Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:19.825Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-04T23:19:19.898Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:19.898Z] > git --version # timeout=10 [2021-01-04T23:19:19.913Z] > git --version # 'git version 2.24.3' [2021-01-04T23:19:19.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:19.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:19:21.499Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit a1661a1e73a94b7c1e29060cfbff76a73d868fcd [2021-01-04T23:19:21.600Z] Merge succeeded, producing 72078aeafddd29c72899abfb35f5f78d01b78afb [2021-01-04T23:19:21.600Z] Checking out Revision 72078aeafddd29c72899abfb35f5f78d01b78afb (PR-199) [2021-01-04T23:19:20.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:19:20.638Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:19:20.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:19:20.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:20.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:20.670Z] > 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-04T23:19:21.109Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:19:21.115Z] > git checkout -f a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [2021-01-04T23:19:21.150Z] > git remote # timeout=10 [2021-01-04T23:19:21.156Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:19:21.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:21.169Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T23:19:21.203Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:19:21.213Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:19:21.219Z] > git checkout -f 72078aeafddd29c72899abfb35f5f78d01b78afb # timeout=10 [2021-01-04T23:19:25.077Z] Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" [2021-01-04T23:19:24.980Z] > git rev-list --no-walk a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:19:26.401Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:19:26.729Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:19:27.028Z] + sudo service docker restart [2021-01-04T23:19:27.028Z] + true [2021-01-04T23:19:27.028Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:19:28.045Z] provisioning config files... [2021-01-04T23:19:28.074Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config251771634522447801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:19:28.448Z] ---> docker-login.sh [2021-01-04T23:19:28.448Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:19:28.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:28.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:28.711Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:28.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:28.711Z] [2021-01-04T23:19:28.711Z] Login Succeeded [2021-01-04T23:19:28.711Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:19:28.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:28.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:28.975Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:28.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:28.975Z] [2021-01-04T23:19:28.975Z] Login Succeeded [2021-01-04T23:19:28.975Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:19:29.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:29.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:29.238Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:29.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:29.238Z] [2021-01-04T23:19:29.238Z] Login Succeeded [2021-01-04T23:19:29.238Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:19:29.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:29.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:29.500Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:29.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:29.500Z] [2021-01-04T23:19:29.500Z] Login Succeeded [2021-01-04T23:19:29.500Z] docker.io [2021-01-04T23:19:29.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:19:29.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:19:29.763Z] Configure a credential helper to remove this warning. See [2021-01-04T23:19:29.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:19:29.763Z] [2021-01-04T23:19:29.763Z] Login Succeeded [2021-01-04T23:19:29.763Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:19:29.773Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:19:30.182Z] ========================================================= [2021-01-04T23:19:30.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T23:19:30.182Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:19:30.524Z] + 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:19:30.524Z] Sending build context to Docker daemon 494.6kB [2021-01-04T23:19:30.524Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:19:30.524Z] Step 2/8 : FROM ${BASE} [2021-01-04T23:19:30.788Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T23:19:30.788Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T23:19:30.788Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T23:19:30.788Z] de9db76c5a1d: Pulling fs layer [2021-01-04T23:19:30.788Z] bca2f99d35d6: Pulling fs layer [2021-01-04T23:19:30.788Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T23:19:30.788Z] 7c6f9722023f: Pulling fs layer [2021-01-04T23:19:30.788Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T23:19:30.788Z] bca2f99d35d6: Waiting [2021-01-04T23:19:30.788Z] 7c6f9722023f: Waiting [2021-01-04T23:19:30.788Z] de9db76c5a1d: Verifying Checksum [2021-01-04T23:19:30.788Z] de9db76c5a1d: Download complete [2021-01-04T23:19:30.788Z] 0ef7d3d256c8: Download complete [2021-01-04T23:19:30.788Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T23:19:30.788Z] 93359f2a8cfa: Download complete [2021-01-04T23:19:30.788Z] 7c6f9722023f: Verifying Checksum [2021-01-04T23:19:30.788Z] 7c6f9722023f: Download complete [2021-01-04T23:19:30.788Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T23:19:30.788Z] 188c0c94c7c5: Download complete [2021-01-04T23:19:31.053Z] 188c0c94c7c5: Pull complete [2021-01-04T23:19:31.317Z] 0ef7d3d256c8: Pull complete [2021-01-04T23:19:31.317Z] de9db76c5a1d: Pull complete [2021-01-04T23:19:33.889Z] bca2f99d35d6: Verifying Checksum [2021-01-04T23:19:33.889Z] bca2f99d35d6: Download complete [2021-01-04T23:19:33.889Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T23:19:33.889Z] a35cf1a2eb13: Download complete [2021-01-04T23:19:39.220Z] bca2f99d35d6: Pull complete [2021-01-04T23:19:39.220Z] 93359f2a8cfa: Pull complete [2021-01-04T23:19:39.220Z] 7c6f9722023f: Pull complete [2021-01-04T23:19:45.863Z] a35cf1a2eb13: Pull complete [2021-01-04T23:19:45.863Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T23:19:45.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T23:19:45.863Z] ---> a62c8e92a672 [2021-01-04T23:19:45.863Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T23:19:45.863Z] ---> Running in a566bfbe004e [2021-01-04T23:19:46.144Z] Removing intermediate container a566bfbe004e [2021-01-04T23:19:46.144Z] ---> 7b8631b4e59d [2021-01-04T23:19:46.144Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:19:46.144Z] ---> Running in 1d018feb3bb0 [2021-01-04T23:19:47.554Z] Removing intermediate container 1d018feb3bb0 [2021-01-04T23:19:47.554Z] ---> b8ab54c0fb61 [2021-01-04T23:19:47.554Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T23:19:47.554Z] ---> Running in 63dcedf1a355 [2021-01-04T23:19:47.669Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18331 in /w/workspace/gexfoundry_device-mqtt-go_PR-199 [Pipeline] { [Pipeline] ws [2021-01-04T23:19:47.723Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T23:19:48.504Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T23:19:49.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T23:19:49.654Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T23:19:49.654Z] (2/14) Installing file (5.38-r0) [2021-01-04T23:19:49.915Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T23:19:49.915Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T23:19:53.407Z] using credential edgex-jenkins-ssh [2021-01-04T23:19:53.476Z] Cloning the remote Git repository [2021-01-04T23:19:53.535Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:53.634Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2021-01-04T23:19:53.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:53.709Z] > git --version # timeout=10 [2021-01-04T23:19:53.732Z] > git --version # 'git version 2.17.1' [2021-01-04T23:19:53.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:53.784Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:19:55.127Z] Merging remotes/origin/master commit 7a1b18f551239dfc150e88617034cadc3790dddc into PR head commit a1661a1e73a94b7c1e29060cfbff76a73d868fcd [2021-01-04T23:19:54.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:19:54.558Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:19:54.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T23:19:54.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T23:19:54.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:54.637Z] > 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-04T23:19:55.154Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:19:55.176Z] > git checkout -f a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [2021-01-04T23:19:55.290Z] > git remote # timeout=10 [2021-01-04T23:19:55.312Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:19:55.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:19:55.348Z] > git merge 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T23:19:55.418Z] Merge succeeded, producing 3305381254ea8cdc98eac47077013a685a6860c4 [2021-01-04T23:19:55.418Z] Checking out Revision 3305381254ea8cdc98eac47077013a685a6860c4 (PR-199) [2021-01-04T23:19:56.572Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T23:19:56.572Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T23:19:56.572Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T23:19:56.572Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T23:19:56.572Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T23:19:56.572Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T23:19:56.572Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T23:19:55.400Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:19:55.432Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:19:55.445Z] > git checkout -f 3305381254ea8cdc98eac47077013a685a6860c4 # timeout=10 [2021-01-04T23:19:56.834Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T23:19:56.835Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T23:19:57.097Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T23:19:57.097Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T23:19:57.097Z] OK: 237 MiB in 53 packages [2021-01-04T23:19:59.854Z] Commit message: "Merge commit '7a1b18f551239dfc150e88617034cadc3790dddc' into HEAD" [2021-01-04T23:19:59.868Z] > git rev-list --no-walk a1661a1e73a94b7c1e29060cfbff76a73d868fcd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-04T23:20:00.423Z] Removing intermediate container 63dcedf1a355 [2021-01-04T23:20:00.423Z] ---> 67f6de414d8e [2021-01-04T23:20:00.423Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T23:20:00.423Z] ---> Running in 86f512f4a88b [2021-01-04T23:20:00.423Z] Removing intermediate container 86f512f4a88b [2021-01-04T23:20:00.423Z] ---> 0432c91ff5ba [2021-01-04T23:20:00.423Z] Step 7/8 : COPY . . [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:20:01.383Z] ---> 38b68f0cbeb0 [2021-01-04T23:20:01.383Z] Step 8/8 : RUN go mod download [2021-01-04T23:20:01.486Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:20:01.647Z] ---> Running in e2a53e5c3ed5 [2021-01-04T23:20:01.904Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:20:02.291Z] + sudo service docker restart [2021-01-04T23:20:02.291Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:20:04.441Z] provisioning config files... [2021-01-04T23:20:04.491Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config4123877126656193431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:20:04.896Z] ---> docker-login.sh [2021-01-04T23:20:04.897Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:20:05.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:06.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:06.166Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:06.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:06.166Z] [2021-01-04T23:20:06.166Z] Login Succeeded [2021-01-04T23:20:06.166Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:20:06.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:06.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:06.742Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:06.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:06.742Z] [2021-01-04T23:20:06.742Z] Login Succeeded [2021-01-04T23:20:06.742Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:20:07.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:07.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:07.296Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:07.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:07.296Z] [2021-01-04T23:20:07.296Z] Login Succeeded [2021-01-04T23:20:07.296Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:20:07.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:07.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:07.844Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:07.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:07.844Z] [2021-01-04T23:20:07.844Z] Login Succeeded [2021-01-04T23:20:07.845Z] docker.io [2021-01-04T23:20:08.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:20:08.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:20:08.721Z] Configure a credential helper to remove this warning. See [2021-01-04T23:20:08.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:20:08.721Z] [2021-01-04T23:20:08.721Z] Login Succeeded [2021-01-04T23:20:08.721Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:20:08.741Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:20:09.171Z] ========================================================= [2021-01-04T23:20:09.171Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T23:20:09.171Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:20:09.558Z] + 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:20:09.835Z] Sending build context to Docker daemon 493.6kB [2021-01-04T23:20:10.133Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:20:10.133Z] Step 2/8 : FROM ${BASE} [2021-01-04T23:20:10.133Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T23:20:10.133Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T23:20:10.133Z] a4357932f1b6: Pulling fs layer [2021-01-04T23:20:10.133Z] 18c013af1878: Pulling fs layer [2021-01-04T23:20:10.133Z] 00ac8860ef70: Pulling fs layer [2021-01-04T23:20:10.133Z] 63d7cb157983: Pulling fs layer [2021-01-04T23:20:10.133Z] b116817d02f9: Pulling fs layer [2021-01-04T23:20:10.133Z] 745a02a5169b: Pulling fs layer [2021-01-04T23:20:10.133Z] 63d7cb157983: Waiting [2021-01-04T23:20:10.133Z] 00ac8860ef70: Waiting [2021-01-04T23:20:10.133Z] b116817d02f9: Waiting [2021-01-04T23:20:10.133Z] 745a02a5169b: Waiting [2021-01-04T23:20:10.133Z] 18c013af1878: Verifying Checksum [2021-01-04T23:20:10.133Z] 18c013af1878: Download complete [2021-01-04T23:20:10.133Z] a4357932f1b6: Verifying Checksum [2021-01-04T23:20:10.133Z] a4357932f1b6: Download complete [2021-01-04T23:20:10.133Z] 63d7cb157983: Verifying Checksum [2021-01-04T23:20:10.133Z] 63d7cb157983: Download complete [2021-01-04T23:20:10.133Z] b116817d02f9: Verifying Checksum [2021-01-04T23:20:10.133Z] b116817d02f9: Download complete [2021-01-04T23:20:10.420Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T23:20:10.420Z] 5f621e34cdf4: Download complete [2021-01-04T23:20:11.418Z] 5f621e34cdf4: Pull complete [2021-01-04T23:20:12.041Z] a4357932f1b6: Pull complete [2021-01-04T23:20:12.651Z] 18c013af1878: Pull complete [2021-01-04T23:20:12.651Z] 745a02a5169b: Verifying Checksum [2021-01-04T23:20:12.652Z] 745a02a5169b: Download complete [2021-01-04T23:20:13.670Z] 00ac8860ef70: Verifying Checksum [2021-01-04T23:20:13.670Z] 00ac8860ef70: Download complete [2021-01-04T23:20:23.730Z] Removing intermediate container e2a53e5c3ed5 [2021-01-04T23:20:23.730Z] ---> c22db7068e18 [2021-01-04T23:20:23.730Z] Successfully built c22db7068e18 [2021-01-04T23:20:23.730Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:20:23.854Z] 00ac8860ef70: Pull complete [2021-01-04T23:20:23.854Z] 63d7cb157983: Pull complete [2021-01-04T23:20:24.043Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:20:24.043Z] . [Pipeline] withDockerContainer [2021-01-04T23:20:24.130Z] b116817d02f9: Pull complete [2021-01-04T23:20:24.182Z] prd-centos7-docker-4c-2g-18332 does not seem to be running inside a container [2021-01-04T23:20:24.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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-x86_64 cat [2021-01-04T23:20:25.087Z] $ docker top 4499061a4c4e3dbd00e9eb008432778b5d51779e4b3f3e8225a39766ace4801b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:20:25.717Z] + go version [2021-01-04T23:20:25.717Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T23:20:25.733Z] $ docker stop --time=1 4499061a4c4e3dbd00e9eb008432778b5d51779e4b3f3e8225a39766ace4801b [2021-01-04T23:20:27.095Z] $ docker rm -f 4499061a4c4e3dbd00e9eb008432778b5d51779e4b3f3e8225a39766ace4801b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-04T23:20:27.524Z] 745a02a5169b: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-01-04T23:20:27.796Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T23:20:27.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T23:20:27.796Z] ---> b7e6874047d6 [2021-01-04T23:20:27.796Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:20:28.143Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:20:28.143Z] . [Pipeline] withDockerContainer [2021-01-04T23:20:28.241Z] prd-centos7-docker-4c-2g-18332 does not seem to be running inside a container [2021-01-04T23:20:28.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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-x86_64 cat [2021-01-04T23:20:29.062Z] $ docker top 12aab8ccce922bd73db0bfca3e29350bf486db9571efb812055bec2d720e0d9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:20:29.555Z] + make test [2021-01-04T23:20:29.555Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:20:30.412Z] ---> Running in 76ede1324e24 [2021-01-04T23:20:30.966Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T23:20:31.011Z] Removing intermediate container 76ede1324e24 [2021-01-04T23:20:31.012Z] ---> 203f4e03828c [2021-01-04T23:20:31.012Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:20:31.283Z] ---> Running in e34b6df89a3d [2021-01-04T23:20:33.259Z] Removing intermediate container e34b6df89a3d [2021-01-04T23:20:33.259Z] ---> 4a479a1aed7d [2021-01-04T23:20:33.259Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T23:20:33.532Z] ---> Running in b5f3d472f98d [2021-01-04T23:20:34.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T23:20:35.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T23:20:36.094Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T23:20:36.368Z] (2/14) Installing file (5.38-r0) [2021-01-04T23:20:36.368Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T23:20:36.368Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T23:20:37.709Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T23:20:37.709Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T23:20:37.709Z] /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-04T23:20:37.709Z] have (string, bool, string, string) [2021-01-04T23:20:37.709Z] want (string, string) [2021-01-04T23:20:41.988Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-04T23:20:41.988Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-04T23:20:42.010Z] $ docker stop --time=1 12aab8ccce922bd73db0bfca3e29350bf486db9571efb812055bec2d720e0d9e [2021-01-04T23:20:44.552Z] $ docker rm -f 12aab8ccce922bd73db0bfca3e29350bf486db9571efb812055bec2d720e0d9e [2021-01-04T23:20:44.627Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T23:20:44.627Z] (6/14) Installing patch (2.7.6-r6) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-01-04T23:20:44.900Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T23:20:44.900Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2021-01-04T23:20:45.175Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T23:20:45.175Z] (10/14) Installing openssh-client (8.3_p1-r1) [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:20:46.130Z] Failed in branch amd64 [2021-01-04T23:20:46.163Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T23:20:46.163Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T23:20:46.163Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T23:20:46.436Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T23:20:46.709Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T23:20:46.709Z] OK: 221 MiB in 53 packages [2021-01-04T23:20:51.059Z] Removing intermediate container b5f3d472f98d [2021-01-04T23:20:51.059Z] ---> 1ede15d4cfeb [2021-01-04T23:20:51.059Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T23:20:51.059Z] ---> Running in 53723989c4bb [2021-01-04T23:20:51.331Z] Removing intermediate container 53723989c4bb [2021-01-04T23:20:51.331Z] ---> d863fc307102 [2021-01-04T23:20:51.331Z] Step 7/8 : COPY . . [2021-01-04T23:20:52.324Z] ---> 6d4652cf1821 [2021-01-04T23:20:52.324Z] Step 8/8 : RUN go mod download [2021-01-04T23:20:52.325Z] ---> Running in e2d94c17c5f9 [2021-01-04T23:21:19.121Z] Removing intermediate container e2d94c17c5f9 [2021-01-04T23:21:19.121Z] ---> 878a137b1619 [2021-01-04T23:21:19.121Z] Successfully built 878a137b1619 [2021-01-04T23:21:19.121Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:21:19.467Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:21:19.467Z] . [Pipeline] withDockerContainer [2021-01-04T23:21:19.714Z] prd-ubuntu18.04-docker-arm64-4c-16g-18331 does not seem to be running inside a container [2021-01-04T23:21:19.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:21:21.214Z] $ docker top 9efd745d045162ea980a0335e51abdd077d9e2d5295520cf20eeff958879dda8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:21:22.244Z] + go version [2021-01-04T23:21:22.244Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T23:21:22.265Z] $ docker stop --time=1 9efd745d045162ea980a0335e51abdd077d9e2d5295520cf20eeff958879dda8 [2021-01-04T23:21:24.177Z] $ docker rm -f 9efd745d045162ea980a0335e51abdd077d9e2d5295520cf20eeff958879dda8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:21:25.201Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:21:25.201Z] . [Pipeline] withDockerContainer [2021-01-04T23:21:25.439Z] prd-ubuntu18.04-docker-arm64-4c-16g-18331 does not seem to be running inside a container [2021-01-04T23:21:25.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:21:27.029Z] $ docker top 180d03d9f0fbd2ce49a6523198a224d3fc368142011b265338d8aac36ad8c6f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:21:28.082Z] + make test [2021-01-04T23:21:28.082Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:21:29.527Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T23:21:51.732Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T23:21:51.732Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T23:21:51.732Z] /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-04T23:21:51.732Z] have (string, bool, string, string) [2021-01-04T23:21:51.732Z] want (string, string) [2021-01-04T23:22:04.153Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2021-01-04T23:22:04.153Z] make: *** [Makefile:25: test] Error 2 [Pipeline] } [2021-01-04T23:22:04.177Z] $ docker stop --time=1 180d03d9f0fbd2ce49a6523198a224d3fc368142011b265338d8aac36ad8c6f9 [2021-01-04T23:22:06.329Z] $ docker rm -f 180d03d9f0fbd2ce49a6523198a224d3fc368142011b265338d8aac36ad8c6f9 [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:22:07.945Z] 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:22:10.780Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:22:11.085Z] ---> package-listing.sh [2021-01-04T23:22:11.085Z] ++ facter osfamily [2021-01-04T23:22:11.085Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T23:22:11.085Z] + OS_FAMILY=redhat [2021-01-04T23:22:11.085Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-199 [2021-01-04T23:22:11.085Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T23:22:11.086Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T23:22:11.086Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T23:22:11.086Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T23:22:11.086Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-199 ']' [2021-01-04T23:22:11.086Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T23:22:11.086Z] + case "${OS_FAMILY}" in [2021-01-04T23:22:11.086Z] + rpm -qa [2021-01-04T23:22:11.086Z] + sort [2021-01-04T23:22:16.434Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T23:22:16.434Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T23:22:16.434Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T23:22:16.434Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-199 ']' [2021-01-04T23:22:16.434Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-199/archives/ [2021-01-04T23:22:16.434Z] + 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-04T23:22:16.447Z] 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-04T23:22:16.742Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:22:17.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:22:17.075Z] [2021-01-04T23:22:17.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:22:17.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:22:17.431Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T23:22:17.431Z] df20fa9351a1: Pulling fs layer [2021-01-04T23:22:17.431Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T23:22:17.431Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T23:22:17.431Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T23:22:17.431Z] 93b61091891f: Pulling fs layer [2021-01-04T23:22:17.431Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T23:22:17.431Z] 5e14af77c1be: Pulling fs layer [2021-01-04T23:22:17.431Z] 01666e4c0597: Pulling fs layer [2021-01-04T23:22:17.431Z] aa168da1d23b: Pulling fs layer [2021-01-04T23:22:17.431Z] 46f8f816bc3b: Waiting [2021-01-04T23:22:17.431Z] 93b61091891f: Waiting [2021-01-04T23:22:17.431Z] 5e14af77c1be: Waiting [2021-01-04T23:22:17.431Z] 01666e4c0597: Waiting [2021-01-04T23:22:17.431Z] aa168da1d23b: Waiting [2021-01-04T23:22:17.431Z] 93b9cdb0e59b: Waiting [2021-01-04T23:22:17.431Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T23:22:17.431Z] 36b3adc4ff6f: Download complete [2021-01-04T23:22:17.431Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T23:22:17.431Z] 46f8f816bc3b: Download complete [2021-01-04T23:22:17.431Z] df20fa9351a1: Verifying Checksum [2021-01-04T23:22:17.431Z] df20fa9351a1: Download complete [2021-01-04T23:22:17.431Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T23:22:17.431Z] 93b9cdb0e59b: Download complete [2021-01-04T23:22:17.696Z] 93b61091891f: Verifying Checksum [2021-01-04T23:22:17.696Z] 93b61091891f: Download complete [2021-01-04T23:22:17.696Z] 5e14af77c1be: Verifying Checksum [2021-01-04T23:22:17.696Z] 5e14af77c1be: Download complete [2021-01-04T23:22:17.696Z] 01666e4c0597: Verifying Checksum [2021-01-04T23:22:17.696Z] 01666e4c0597: Download complete [2021-01-04T23:22:17.696Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T23:22:17.696Z] 8ad3a11d3b57: Download complete [2021-01-04T23:22:17.964Z] df20fa9351a1: Pull complete [2021-01-04T23:22:18.239Z] 36b3adc4ff6f: Pull complete [2021-01-04T23:22:19.665Z] aa168da1d23b: Verifying Checksum [2021-01-04T23:22:19.665Z] aa168da1d23b: Download complete [2021-01-04T23:22:19.963Z] 8ad3a11d3b57: Pull complete [2021-01-04T23:22:20.234Z] 46f8f816bc3b: Pull complete [2021-01-04T23:22:20.505Z] 93b61091891f: Pull complete [2021-01-04T23:22:20.505Z] 93b9cdb0e59b: Pull complete [2021-01-04T23:22:20.774Z] 5e14af77c1be: Pull complete [2021-01-04T23:22:20.774Z] 01666e4c0597: Pull complete [2021-01-04T23:22:27.436Z] aa168da1d23b: Pull complete [2021-01-04T23:22:27.436Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T23:22:27.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:22:27.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T23:22:27.639Z] prd-centos7-docker-4c-2g-18327 does not seem to be running inside a container [2021-01-04T23:22:27.699Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T23:22:31.801Z] $ docker top 45756c83ac61a0ea5195690953a69d794febcd239a4f391fe13a22b9a28ba1b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:22:32.344Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T23:22:32.648Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T23:22:32.953Z] + ls /var/log/sa-host [2021-01-04T23:22:32.953Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T23:22:32.953Z] file_magic: OK [2021-01-04T23:22:32.953Z] HZ: Using current value: 100 [2021-01-04T23:22:32.953Z] file_header: OK [2021-01-04T23:22:32.953Z] 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:22:32.953Z] Statistics: [2021-01-04T23:22:32.953Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T23:22:32.953Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T23:22:32.953Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T23:22:32.953Z] file_magic: OK [2021-01-04T23:22:32.953Z] HZ: Using current value: 100 [2021-01-04T23:22:32.953Z] file_header: OK [2021-01-04T23:22:32.953Z] 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:22:32.953Z] Statistics: [2021-01-04T23:22:32.953Z] Hnuu...uuuununununu... [2021-01-04T23:22:32.953Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T23:22:33.154Z] provisioning config files... [2021-01-04T23:22:33.168Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-199@tmp/config7593710821628508176tmp [Pipeline] { [Pipeline] echo [2021-01-04T23:22:33.242Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:22:33.543Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T23:22:33.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T23:22:33.649Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:22:33.949Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T23:22:33.960Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:22:34.260Z] ---> sudo-logs.sh [2021-01-04T23:22:34.261Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T23:22:34.273Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:22:34.580Z] ---> job-cost.sh [2021-01-04T23:22:34.580Z] lf-activate-venv: SKIPPING [2021-01-04T23:22:34.580Z] INFO: No Stack... [2021-01-04T23:22:36.505Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T23:22:37.081Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T23:22:37.097Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:22:37.406Z] ---> logs-deploy.sh [2021-01-04T23:22:37.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-199/2 [2021-01-04T23:22:37.406Z] INFO: archiving workspace using pattern(s): [2021-01-04T23:22:39.344Z] Archives upload complete. [2021-01-04T23:22:39.344Z] INFO: archiving logs to Nexus