Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-389 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Checking out Revision 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 (master) Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 # timeout=10 Commit message: "Merge pull request #215 from hahattan/issue-204" > git rev-list --no-walk db15b17aa7909c46086228bc577d64e14747d026 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-16T04:30:53.140Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-16T04:30:53.225Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-16T04:30:53.251Z] ========================================================= [2021-04-16T04:30:53.251Z] EdgeX Global Pipelines Version Info [2021-04-16T04:30:53.251Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:30:54.815Z] ------------------- [2021-04-16T04:30:54.815Z] stable info: [2021-04-16T04:30:54.815Z] ------------------- [2021-04-16T04:30:54.815Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-16T04:30:54.815Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-16T04:30:54.815Z] Message: update stable to v1.0.186 [2021-04-16T04:30:55.769Z] ------------------- [2021-04-16T04:30:55.769Z] experimental info: [2021-04-16T04:30:55.769Z] ------------------- [2021-04-16T04:30:55.769Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-16T04:30:55.769Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-16T04:30:55.769Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-16T04:30:55.898Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-04-16T04:30:55.922Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-04-16T04:30:55.946Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-16T04:30:55.976Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-16T04:30:56.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-16T04:30:56.042Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-16T04:30:56.066Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-16T04:30:56.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-16T04:30:56.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-16T04:30:56.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-16T04:30:56.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-16T04:30:56.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-04-16T04:30:56.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-16T04:30:56.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-16T04:30:56.275Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T04:30:56.301Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T04:30:56.323Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T04:30:56.347Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T04:30:56.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-16T04:30:56.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-16T04:30:56.437Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-16T04:30:56.460Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-16T04:30:56.484Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-16T04:30:56.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-16T04:30:56.564Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-16T04:30:56.588Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-16T04:30:56.615Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-16T04:30:56.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-16T04:30:56.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-16T04:30:56.686Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [Pipeline] echo [2021-04-16T04:30:56.709Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ecd4eb [Pipeline] echo [2021-04-16T04:30:56.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T04:30:56.809Z] provisioning config files... [2021-04-16T04:30:56.843Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4022809353589502879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:30:57.169Z] ---> docker-login.sh [2021-04-16T04:30:57.169Z] nexus3.edgexfoundry.org:10001 [2021-04-16T04:30:57.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:30:57.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:30:57.433Z] Configure a credential helper to remove this warning. See [2021-04-16T04:30:57.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:30:57.433Z] [2021-04-16T04:30:57.433Z] Login Succeeded [2021-04-16T04:30:57.433Z] nexus3.edgexfoundry.org:10002 [2021-04-16T04:30:57.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:30:57.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:30:57.695Z] Configure a credential helper to remove this warning. See [2021-04-16T04:30:57.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:30:57.695Z] [2021-04-16T04:30:57.695Z] Login Succeeded [2021-04-16T04:30:57.695Z] nexus3.edgexfoundry.org:10003 [2021-04-16T04:30:57.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:30:57.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:30:57.958Z] Configure a credential helper to remove this warning. See [2021-04-16T04:30:57.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:30:57.958Z] [2021-04-16T04:30:57.958Z] Login Succeeded [2021-04-16T04:30:57.958Z] nexus3.edgexfoundry.org:10004 [2021-04-16T04:30:57.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:30:57.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:30:57.958Z] Configure a credential helper to remove this warning. See [2021-04-16T04:30:57.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:30:57.958Z] [2021-04-16T04:30:57.958Z] Login Succeeded [2021-04-16T04:30:57.958Z] docker.io [2021-04-16T04:30:58.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:30:58.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:30:58.487Z] Configure a credential helper to remove this warning. See [2021-04-16T04:30:58.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:30:58.487Z] [2021-04-16T04:30:58.487Z] Login Succeeded [2021-04-16T04:30:58.487Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T04:30:58.497Z] 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-04-16T04:30:58.934Z] + git log --format=format:%s -1 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [Pipeline] echo [2021-04-16T04:30:59.011Z] GIT_COMMIT: 7ecd4eb6552928ece7c628dfcc14e3a089789cc2, Commit Message: Merge pull request #215 from hahattan/issue-204 [Pipeline] echo [2021-04-16T04:30:59.024Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:30:59.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T04:30:59.592Z] [2021-04-16T04:30:59.592Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:30:59.916Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T04:30:59.916Z] latest: Pulling from edgex-devops/git-semver [2021-04-16T04:30:59.916Z] 31603596830f: Pulling fs layer [2021-04-16T04:30:59.916Z] 2a8b12db71e7: Pulling fs layer [2021-04-16T04:30:59.916Z] 6ca5941a6612: Pulling fs layer [2021-04-16T04:30:59.916Z] ecc8261a40a4: Pulling fs layer [2021-04-16T04:30:59.916Z] ecc8261a40a4: Waiting [2021-04-16T04:30:59.916Z] 2a8b12db71e7: Verifying Checksum [2021-04-16T04:30:59.916Z] 2a8b12db71e7: Download complete [2021-04-16T04:30:59.916Z] 31603596830f: Verifying Checksum [2021-04-16T04:30:59.916Z] 31603596830f: Download complete [2021-04-16T04:31:00.185Z] ecc8261a40a4: Verifying Checksum [2021-04-16T04:31:00.185Z] ecc8261a40a4: Download complete [2021-04-16T04:31:00.185Z] 6ca5941a6612: Verifying Checksum [2021-04-16T04:31:00.185Z] 6ca5941a6612: Download complete [2021-04-16T04:31:00.185Z] 31603596830f: Pull complete [2021-04-16T04:31:00.450Z] 2a8b12db71e7: Pull complete [2021-04-16T04:31:01.401Z] 6ca5941a6612: Pull complete [2021-04-16T04:31:01.401Z] ecc8261a40a4: Pull complete [2021-04-16T04:31:01.663Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-16T04:31:01.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T04:31:01.663Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-16T04:31:01.779Z] prd-centos7-docker-4c-2g-389 does not seem to be running inside a container [2021-04-16T04:31:01.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-16T04:31:03.682Z] $ docker top 0413c3b7b90b9bbeebeb9d188f77a92cf8206342f5548206c103d0c1efca59dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-16T04:31:03.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T04:31:03.870Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T04:31:04.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T04:31:04.099Z] $ docker exec 0413c3b7b90b9bbeebeb9d188f77a92cf8206342f5548206c103d0c1efca59dd ssh-agent [2021-04-16T04:31:04.271Z] SSH_AUTH_SOCK=/tmp/ssh-8rh4LLm4wBcB/agent.11 [2021-04-16T04:31:04.271Z] SSH_AGENT_PID=17 [2021-04-16T04:31:04.281Z] Running ssh-add (command line suppressed) [2021-04-16T04:31:04.393Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7354737522480841086.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7354737522480841086.key) [2021-04-16T04:31:04.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T04:31:04.747Z] + git tag --points-at HEAD [Pipeline] } [2021-04-16T04:31:04.765Z] $ docker exec --env ******** --env ******** 0413c3b7b90b9bbeebeb9d188f77a92cf8206342f5548206c103d0c1efca59dd ssh-agent -k [2021-04-16T04:31:04.870Z] unset SSH_AUTH_SOCK; [2021-04-16T04:31:04.871Z] unset SSH_AGENT_PID; [2021-04-16T04:31:04.871Z] echo Agent pid 17 killed; [2021-04-16T04:31:04.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-16T04:31:04.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T04:31:04.968Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T04:31:05.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T04:31:05.153Z] $ docker exec 0413c3b7b90b9bbeebeb9d188f77a92cf8206342f5548206c103d0c1efca59dd ssh-agent [2021-04-16T04:31:05.312Z] SSH_AUTH_SOCK=/tmp/ssh-gxbxmGUgUd1c/agent.46 [2021-04-16T04:31:05.312Z] SSH_AGENT_PID=52 [2021-04-16T04:31:05.319Z] Running ssh-add (command line suppressed) [2021-04-16T04:31:05.428Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8965793271037576272.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8965793271037576272.key) [2021-04-16T04:31:05.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T04:31:05.785Z] + git semver init [2021-04-16T04:31:05.785Z] # -> Open(): unable to determine branch for HEAD [2021-04-16T04:31:05.785Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-04-16T04:31:05.785Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-04-16T04:31:05.785Z] # $SEMVER_REMOTE_NAME = origin [2021-04-16T04:31:05.785Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-16T04:31:05.785Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-16T04:31:05.785Z] # $SEMVER_BRANCH = master [2021-04-16T04:31:05.785Z] # $SEMVER_TEMP = /tmp/semver-367839160 [2021-04-16T04:31:05.785Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-04-16T04:31:06.049Z] # '/tmp/semver-367839160' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-04-16T04:31:06.049Z] # -> Force: false [2021-04-16T04:31:06.049Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-04-16T04:31:06.058Z] $ docker exec --env ******** --env ******** 0413c3b7b90b9bbeebeb9d188f77a92cf8206342f5548206c103d0c1efca59dd ssh-agent -k [2021-04-16T04:31:06.170Z] unset SSH_AUTH_SOCK; [2021-04-16T04:31:06.170Z] unset SSH_AGENT_PID; [2021-04-16T04:31:06.171Z] echo Agent pid 52 killed; [2021-04-16T04:31:06.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T04:31:06.552Z] + git semver [Pipeline] } [2021-04-16T04:31:06.569Z] $ docker stop --time=1 0413c3b7b90b9bbeebeb9d188f77a92cf8206342f5548206c103d0c1efca59dd [2021-04-16T04:31:07.911Z] $ docker rm -f 0413c3b7b90b9bbeebeb9d188f77a92cf8206342f5548206c103d0c1efca59dd [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T04:31:08.300Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-16T04:31:08.598Z] Stashed 1 file(s) [Pipeline] echo [2021-04-16T04:31:08.601Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.5 [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-04-16T04:31:23.762Z] Still waiting to schedule task [2021-04-16T04:31:23.762Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-16T04:31:23.764Z] Still waiting to schedule task [2021-04-16T04:31:23.764Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-388’ is offline [2021-04-16T04:32:54.504Z] Running on prd-centos7-docker-4c-2g-394 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-04-16T04:32:54.520Z] Running in /w/workspace/device-mqtt-go/35 [Pipeline] { [Pipeline] checkout [2021-04-16T04:32:57.029Z] using credential edgex-jenkins-ssh [2021-04-16T04:32:57.042Z] Cloning the remote Git repository [2021-04-16T04:32:57.068Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-16T04:32:57.134Z] > git init /w/workspace/device-mqtt-go/35 # timeout=10 [2021-04-16T04:32:57.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-16T04:32:57.187Z] > git --version # timeout=10 [2021-04-16T04:32:57.192Z] > git --version # 'git version 2.24.3' [2021-04-16T04:32:57.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T04:32:57.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T04:32:57.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-16T04:32:57.745Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T04:32:57.759Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-16T04:32:57.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-16T04:32:57.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T04:32:57.775Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T04:32:58.192Z] Checking out Revision 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 (master) [2021-04-16T04:32:58.200Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T04:32:58.221Z] > git checkout -f 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 # timeout=10 [2021-04-16T04:33:01.961Z] Commit message: "Merge pull request #215 from hahattan/issue-204" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T04:33:03.080Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-16T04:33:03.411Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T04:33:03.723Z] + sudo service docker restart [2021-04-16T04:33:03.723Z] + true [2021-04-16T04:33:03.723Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T04:33:04.697Z] provisioning config files... [2021-04-16T04:33:04.729Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/35@tmp/config1139395794471189607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:33:05.056Z] ---> docker-login.sh [2021-04-16T04:33:05.056Z] nexus3.edgexfoundry.org:10001 [2021-04-16T04:33:05.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:05.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:05.322Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:05.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:05.322Z] [2021-04-16T04:33:05.322Z] Login Succeeded [2021-04-16T04:33:05.322Z] nexus3.edgexfoundry.org:10002 [2021-04-16T04:33:05.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:05.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:05.586Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:05.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:05.586Z] [2021-04-16T04:33:05.586Z] Login Succeeded [2021-04-16T04:33:05.586Z] nexus3.edgexfoundry.org:10003 [2021-04-16T04:33:05.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:05.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:05.586Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:05.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:05.586Z] [2021-04-16T04:33:05.586Z] Login Succeeded [2021-04-16T04:33:05.586Z] nexus3.edgexfoundry.org:10004 [2021-04-16T04:33:05.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:05.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:05.849Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:05.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:05.849Z] [2021-04-16T04:33:05.849Z] Login Succeeded [2021-04-16T04:33:05.849Z] docker.io [2021-04-16T04:33:06.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:06.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:06.374Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:06.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:06.374Z] [2021-04-16T04:33:06.374Z] Login Succeeded [2021-04-16T04:33:06.374Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T04:33:06.383Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T04:33:06.574Z] ========================================================= [2021-04-16T04:33:06.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-16T04:33:06.574Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:33:06.889Z] + 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-04-16T04:33:06.889Z] Sending build context to Docker daemon 529.9kB [2021-04-16T04:33:06.889Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T04:33:06.889Z] Step 2/8 : FROM ${BASE} [2021-04-16T04:33:06.889Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-16T04:33:06.889Z] 188c0c94c7c5: Pulling fs layer [2021-04-16T04:33:06.889Z] 0ef7d3d256c8: Pulling fs layer [2021-04-16T04:33:06.889Z] de9db76c5a1d: Pulling fs layer [2021-04-16T04:33:06.889Z] bca2f99d35d6: Pulling fs layer [2021-04-16T04:33:06.889Z] 93359f2a8cfa: Pulling fs layer [2021-04-16T04:33:06.889Z] 7c6f9722023f: Pulling fs layer [2021-04-16T04:33:06.889Z] a35cf1a2eb13: Pulling fs layer [2021-04-16T04:33:06.889Z] bca2f99d35d6: Waiting [2021-04-16T04:33:06.889Z] 93359f2a8cfa: Waiting [2021-04-16T04:33:06.889Z] 7c6f9722023f: Waiting [2021-04-16T04:33:06.889Z] a35cf1a2eb13: Waiting [2021-04-16T04:33:06.889Z] de9db76c5a1d: Download complete [2021-04-16T04:33:07.154Z] 0ef7d3d256c8: Verifying Checksum [2021-04-16T04:33:07.154Z] 0ef7d3d256c8: Download complete [2021-04-16T04:33:07.154Z] 93359f2a8cfa: Verifying Checksum [2021-04-16T04:33:07.154Z] 93359f2a8cfa: Download complete [2021-04-16T04:33:07.154Z] 7c6f9722023f: Verifying Checksum [2021-04-16T04:33:07.154Z] 7c6f9722023f: Download complete [2021-04-16T04:33:07.154Z] 188c0c94c7c5: Verifying Checksum [2021-04-16T04:33:07.154Z] 188c0c94c7c5: Download complete [2021-04-16T04:33:07.417Z] 188c0c94c7c5: Pull complete [2021-04-16T04:33:07.417Z] 0ef7d3d256c8: Pull complete [2021-04-16T04:33:07.680Z] de9db76c5a1d: Pull complete [2021-04-16T04:33:09.609Z] a35cf1a2eb13: Download complete [2021-04-16T04:33:09.609Z] bca2f99d35d6: Verifying Checksum [2021-04-16T04:33:09.609Z] bca2f99d35d6: Download complete [2021-04-16T04:33:11.583Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-392 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-04-16T04:33:11.600Z] Running in /w/workspace/device-mqtt-go/35 [Pipeline] { [Pipeline] checkout [2021-04-16T04:33:14.937Z] bca2f99d35d6: Pull complete [2021-04-16T04:33:14.937Z] 93359f2a8cfa: Pull complete [2021-04-16T04:33:15.203Z] 7c6f9722023f: Pull complete [2021-04-16T04:33:17.154Z] using credential edgex-jenkins-ssh [2021-04-16T04:33:17.188Z] Cloning the remote Git repository [2021-04-16T04:33:17.236Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-16T04:33:17.345Z] > git init /w/workspace/device-mqtt-go/35 # timeout=10 [2021-04-16T04:33:17.409Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-16T04:33:17.409Z] > git --version # timeout=10 [2021-04-16T04:33:17.423Z] > git --version # 'git version 2.17.1' [2021-04-16T04:33:17.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T04:33:17.502Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T04:33:18.829Z] Checking out Revision 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 (master) [2021-04-16T04:33:18.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-16T04:33:18.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T04:33:18.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-16T04:33:18.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-16T04:33:18.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T04:33:18.356Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T04:33:18.848Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T04:33:18.862Z] > git checkout -f 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 # timeout=10 [2021-04-16T04:33:21.837Z] a35cf1a2eb13: Pull complete [2021-04-16T04:33:21.837Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-16T04:33:21.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-16T04:33:21.837Z] ---> a62c8e92a672 [2021-04-16T04:33:21.837Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-16T04:33:22.101Z] ---> Running in b139b4948f1f [2021-04-16T04:33:22.365Z] Removing intermediate container b139b4948f1f [2021-04-16T04:33:22.365Z] ---> e14a1736dd8d [2021-04-16T04:33:22.365Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T04:33:22.365Z] ---> Running in a859c26eaa24 [2021-04-16T04:33:23.012Z] Commit message: "Merge pull request #215 from hahattan/issue-204" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-04-16T04:33:23.319Z] Removing intermediate container a859c26eaa24 [2021-04-16T04:33:23.319Z] ---> bc7bad6a6af5 [2021-04-16T04:33:23.319Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T04:33:23.590Z] ---> Running in 5b6b3c7ea74a [2021-04-16T04:33:24.382Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-16T04:33:24.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T04:33:24.779Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T04:33:25.110Z] + sudo service docker restart [2021-04-16T04:33:25.110Z] + true [2021-04-16T04:33:25.486Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T04:33:26.068Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-16T04:33:26.068Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-16T04:33:26.068Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-16T04:33:26.068Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-16T04:33:26.331Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-16T04:33:26.331Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-16T04:33:26.331Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-16T04:33:26.905Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-16T04:33:26.905Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-16T04:33:26.905Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-16T04:33:27.168Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-16T04:33:27.168Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-16T04:33:27.168Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-16T04:33:27.430Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T04:33:27.430Z] OK: 173 MiB in 52 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T04:33:27.777Z] provisioning config files... [2021-04-16T04:33:27.838Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/35@tmp/config5422816954095699308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:33:28.217Z] ---> docker-login.sh [2021-04-16T04:33:28.218Z] nexus3.edgexfoundry.org:10001 [2021-04-16T04:33:28.379Z] Removing intermediate container 5b6b3c7ea74a [2021-04-16T04:33:28.379Z] ---> 49d6501de341 [2021-04-16T04:33:28.379Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-04-16T04:33:28.379Z] ---> Running in ca9249113654 [2021-04-16T04:33:28.640Z] Removing intermediate container ca9249113654 [2021-04-16T04:33:28.640Z] ---> 9b21090be686 [2021-04-16T04:33:28.640Z] Step 7/8 : COPY . . [2021-04-16T04:33:29.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:29.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:29.477Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:29.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:29.477Z] [2021-04-16T04:33:29.477Z] Login Succeeded [2021-04-16T04:33:29.477Z] nexus3.edgexfoundry.org:10002 [2021-04-16T04:33:29.585Z] ---> 4ea274f601de [2021-04-16T04:33:29.585Z] Step 8/8 : RUN go mod download [2021-04-16T04:33:29.585Z] ---> Running in b85cce42bca0 [2021-04-16T04:33:29.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:30.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:30.030Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:30.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:30.030Z] [2021-04-16T04:33:30.030Z] Login Succeeded [2021-04-16T04:33:30.030Z] nexus3.edgexfoundry.org:10003 [2021-04-16T04:33:30.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:30.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:30.577Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:30.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:30.577Z] [2021-04-16T04:33:30.577Z] Login Succeeded [2021-04-16T04:33:30.577Z] nexus3.edgexfoundry.org:10004 [2021-04-16T04:33:30.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:31.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:31.124Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:31.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:31.124Z] [2021-04-16T04:33:31.124Z] Login Succeeded [2021-04-16T04:33:31.124Z] docker.io [2021-04-16T04:33:31.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:33:31.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:33:31.669Z] Configure a credential helper to remove this warning. See [2021-04-16T04:33:31.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:33:31.669Z] [2021-04-16T04:33:31.669Z] Login Succeeded [2021-04-16T04:33:31.669Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T04:33:31.686Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T04:33:31.981Z] ========================================================= [2021-04-16T04:33:31.981Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-16T04:33:31.981Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:33:32.329Z] + 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-04-16T04:33:32.605Z] Sending build context to Docker daemon 528.9kB [2021-04-16T04:33:32.605Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T04:33:32.605Z] Step 2/8 : FROM ${BASE} [2021-04-16T04:33:32.880Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-16T04:33:32.880Z] 5f621e34cdf4: Pulling fs layer [2021-04-16T04:33:32.880Z] a4357932f1b6: Pulling fs layer [2021-04-16T04:33:32.880Z] 18c013af1878: Pulling fs layer [2021-04-16T04:33:32.880Z] 00ac8860ef70: Pulling fs layer [2021-04-16T04:33:32.880Z] 63d7cb157983: Pulling fs layer [2021-04-16T04:33:32.880Z] b116817d02f9: Pulling fs layer [2021-04-16T04:33:32.880Z] 745a02a5169b: Pulling fs layer [2021-04-16T04:33:32.880Z] 00ac8860ef70: Waiting [2021-04-16T04:33:32.880Z] 63d7cb157983: Waiting [2021-04-16T04:33:32.880Z] b116817d02f9: Waiting [2021-04-16T04:33:32.880Z] 745a02a5169b: Waiting [2021-04-16T04:33:32.880Z] 18c013af1878: Verifying Checksum [2021-04-16T04:33:32.880Z] 18c013af1878: Download complete [2021-04-16T04:33:32.880Z] a4357932f1b6: Verifying Checksum [2021-04-16T04:33:32.880Z] a4357932f1b6: Download complete [2021-04-16T04:33:32.880Z] 63d7cb157983: Verifying Checksum [2021-04-16T04:33:32.880Z] 63d7cb157983: Download complete [2021-04-16T04:33:32.880Z] b116817d02f9: Verifying Checksum [2021-04-16T04:33:32.880Z] b116817d02f9: Download complete [2021-04-16T04:33:32.880Z] 5f621e34cdf4: Verifying Checksum [2021-04-16T04:33:32.880Z] 5f621e34cdf4: Download complete [2021-04-16T04:33:33.483Z] 5f621e34cdf4: Pull complete [2021-04-16T04:33:34.091Z] a4357932f1b6: Pull complete [2021-04-16T04:33:34.697Z] 18c013af1878: Pull complete [2021-04-16T04:33:35.678Z] 745a02a5169b: Verifying Checksum [2021-04-16T04:33:35.678Z] 745a02a5169b: Download complete [2021-04-16T04:33:36.664Z] 00ac8860ef70: Verifying Checksum [2021-04-16T04:33:36.664Z] 00ac8860ef70: Download complete [2021-04-16T04:33:49.115Z] 00ac8860ef70: Pull complete [2021-04-16T04:33:49.115Z] 63d7cb157983: Pull complete [2021-04-16T04:33:49.115Z] b116817d02f9: Pull complete [2021-04-16T04:33:51.763Z] 745a02a5169b: Pull complete [2021-04-16T04:33:51.763Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-16T04:33:51.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-16T04:33:51.763Z] ---> b7e6874047d6 [2021-04-16T04:33:51.763Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-16T04:33:54.325Z] ---> Running in 0c56eb4c4d64 [2021-04-16T04:33:54.605Z] Removing intermediate container 0c56eb4c4d64 [2021-04-16T04:33:54.605Z] ---> 472584e353e7 [2021-04-16T04:33:54.605Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T04:33:54.879Z] ---> Running in 88ebbe972421 [2021-04-16T04:33:56.279Z] Removing intermediate container b85cce42bca0 [2021-04-16T04:33:56.279Z] ---> eb1686fd447b [2021-04-16T04:33:56.279Z] Successfully built eb1686fd447b [2021-04-16T04:33:56.279Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:33:56.592Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T04:33:56.592Z] . [Pipeline] withDockerContainer [2021-04-16T04:33:56.699Z] prd-centos7-docker-4c-2g-394 does not seem to be running inside a container [2021-04-16T04:33:56.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/35 -v /w/workspace/device-mqtt-go/35:/w/workspace/device-mqtt-go/35:rw,z -v /w/workspace/device-mqtt-go/35@tmp:/w/workspace/device-mqtt-go/35@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 ******** ci-base-image-x86_64 cat [2021-04-16T04:33:57.490Z] $ docker top 9fd2d5fd84f08a1b558a54afd4e9868f82a48f44b4a3bd0b1ebfaf0f873f8d54 -eo pid,comm [2021-04-16T04:33:57.523Z] Removing intermediate container 88ebbe972421 [2021-04-16T04:33:57.523Z] ---> a0b0dc706914 [2021-04-16T04:33:57.523Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-16T04:33:57.523Z] ---> Running in d93948cbfca1 [Pipeline] { [Pipeline] sh [2021-04-16T04:33:57.913Z] + go version [2021-04-16T04:33:57.913Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-16T04:33:57.938Z] $ docker stop --time=1 9fd2d5fd84f08a1b558a54afd4e9868f82a48f44b4a3bd0b1ebfaf0f873f8d54 [2021-04-16T04:33:58.502Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T04:33:59.100Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T04:33:59.300Z] $ docker rm -f 9fd2d5fd84f08a1b558a54afd4e9868f82a48f44b4a3bd0b1ebfaf0f873f8d54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:33:59.694Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-16T04:33:59.694Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-16T04:33:59.800Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T04:33:59.800Z] . [Pipeline] withDockerContainer [2021-04-16T04:33:59.902Z] prd-centos7-docker-4c-2g-394 does not seem to be running inside a container [2021-04-16T04:33:59.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/35 -v /w/workspace/device-mqtt-go/35:/w/workspace/device-mqtt-go/35:rw,z -v /w/workspace/device-mqtt-go/35@tmp:/w/workspace/device-mqtt-go/35@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 ******** ci-base-image-x86_64 cat [2021-04-16T04:33:59.964Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-16T04:33:59.964Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-16T04:33:59.964Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-16T04:34:00.243Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-16T04:34:00.243Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-16T04:34:00.514Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-16T04:34:00.614Z] $ docker top 37b054456e99f140e612ddf6719e41254206b65d8152cb3084da3785912bf3bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T04:34:00.786Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-16T04:34:00.786Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-16T04:34:01.035Z] + make test [2021-04-16T04:34:01.035Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-16T04:34:01.375Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-16T04:34:01.968Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-16T04:34:02.010Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-04-16T04:34:02.241Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-16T04:34:02.241Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T04:34:02.515Z] OK: 149 MiB in 52 packages [2021-04-16T04:34:03.954Z] Removing intermediate container d93948cbfca1 [2021-04-16T04:34:03.954Z] ---> 016aeba75e52 [2021-04-16T04:34:03.954Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-04-16T04:34:04.226Z] ---> Running in 6230ed7813c0 [2021-04-16T04:34:04.502Z] Removing intermediate container 6230ed7813c0 [2021-04-16T04:34:04.502Z] ---> 64024c709afe [2021-04-16T04:34:04.502Z] Step 7/8 : COPY . . [2021-04-16T04:34:05.476Z] ---> de4a15ad3562 [2021-04-16T04:34:05.476Z] Step 8/8 : RUN go mod download [2021-04-16T04:34:05.759Z] ---> Running in f4b8ff5349c4 [2021-04-16T04:34:20.300Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-04-16T04:34:20.300Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.028s coverage: 24.9% of statements [2021-04-16T04:34:20.300Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-04-16T04:34:20.300Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-16T04:34:23.671Z] gofmt -l . [2021-04-16T04:34:23.671Z] ["`gofmt -l .`" = ""] [2021-04-16T04:34:23.671Z] ./bin/test-attribution-txt.sh [2021-04-16T04:34:24.621Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T04:34:24.671Z] $ docker stop --time=1 37b054456e99f140e612ddf6719e41254206b65d8152cb3084da3785912bf3bb [2021-04-16T04:34:26.427Z] $ docker rm -f 37b054456e99f140e612ddf6719e41254206b65d8152cb3084da3785912bf3bb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T04:34:27.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T04:34:27.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-16T04:34:28.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T04:34:28.666Z] + ls -al . [2021-04-16T04:34:28.666Z] total 108 [2021-04-16T04:34:28.666Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 04:34 . [2021-04-16T04:34:28.666Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 16 04:32 .. [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 7100 Apr 16 04:32 Attribution.txt [2021-04-16T04:34:28.666Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 04:32 bin [2021-04-16T04:34:28.666Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 16 04:32 cmd [2021-04-16T04:34:28.666Z] -rw-r--r--. 1 jenkins jenkins 19386 Apr 16 04:34 coverage.out [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 1861 Apr 16 04:32 Dockerfile [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 994 Apr 16 04:32 Dockerfile.build [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 04:32 .dockerignore [2021-04-16T04:34:28.666Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 16 04:33 .git [2021-04-16T04:34:28.666Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 16 04:32 .github [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 336 Apr 16 04:32 .gitignore [2021-04-16T04:34:28.666Z] -rw-r--r--. 1 jenkins jenkins 409 Apr 16 04:34 go.mod [2021-04-16T04:34:28.666Z] -rw-r--r--. 1 jenkins jenkins 21534 Apr 16 04:34 go.sum [2021-04-16T04:34:28.666Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 04:32 internal [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 677 Apr 16 04:32 Jenkinsfile [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 04:32 LICENSE [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 950 Apr 16 04:32 Makefile [2021-04-16T04:34:28.666Z] drwxrwxr-x. 2 jenkins jenkins 23 Apr 16 04:32 mock [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 16 04:32 README.md [2021-04-16T04:34:28.666Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 16 04:32 snap [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 16 04:31 VERSION [2021-04-16T04:34:28.666Z] -rw-rw-r--. 1 jenkins jenkins 227 Apr 16 04:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:34:28.972Z] + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7ecd4eb6552928ece7c628dfcc14e3a089789cc2 --label arch=amd64 --label version=1.3.2-dev.5 . [2021-04-16T04:34:28.972Z] Sending build context to Docker daemon 549.9kB [2021-04-16T04:34:28.972Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T04:34:28.972Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T04:34:28.972Z] ---> eb1686fd447b [2021-04-16T04:34:28.972Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-16T04:34:29.240Z] ---> Running in df3aee1e5c44 [2021-04-16T04:34:29.503Z] Removing intermediate container df3aee1e5c44 [2021-04-16T04:34:29.503Z] ---> 4f181f2a3319 [2021-04-16T04:34:29.503Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-04-16T04:34:29.503Z] ---> Running in 08787a9535da [2021-04-16T04:34:29.768Z] Removing intermediate container 08787a9535da [2021-04-16T04:34:29.768Z] ---> 424b6acc141c [2021-04-16T04:34:29.768Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T04:34:29.768Z] ---> Running in 488271484f8e [2021-04-16T04:34:30.717Z] Removing intermediate container 488271484f8e [2021-04-16T04:34:30.717Z] ---> 913d5238959d [2021-04-16T04:34:30.717Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-16T04:34:30.717Z] ---> Running in 112671983e68 [2021-04-16T04:34:31.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T04:34:32.237Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T04:34:32.498Z] OK: 173 MiB in 52 packages [2021-04-16T04:34:32.576Z] Removing intermediate container f4b8ff5349c4 [2021-04-16T04:34:32.576Z] ---> 6ab871731e11 [2021-04-16T04:34:32.576Z] Successfully built 6ab871731e11 [2021-04-16T04:34:32.576Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:34:32.918Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T04:34:32.918Z] . [Pipeline] withDockerContainer [2021-04-16T04:34:33.071Z] Removing intermediate container 112671983e68 [2021-04-16T04:34:33.071Z] ---> 459bbf82073b [2021-04-16T04:34:33.071Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-04-16T04:34:33.071Z] ---> Running in 565a4f507c65 [2021-04-16T04:34:33.071Z] Removing intermediate container 565a4f507c65 [2021-04-16T04:34:33.071Z] ---> fc6ec5644bee [2021-04-16T04:34:33.071Z] Step 8/23 : COPY . . [2021-04-16T04:34:33.188Z] prd-ubuntu18.04-docker-arm64-4c-16g-392 does not seem to be running inside a container [2021-04-16T04:34:33.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/35 -v /w/workspace/device-mqtt-go/35:/w/workspace/device-mqtt-go/35:rw,z -v /w/workspace/device-mqtt-go/35@tmp:/w/workspace/device-mqtt-go/35@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 ******** ci-base-image-arm64 cat [2021-04-16T04:34:34.016Z] ---> 9db0ce10f0db [2021-04-16T04:34:34.016Z] Step 9/23 : RUN go mod download [2021-04-16T04:34:34.016Z] ---> Running in 30bd40886b36 [2021-04-16T04:34:34.883Z] $ docker top cd504563628ff9a670056b6eca1112e65f195b6789fee8b5a1417dfa86c340bb -eo pid,comm [2021-04-16T04:34:34.973Z] Removing intermediate container 30bd40886b36 [2021-04-16T04:34:34.973Z] ---> c380b1e7e614 [2021-04-16T04:34:34.973Z] Step 10/23 : ARG MAKE='make build' [2021-04-16T04:34:34.973Z] ---> Running in 9933e05c8293 [Pipeline] { [Pipeline] sh [2021-04-16T04:34:35.237Z] Removing intermediate container 9933e05c8293 [2021-04-16T04:34:35.237Z] ---> d843c51f70a2 [2021-04-16T04:34:35.237Z] Step 11/23 : RUN $MAKE [2021-04-16T04:34:35.237Z] ---> Running in 80c1a0f79f1e [2021-04-16T04:34:35.821Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.5" -o cmd/device-mqtt ./cmd [2021-04-16T04:34:35.863Z] + go version [2021-04-16T04:34:35.863Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-16T04:34:35.888Z] $ docker stop --time=1 cd504563628ff9a670056b6eca1112e65f195b6789fee8b5a1417dfa86c340bb [2021-04-16T04:34:37.885Z] $ docker rm -f cd504563628ff9a670056b6eca1112e65f195b6789fee8b5a1417dfa86c340bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:34:38.598Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T04:34:38.598Z] . [Pipeline] withDockerContainer [2021-04-16T04:34:38.846Z] prd-ubuntu18.04-docker-arm64-4c-16g-392 does not seem to be running inside a container [2021-04-16T04:34:38.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/35 -v /w/workspace/device-mqtt-go/35:/w/workspace/device-mqtt-go/35:rw,z -v /w/workspace/device-mqtt-go/35@tmp:/w/workspace/device-mqtt-go/35@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 ******** ci-base-image-arm64 cat [2021-04-16T04:34:40.649Z] $ docker top d687c2a896807b0c01fbf1d77b1d422689ae07d77d16a091c0d0db712e2580eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T04:34:41.643Z] + make test [2021-04-16T04:34:41.643Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-16T04:34:43.089Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-04-16T04:34:48.200Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-16T04:34:53.499Z] Removing intermediate container 80c1a0f79f1e [2021-04-16T04:34:53.499Z] ---> eee3000fa94b [2021-04-16T04:34:53.499Z] Step 12/23 : FROM alpine:3.12 [2021-04-16T04:34:53.499Z] 3.12: Pulling from library/alpine [2021-04-16T04:34:53.499Z] 339de151aab4: Pulling fs layer [2021-04-16T04:34:53.762Z] 339de151aab4: Verifying Checksum [2021-04-16T04:34:53.762Z] 339de151aab4: Download complete [2021-04-16T04:34:54.024Z] 339de151aab4: Pull complete [2021-04-16T04:34:54.024Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T04:34:54.024Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T04:34:54.024Z] ---> 13621d1b12d4 [2021-04-16T04:34:54.024Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-04-16T04:34:54.024Z] ---> Running in 2115b6addc09 [2021-04-16T04:34:54.287Z] Removing intermediate container 2115b6addc09 [2021-04-16T04:34:54.287Z] ---> 307737f286ad [2021-04-16T04:34:54.287Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-16T04:34:54.287Z] ---> Running in 12e5c7fe1052 [2021-04-16T04:34:54.861Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T04:34:54.861Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T04:34:54.861Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-16T04:34:54.861Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-16T04:34:54.861Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-16T04:34:54.861Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-16T04:34:54.861Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T04:34:54.861Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-16T04:34:54.861Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T04:34:54.861Z] OK: 8 MiB in 20 packages [2021-04-16T04:34:55.435Z] Removing intermediate container 12e5c7fe1052 [2021-04-16T04:34:55.435Z] ---> 660a52a61260 [2021-04-16T04:34:55.435Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-04-16T04:34:56.013Z] ---> 5482b68f2df0 [2021-04-16T04:34:56.013Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-04-16T04:34:56.275Z] ---> e162d1d7510a [2021-04-16T04:34:56.275Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-04-16T04:34:56.536Z] ---> c29bb8e38b3d [2021-04-16T04:34:56.536Z] Step 18/23 : EXPOSE 49982 [2021-04-16T04:34:56.536Z] ---> Running in 755a933e0500 [2021-04-16T04:34:56.799Z] Removing intermediate container 755a933e0500 [2021-04-16T04:34:56.799Z] ---> 868f13d76c6d [2021-04-16T04:34:56.799Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-04-16T04:34:56.799Z] ---> Running in 58e974ff54d3 [2021-04-16T04:34:57.061Z] Removing intermediate container 58e974ff54d3 [2021-04-16T04:34:57.061Z] ---> 77f9b3ead729 [2021-04-16T04:34:57.061Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T04:34:57.061Z] ---> Running in 13f245b2abdc [2021-04-16T04:34:57.323Z] Removing intermediate container 13f245b2abdc [2021-04-16T04:34:57.323Z] ---> fd9f5cc80a29 [2021-04-16T04:34:57.323Z] Step 21/23 : LABEL arch=amd64 [2021-04-16T04:34:57.323Z] ---> Running in 620b7893664b [2021-04-16T04:34:57.585Z] Removing intermediate container 620b7893664b [2021-04-16T04:34:57.585Z] ---> 06ee4789ee0a [2021-04-16T04:34:57.585Z] Step 22/23 : LABEL git_sha=7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:34:57.585Z] ---> Running in 18418aac1b96 [2021-04-16T04:34:57.847Z] Removing intermediate container 18418aac1b96 [2021-04-16T04:34:57.847Z] ---> e149b4f1c5dd [2021-04-16T04:34:57.847Z] Step 23/23 : LABEL version=1.3.2-dev.5 [2021-04-16T04:34:57.847Z] ---> Running in e54649c74036 [2021-04-16T04:34:58.109Z] Removing intermediate container e54649c74036 [2021-04-16T04:34:58.109Z] ---> deae23e83e6c [2021-04-16T04:34:58.109Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-16T04:34:58.109Z] Successfully built deae23e83e6c [2021-04-16T04:34:58.109Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T04:34:58.234Z] provisioning config files... [2021-04-16T04:34:58.269Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/35@tmp/config6365527277946465672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:34:58.588Z] ---> docker-login.sh [2021-04-16T04:34:58.588Z] nexus3.edgexfoundry.org:10001 [2021-04-16T04:34:58.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:34:58.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:34:58.849Z] Configure a credential helper to remove this warning. See [2021-04-16T04:34:58.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:34:58.849Z] [2021-04-16T04:34:58.849Z] Login Succeeded [2021-04-16T04:34:58.849Z] nexus3.edgexfoundry.org:10002 [2021-04-16T04:34:58.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:34:58.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:34:58.849Z] Configure a credential helper to remove this warning. See [2021-04-16T04:34:58.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:34:58.849Z] [2021-04-16T04:34:58.849Z] Login Succeeded [2021-04-16T04:34:58.849Z] nexus3.edgexfoundry.org:10003 [2021-04-16T04:34:59.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:34:59.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:34:59.110Z] Configure a credential helper to remove this warning. See [2021-04-16T04:34:59.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:34:59.110Z] [2021-04-16T04:34:59.110Z] Login Succeeded [2021-04-16T04:34:59.110Z] nexus3.edgexfoundry.org:10004 [2021-04-16T04:34:59.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:34:59.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:34:59.372Z] Configure a credential helper to remove this warning. See [2021-04-16T04:34:59.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:34:59.372Z] [2021-04-16T04:34:59.372Z] Login Succeeded [2021-04-16T04:34:59.372Z] docker.io [2021-04-16T04:34:59.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:34:59.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:34:59.634Z] Configure a credential helper to remove this warning. See [2021-04-16T04:34:59.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:34:59.634Z] [2021-04-16T04:34:59.634Z] Login Succeeded [2021-04-16T04:34:59.634Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T04:34:59.643Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-16T04:34:59.707Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2021-04-16T04:34:59.707Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:34:59.707Z] latest [2021-04-16T04:34:59.707Z] 1.3.2-dev.5 [2021-04-16T04:34:59.707Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [2021-04-16T04:34:59.707Z] master [2021-04-16T04:34:59.707Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:00.060Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:00.378Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:35:00.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-16T04:35:00.378Z] e3deccc5b5fa: Preparing [2021-04-16T04:35:00.378Z] a7b31c3f6a63: Preparing [2021-04-16T04:35:00.378Z] e6d41e6552b9: Preparing [2021-04-16T04:35:00.378Z] 4f35a3286c46: Preparing [2021-04-16T04:35:00.378Z] 32f366d666a5: Preparing [2021-04-16T04:35:00.378Z] 32f366d666a5: Layer already exists [2021-04-16T04:35:00.641Z] e3deccc5b5fa: Pushed [2021-04-16T04:35:00.641Z] a7b31c3f6a63: Pushed [2021-04-16T04:35:00.641Z] 4f35a3286c46: Pushed [2021-04-16T04:35:02.037Z] e6d41e6552b9: Pushed [2021-04-16T04:35:02.037Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2: digest: sha256:e33004b87a06763cdfa10763c1ecc81970e4ea9d4a851a2c6c464e5f1652e2b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:02.606Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:02.903Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-04-16T04:35:02.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-16T04:35:02.903Z] e3deccc5b5fa: Preparing [2021-04-16T04:35:02.903Z] a7b31c3f6a63: Preparing [2021-04-16T04:35:02.903Z] e6d41e6552b9: Preparing [2021-04-16T04:35:02.903Z] 4f35a3286c46: Preparing [2021-04-16T04:35:02.903Z] 32f366d666a5: Preparing [2021-04-16T04:35:02.903Z] 32f366d666a5: Layer already exists [2021-04-16T04:35:02.903Z] 4f35a3286c46: Layer already exists [2021-04-16T04:35:02.903Z] a7b31c3f6a63: Layer already exists [2021-04-16T04:35:02.903Z] e6d41e6552b9: Layer already exists [2021-04-16T04:35:02.903Z] e3deccc5b5fa: Layer already exists [2021-04-16T04:35:02.903Z] latest: digest: sha256:e33004b87a06763cdfa10763c1ecc81970e4ea9d4a851a2c6c464e5f1652e2b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:03.204Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:03.514Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.5 [2021-04-16T04:35:03.514Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-16T04:35:03.514Z] e3deccc5b5fa: Preparing [2021-04-16T04:35:03.514Z] a7b31c3f6a63: Preparing [2021-04-16T04:35:03.514Z] e6d41e6552b9: Preparing [2021-04-16T04:35:03.514Z] 4f35a3286c46: Preparing [2021-04-16T04:35:03.514Z] 32f366d666a5: Preparing [2021-04-16T04:35:03.514Z] a7b31c3f6a63: Layer already exists [2021-04-16T04:35:03.514Z] e6d41e6552b9: Layer already exists [2021-04-16T04:35:03.514Z] e3deccc5b5fa: Layer already exists [2021-04-16T04:35:03.514Z] 4f35a3286c46: Layer already exists [2021-04-16T04:35:03.514Z] 32f366d666a5: Layer already exists [2021-04-16T04:35:03.514Z] 1.3.2-dev.5: digest: sha256:e33004b87a06763cdfa10763c1ecc81970e4ea9d4a851a2c6c464e5f1652e2b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:03.819Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:04.116Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [2021-04-16T04:35:04.117Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-16T04:35:04.117Z] e3deccc5b5fa: Preparing [2021-04-16T04:35:04.117Z] a7b31c3f6a63: Preparing [2021-04-16T04:35:04.117Z] e6d41e6552b9: Preparing [2021-04-16T04:35:04.117Z] 4f35a3286c46: Preparing [2021-04-16T04:35:04.117Z] 32f366d666a5: Preparing [2021-04-16T04:35:04.117Z] e3deccc5b5fa: Layer already exists [2021-04-16T04:35:04.117Z] 32f366d666a5: Layer already exists [2021-04-16T04:35:04.117Z] 4f35a3286c46: Layer already exists [2021-04-16T04:35:04.117Z] e6d41e6552b9: Layer already exists [2021-04-16T04:35:04.117Z] a7b31c3f6a63: Layer already exists [2021-04-16T04:35:04.117Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5: digest: sha256:e33004b87a06763cdfa10763c1ecc81970e4ea9d4a851a2c6c464e5f1652e2b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:04.420Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:04.719Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2021-04-16T04:35:04.720Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-16T04:35:04.720Z] e3deccc5b5fa: Preparing [2021-04-16T04:35:04.720Z] a7b31c3f6a63: Preparing [2021-04-16T04:35:04.720Z] e6d41e6552b9: Preparing [2021-04-16T04:35:04.720Z] 4f35a3286c46: Preparing [2021-04-16T04:35:04.720Z] 32f366d666a5: Preparing [2021-04-16T04:35:04.720Z] 32f366d666a5: Layer already exists [2021-04-16T04:35:04.720Z] a7b31c3f6a63: Layer already exists [2021-04-16T04:35:04.720Z] 4f35a3286c46: Layer already exists [2021-04-16T04:35:04.720Z] e6d41e6552b9: Layer already exists [2021-04-16T04:35:04.720Z] e3deccc5b5fa: Layer already exists [2021-04-16T04:35:04.720Z] master: digest: sha256:e33004b87a06763cdfa10763c1ecc81970e4ea9d4a851a2c6c464e5f1652e2b1 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-16T04:35:04.778Z] ===================================================== [Pipeline] echo [2021-04-16T04:35:04.793Z] taggedImages: [2021-04-16T04:35:04.793Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:35:04.793Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-04-16T04:35:04.793Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.5 [2021-04-16T04:35:04.793Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [2021-04-16T04:35:04.793Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:35:05.351Z] ---> job-cost.sh [2021-04-16T04:35:05.351Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0gdX [2021-04-16T04:35:20.272Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T04:35:30.131Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-04-16T04:35:32.111Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.048s coverage: 24.9% of statements [2021-04-16T04:35:32.111Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-04-16T04:35:32.111Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-16T04:35:42.305Z] gofmt -l . [2021-04-16T04:35:42.305Z] ["`gofmt -l .`" = ""] [2021-04-16T04:35:42.305Z] ./bin/test-attribution-txt.sh [2021-04-16T04:35:43.740Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T04:35:44.360Z] $ docker stop --time=1 d687c2a896807b0c01fbf1d77b1d422689ae07d77d16a091c0d0db712e2580eb [2021-04-16T04:35:46.680Z] $ docker rm -f d687c2a896807b0c01fbf1d77b1d422689ae07d77d16a091c0d0db712e2580eb [2021-04-16T04:35:46.883Z] lf-activate-venv(): INFO: Adding /tmp/venv-0gdX/bin to PATH [2021-04-16T04:35:46.883Z] INFO: No Stack... [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T04:35:47.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T04:35:47.579Z] Warning: overwriting stash ‘coverage-report’ [2021-04-16T04:35:48.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T04:35:49.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T04:35:49.439Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T04:35:49.669Z] + ls -al . [2021-04-16T04:35:49.670Z] total 140 [2021-04-16T04:35:49.670Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 04:35 . [2021-04-16T04:35:49.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:33 .. [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 04:33 .dockerignore [2021-04-16T04:35:49.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 04:33 .git [2021-04-16T04:35:49.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 04:33 .github [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 336 Apr 16 04:33 .gitignore [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 7100 Apr 16 04:33 Attribution.txt [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 1861 Apr 16 04:33 Dockerfile [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 994 Apr 16 04:33 Dockerfile.build [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 04:33 Jenkinsfile [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 04:33 LICENSE [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 950 Apr 16 04:33 Makefile [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 04:33 README.md [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 16 04:31 VERSION [2021-04-16T04:35:49.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 04:33 bin [2021-04-16T04:35:49.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:33 cmd [2021-04-16T04:35:49.670Z] -rw-r--r-- 1 jenkins jenkins 19386 Apr 16 04:35 coverage.out [2021-04-16T04:35:49.670Z] -rw-r--r-- 1 jenkins jenkins 409 Apr 16 04:35 go.mod [2021-04-16T04:35:49.670Z] -rw-r--r-- 1 jenkins jenkins 21534 Apr 16 04:35 go.sum [2021-04-16T04:35:49.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:33 internal [2021-04-16T04:35:49.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 04:33 mock [2021-04-16T04:35:49.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:33 snap [2021-04-16T04:35:49.670Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 16 04:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:35:49.703Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T04:35:50.110Z] + cat /w/workspace/device-mqtt-go/35/archives/cost.csv [2021-04-16T04:35:50.110Z] + cut -d, -f6 [2021-04-16T04:35:50.190Z] + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7ecd4eb6552928ece7c628dfcc14e3a089789cc2 --label arch=arm64 --label version=1.3.2-dev.5 . [Pipeline] lock [2021-04-16T04:35:50.193Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] [2021-04-16T04:35:50.228Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] did not exist. Created. [2021-04-16T04:35:50.228Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T04:35:50.481Z] Sending build context to Docker daemon 548.9kB [2021-04-16T04:35:50.481Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T04:35:50.481Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T04:35:50.481Z] ---> 6ab871731e11 [2021-04-16T04:35:50.481Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-16T04:35:50.549Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-16T04:35:50.644Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T04:35:50.656Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-04-16T04:35:50.778Z] ---> Running in a1fd3f3e3a39 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-16T04:35:51.378Z] Removing intermediate container a1fd3f3e3a39 [2021-04-16T04:35:51.378Z] ---> 448f56fa645e [2021-04-16T04:35:51.378Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-04-16T04:35:51.378Z] ---> Running in f24d9688bb33 [2021-04-16T04:35:51.976Z] Removing intermediate container f24d9688bb33 [2021-04-16T04:35:51.976Z] ---> 58cd68a10202 [2021-04-16T04:35:51.976Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T04:35:51.976Z] ---> Running in 8df4dedd9d12 [2021-04-16T04:35:53.945Z] Removing intermediate container 8df4dedd9d12 [2021-04-16T04:35:53.945Z] ---> 04903d1a121e [2021-04-16T04:35:53.945Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-16T04:35:54.225Z] ---> Running in 5a5b94a023be [2021-04-16T04:35:55.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T04:35:56.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T04:35:56.848Z] OK: 149 MiB in 52 packages [2021-04-16T04:35:57.823Z] Removing intermediate container 5a5b94a023be [2021-04-16T04:35:57.823Z] ---> 45f027f29b88 [2021-04-16T04:35:57.823Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-04-16T04:35:58.095Z] ---> Running in ab35f8f68ff6 [2021-04-16T04:35:58.368Z] Removing intermediate container ab35f8f68ff6 [2021-04-16T04:35:58.368Z] ---> 8f8046e1b6cd [2021-04-16T04:35:58.368Z] Step 8/23 : COPY . . [2021-04-16T04:35:59.347Z] ---> 191595572453 [2021-04-16T04:35:59.347Z] Step 9/23 : RUN go mod download [2021-04-16T04:35:59.621Z] ---> Running in 90f086548a92 [2021-04-16T04:36:02.247Z] Removing intermediate container 90f086548a92 [2021-04-16T04:36:02.247Z] ---> 2bd829649358 [2021-04-16T04:36:02.247Z] Step 10/23 : ARG MAKE='make build' [2021-04-16T04:36:02.247Z] ---> Running in 4ad4574272b3 [2021-04-16T04:36:02.520Z] Removing intermediate container 4ad4574272b3 [2021-04-16T04:36:02.520Z] ---> 79bd721d6836 [2021-04-16T04:36:02.520Z] Step 11/23 : RUN $MAKE [2021-04-16T04:36:02.798Z] ---> Running in d17328d8e99c [2021-04-16T04:36:03.787Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.5" -o cmd/device-mqtt ./cmd [2021-04-16T04:36:42.909Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-16T04:36:55.303Z] Removing intermediate container d17328d8e99c [2021-04-16T04:36:55.303Z] ---> 1ae86b90c2a7 [2021-04-16T04:36:55.303Z] Step 12/23 : FROM alpine:3.12 [2021-04-16T04:36:55.303Z] 3.12: Pulling from library/alpine [2021-04-16T04:36:55.303Z] d2f70382dc9a: Pulling fs layer [2021-04-16T04:36:55.303Z] d2f70382dc9a: Verifying Checksum [2021-04-16T04:36:55.303Z] d2f70382dc9a: Download complete [2021-04-16T04:36:55.303Z] d2f70382dc9a: Pull complete [2021-04-16T04:36:55.303Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T04:36:55.303Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T04:36:55.303Z] ---> 9852663dfa18 [2021-04-16T04:36:55.303Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-04-16T04:36:55.303Z] ---> Running in 90886d77afae [2021-04-16T04:36:55.575Z] Removing intermediate container 90886d77afae [2021-04-16T04:36:55.575Z] ---> 270a918c6c53 [2021-04-16T04:36:55.575Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-16T04:36:55.848Z] ---> Running in 64a6dcac3ed8 [2021-04-16T04:36:56.832Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T04:36:57.104Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T04:36:57.696Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-16T04:36:57.696Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-16T04:36:57.696Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-16T04:36:57.696Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-16T04:36:57.696Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T04:36:57.971Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-16T04:36:57.971Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T04:36:57.971Z] OK: 8 MiB in 20 packages [2021-04-16T04:36:59.407Z] Removing intermediate container 64a6dcac3ed8 [2021-04-16T04:36:59.407Z] ---> 40f6d83a6457 [2021-04-16T04:36:59.407Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-04-16T04:37:00.839Z] ---> 92596eeb052b [2021-04-16T04:37:00.839Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-04-16T04:37:01.433Z] ---> cde0c4377a82 [2021-04-16T04:37:01.433Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-04-16T04:37:02.416Z] ---> bdc91b8e4990 [2021-04-16T04:37:02.416Z] Step 18/23 : EXPOSE 49982 [2021-04-16T04:37:02.416Z] ---> Running in 1d52d726b78f [2021-04-16T04:37:03.013Z] Removing intermediate container 1d52d726b78f [2021-04-16T04:37:03.013Z] ---> 47a31dc5a98d [2021-04-16T04:37:03.013Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-04-16T04:37:03.013Z] ---> Running in 00aa7428000d [2021-04-16T04:37:03.609Z] Removing intermediate container 00aa7428000d [2021-04-16T04:37:03.609Z] ---> c50849236a3d [2021-04-16T04:37:03.609Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T04:37:03.882Z] ---> Running in 33efdca8aa4a [2021-04-16T04:37:04.159Z] Removing intermediate container 33efdca8aa4a [2021-04-16T04:37:04.159Z] ---> ca25bbf0420d [2021-04-16T04:37:04.159Z] Step 21/23 : LABEL arch=arm64 [2021-04-16T04:37:04.449Z] ---> Running in d00103b8e727 [2021-04-16T04:37:05.044Z] Removing intermediate container d00103b8e727 [2021-04-16T04:37:05.044Z] ---> 0009b09bc89a [2021-04-16T04:37:05.044Z] Step 22/23 : LABEL git_sha=7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:37:05.044Z] ---> Running in f5688113d69e [2021-04-16T04:37:05.651Z] Removing intermediate container f5688113d69e [2021-04-16T04:37:05.651Z] ---> b1f633a302a6 [2021-04-16T04:37:05.651Z] Step 23/23 : LABEL version=1.3.2-dev.5 [2021-04-16T04:37:05.651Z] ---> Running in 650aca4eba22 [2021-04-16T04:37:06.253Z] Removing intermediate container 650aca4eba22 [2021-04-16T04:37:06.253Z] ---> f1e86b90ecd9 [2021-04-16T04:37:06.253Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-16T04:37:06.253Z] Successfully built f1e86b90ecd9 [2021-04-16T04:37:06.253Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T04:37:06.432Z] provisioning config files... [2021-04-16T04:37:06.480Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/35@tmp/config351781088612695317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:37:06.861Z] ---> docker-login.sh [2021-04-16T04:37:06.861Z] nexus3.edgexfoundry.org:10001 [2021-04-16T04:37:07.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:37:07.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:37:07.420Z] Configure a credential helper to remove this warning. See [2021-04-16T04:37:07.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:37:07.420Z] [2021-04-16T04:37:07.420Z] Login Succeeded [2021-04-16T04:37:07.420Z] nexus3.edgexfoundry.org:10002 [2021-04-16T04:37:08.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:37:08.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:37:08.017Z] Configure a credential helper to remove this warning. See [2021-04-16T04:37:08.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:37:08.017Z] [2021-04-16T04:37:08.017Z] Login Succeeded [2021-04-16T04:37:08.017Z] nexus3.edgexfoundry.org:10003 [2021-04-16T04:37:08.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:37:08.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:37:08.624Z] Configure a credential helper to remove this warning. See [2021-04-16T04:37:08.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:37:08.624Z] [2021-04-16T04:37:08.624Z] Login Succeeded [2021-04-16T04:37:08.624Z] nexus3.edgexfoundry.org:10004 [2021-04-16T04:37:09.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:37:09.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:37:09.225Z] Configure a credential helper to remove this warning. See [2021-04-16T04:37:09.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:37:09.225Z] [2021-04-16T04:37:09.225Z] Login Succeeded [2021-04-16T04:37:09.225Z] docker.io [2021-04-16T04:37:09.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T04:37:10.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T04:37:10.093Z] Configure a credential helper to remove this warning. See [2021-04-16T04:37:10.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T04:37:10.093Z] [2021-04-16T04:37:10.093Z] Login Succeeded [2021-04-16T04:37:10.093Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T04:37:10.120Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-16T04:37:10.215Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2021-04-16T04:37:10.215Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:37:10.215Z] latest [2021-04-16T04:37:10.215Z] 1.3.2-dev.5 [2021-04-16T04:37:10.215Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [2021-04-16T04:37:10.215Z] master [2021-04-16T04:37:10.215Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:10.627Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:10.974Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:37:10.974Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-16T04:37:10.974Z] 0b57b1350b7e: Preparing [2021-04-16T04:37:10.974Z] 6935b036e917: Preparing [2021-04-16T04:37:10.974Z] 459a890a5880: Preparing [2021-04-16T04:37:10.974Z] 0c28542fa7b2: Preparing [2021-04-16T04:37:10.974Z] 3fbe34a1663b: Preparing [2021-04-16T04:37:11.252Z] 3fbe34a1663b: Layer already exists [2021-04-16T04:37:11.252Z] 6935b036e917: Pushed [2021-04-16T04:37:11.525Z] 0b57b1350b7e: Pushed [2021-04-16T04:37:12.135Z] 0c28542fa7b2: Pushed [2021-04-16T04:37:14.747Z] 459a890a5880: Pushed [2021-04-16T04:37:14.747Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2: digest: sha256:c2c60c341cd5d6be24a7d6e04698031fc68ab591deea192e2eb04c4e4400732c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:15.095Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:15.436Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-04-16T04:37:15.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-16T04:37:15.436Z] 0b57b1350b7e: Preparing [2021-04-16T04:37:15.436Z] 6935b036e917: Preparing [2021-04-16T04:37:15.436Z] 459a890a5880: Preparing [2021-04-16T04:37:15.436Z] 0c28542fa7b2: Preparing [2021-04-16T04:37:15.436Z] 3fbe34a1663b: Preparing [2021-04-16T04:37:15.712Z] 3fbe34a1663b: Layer already exists [2021-04-16T04:37:15.712Z] 459a890a5880: Layer already exists [2021-04-16T04:37:15.712Z] 0b57b1350b7e: Layer already exists [2021-04-16T04:37:15.712Z] 6935b036e917: Layer already exists [2021-04-16T04:37:15.712Z] 0c28542fa7b2: Layer already exists [2021-04-16T04:37:15.712Z] latest: digest: sha256:c2c60c341cd5d6be24a7d6e04698031fc68ab591deea192e2eb04c4e4400732c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:16.065Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:16.424Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.5 [2021-04-16T04:37:16.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-16T04:37:16.424Z] 0b57b1350b7e: Preparing [2021-04-16T04:37:16.424Z] 6935b036e917: Preparing [2021-04-16T04:37:16.424Z] 459a890a5880: Preparing [2021-04-16T04:37:16.424Z] 0c28542fa7b2: Preparing [2021-04-16T04:37:16.424Z] 3fbe34a1663b: Preparing [2021-04-16T04:37:16.697Z] 0b57b1350b7e: Layer already exists [2021-04-16T04:37:16.697Z] 6935b036e917: Layer already exists [2021-04-16T04:37:16.697Z] 459a890a5880: Layer already exists [2021-04-16T04:37:16.697Z] 0c28542fa7b2: Layer already exists [2021-04-16T04:37:16.697Z] 3fbe34a1663b: Layer already exists [2021-04-16T04:37:16.697Z] 1.3.2-dev.5: digest: sha256:c2c60c341cd5d6be24a7d6e04698031fc68ab591deea192e2eb04c4e4400732c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:17.042Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:17.381Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [2021-04-16T04:37:17.381Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-16T04:37:17.381Z] 0b57b1350b7e: Preparing [2021-04-16T04:37:17.381Z] 6935b036e917: Preparing [2021-04-16T04:37:17.381Z] 459a890a5880: Preparing [2021-04-16T04:37:17.381Z] 0c28542fa7b2: Preparing [2021-04-16T04:37:17.381Z] 3fbe34a1663b: Preparing [2021-04-16T04:37:17.654Z] 459a890a5880: Layer already exists [2021-04-16T04:37:17.654Z] 6935b036e917: Layer already exists [2021-04-16T04:37:17.654Z] 0b57b1350b7e: Layer already exists [2021-04-16T04:37:17.654Z] 3fbe34a1663b: Layer already exists [2021-04-16T04:37:17.654Z] 0c28542fa7b2: Layer already exists [2021-04-16T04:37:17.654Z] 7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5: digest: sha256:c2c60c341cd5d6be24a7d6e04698031fc68ab591deea192e2eb04c4e4400732c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:18.008Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:37:18.352Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2021-04-16T04:37:18.352Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-16T04:37:18.352Z] 0b57b1350b7e: Preparing [2021-04-16T04:37:18.352Z] 6935b036e917: Preparing [2021-04-16T04:37:18.352Z] 459a890a5880: Preparing [2021-04-16T04:37:18.352Z] 0c28542fa7b2: Preparing [2021-04-16T04:37:18.352Z] 3fbe34a1663b: Preparing [2021-04-16T04:37:18.626Z] 0b57b1350b7e: Layer already exists [2021-04-16T04:37:18.626Z] 0c28542fa7b2: Layer already exists [2021-04-16T04:37:18.626Z] 459a890a5880: Layer already exists [2021-04-16T04:37:18.626Z] 3fbe34a1663b: Layer already exists [2021-04-16T04:37:18.626Z] 6935b036e917: Layer already exists [2021-04-16T04:37:18.899Z] master: digest: sha256:c2c60c341cd5d6be24a7d6e04698031fc68ab591deea192e2eb04c4e4400732c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-16T04:37:18.976Z] ===================================================== [Pipeline] echo [2021-04-16T04:37:18.992Z] taggedImages: [2021-04-16T04:37:18.992Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [2021-04-16T04:37:18.992Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-04-16T04:37:18.992Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.5 [2021-04-16T04:37:18.992Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7ecd4eb6552928ece7c628dfcc14e3a089789cc2-1.3.2-dev.5 [2021-04-16T04:37:18.992Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:37:19.377Z] ---> job-cost.sh [2021-04-16T04:37:19.377Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MXdI [2021-04-16T04:38:15.900Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T04:40:22.730Z] lf-activate-venv(): INFO: Adding /tmp/venv-MXdI/bin to PATH [2021-04-16T04:40:22.730Z] INFO: No Stack... [2021-04-16T04:40:22.730Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-16T04:40:22.730Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T04:40:23.072Z] + cat /w/workspace/device-mqtt-go/35/archives/cost.csv [2021-04-16T04:40:23.072Z] + cut -d, -f6 [Pipeline] lock [2021-04-16T04:40:23.187Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] [2021-04-16T04:40:23.196Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] did not exist. Created. [2021-04-16T04:40:23.196Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T04:40:23.570Z] /w/workspace/device-mqtt-go/35@tmp/durable-30767677/script.sh: 1: /w/workspace/device-mqtt-go/35@tmp/durable-30767677/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-16T04:40:23.916Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-16T04:40:23.949Z] Warning: overwriting stash ‘stack-cost’ [2021-04-16T04:40:24.105Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T04:40:24.121Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-35-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-16T04:40:24.511Z] provisioning config files... [2021-04-16T04:40:24.520Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3281273910915840892tmp [Pipeline] { [Pipeline] sh [2021-04-16T04:40:24.859Z] + set +x [2021-04-16T04:40:24.859Z] + curl -s https://codecov.io/bash [2021-04-16T04:40:24.859Z] + bash -s -- [2021-04-16T04:40:25.188Z] [2021-04-16T04:40:25.188Z] _____ _ [2021-04-16T04:40:25.188Z] / ____| | | [2021-04-16T04:40:25.188Z] | | ___ __| | ___ ___ _____ __ [2021-04-16T04:40:25.188Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-16T04:40:25.188Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-16T04:40:25.188Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-16T04:40:25.188Z] Bash-1.0.1 [2021-04-16T04:40:25.188Z] [2021-04-16T04:40:25.188Z] [2021-04-16T04:40:25.188Z] ==> git version 2.24.3 found [2021-04-16T04:40:25.188Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-16T04:40:25.188Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-16T04:40:25.188Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-16T04:40:25.188Z] ==> Jenkins CI detected. [2021-04-16T04:40:25.188Z] project root: . [2021-04-16T04:40:25.188Z] --> token set from env [2021-04-16T04:40:25.188Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-16T04:40:25.188Z] ==> Running gcov in . (disable via -X gcov) [2021-04-16T04:40:25.188Z] ==> Python coveragepy not found [2021-04-16T04:40:25.188Z] ==> Searching for coverage reports in: [2021-04-16T04:40:25.188Z] + . [2021-04-16T04:40:25.188Z] -> Found 1 reports [2021-04-16T04:40:25.188Z] ==> Detecting git/mercurial file structure [2021-04-16T04:40:25.188Z] ==> Reading reports [2021-04-16T04:40:25.188Z] + ./coverage.out bytes=19386 [2021-04-16T04:40:25.188Z] ==> Appending adjustments [2021-04-16T04:40:25.188Z] https://docs.codecov.io/docs/fixing-reports [2021-04-16T04:40:25.188Z] + Found adjustments [2021-04-16T04:40:25.188Z] ==> Gzipping contents [2021-04-16T04:40:25.188Z] 4.0K /tmp/codecov.jci1rT.gz [2021-04-16T04:40:25.188Z] ==> Uploading reports [2021-04-16T04:40:25.188Z] url: https://codecov.io [2021-04-16T04:40:25.188Z] query: branch=master&commit=7ecd4eb6552928ece7c628dfcc14e3a089789cc2&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-16T04:40:25.188Z] -> Pinging Codecov [2021-04-16T04:40:25.188Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=master&commit=7ecd4eb6552928ece7c628dfcc14e3a089789cc2&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-16T04:40:25.766Z] -> Uploading to [2021-04-16T04:40:25.766Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-16/7D719EC7BBE17E464838252E33014C33/7ecd4eb6552928ece7c628dfcc14e3a089789cc2/a56fb798-9ef8-45f2-ac1c-dd83f55c49ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210416T044025Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dac80bc2075c0f989a5430b3c6a0cadda060c646440296b00d57df0d4d092e22 [2021-04-16T04:40:25.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-16T04:40:25.766Z] Dload Upload Total Spent Left Speed [2021-04-16T04:40:26.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3390 0 0 100 3390 0 5729 --:--:-- --:--:-- --:--:-- 5726 [2021-04-16T04:40:26.287Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7ecd4eb6552928ece7c628dfcc14e3a089789cc2 [Pipeline] } [2021-04-16T04:40:26.296Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-16T04:40:26.547Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-16T04:40:26.570Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:40:26.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-16T04:40:26.889Z] [2021-04-16T04:40:26.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:40:27.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-16T04:40:27.206Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-16T04:40:27.206Z] 188c0c94c7c5: Pulling fs layer [2021-04-16T04:40:27.206Z] 0ef7d3d256c8: Pulling fs layer [2021-04-16T04:40:27.206Z] de9db76c5a1d: Pulling fs layer [2021-04-16T04:40:27.206Z] 0eba1c9be4d2: Pulling fs layer [2021-04-16T04:40:27.206Z] 0d57e429df01: Pulling fs layer [2021-04-16T04:40:27.206Z] 4e4be7b47b0d: Pulling fs layer [2021-04-16T04:40:27.206Z] e1f770b5df2f: Pulling fs layer [2021-04-16T04:40:27.206Z] 85a0685a4137: Pulling fs layer [2021-04-16T04:40:27.206Z] 0d57e429df01: Waiting [2021-04-16T04:40:27.206Z] 4e4be7b47b0d: Waiting [2021-04-16T04:40:27.206Z] e1f770b5df2f: Waiting [2021-04-16T04:40:27.206Z] 0eba1c9be4d2: Waiting [2021-04-16T04:40:27.207Z] 85a0685a4137: Waiting [2021-04-16T04:40:27.207Z] de9db76c5a1d: Download complete [2021-04-16T04:40:27.207Z] 0ef7d3d256c8: Download complete [2021-04-16T04:40:27.207Z] 0d57e429df01: Verifying Checksum [2021-04-16T04:40:27.207Z] 0d57e429df01: Download complete [2021-04-16T04:40:27.207Z] 4e4be7b47b0d: Verifying Checksum [2021-04-16T04:40:27.207Z] 4e4be7b47b0d: Download complete [2021-04-16T04:40:27.478Z] 188c0c94c7c5: Verifying Checksum [2021-04-16T04:40:27.478Z] 188c0c94c7c5: Download complete [2021-04-16T04:40:27.744Z] 188c0c94c7c5: Pull complete [2021-04-16T04:40:28.008Z] 0ef7d3d256c8: Pull complete [2021-04-16T04:40:28.008Z] de9db76c5a1d: Pull complete [2021-04-16T04:40:28.957Z] e1f770b5df2f: Verifying Checksum [2021-04-16T04:40:28.957Z] e1f770b5df2f: Download complete [2021-04-16T04:40:30.892Z] 0eba1c9be4d2: Verifying Checksum [2021-04-16T04:40:30.892Z] 0eba1c9be4d2: Download complete [2021-04-16T04:40:31.462Z] 85a0685a4137: Verifying Checksum [2021-04-16T04:40:31.462Z] 85a0685a4137: Download complete [2021-04-16T04:40:36.775Z] 0eba1c9be4d2: Pull complete [2021-04-16T04:40:36.775Z] 0d57e429df01: Pull complete [2021-04-16T04:40:36.775Z] 4e4be7b47b0d: Pull complete [2021-04-16T04:40:38.708Z] e1f770b5df2f: Pull complete [2021-04-16T04:40:45.346Z] 85a0685a4137: Pull complete [2021-04-16T04:40:45.625Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-16T04:40:45.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-16T04:40:45.625Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-16T04:40:45.777Z] prd-centos7-docker-4c-2g-389 does not seem to be running inside a container [2021-04-16T04:40:45.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-16T04:40:46.684Z] $ docker top 5152ac9c527152cdb4a3904873cf68f3f2b92820c004dd7b07a5b6644c93a8a5 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-16T04:40:46.801Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-16T04:40:47.098Z] + set -o pipefail [2021-04-16T04:40:47.098Z] + snyk monitor '--org=edgex-jenkins' [2021-04-16T04:43:08.667Z] [2021-04-16T04:43:08.667Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master... [2021-04-16T04:43:08.667Z] [2021-04-16T04:43:08.667Z] connect ETIMEDOUT 23.218.163.203:443 [2021-04-16T04:43:08.667Z] [Pipeline] } [2021-04-16T04:43:08.682Z] $ docker stop --time=1 5152ac9c527152cdb4a3904873cf68f3f2b92820c004dd7b07a5b6644c93a8a5 [2021-04-16T04:43:10.157Z] $ docker rm -f 5152ac9c527152cdb4a3904873cf68f3f2b92820c004dd7b07a5b6644c93a8a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-16T04:43:10.693Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [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-04-16T04:43:11.468Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:43:12.037Z] ---> package-listing.sh [2021-04-16T04:43:12.037Z] ++ facter osfamily [2021-04-16T04:43:12.037Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-16T04:43:12.037Z] + OS_FAMILY=redhat [2021-04-16T04:43:12.037Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-04-16T04:43:12.037Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-16T04:43:12.037Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-16T04:43:12.037Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-16T04:43:12.037Z] + PACKAGES=/tmp/packages_start.txt [2021-04-16T04:43:12.037Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-04-16T04:43:12.037Z] + PACKAGES=/tmp/packages_end.txt [2021-04-16T04:43:12.037Z] + case "${OS_FAMILY}" in [2021-04-16T04:43:12.037Z] + rpm -qa [2021-04-16T04:43:12.037Z] + sort [2021-04-16T04:43:16.260Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-16T04:43:16.260Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-16T04:43:16.260Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-16T04:43:16.260Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-04-16T04:43:16.260Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-04-16T04:43:16.260Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-04-16T04:43:16.273Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-16T04:43:16.562Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:43:16.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T04:43:16.867Z] [2021-04-16T04:43:16.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-16T04:43:17.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T04:43:17.182Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-16T04:43:17.182Z] df20fa9351a1: Pulling fs layer [2021-04-16T04:43:17.182Z] 36b3adc4ff6f: Pulling fs layer [2021-04-16T04:43:17.182Z] 8ad3a11d3b57: Pulling fs layer [2021-04-16T04:43:17.182Z] 46f8f816bc3b: Pulling fs layer [2021-04-16T04:43:17.182Z] 93b61091891f: Pulling fs layer [2021-04-16T04:43:17.182Z] 93b9cdb0e59b: Pulling fs layer [2021-04-16T04:43:17.182Z] 5e14af77c1be: Pulling fs layer [2021-04-16T04:43:17.182Z] 01666e4c0597: Pulling fs layer [2021-04-16T04:43:17.182Z] aa168da1d23b: Pulling fs layer [2021-04-16T04:43:17.182Z] 46f8f816bc3b: Waiting [2021-04-16T04:43:17.182Z] 93b61091891f: Waiting [2021-04-16T04:43:17.182Z] 93b9cdb0e59b: Waiting [2021-04-16T04:43:17.182Z] 5e14af77c1be: Waiting [2021-04-16T04:43:17.182Z] 01666e4c0597: Waiting [2021-04-16T04:43:17.182Z] aa168da1d23b: Waiting [2021-04-16T04:43:17.182Z] 36b3adc4ff6f: Download complete [2021-04-16T04:43:17.182Z] 46f8f816bc3b: Verifying Checksum [2021-04-16T04:43:17.182Z] 46f8f816bc3b: Download complete [2021-04-16T04:43:17.182Z] df20fa9351a1: Verifying Checksum [2021-04-16T04:43:17.182Z] df20fa9351a1: Download complete [2021-04-16T04:43:17.451Z] 93b9cdb0e59b: Verifying Checksum [2021-04-16T04:43:17.451Z] 93b9cdb0e59b: Download complete [2021-04-16T04:43:17.451Z] 93b61091891f: Download complete [2021-04-16T04:43:17.451Z] 8ad3a11d3b57: Verifying Checksum [2021-04-16T04:43:17.451Z] 8ad3a11d3b57: Download complete [2021-04-16T04:43:17.451Z] 01666e4c0597: Verifying Checksum [2021-04-16T04:43:17.451Z] 01666e4c0597: Download complete [2021-04-16T04:43:17.451Z] 5e14af77c1be: Verifying Checksum [2021-04-16T04:43:17.451Z] 5e14af77c1be: Download complete [2021-04-16T04:43:17.716Z] df20fa9351a1: Pull complete [2021-04-16T04:43:17.716Z] 36b3adc4ff6f: Pull complete [2021-04-16T04:43:19.127Z] 8ad3a11d3b57: Pull complete [2021-04-16T04:43:19.127Z] 46f8f816bc3b: Pull complete [2021-04-16T04:43:19.389Z] aa168da1d23b: Verifying Checksum [2021-04-16T04:43:19.389Z] aa168da1d23b: Download complete [2021-04-16T04:43:19.389Z] 93b61091891f: Pull complete [2021-04-16T04:43:19.651Z] 93b9cdb0e59b: Pull complete [2021-04-16T04:43:19.651Z] 5e14af77c1be: Pull complete [2021-04-16T04:43:19.919Z] 01666e4c0597: Pull complete [2021-04-16T04:43:26.576Z] aa168da1d23b: Pull complete [2021-04-16T04:43:26.576Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-16T04:43:26.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T04:43:26.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-16T04:43:26.725Z] prd-centos7-docker-4c-2g-389 does not seem to be running inside a container [2021-04-16T04:43:26.765Z] $ 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_master/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_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-16T04:43:29.726Z] $ docker top ac9c27d7ba45c90bb2ae309d5d4903f72de387c19753bc8e912f9814b485fb84 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T04:43:30.134Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-16T04:43:30.431Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-16T04:43:30.725Z] + ls /var/log/sa-host [2021-04-16T04:43:30.725Z] + sadf -c /var/log/sa-host/sa16 [2021-04-16T04:43:30.725Z] file_magic: OK [2021-04-16T04:43:30.725Z] HZ: Using current value: 100 [2021-04-16T04:43:30.725Z] file_header: OK [2021-04-16T04:43:30.725Z] 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-04-16T04:43:30.725Z] Statistics: [2021-04-16T04:43:30.725Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-16T04:43:30.725Z] File successfully converted to sysstat format version 12.2.1 [2021-04-16T04:43:30.725Z] + sadf -c /var/log/sa-host/sa23 [2021-04-16T04:43:30.725Z] file_magic: OK [2021-04-16T04:43:30.725Z] HZ: Using current value: 100 [2021-04-16T04:43:30.725Z] file_header: OK [2021-04-16T04:43:30.725Z] 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-04-16T04:43:30.725Z] Statistics: [2021-04-16T04:43:30.725Z] Hnuu...uuuununununu... [2021-04-16T04:43:30.725Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-16T04:43:30.896Z] provisioning config files... [2021-04-16T04:43:30.910Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7654083370741414316tmp [Pipeline] { [Pipeline] echo [2021-04-16T04:43:30.931Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:43:31.223Z] ---> create-netrc.sh [Pipeline] } [2021-04-16T04:43:31.232Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-16T04:43:31.256Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:43:31.551Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-16T04:43:31.563Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:43:31.862Z] ---> sudo-logs.sh [2021-04-16T04:43:31.862Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-16T04:43:31.892Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:43:32.185Z] ---> job-cost.sh [2021-04-16T04:43:32.185Z] lf-activate-venv: SKIPPING [2021-04-16T04:43:32.185Z] DEBUG: total: 0.20999999344348907 [2021-04-16T04:43:32.185Z] INFO: Retrieving Stack Cost... [2021-04-16T04:43:34.101Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T04:43:34.361Z] INFO: Archiving Costs [Pipeline] echo [2021-04-16T04:43:34.376Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T04:43:34.676Z] ---> logs-deploy.sh [2021-04-16T04:43:34.676Z] lf-activate-venv: SKIPPING [2021-04-16T04:43:34.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/35 [2021-04-16T04:43:34.676Z] INFO: archiving workspace using pattern(s): [2021-04-16T04:43:36.066Z] Archives upload complete. [2021-04-16T04:43:36.328Z] INFO: archiving logs to Nexus