Pull request #198 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 57eed509a15d49ff407fabd85d00a31b60dddb51+cdd6c33d41f01dc10b68606080ac8b6263924bf1 (8d3f3f1a307259e760ffbd0f08a39027498c2717) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19467 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [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-198 # 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/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 Merge succeeded, producing 57eed509a15d49ff407fabd85d00a31b60dddb51 Checking out Revision 57eed509a15d49ff407fabd85d00a31b60dddb51 (PR-198) > git config core.sparsecheckout # timeout=10 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git rev-list --no-walk dcf687a353acae98e64257f545a4852007fb0ba1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T08:06:36.477Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T08:06:36.697Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T08:06:36.786Z] ========================================================= [2021-01-11T08:06:36.786Z] EdgeX Global Pipelines Version Info [2021-01-11T08:06:36.786Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:06:39.338Z] ------------------- [2021-01-11T08:06:39.338Z] stable info: [2021-01-11T08:06:39.338Z] ------------------- [2021-01-11T08:06:39.338Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T08:06:39.338Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T08:06:39.338Z] Message: update stable to v1.0.173 [2021-01-11T08:06:40.355Z] ------------------- [2021-01-11T08:06:40.355Z] experimental info: [2021-01-11T08:06:40.355Z] ------------------- [2021-01-11T08:06:40.355Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T08:06:40.355Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T08:06:40.355Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T08:06:40.686Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-11T08:06:40.802Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-11T08:06:40.897Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T08:06:41.021Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T08:06:41.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T08:06:41.200Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T08:06:41.292Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T08:06:41.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T08:06:41.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T08:06:41.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T08:06:41.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T08:06:41.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-11T08:06:41.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T08:06:41.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T08:06:42.058Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T08:06:42.180Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T08:06:42.275Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T08:06:42.371Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T08:06:42.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T08:06:42.544Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-11T08:06:42.646Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T08:06:42.731Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T08:06:42.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T08:06:42.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T08:06:43.058Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T08:06:43.139Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T08:06:43.232Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T08:06:43.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2021-01-11T08:06:43.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2021-01-11T08:06:43.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2021-01-11T08:06:43.591Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57eed509a15d49ff407fabd85d00a31b60dddb51 [Pipeline] echo [2021-01-11T08:06:43.685Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57eed50 [Pipeline] echo [2021-01-11T08:06:43.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:06:43.936Z] provisioning config files... [2021-01-11T08:06:43.968Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config7191692384910300599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:06:44.365Z] ---> docker-login.sh [2021-01-11T08:06:44.365Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:06:45.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:45.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:45.002Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:45.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:45.002Z] [2021-01-11T08:06:45.291Z] Login Succeeded [2021-01-11T08:06:45.291Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:06:45.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:46.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:46.564Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:46.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:46.564Z] [2021-01-11T08:06:46.564Z] Login Succeeded [2021-01-11T08:06:46.564Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:06:46.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:46.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:46.897Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:46.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:46.897Z] [2021-01-11T08:06:46.897Z] Login Succeeded [2021-01-11T08:06:46.897Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:06:47.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:47.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:47.852Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:47.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:47.852Z] [2021-01-11T08:06:47.852Z] Login Succeeded [2021-01-11T08:06:47.852Z] docker.io [2021-01-11T08:06:48.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:06:48.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:06:48.907Z] Configure a credential helper to remove this warning. See [2021-01-11T08:06:48.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:06:48.907Z] [2021-01-11T08:06:48.907Z] Login Succeeded [2021-01-11T08:06:48.907Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:06:49.107Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T08:06:50.260Z] + git log --format=format:%s -1 57eed509a15d49ff407fabd85d00a31b60dddb51 [Pipeline] echo [2021-01-11T08:06:50.459Z] GIT_COMMIT: 57eed509a15d49ff407fabd85d00a31b60dddb51, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2021-01-11T08:06:50.529Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:06:52.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:06:52.345Z] [2021-01-11T08:06:52.345Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:06:52.886Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:06:53.229Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T08:06:53.229Z] 31603596830f: Pulling fs layer [2021-01-11T08:06:53.229Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T08:06:53.229Z] 6ca5941a6612: Pulling fs layer [2021-01-11T08:06:53.229Z] ecc8261a40a4: Pulling fs layer [2021-01-11T08:06:53.229Z] ecc8261a40a4: Waiting [2021-01-11T08:06:53.229Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T08:06:53.229Z] 2a8b12db71e7: Download complete [2021-01-11T08:06:53.567Z] 31603596830f: Verifying Checksum [2021-01-11T08:06:53.567Z] 31603596830f: Download complete [2021-01-11T08:06:53.978Z] ecc8261a40a4: Verifying Checksum [2021-01-11T08:06:53.978Z] ecc8261a40a4: Download complete [2021-01-11T08:06:54.317Z] 6ca5941a6612: Verifying Checksum [2021-01-11T08:06:54.318Z] 6ca5941a6612: Download complete [2021-01-11T08:06:54.642Z] 31603596830f: Pull complete [2021-01-11T08:06:54.946Z] 2a8b12db71e7: Pull complete [2021-01-11T08:06:58.082Z] 6ca5941a6612: Pull complete [2021-01-11T08:06:58.082Z] ecc8261a40a4: Pull complete [2021-01-11T08:06:58.082Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T08:06:58.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T08:06:58.082Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T08:06:58.816Z] prd-centos7-docker-4c-2g-19467 does not seem to be running inside a container [2021-01-11T08:06:59.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-198 -v /w/workspace/gexfoundry_device-mqtt-go_PR-198:/w/workspace/gexfoundry_device-mqtt-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-198@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-11T08:07:01.706Z] $ docker top 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T08:07:02.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T08:07:02.243Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T08:07:02.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T08:07:02.963Z] $ docker exec 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent [2021-01-11T08:07:03.524Z] SSH_AUTH_SOCK=/tmp/ssh-ButWzySDEQyF/agent.11 [2021-01-11T08:07:03.524Z] SSH_AGENT_PID=17 [2021-01-11T08:07:03.574Z] Running ssh-add (command line suppressed) [2021-01-11T08:07:03.875Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_8477367233570825280.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_8477367233570825280.key) [2021-01-11T08:07:04.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T08:07:04.431Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T08:07:04.789Z] $ docker exec --env ******** --env ******** 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent -k [2021-01-11T08:07:05.125Z] unset SSH_AUTH_SOCK; [2021-01-11T08:07:05.126Z] unset SSH_AGENT_PID; [2021-01-11T08:07:05.126Z] echo Agent pid 17 killed; [2021-01-11T08:07:05.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T08:07:05.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T08:07:05.491Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T08:07:05.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T08:07:05.848Z] $ docker exec 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent [2021-01-11T08:07:06.260Z] SSH_AUTH_SOCK=/tmp/ssh-yEqtcuplXi05/agent.46 [2021-01-11T08:07:06.260Z] SSH_AGENT_PID=51 [2021-01-11T08:07:06.280Z] Running ssh-add (command line suppressed) [2021-01-11T08:07:06.553Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_2226007702699074087.key (/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/private_key_2226007702699074087.key) [2021-01-11T08:07:06.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T08:07:07.076Z] + git semver init [2021-01-11T08:07:07.076Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T08:07:07.076Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.git [2021-01-11T08:07:07.076Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-11T08:07:07.076Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T08:07:07.077Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T08:07:07.077Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T08:07:07.077Z] # $SEMVER_BRANCH = PR-198 [2021-01-11T08:07:07.077Z] # $SEMVER_TEMP = /tmp/semver-332055396 [2021-01-11T08:07:07.077Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-11T08:07:07.687Z] # '/tmp/semver-332055396' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver' [2021-01-11T08:07:07.687Z] # -> Force: false [2021-01-11T08:07:07.687Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-198/.semver [Pipeline] } [2021-01-11T08:07:07.709Z] $ docker exec --env ******** --env ******** 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 ssh-agent -k [2021-01-11T08:07:08.247Z] unset SSH_AUTH_SOCK; [2021-01-11T08:07:08.251Z] unset SSH_AGENT_PID; [2021-01-11T08:07:08.251Z] echo Agent pid 51 killed; [2021-01-11T08:07:08.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T08:07:09.164Z] + git semver [Pipeline] } [2021-01-11T08:07:09.203Z] $ docker stop --time=1 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 [2021-01-11T08:07:10.834Z] $ docker rm -f 9981db880b429cb3d0938ad3f9a5a3ad7279ea13b721cc28b165bbb395536d39 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T08:07:11.390Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T08:07:12.204Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T08:07:12.208Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-11T08:07:27.763Z] Still waiting to schedule task [2021-01-11T08:07:27.763Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-11T08:07:27.766Z] Still waiting to schedule task [2021-01-11T08:07:27.766Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-11T08:08:01.107Z] Running on prd-centos7-docker-4c-2g-19477 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-11T08:08:01.161Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2021-01-11T08:08:03.735Z] using credential edgex-jenkins-ssh [2021-01-11T08:08:03.790Z] Cloning the remote Git repository [2021-01-11T08:08:03.822Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:03.913Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2021-01-11T08:08:03.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:03.977Z] > git --version # timeout=10 [2021-01-11T08:08:03.988Z] > git --version # 'git version 2.24.3' [2021-01-11T08:08:03.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:04.043Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:08:05.296Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 [2021-01-11T08:08:05.385Z] Merge succeeded, producing 57eed509a15d49ff407fabd85d00a31b60dddb51 [2021-01-11T08:08:05.385Z] Checking out Revision 57eed509a15d49ff407fabd85d00a31b60dddb51 (PR-198) [2021-01-11T08:08:04.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:08:04.885Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:08:04.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:08:04.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:08:04.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:04.916Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T08:08:05.306Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:08:05.313Z] > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [2021-01-11T08:08:05.351Z] > git remote # timeout=10 [2021-01-11T08:08:05.358Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T08:08:05.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:08:05.368Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-11T08:08:05.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T08:08:05.390Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:08:05.395Z] > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [2021-01-11T08:08:09.053Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T08:08:10.542Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:08:10.890Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:08:11.193Z] + sudo service docker restart [2021-01-11T08:08:11.193Z] + true [2021-01-11T08:08:11.193Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:08:12.259Z] provisioning config files... [2021-01-11T08:08:12.292Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config6320223222973102184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:08:12.663Z] ---> docker-login.sh [2021-01-11T08:08:12.663Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:08:12.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.191Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.191Z] [2021-01-11T08:08:13.191Z] Login Succeeded [2021-01-11T08:08:13.191Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:08:13.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.191Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.191Z] [2021-01-11T08:08:13.191Z] Login Succeeded [2021-01-11T08:08:13.191Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:08:13.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.455Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.455Z] [2021-01-11T08:08:13.455Z] Login Succeeded [2021-01-11T08:08:13.455Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:08:13.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:13.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:13.718Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:13.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:13.718Z] [2021-01-11T08:08:13.718Z] Login Succeeded [2021-01-11T08:08:13.718Z] docker.io [2021-01-11T08:08:13.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:08:14.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:08:14.295Z] Configure a credential helper to remove this warning. See [2021-01-11T08:08:14.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:08:14.295Z] [2021-01-11T08:08:14.295Z] Login Succeeded [2021-01-11T08:08:14.295Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:08:14.305Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T08:08:14.608Z] ========================================================= [2021-01-11T08:08:14.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T08:08:14.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:08:14.968Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-11T08:08:14.968Z] Sending build context to Docker daemon 493.1kB [2021-01-11T08:08:14.968Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T08:08:14.968Z] Step 2/8 : FROM ${BASE} [2021-01-11T08:08:15.236Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T08:08:15.236Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T08:08:15.236Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T08:08:15.236Z] de9db76c5a1d: Pulling fs layer [2021-01-11T08:08:15.236Z] bca2f99d35d6: Pulling fs layer [2021-01-11T08:08:15.236Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T08:08:15.236Z] 7c6f9722023f: Pulling fs layer [2021-01-11T08:08:15.236Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T08:08:15.236Z] 93359f2a8cfa: Waiting [2021-01-11T08:08:15.236Z] 7c6f9722023f: Waiting [2021-01-11T08:08:15.236Z] a35cf1a2eb13: Waiting [2021-01-11T08:08:15.236Z] bca2f99d35d6: Waiting [2021-01-11T08:08:15.236Z] de9db76c5a1d: Verifying Checksum [2021-01-11T08:08:15.236Z] de9db76c5a1d: Download complete [2021-01-11T08:08:15.236Z] 0ef7d3d256c8: Download complete [2021-01-11T08:08:15.236Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T08:08:15.236Z] 93359f2a8cfa: Download complete [2021-01-11T08:08:15.236Z] 7c6f9722023f: Verifying Checksum [2021-01-11T08:08:15.236Z] 7c6f9722023f: Download complete [2021-01-11T08:08:15.236Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T08:08:15.236Z] 188c0c94c7c5: Download complete [2021-01-11T08:08:15.504Z] 188c0c94c7c5: Pull complete [2021-01-11T08:08:15.770Z] 0ef7d3d256c8: Pull complete [2021-01-11T08:08:15.770Z] de9db76c5a1d: Pull complete [2021-01-11T08:08:18.890Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T08:08:18.891Z] a35cf1a2eb13: Download complete [2021-01-11T08:08:19.851Z] bca2f99d35d6: Verifying Checksum [2021-01-11T08:08:19.852Z] bca2f99d35d6: Download complete [2021-01-11T08:08:26.582Z] bca2f99d35d6: Pull complete [2021-01-11T08:08:26.582Z] 93359f2a8cfa: Pull complete [2021-01-11T08:08:26.582Z] 7c6f9722023f: Pull complete [2021-01-11T08:08:30.885Z] a35cf1a2eb13: Pull complete [2021-01-11T08:08:30.885Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T08:08:30.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T08:08:30.885Z] ---> a62c8e92a672 [2021-01-11T08:08:30.885Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T08:08:31.152Z] ---> Running in 32c7e6325c67 [2021-01-11T08:08:31.421Z] Removing intermediate container 32c7e6325c67 [2021-01-11T08:08:31.421Z] ---> ebef5d6351ab [2021-01-11T08:08:31.421Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T08:08:31.421Z] ---> Running in 07195075f4e6 [2021-01-11T08:08:32.835Z] Removing intermediate container 07195075f4e6 [2021-01-11T08:08:32.835Z] ---> 75aaff0e8ad2 [2021-01-11T08:08:32.835Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T08:08:32.835Z] ---> Running in 139e3c871f43 [2021-01-11T08:08:34.257Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T08:08:34.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T08:08:35.790Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T08:08:35.790Z] (2/14) Installing file (5.38-r0) [2021-01-11T08:08:36.054Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T08:08:36.054Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T08:08:41.372Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T08:08:41.635Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T08:08:41.635Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T08:08:41.635Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T08:08:41.899Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T08:08:41.899Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T08:08:42.480Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T08:08:42.480Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T08:08:42.480Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T08:08:42.744Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T08:08:42.744Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T08:08:42.744Z] OK: 237 MiB in 53 packages [2021-01-11T08:08:46.089Z] Removing intermediate container 139e3c871f43 [2021-01-11T08:08:46.089Z] ---> 6e69b593f909 [2021-01-11T08:08:46.089Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T08:08:46.354Z] ---> Running in 0ec6913eb2b0 [2021-01-11T08:08:46.621Z] Removing intermediate container 0ec6913eb2b0 [2021-01-11T08:08:46.621Z] ---> 56353c6767ca [2021-01-11T08:08:46.621Z] Step 7/8 : COPY . . [2021-01-11T08:08:47.211Z] ---> 40405f55ee2c [2021-01-11T08:08:47.211Z] Step 8/8 : RUN go mod download [2021-01-11T08:08:47.211Z] ---> Running in c743a01f4fc4 [2021-01-11T08:09:09.318Z] Removing intermediate container c743a01f4fc4 [2021-01-11T08:09:09.318Z] ---> cfa4471e3dea [2021-01-11T08:09:09.318Z] Successfully built cfa4471e3dea [2021-01-11T08:09:09.318Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:09:09.672Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T08:09:09.672Z] . [Pipeline] withDockerContainer [2021-01-11T08:09:10.025Z] prd-centos7-docker-4c-2g-19477 does not seem to be running inside a container [2021-01-11T08:09:10.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-11T08:09:11.185Z] $ docker top 2face246e2b6cc0bb197211b0ef8519b4b3309eaf43dac2095527301b4363488 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:09:11.693Z] + go version [2021-01-11T08:09:11.693Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T08:09:11.710Z] $ docker stop --time=1 2face246e2b6cc0bb197211b0ef8519b4b3309eaf43dac2095527301b4363488 [2021-01-11T08:09:13.122Z] $ docker rm -f 2face246e2b6cc0bb197211b0ef8519b4b3309eaf43dac2095527301b4363488 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:09:14.023Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T08:09:14.023Z] . [Pipeline] withDockerContainer [2021-01-11T08:09:14.149Z] prd-centos7-docker-4c-2g-19477 does not seem to be running inside a container [2021-01-11T08:09:14.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-11T08:09:14.928Z] $ docker top 68ec3bd60e94182ed65ee905b8cf66827be34eb1b1f1237020edfcb2284424f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:09:15.430Z] + make test [2021-01-11T08:09:15.430Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T08:09:16.830Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T08:09:31.892Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-11T08:09:31.892Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 28.3% of statements [2021-01-11T08:09:31.892Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-11T08:09:31.892Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T08:09:33.328Z] gofmt -l . [2021-01-11T08:09:33.328Z] ["`gofmt -l .`" = ""] [2021-01-11T08:09:33.328Z] ./bin/test-attribution-txt.sh [2021-01-11T08:09:33.905Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-11T08:09:33.905Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-11T08:09:33.931Z] $ docker stop --time=1 68ec3bd60e94182ed65ee905b8cf66827be34eb1b1f1237020edfcb2284424f1 [2021-01-11T08:09:36.394Z] $ docker rm -f 68ec3bd60e94182ed65ee905b8cf66827be34eb1b1f1237020edfcb2284424f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T08:09:37.991Z] Failed in branch amd64 [2021-01-11T08:10:28.845Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19484 in /w/workspace/gexfoundry_device-mqtt-go_PR-198 [Pipeline] { [Pipeline] ws [2021-01-11T08:10:28.894Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2021-01-11T08:10:35.131Z] using credential edgex-jenkins-ssh [2021-01-11T08:10:35.243Z] Cloning the remote Git repository [2021-01-11T08:10:35.327Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:10:35.463Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2021-01-11T08:10:35.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:10:35.566Z] > git --version # timeout=10 [2021-01-11T08:10:35.591Z] > git --version # 'git version 2.17.1' [2021-01-11T08:10:35.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:10:35.690Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:10:36.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:10:36.476Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T08:10:36.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-11T08:10:36.558Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-11T08:10:36.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:10:37.067Z] Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 57eed509a15d49ff407fabd85d00a31b60dddb51 [2021-01-11T08:10:37.427Z] Merge succeeded, producing 57eed509a15d49ff407fabd85d00a31b60dddb51 [2021-01-11T08:10:37.428Z] Checking out Revision 57eed509a15d49ff407fabd85d00a31b60dddb51 (PR-198) [2021-01-11T08:10:36.581Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T08:10:37.090Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:10:37.115Z] > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [2021-01-11T08:10:37.222Z] > git remote # timeout=10 [2021-01-11T08:10:37.249Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T08:10:37.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T08:10:37.290Z] > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 [2021-01-11T08:10:37.319Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T08:10:37.436Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T08:10:37.458Z] > git checkout -f 57eed509a15d49ff407fabd85d00a31b60dddb51 # timeout=10 [2021-01-11T08:10:42.303Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T08:10:43.882Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:10:44.419Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T08:10:44.784Z] + + sudo servicetrue docker [2021-01-11T08:10:44.784Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T08:10:47.515Z] provisioning config files... [2021-01-11T08:10:47.557Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config822497489136508353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:10:47.983Z] ---> docker-login.sh [2021-01-11T08:10:47.983Z] nexus3.edgexfoundry.org:10001 [2021-01-11T08:10:48.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:49.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:49.589Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:49.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:49.589Z] [2021-01-11T08:10:49.589Z] Login Succeeded [2021-01-11T08:10:49.589Z] nexus3.edgexfoundry.org:10002 [2021-01-11T08:10:49.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:49.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:49.864Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:49.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:49.864Z] [2021-01-11T08:10:49.864Z] Login Succeeded [2021-01-11T08:10:49.864Z] nexus3.edgexfoundry.org:10003 [2021-01-11T08:10:50.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:50.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:50.469Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:50.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:50.469Z] [2021-01-11T08:10:50.469Z] Login Succeeded [2021-01-11T08:10:50.469Z] nexus3.edgexfoundry.org:10004 [2021-01-11T08:10:51.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:51.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:51.068Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:51.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:51.068Z] [2021-01-11T08:10:51.068Z] Login Succeeded [2021-01-11T08:10:51.068Z] docker.io [2021-01-11T08:10:51.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T08:10:51.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T08:10:51.940Z] Configure a credential helper to remove this warning. See [2021-01-11T08:10:51.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T08:10:51.940Z] [2021-01-11T08:10:51.940Z] Login Succeeded [2021-01-11T08:10:51.940Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T08:10:51.960Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T08:10:52.471Z] ========================================================= [2021-01-11T08:10:52.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T08:10:52.472Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:10:52.876Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-11T08:10:53.169Z] Sending build context to Docker daemon 492kB [2021-01-11T08:10:53.453Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T08:10:53.453Z] Step 2/8 : FROM ${BASE} [2021-01-11T08:10:53.453Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T08:10:53.453Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T08:10:53.453Z] a4357932f1b6: Pulling fs layer [2021-01-11T08:10:53.453Z] 18c013af1878: Pulling fs layer [2021-01-11T08:10:53.453Z] 00ac8860ef70: Pulling fs layer [2021-01-11T08:10:53.453Z] 63d7cb157983: Pulling fs layer [2021-01-11T08:10:53.453Z] b116817d02f9: Pulling fs layer [2021-01-11T08:10:53.453Z] 745a02a5169b: Pulling fs layer [2021-01-11T08:10:53.453Z] 00ac8860ef70: Waiting [2021-01-11T08:10:53.453Z] b116817d02f9: Waiting [2021-01-11T08:10:53.453Z] 745a02a5169b: Waiting [2021-01-11T08:10:53.453Z] 63d7cb157983: Waiting [2021-01-11T08:10:53.453Z] 18c013af1878: Verifying Checksum [2021-01-11T08:10:53.453Z] 18c013af1878: Download complete [2021-01-11T08:10:53.453Z] a4357932f1b6: Download complete [2021-01-11T08:10:53.453Z] 63d7cb157983: Verifying Checksum [2021-01-11T08:10:53.453Z] 63d7cb157983: Download complete [2021-01-11T08:10:53.730Z] b116817d02f9: Verifying Checksum [2021-01-11T08:10:53.730Z] b116817d02f9: Download complete [2021-01-11T08:10:53.730Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T08:10:53.730Z] 5f621e34cdf4: Download complete [2021-01-11T08:10:54.338Z] 5f621e34cdf4: Pull complete [2021-01-11T08:10:54.953Z] a4357932f1b6: Pull complete [2021-01-11T08:10:55.234Z] 18c013af1878: Pull complete [2021-01-11T08:10:57.231Z] 745a02a5169b: Verifying Checksum [2021-01-11T08:10:57.231Z] 745a02a5169b: Download complete [2021-01-11T08:10:59.218Z] 00ac8860ef70: Verifying Checksum [2021-01-11T08:10:59.219Z] 00ac8860ef70: Download complete [2021-01-11T08:11:09.394Z] 00ac8860ef70: Pull complete [2021-01-11T08:11:09.394Z] 63d7cb157983: Pull complete [2021-01-11T08:11:09.394Z] b116817d02f9: Pull complete [2021-01-11T08:11:12.827Z] 745a02a5169b: Pull complete [2021-01-11T08:11:12.827Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T08:11:12.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T08:11:12.827Z] ---> b7e6874047d6 [2021-01-11T08:11:12.827Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T08:11:15.461Z] ---> Running in 588140e65ab9 [2021-01-11T08:11:16.084Z] Removing intermediate container 588140e65ab9 [2021-01-11T08:11:16.084Z] ---> 4a6111293599 [2021-01-11T08:11:16.084Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T08:11:16.084Z] ---> Running in 4a9cbc231554 [2021-01-11T08:11:18.715Z] Removing intermediate container 4a9cbc231554 [2021-01-11T08:11:18.715Z] ---> b6a419d072ca [2021-01-11T08:11:18.715Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T08:11:18.715Z] ---> Running in 1bcefc62f71b [2021-01-11T08:11:20.174Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T08:11:20.773Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T08:11:21.756Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T08:11:22.029Z] (2/14) Installing file (5.38-r0) [2021-01-11T08:11:22.304Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T08:11:22.304Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T08:11:25.721Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T08:11:25.721Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T08:11:25.995Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T08:11:25.995Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T08:11:25.995Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T08:11:26.269Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T08:11:26.554Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T08:11:26.828Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T08:11:26.828Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T08:11:26.828Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T08:11:27.103Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T08:11:27.103Z] OK: 221 MiB in 53 packages [2021-01-11T08:11:31.466Z] Removing intermediate container 1bcefc62f71b [2021-01-11T08:11:31.466Z] ---> 8c3b17caa9c6 [2021-01-11T08:11:31.466Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-11T08:11:31.466Z] ---> Running in 2b511db4b38d [2021-01-11T08:11:32.065Z] Removing intermediate container 2b511db4b38d [2021-01-11T08:11:32.065Z] ---> ae5df2cfd2f2 [2021-01-11T08:11:32.065Z] Step 7/8 : COPY . . [2021-01-11T08:11:33.070Z] ---> 785a48069fb7 [2021-01-11T08:11:33.070Z] Step 8/8 : RUN go mod download [2021-01-11T08:11:33.350Z] ---> Running in e440dac2b150 [2021-01-11T08:12:00.231Z] Removing intermediate container e440dac2b150 [2021-01-11T08:12:00.231Z] ---> 88e5ff29b168 [2021-01-11T08:12:00.231Z] Successfully built 88e5ff29b168 [2021-01-11T08:12:00.231Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:12:00.587Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T08:12:00.587Z] . [Pipeline] withDockerContainer [2021-01-11T08:12:00.904Z] prd-ubuntu18.04-docker-arm64-4c-16g-19484 does not seem to be running inside a container [2021-01-11T08:12:00.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T08:12:02.773Z] $ docker top 99b749fe26061d9a5b165533f5b0173d516ede861aeadc0f9d8672fa0f9ce537 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:12:03.879Z] + go version [2021-01-11T08:12:03.880Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T08:12:03.906Z] $ docker stop --time=1 99b749fe26061d9a5b165533f5b0173d516ede861aeadc0f9d8672fa0f9ce537 [2021-01-11T08:12:06.021Z] $ docker rm -f 99b749fe26061d9a5b165533f5b0173d516ede861aeadc0f9d8672fa0f9ce537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:12:07.090Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T08:12:07.090Z] . [Pipeline] withDockerContainer [2021-01-11T08:12:07.400Z] prd-ubuntu18.04-docker-arm64-4c-16g-19484 does not seem to be running inside a container [2021-01-11T08:12:07.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T08:12:09.192Z] $ docker top 9fa733fe4171e4f4f58e36655dd0fe42e669d59cdf6d223d095745c924c48541 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:12:10.250Z] + make test [2021-01-11T08:12:10.250Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T08:12:11.704Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-11T08:12:58.891Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-11T08:12:58.891Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.038s coverage: 28.3% of statements [2021-01-11T08:12:58.891Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-11T08:12:58.891Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T08:13:05.652Z] gofmt -l . [2021-01-11T08:13:05.652Z] ["`gofmt -l .`" = ""] [2021-01-11T08:13:05.927Z] ./bin/test-attribution-txt.sh [2021-01-11T08:13:06.527Z] An attribution for github.com/gorilla/websocket is missing from in Attribution.txt, please add [2021-01-11T08:13:06.801Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-01-11T08:13:06.824Z] $ docker stop --time=1 9fa733fe4171e4f4f58e36655dd0fe42e669d59cdf6d223d095745c924c48541 [2021-01-11T08:13:09.161Z] $ docker rm -f 9fa733fe4171e4f4f58e36655dd0fe42e669d59cdf6d223d095745c924c48541 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T08:13:11.064Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:13.758Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:14.397Z] ---> package-listing.sh [2021-01-11T08:13:14.397Z] ++ facter osfamily [2021-01-11T08:13:14.397Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T08:13:14.678Z] + OS_FAMILY=redhat [2021-01-11T08:13:14.678Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-198 [2021-01-11T08:13:14.678Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T08:13:14.678Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T08:13:14.678Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T08:13:14.678Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T08:13:14.678Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-11T08:13:14.678Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T08:13:14.678Z] + case "${OS_FAMILY}" in [2021-01-11T08:13:14.678Z] + rpm -qa [2021-01-11T08:13:14.678Z] + sort [2021-01-11T08:13:20.154Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T08:13:20.154Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T08:13:20.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T08:13:20.154Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-198 ']' [2021-01-11T08:13:20.154Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ [2021-01-11T08:13:20.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-198/archives/ [Pipeline] echo [2021-01-11T08:13:20.170Z] 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-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-11T08:13:20.504Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:13:21.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:13:21.133Z] [2021-01-11T08:13:21.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T08:13:21.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:13:21.532Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T08:13:21.532Z] df20fa9351a1: Pulling fs layer [2021-01-11T08:13:21.532Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T08:13:21.532Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T08:13:21.532Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T08:13:21.532Z] 93b61091891f: Pulling fs layer [2021-01-11T08:13:21.532Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T08:13:21.532Z] 5e14af77c1be: Pulling fs layer [2021-01-11T08:13:21.532Z] 01666e4c0597: Pulling fs layer [2021-01-11T08:13:21.532Z] aa168da1d23b: Pulling fs layer [2021-01-11T08:13:21.532Z] 93b61091891f: Waiting [2021-01-11T08:13:21.532Z] 93b9cdb0e59b: Waiting [2021-01-11T08:13:21.532Z] 5e14af77c1be: Waiting [2021-01-11T08:13:21.532Z] 01666e4c0597: Waiting [2021-01-11T08:13:21.532Z] aa168da1d23b: Waiting [2021-01-11T08:13:21.532Z] 46f8f816bc3b: Waiting [2021-01-11T08:13:21.863Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T08:13:21.863Z] 36b3adc4ff6f: Download complete [2021-01-11T08:13:21.863Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T08:13:21.863Z] 46f8f816bc3b: Download complete [2021-01-11T08:13:21.863Z] 93b61091891f: Verifying Checksum [2021-01-11T08:13:21.863Z] 93b61091891f: Download complete [2021-01-11T08:13:21.863Z] df20fa9351a1: Verifying Checksum [2021-01-11T08:13:21.863Z] df20fa9351a1: Download complete [2021-01-11T08:13:22.174Z] 5e14af77c1be: Verifying Checksum [2021-01-11T08:13:22.174Z] 5e14af77c1be: Download complete [2021-01-11T08:13:22.174Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T08:13:22.174Z] 93b9cdb0e59b: Download complete [2021-01-11T08:13:22.174Z] 01666e4c0597: Verifying Checksum [2021-01-11T08:13:22.174Z] 01666e4c0597: Download complete [2021-01-11T08:13:22.802Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T08:13:22.802Z] 8ad3a11d3b57: Download complete [2021-01-11T08:13:23.118Z] df20fa9351a1: Pull complete [2021-01-11T08:13:23.762Z] 36b3adc4ff6f: Pull complete [2021-01-11T08:13:25.360Z] 8ad3a11d3b57: Pull complete [2021-01-11T08:13:26.746Z] 46f8f816bc3b: Pull complete [2021-01-11T08:13:26.746Z] 93b61091891f: Pull complete [2021-01-11T08:13:27.041Z] 93b9cdb0e59b: Pull complete [2021-01-11T08:13:27.321Z] 5e14af77c1be: Pull complete [2021-01-11T08:13:27.597Z] 01666e4c0597: Pull complete [2021-01-11T08:13:27.864Z] aa168da1d23b: Verifying Checksum [2021-01-11T08:13:27.864Z] aa168da1d23b: Download complete [2021-01-11T08:13:43.071Z] aa168da1d23b: Pull complete [2021-01-11T08:13:43.071Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T08:13:43.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T08:13:43.071Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T08:13:43.382Z] prd-centos7-docker-4c-2g-19467 does not seem to be running inside a container [2021-01-11T08:13:43.517Z] $ 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-198/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-198 -v /w/workspace/gexfoundry_device-mqtt-go_PR-198:/w/workspace/gexfoundry_device-mqtt-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-198@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-11T08:13:45.824Z] $ docker top d32a692660455204406cdb6537bfca8f0bb7bce712bc0b64469e922fcca9ee83 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T08:13:46.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T08:13:47.360Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T08:13:47.718Z] + ls /var/log/sa-host [2021-01-11T08:13:47.718Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T08:13:47.718Z] file_magic: OK [2021-01-11T08:13:47.718Z] HZ: Using current value: 100 [2021-01-11T08:13:47.718Z] file_header: OK [2021-01-11T08:13:47.718Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-11T08:13:47.718Z] Statistics: [2021-01-11T08:13:47.718Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T08:13:47.718Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T08:13:47.718Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T08:13:48.020Z] file_magic: OK [2021-01-11T08:13:48.020Z] HZ: Using current value: 100 [2021-01-11T08:13:48.020Z] file_header: OK [2021-01-11T08:13:48.020Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-11T08:13:48.020Z] Statistics: [2021-01-11T08:13:48.020Z] Hnuu...uuuununununu... [2021-01-11T08:13:48.020Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T08:13:48.256Z] provisioning config files... [2021-01-11T08:13:48.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-198@tmp/config425260018255997402tmp [Pipeline] { [Pipeline] echo [2021-01-11T08:13:48.467Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:48.980Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T08:13:49.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T08:13:49.368Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:50.043Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T08:13:50.062Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:50.629Z] ---> sudo-logs.sh [2021-01-11T08:13:50.629Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T08:13:50.723Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:51.503Z] ---> job-cost.sh [2021-01-11T08:13:51.503Z] lf-activate-venv: SKIPPING [2021-01-11T08:13:51.503Z] INFO: No Stack... [2021-01-11T08:13:52.458Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T08:13:53.036Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T08:13:53.052Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T08:13:53.382Z] ---> logs-deploy.sh [2021-01-11T08:13:53.383Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-198/4 [2021-01-11T08:13:53.383Z] INFO: archiving workspace using pattern(s): [2021-01-11T08:13:55.976Z] Archives upload complete. [2021-01-11T08:13:56.249Z] INFO: archiving logs to Nexus