Push event to branch main Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6483281801537205468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5108089121127094315.key > 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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9038054988252420854.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh643309780682281176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh856771565142327823.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh28216453833634633.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt 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-221 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh8664586874855204211.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks (#294)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-06T22:38:12.585Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-06T22:38:12.786Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:38:12.915Z] ========================================================= [2021-07-06T22:38:12.915Z] EdgeX Global Pipelines Version Info [2021-07-06T22:38:12.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:38:16.596Z] ------------------- [2021-07-06T22:38:16.596Z] stable info: [2021-07-06T22:38:16.596Z] ------------------- [2021-07-06T22:38:16.596Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-06T22:38:16.596Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:38:16.596Z] Message: update stable to v1.0.196 [2021-07-06T22:38:17.175Z] ------------------- [2021-07-06T22:38:17.175Z] experimental info: [2021-07-06T22:38:17.175Z] ------------------- [2021-07-06T22:38:17.175Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-06T22:38:17.175Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:38:17.175Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-06T22:38:17.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-07-06T22:38:17.508Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-07-06T22:38:17.584Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-06T22:38:17.658Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-06T22:38:17.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-06T22:38:17.787Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-06T22:38:17.853Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-06T22:38:17.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-06T22:38:18.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-06T22:38:18.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-06T22:38:18.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-06T22:38:18.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-07-06T22:38:18.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-06T22:38:18.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-06T22:38:18.534Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-06T22:38:18.602Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-06T22:38:18.699Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:38:18.779Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:38:18.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-06T22:38:18.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-06T22:38:19.015Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-06T22:38:19.077Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-06T22:38:19.140Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-06T22:38:19.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-06T22:38:19.271Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-06T22:38:19.336Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-06T22:38:19.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-06T22:38:19.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-06T22:38:19.606Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-06T22:38:19.681Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo [2021-07-06T22:38:19.748Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f108e1f [Pipeline] echo [2021-07-06T22:38:19.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:38:20.007Z] provisioning config files... [2021-07-06T22:38:20.033Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config492742763647432130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:38:20.439Z] ---> docker-login.sh [2021-07-06T22:38:20.439Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:38:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:21.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:21.015Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:21.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:21.015Z] [2021-07-06T22:38:21.015Z] Login Succeeded [2021-07-06T22:38:21.015Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:38:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:21.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:21.283Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:21.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:21.283Z] [2021-07-06T22:38:21.283Z] Login Succeeded [2021-07-06T22:38:21.283Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:38:21.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:21.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:21.283Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:21.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:21.283Z] [2021-07-06T22:38:21.283Z] Login Succeeded [2021-07-06T22:38:21.283Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:38:21.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:21.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:21.546Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:21.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:21.546Z] [2021-07-06T22:38:21.546Z] Login Succeeded [2021-07-06T22:38:21.546Z] docker.io [2021-07-06T22:38:21.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:21.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:21.811Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:21.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:21.811Z] [2021-07-06T22:38:21.811Z] Login Succeeded [2021-07-06T22:38:21.811Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:38:21.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:38:22.711Z] + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo [2021-07-06T22:38:22.783Z] GIT_COMMIT: f108e1f6dac2bdd3d582b44a0d019ed09ad7b604, Commit Message: feat(snap): add go-based configure and install hooks (#294) [Pipeline] echo [2021-07-06T22:38:22.836Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:38:23.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:38:23.514Z] [2021-07-06T22:38:23.514Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:38:23.910Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:38:23.910Z] latest: Pulling from edgex-devops/git-semver [2021-07-06T22:38:23.910Z] 31603596830f: Pulling fs layer [2021-07-06T22:38:23.910Z] 54011a49482f: Pulling fs layer [2021-07-06T22:38:23.910Z] a6820b24f6d8: Pulling fs layer [2021-07-06T22:38:23.910Z] f581987b2513: Pulling fs layer [2021-07-06T22:38:23.910Z] f581987b2513: Waiting [2021-07-06T22:38:23.910Z] 54011a49482f: Verifying Checksum [2021-07-06T22:38:23.910Z] 54011a49482f: Download complete [2021-07-06T22:38:24.178Z] 31603596830f: Verifying Checksum [2021-07-06T22:38:24.178Z] 31603596830f: Download complete [2021-07-06T22:38:24.178Z] f581987b2513: Verifying Checksum [2021-07-06T22:38:24.178Z] f581987b2513: Download complete [2021-07-06T22:38:24.178Z] a6820b24f6d8: Verifying Checksum [2021-07-06T22:38:24.178Z] a6820b24f6d8: Download complete [2021-07-06T22:38:24.447Z] 31603596830f: Pull complete [2021-07-06T22:38:24.447Z] 54011a49482f: Pull complete [2021-07-06T22:38:25.038Z] a6820b24f6d8: Pull complete [2021-07-06T22:38:25.308Z] f581987b2513: Pull complete [2021-07-06T22:38:25.308Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-06T22:38:25.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:38:25.570Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-06T22:38:25.685Z] prd-centos7-docker-4c-2g-221 does not seem to be running inside a container [2021-07-06T22:38:25.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:38:27.570Z] $ docker top eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-06T22:38:27.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:38:27.784Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:38:27.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:38:27.895Z] $ docker exec eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent [2021-07-06T22:38:28.000Z] SSH_AUTH_SOCK=/tmp/ssh-Udprk76WbUTO/agent.14 [2021-07-06T22:38:28.000Z] SSH_AGENT_PID=20 [2021-07-06T22:38:28.011Z] Running ssh-add (command line suppressed) [2021-07-06T22:38:28.099Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_861742057529206519.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_861742057529206519.key) [2021-07-06T22:38:28.115Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:38:28.463Z] + git tag --points-at HEAD [Pipeline] } [2021-07-06T22:38:28.490Z] $ docker exec --env ******** --env ******** eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent -k [2021-07-06T22:38:28.577Z] unset SSH_AUTH_SOCK; [2021-07-06T22:38:28.577Z] unset SSH_AGENT_PID; [2021-07-06T22:38:28.577Z] echo Agent pid 20 killed; [2021-07-06T22:38:28.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-07-06T22:38:28.706Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.0' [Pipeline] sshagent [2021-07-06T22:38:28.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:38:28.762Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:38:28.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:38:28.872Z] $ docker exec eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent [2021-07-06T22:38:28.983Z] SSH_AUTH_SOCK=/tmp/ssh-Y7aEnTDtq3yF/agent.52 [2021-07-06T22:38:28.983Z] SSH_AGENT_PID=59 [2021-07-06T22:38:28.989Z] Running ssh-add (command line suppressed) [2021-07-06T22:38:29.073Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3644573314678580708.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3644573314678580708.key) [2021-07-06T22:38:29.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:38:29.502Z] + git semver init [2021-07-06T22:38:29.502Z] # -> Open(): unable to determine branch for HEAD [2021-07-06T22:38:29.502Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-07-06T22:38:29.502Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-07-06T22:38:29.502Z] # $SEMVER_REMOTE_NAME = origin [2021-07-06T22:38:29.502Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-06T22:38:29.502Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-06T22:38:29.502Z] # $SEMVER_BRANCH = main [2021-07-06T22:38:29.502Z] # $SEMVER_TEMP = /tmp/semver-612085146 [2021-07-06T22:38:29.502Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-07-06T22:38:29.766Z] # '/tmp/semver-612085146' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-07-06T22:38:29.773Z] # -> Force: false [2021-07-06T22:38:29.773Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-07-06T22:38:29.783Z] $ docker exec --env ******** --env ******** eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent -k [2021-07-06T22:38:29.877Z] unset SSH_AUTH_SOCK; [2021-07-06T22:38:29.877Z] unset SSH_AGENT_PID; [2021-07-06T22:38:29.877Z] echo Agent pid 59 killed; [2021-07-06T22:38:29.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:38:30.381Z] + git semver [Pipeline] } [2021-07-06T22:38:30.413Z] $ docker stop --time=1 eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 [2021-07-06T22:38:31.630Z] $ docker rm -f eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:38:32.080Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-06T22:38:32.431Z] Stashed 1 file(s) [Pipeline] echo [2021-07-06T22:38:32.456Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [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-07-06T22:38:48.126Z] Still waiting to schedule task [2021-07-06T22:38:48.126Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:38:48.126Z] ‘prd-centos7-docker-4c-2g-215’ is offline [2021-07-06T22:38:48.126Z] ‘prd-centos7-docker-4c-2g-225’ is offline [2021-07-06T22:38:48.127Z] ‘prd-centos7-docker-4c-2g-226’ is offline [2021-07-06T22:38:48.188Z] Still waiting to schedule task [2021-07-06T22:38:48.188Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:26.818Z] Running on prd-centos7-docker-4c-2g-237 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:40:26.901Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:40:27.094Z] Selected Git installation does not exist. Using Default [2021-07-06T22:40:27.094Z] The recommended git tool is: NONE [2021-07-06T22:40:29.735Z] using credential edgex-jenkins-ssh [2021-07-06T22:40:29.746Z] Cloning the remote Git repository [2021-07-06T22:40:30.532Z] Avoid second fetch [2021-07-06T22:40:30.533Z] Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) [2021-07-06T22:40:29.761Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-07-06T22:40:29.827Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-07-06T22:40:29.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-07-06T22:40:29.871Z] > git --version # timeout=10 [2021-07-06T22:40:29.881Z] > git --version # 'git version 2.24.4' [2021-07-06T22:40:29.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:40:29.919Z] [INFO] Currently running in a labeled security context [2021-07-06T22:40:29.920Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-06T22:40:29.920Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh7412738657783956721.key [2021-07-06T22:40:29.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:40:30.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-07-06T22:40:30.524Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:40:30.538Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:40:30.546Z] > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 [2021-07-06T22:40:34.200Z] Commit message: "feat(snap): add go-based configure and install hooks (#294)" [2021-07-06T22:40:34.279Z] > git --version # timeout=10 [2021-07-06T22:40:34.286Z] > git --version # 'git version 2.24.4' [2021-07-06T22:40:34.293Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:40:35.425Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:40:35.778Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:40:36.108Z] + true [2021-07-06T22:40:36.108Z] + sudo service docker restart [2021-07-06T22:40:36.108Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:40:54.431Z] provisioning config files... [2021-07-06T22:40:54.460Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7745019359160043529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:40:55.014Z] ---> docker-login.sh [2021-07-06T22:40:55.014Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:40:55.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:55.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:55.304Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:55.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:55.304Z] [2021-07-06T22:40:55.304Z] Login Succeeded [2021-07-06T22:40:55.304Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:40:55.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:55.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:55.566Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:55.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:55.566Z] [2021-07-06T22:40:55.566Z] Login Succeeded [2021-07-06T22:40:55.566Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:40:55.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:55.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:55.566Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:55.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:55.566Z] [2021-07-06T22:40:55.566Z] Login Succeeded [2021-07-06T22:40:55.566Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:40:55.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:55.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:55.836Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:55.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:55.836Z] [2021-07-06T22:40:55.836Z] Login Succeeded [2021-07-06T22:40:55.836Z] docker.io [2021-07-06T22:40:55.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:56.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:56.115Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:56.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:56.115Z] [2021-07-06T22:40:56.115Z] Login Succeeded [2021-07-06T22:40:56.115Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:40:56.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T22:40:56.613Z] ========================================================= [2021-07-06T22:40:56.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-06T22:40:56.613Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:40:57.041Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-06T22:40:57.041Z] Sending build context to Docker daemon 602.6kB [2021-07-06T22:40:57.041Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:40:57.041Z] Step 2/8 : FROM ${BASE} [2021-07-06T22:40:57.322Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-06T22:40:57.322Z] 540db60ca938: Pulling fs layer [2021-07-06T22:40:57.322Z] adcc1eea9eea: Pulling fs layer [2021-07-06T22:40:57.322Z] 4c4ab2625f07: Pulling fs layer [2021-07-06T22:40:57.322Z] 0510c868ecb4: Pulling fs layer [2021-07-06T22:40:57.322Z] afea3b2eda06: Pulling fs layer [2021-07-06T22:40:57.322Z] 7809a108b3ef: Pulling fs layer [2021-07-06T22:40:57.322Z] f706445af74f: Pulling fs layer [2021-07-06T22:40:57.322Z] afea3b2eda06: Waiting [2021-07-06T22:40:57.322Z] 7809a108b3ef: Waiting [2021-07-06T22:40:57.322Z] f706445af74f: Waiting [2021-07-06T22:40:57.322Z] 0510c868ecb4: Waiting [2021-07-06T22:40:57.322Z] 4c4ab2625f07: Verifying Checksum [2021-07-06T22:40:57.322Z] 4c4ab2625f07: Download complete [2021-07-06T22:40:57.322Z] adcc1eea9eea: Verifying Checksum [2021-07-06T22:40:57.322Z] adcc1eea9eea: Download complete [2021-07-06T22:40:57.322Z] afea3b2eda06: Verifying Checksum [2021-07-06T22:40:57.322Z] afea3b2eda06: Download complete [2021-07-06T22:40:57.322Z] 540db60ca938: Verifying Checksum [2021-07-06T22:40:57.322Z] 540db60ca938: Download complete [2021-07-06T22:40:57.322Z] 7809a108b3ef: Verifying Checksum [2021-07-06T22:40:57.322Z] 7809a108b3ef: Download complete [2021-07-06T22:40:57.606Z] 540db60ca938: Pull complete [2021-07-06T22:40:57.606Z] adcc1eea9eea: Pull complete [2021-07-06T22:40:57.902Z] 4c4ab2625f07: Pull complete [2021-07-06T22:40:58.900Z] f706445af74f: Verifying Checksum [2021-07-06T22:40:58.900Z] f706445af74f: Download complete [2021-07-06T22:40:59.498Z] 0510c868ecb4: Verifying Checksum [2021-07-06T22:40:59.498Z] 0510c868ecb4: Download complete [2021-07-06T22:41:02.900Z] 0510c868ecb4: Pull complete [2021-07-06T22:41:02.900Z] afea3b2eda06: Pull complete [2021-07-06T22:41:02.900Z] 7809a108b3ef: Pull complete [2021-07-06T22:41:04.359Z] f706445af74f: Pull complete [2021-07-06T22:41:04.359Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-06T22:41:04.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-06T22:41:04.359Z] ---> b068be0155e3 [2021-07-06T22:41:04.359Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-06T22:41:11.000Z] ---> Running in 5878dda1b288 [2021-07-06T22:41:11.000Z] Removing intermediate container 5878dda1b288 [2021-07-06T22:41:11.000Z] ---> 2a3e317800fb [2021-07-06T22:41:11.000Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:41:11.000Z] ---> Running in ed4bd035ce1c [2021-07-06T22:41:11.000Z] Removing intermediate container ed4bd035ce1c [2021-07-06T22:41:11.000Z] ---> 9e541d3f9f44 [2021-07-06T22:41:11.000Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T22:41:11.000Z] ---> Running in e482a2af8779 [2021-07-06T22:41:11.000Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:41:11.960Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:41:12.232Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-06T22:41:12.498Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-06T22:41:12.761Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-06T22:41:13.022Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-06T22:41:13.608Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-06T22:41:13.871Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-06T22:41:14.141Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-06T22:41:14.406Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-06T22:41:14.668Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-06T22:41:14.668Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-06T22:41:14.930Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-06T22:41:14.930Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-06T22:41:15.193Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-06T22:41:15.456Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T22:41:15.456Z] OK: 156 MiB in 53 packages [2021-07-06T22:41:16.415Z] Removing intermediate container e482a2af8779 [2021-07-06T22:41:16.415Z] ---> 7e1eec7aab4d [2021-07-06T22:41:16.415Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-07-06T22:41:16.415Z] ---> Running in 9485e3696309 [2021-07-06T22:41:16.415Z] Removing intermediate container 9485e3696309 [2021-07-06T22:41:16.415Z] ---> fb624d8ef0b2 [2021-07-06T22:41:16.415Z] Step 7/8 : COPY . . [2021-07-06T22:41:16.676Z] ---> 5b83a5fd9485 [2021-07-06T22:41:16.676Z] Step 8/8 : RUN go mod download [2021-07-06T22:41:16.676Z] ---> Running in 54dbb4380dfb [2021-07-06T22:41:34.823Z] Removing intermediate container 54dbb4380dfb [2021-07-06T22:41:34.823Z] ---> a38f48f72f6c [2021-07-06T22:41:34.823Z] Successfully built a38f48f72f6c [2021-07-06T22:41:34.823Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:41:35.188Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:41:35.188Z] . [Pipeline] withDockerContainer [2021-07-06T22:41:35.297Z] prd-centos7-docker-4c-2g-237 does not seem to be running inside a container [2021-07-06T22:41:35.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-06T22:41:35.766Z] $ docker top 6a7db1315c5a856f3bbd10c11741161bc3804dbc943d810a690e7521c59b63be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:41:36.230Z] + go version [2021-07-06T22:41:36.230Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-06T22:41:36.267Z] $ docker stop --time=1 6a7db1315c5a856f3bbd10c11741161bc3804dbc943d810a690e7521c59b63be [2021-07-06T22:41:37.474Z] $ docker rm -f 6a7db1315c5a856f3bbd10c11741161bc3804dbc943d810a690e7521c59b63be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:41:38.439Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:41:38.439Z] . [Pipeline] withDockerContainer [2021-07-06T22:41:38.612Z] prd-centos7-docker-4c-2g-237 does not seem to be running inside a container [2021-07-06T22:41:38.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-06T22:41:39.532Z] $ docker top 83ddc9636d2eb4964f64c462f10d083418e39951cec296558d3e4e891eacceb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:41:39.976Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-240 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [2021-07-06T22:41:39.989Z] + go mod tidy [Pipeline] ws [2021-07-06T22:41:40.131Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] sh [2021-07-06T22:41:40.422Z] Selected Git installation does not exist. Using Default [2021-07-06T22:41:40.422Z] The recommended git tool is: NONE [2021-07-06T22:41:40.578Z] + make test [2021-07-06T22:41:40.578Z] go mod tidy [2021-07-06T22:41:40.578Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-06T22:41:41.159Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-07-06T22:41:46.152Z] using credential edgex-jenkins-ssh [2021-07-06T22:41:46.196Z] Cloning the remote Git repository [2021-07-06T22:41:46.286Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-07-06T22:41:46.418Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2021-07-06T22:41:46.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-07-06T22:41:46.503Z] > git --version # timeout=10 [2021-07-06T22:41:46.526Z] > git --version # 'git version 2.17.1' [2021-07-06T22:41:46.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:41:47.617Z] Avoid second fetch [2021-07-06T22:41:47.618Z] Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) [2021-07-06T22:41:46.626Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:41:47.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-07-06T22:41:47.605Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:41:47.648Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:41:47.663Z] > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 [2021-07-06T22:41:52.018Z] Commit message: "feat(snap): add go-based configure and install hooks (#294)" [2021-07-06T22:41:52.091Z] > git --version # timeout=10 [2021-07-06T22:41:52.107Z] > git --version # 'git version 2.17.1' [2021-07-06T22:41:52.118Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:41:53.850Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:41:54.319Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:41:54.765Z] + sudo service docker restart [2021-07-06T22:41:54.765Z] + true [2021-07-06T22:41:59.409Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-07-06T22:41:59.409Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 24.3% of statements [2021-07-06T22:41:59.409Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-07-06T22:41:59.409Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T22:42:06.124Z] gofmt -l . [2021-07-06T22:42:06.124Z] ["`gofmt -l .`" = ""] [2021-07-06T22:42:06.124Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-06T22:42:06.154Z] $ docker stop --time=1 83ddc9636d2eb4964f64c462f10d083418e39951cec296558d3e4e891eacceb2 [2021-07-06T22:42:07.904Z] $ docker rm -f 83ddc9636d2eb4964f64c462f10d083418e39951cec296558d3e4e891eacceb2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:42:08.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T22:42:08.603Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-06T22:42:09.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T22:42:10.194Z] + ls -al . [2021-07-06T22:42:10.194Z] total 112 [2021-07-06T22:42:10.194Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jul 6 22:42 . [2021-07-06T22:42:10.194Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 6 22:40 .. [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 7100 Jul 6 22:40 Attribution.txt [2021-07-06T22:42:10.194Z] drwxrwxr-x. 2 jenkins jenkins 60 Jul 6 22:40 bin [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 7447 Jul 6 22:40 CHANGELOG.md [2021-07-06T22:42:10.194Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 6 22:40 cmd [2021-07-06T22:42:10.194Z] -rw-r--r--. 1 jenkins jenkins 16226 Jul 6 22:41 coverage.out [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 1877 Jul 6 22:40 Dockerfile [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 994 Jul 6 22:40 Dockerfile.build [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 6 22:40 .dockerignore [2021-07-06T22:42:10.194Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 6 22:40 .git [2021-07-06T22:42:10.194Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 6 22:40 .github [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 336 Jul 6 22:40 .gitignore [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 388 Jul 6 22:40 go.mod [2021-07-06T22:42:10.194Z] -rw-r--r--. 1 jenkins jenkins 20775 Jul 6 22:41 go.sum [2021-07-06T22:42:10.194Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 6 22:40 internal [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 677 Jul 6 22:40 Jenkinsfile [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 6 22:40 LICENSE [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 907 Jul 6 22:40 Makefile [2021-07-06T22:42:10.194Z] drwxrwxr-x. 2 jenkins jenkins 23 Jul 6 22:40 mock [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 2217 Jul 6 22:40 README.md [2021-07-06T22:42:10.194Z] drwxrwxr-x. 4 jenkins jenkins 71 Jul 6 22:40 snap [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 6 22:38 VERSION [2021-07-06T22:42:10.194Z] -rw-rw-r--. 1 jenkins jenkins 227 Jul 6 22:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:10.552Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=amd64 --label version=2.0.1-dev.1 . [2021-07-06T22:42:10.552Z] Sending build context to Docker daemon 619.5kB [2021-07-06T22:42:10.552Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:42:10.552Z] Step 2/24 : FROM ${BASE} AS builder [2021-07-06T22:42:10.552Z] ---> a38f48f72f6c [2021-07-06T22:42:10.552Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-06T22:42:10.552Z] ---> Running in 2e515b9ba5b6 [2021-07-06T22:42:10.819Z] Removing intermediate container 2e515b9ba5b6 [2021-07-06T22:42:10.819Z] ---> 6d9c3556b170 [2021-07-06T22:42:10.819Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-07-06T22:42:10.819Z] ---> Running in 2457e58366b3 [2021-07-06T22:42:10.819Z] Removing intermediate container 2457e58366b3 [2021-07-06T22:42:10.819Z] ---> 09b5205fd1f5 [2021-07-06T22:42:10.819Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:42:10.819Z] ---> Running in 941fb5b31c62 [2021-07-06T22:42:11.395Z] Removing intermediate container 941fb5b31c62 [2021-07-06T22:42:11.395Z] ---> 406c17e39942 [2021-07-06T22:42:11.395Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-06T22:42:11.395Z] ---> Running in 9e04dde83f4f [2021-07-06T22:42:11.660Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:42:12.603Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:42:12.866Z] OK: 156 MiB in 53 packages [2021-07-06T22:42:13.134Z] Removing intermediate container 9e04dde83f4f [2021-07-06T22:42:13.134Z] ---> 83c10eff4304 [2021-07-06T22:42:13.134Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-07-06T22:42:13.134Z] ---> Running in 47b041a2227f [2021-07-06T22:42:13.134Z] Removing intermediate container 47b041a2227f [2021-07-06T22:42:13.134Z] ---> 43efb5631ef3 [2021-07-06T22:42:13.134Z] Step 8/24 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:42:13.219Z] provisioning config files... [2021-07-06T22:42:13.249Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1161393752983245837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:42:13.398Z] ---> 79a59794d905 [2021-07-06T22:42:13.398Z] Step 9/24 : RUN go mod tidy [2021-07-06T22:42:13.398Z] ---> Running in f4133313483a [2021-07-06T22:42:13.681Z] ---> docker-login.sh [2021-07-06T22:42:13.681Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:42:14.347Z] Removing intermediate container f4133313483a [2021-07-06T22:42:14.348Z] ---> 7a614ecb5c62 [2021-07-06T22:42:14.348Z] Step 10/24 : RUN go mod download [2021-07-06T22:42:14.348Z] ---> Running in 26fc7576b4cb [2021-07-06T22:42:14.618Z] Removing intermediate container 26fc7576b4cb [2021-07-06T22:42:14.618Z] ---> cefe3d1f0708 [2021-07-06T22:42:14.618Z] Step 11/24 : ARG MAKE='make build' [2021-07-06T22:42:14.618Z] ---> Running in 28a40746e89e [2021-07-06T22:42:14.618Z] Removing intermediate container 28a40746e89e [2021-07-06T22:42:14.618Z] ---> acc81b23a8fa [2021-07-06T22:42:14.618Z] Step 12/24 : RUN $MAKE [2021-07-06T22:42:14.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:14.880Z] ---> Running in 3703c08b211e [2021-07-06T22:42:14.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:14.950Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:14.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:14.950Z] [2021-07-06T22:42:14.950Z] Login Succeeded [2021-07-06T22:42:14.950Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:42:15.151Z] go mod tidy [2021-07-06T22:42:15.151Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd [2021-07-06T22:42:15.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:15.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:15.548Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:15.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:15.548Z] [2021-07-06T22:42:15.548Z] Login Succeeded [2021-07-06T22:42:15.548Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:42:15.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:16.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:16.102Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:16.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:16.102Z] [2021-07-06T22:42:16.102Z] Login Succeeded [2021-07-06T22:42:16.102Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:42:16.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:16.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:16.705Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:16.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:16.705Z] [2021-07-06T22:42:16.705Z] Login Succeeded [2021-07-06T22:42:16.705Z] docker.io [2021-07-06T22:42:16.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:17.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:17.586Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:17.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:17.586Z] [2021-07-06T22:42:17.586Z] Login Succeeded [2021-07-06T22:42:17.586Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:42:17.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T22:42:18.339Z] ========================================================= [2021-07-06T22:42:18.339Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-06T22:42:18.339Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:18.735Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-06T22:42:19.010Z] Sending build context to Docker daemon 601.6kB [2021-07-06T22:42:19.286Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:42:19.286Z] Step 2/8 : FROM ${BASE} [2021-07-06T22:42:19.286Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-06T22:42:19.286Z] 595b0fe564bb: Pulling fs layer [2021-07-06T22:42:19.286Z] 3088b5b3c5c0: Pulling fs layer [2021-07-06T22:42:19.286Z] 5b7225fbf94c: Pulling fs layer [2021-07-06T22:42:19.286Z] ba82ee9f976e: Pulling fs layer [2021-07-06T22:42:19.286Z] 506bd15cee9f: Pulling fs layer [2021-07-06T22:42:19.286Z] 75a0a4a0db45: Pulling fs layer [2021-07-06T22:42:19.286Z] 618dc40b7e24: Pulling fs layer [2021-07-06T22:42:19.286Z] 506bd15cee9f: Waiting [2021-07-06T22:42:19.286Z] 75a0a4a0db45: Waiting [2021-07-06T22:42:19.286Z] 618dc40b7e24: Waiting [2021-07-06T22:42:19.286Z] ba82ee9f976e: Waiting [2021-07-06T22:42:19.562Z] 5b7225fbf94c: Download complete [2021-07-06T22:42:19.562Z] 3088b5b3c5c0: Download complete [2021-07-06T22:42:19.562Z] 506bd15cee9f: Verifying Checksum [2021-07-06T22:42:19.562Z] 506bd15cee9f: Download complete [2021-07-06T22:42:19.562Z] 75a0a4a0db45: Download complete [2021-07-06T22:42:19.562Z] 595b0fe564bb: Verifying Checksum [2021-07-06T22:42:19.562Z] 595b0fe564bb: Download complete [2021-07-06T22:42:20.164Z] 595b0fe564bb: Pull complete [2021-07-06T22:42:20.776Z] 3088b5b3c5c0: Pull complete [2021-07-06T22:42:21.385Z] 5b7225fbf94c: Pull complete [2021-07-06T22:42:21.665Z] 618dc40b7e24: Verifying Checksum [2021-07-06T22:42:21.665Z] 618dc40b7e24: Download complete [2021-07-06T22:42:23.102Z] ba82ee9f976e: Verifying Checksum [2021-07-06T22:42:23.102Z] ba82ee9f976e: Download complete [2021-07-06T22:42:27.458Z] Removing intermediate container 3703c08b211e [2021-07-06T22:42:27.458Z] ---> 3a24f274235d [2021-07-06T22:42:27.458Z] Step 13/24 : FROM alpine:3.12 [2021-07-06T22:42:28.032Z] 3.12: Pulling from library/alpine [2021-07-06T22:42:28.032Z] 339de151aab4: Pulling fs layer [2021-07-06T22:42:28.293Z] 339de151aab4: Verifying Checksum [2021-07-06T22:42:28.293Z] 339de151aab4: Download complete [2021-07-06T22:42:28.562Z] 339de151aab4: Pull complete [2021-07-06T22:42:28.562Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T22:42:28.562Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T22:42:28.562Z] ---> 13621d1b12d4 [2021-07-06T22:42:28.562Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-07-06T22:42:28.562Z] ---> Running in 6c3a2eeda483 [2021-07-06T22:42:28.562Z] Removing intermediate container 6c3a2eeda483 [2021-07-06T22:42:28.562Z] ---> b9cf7e78c690 [2021-07-06T22:42:28.562Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-06T22:42:28.562Z] ---> Running in 51dffc5461ca [2021-07-06T22:42:28.823Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:42:29.084Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:42:29.084Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-06T22:42:29.084Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-06T22:42:29.084Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-06T22:42:29.084Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-06T22:42:29.084Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-06T22:42:29.084Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-06T22:42:29.345Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T22:42:29.345Z] OK: 8 MiB in 20 packages [2021-07-06T22:42:29.609Z] Removing intermediate container 51dffc5461ca [2021-07-06T22:42:29.609Z] ---> 8d1250edfc10 [2021-07-06T22:42:29.609Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-07-06T22:42:30.562Z] ---> 7efb8570b9f1 [2021-07-06T22:42:30.562Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-07-06T22:42:30.562Z] ---> 395eee12f558 [2021-07-06T22:42:30.562Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-07-06T22:42:30.562Z] ---> 8df398785431 [2021-07-06T22:42:30.562Z] Step 19/24 : EXPOSE 59982 [2021-07-06T22:42:30.562Z] ---> Running in 5d231a4aad89 [2021-07-06T22:42:30.829Z] Removing intermediate container 5d231a4aad89 [2021-07-06T22:42:30.829Z] ---> 77b09821909d [2021-07-06T22:42:30.829Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-07-06T22:42:30.829Z] ---> Running in 9ea5b7a61c0d [2021-07-06T22:42:30.829Z] Removing intermediate container 9ea5b7a61c0d [2021-07-06T22:42:30.829Z] ---> 47f98128df97 [2021-07-06T22:42:30.829Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-06T22:42:30.829Z] ---> Running in 65a1c92b0f00 [2021-07-06T22:42:31.102Z] Removing intermediate container 65a1c92b0f00 [2021-07-06T22:42:31.102Z] ---> 7f55158a0a5e [2021-07-06T22:42:31.102Z] Step 22/24 : LABEL arch=amd64 [2021-07-06T22:42:31.102Z] ---> Running in cfa6784eac58 [2021-07-06T22:42:31.102Z] Removing intermediate container cfa6784eac58 [2021-07-06T22:42:31.102Z] ---> af68a1ea12cc [2021-07-06T22:42:31.102Z] Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:42:31.102Z] ---> Running in f286767faca4 [2021-07-06T22:42:31.102Z] Removing intermediate container f286767faca4 [2021-07-06T22:42:31.102Z] ---> 3bb9c2c66ec8 [2021-07-06T22:42:31.102Z] Step 24/24 : LABEL version=2.0.1-dev.1 [2021-07-06T22:42:31.366Z] ---> Running in 617f2d2014e0 [2021-07-06T22:42:31.366Z] Removing intermediate container 617f2d2014e0 [2021-07-06T22:42:31.366Z] ---> 6acc4b55cb34 [2021-07-06T22:42:31.366Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-06T22:42:31.366Z] Successfully built 6acc4b55cb34 [2021-07-06T22:42:31.366Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:42:31.779Z] provisioning config files... [2021-07-06T22:42:31.792Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8480708838303478898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:42:32.197Z] ---> docker-login.sh [2021-07-06T22:42:32.197Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:42:32.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:32.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:32.197Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:32.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:32.197Z] [2021-07-06T22:42:32.197Z] Login Succeeded [2021-07-06T22:42:32.197Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:42:32.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:32.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:32.197Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:32.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:32.197Z] [2021-07-06T22:42:32.197Z] Login Succeeded [2021-07-06T22:42:32.468Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:42:32.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:32.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:32.468Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:32.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:32.468Z] [2021-07-06T22:42:32.468Z] Login Succeeded [2021-07-06T22:42:32.468Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:42:32.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:32.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:32.468Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:32.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:32.468Z] [2021-07-06T22:42:32.468Z] Login Succeeded [2021-07-06T22:42:32.468Z] docker.io [2021-07-06T22:42:32.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:42:32.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:42:32.992Z] Configure a credential helper to remove this warning. See [2021-07-06T22:42:32.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:42:32.992Z] [2021-07-06T22:42:32.992Z] Login Succeeded [2021-07-06T22:42:32.992Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:42:33.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:42:33.225Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-07-06T22:42:33.225Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:42:33.225Z] latest [2021-07-06T22:42:33.225Z] 2.0.1-dev.1 [2021-07-06T22:42:33.225Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [2021-07-06T22:42:33.225Z] main [2021-07-06T22:42:33.225Z] ===================================================== [Pipeline] withEnv [Pipeline] { [2021-07-06T22:42:33.292Z] ba82ee9f976e: Pull complete [2021-07-06T22:42:33.292Z] 506bd15cee9f: Pull complete [2021-07-06T22:42:33.292Z] 75a0a4a0db45: Pull complete [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:33.719Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:34.052Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:42:34.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-07-06T22:42:34.053Z] 56ee32859f79: Preparing [2021-07-06T22:42:34.053Z] 3a65e647d96d: Preparing [2021-07-06T22:42:34.053Z] dab7b774e2f1: Preparing [2021-07-06T22:42:34.053Z] 5d5749bff33c: Preparing [2021-07-06T22:42:34.053Z] 32f366d666a5: Preparing [2021-07-06T22:42:34.053Z] 32f366d666a5: Layer already exists [2021-07-06T22:42:34.318Z] 3a65e647d96d: Pushed [2021-07-06T22:42:34.318Z] 56ee32859f79: Pushed [2021-07-06T22:42:34.318Z] 5d5749bff33c: Pushed [2021-07-06T22:42:35.709Z] dab7b774e2f1: Pushed [2021-07-06T22:42:35.710Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:36.050Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:36.395Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-07-06T22:42:36.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-07-06T22:42:36.395Z] 56ee32859f79: Preparing [2021-07-06T22:42:36.395Z] 3a65e647d96d: Preparing [2021-07-06T22:42:36.395Z] dab7b774e2f1: Preparing [2021-07-06T22:42:36.395Z] 5d5749bff33c: Preparing [2021-07-06T22:42:36.395Z] 32f366d666a5: Preparing [2021-07-06T22:42:36.395Z] dab7b774e2f1: Layer already exists [2021-07-06T22:42:36.395Z] 3a65e647d96d: Layer already exists [2021-07-06T22:42:36.395Z] 5d5749bff33c: Layer already exists [2021-07-06T22:42:36.395Z] 56ee32859f79: Layer already exists [2021-07-06T22:42:36.395Z] 32f366d666a5: Layer already exists [2021-07-06T22:42:36.395Z] latest: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:36.697Z] 618dc40b7e24: Pull complete [2021-07-06T22:42:36.697Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-06T22:42:36.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-06T22:42:36.697Z] ---> a36622ca3599 [2021-07-06T22:42:36.697Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-06T22:42:36.732Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:37.066Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 [2021-07-06T22:42:37.066Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-07-06T22:42:37.066Z] 56ee32859f79: Preparing [2021-07-06T22:42:37.066Z] 3a65e647d96d: Preparing [2021-07-06T22:42:37.066Z] dab7b774e2f1: Preparing [2021-07-06T22:42:37.066Z] 5d5749bff33c: Preparing [2021-07-06T22:42:37.066Z] 32f366d666a5: Preparing [2021-07-06T22:42:37.066Z] 3a65e647d96d: Layer already exists [2021-07-06T22:42:37.066Z] 32f366d666a5: Layer already exists [2021-07-06T22:42:37.066Z] 56ee32859f79: Layer already exists [2021-07-06T22:42:37.066Z] 5d5749bff33c: Layer already exists [2021-07-06T22:42:37.066Z] dab7b774e2f1: Layer already exists [2021-07-06T22:42:37.066Z] 2.0.1-dev.1: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:37.444Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:37.785Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [2021-07-06T22:42:37.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-07-06T22:42:37.785Z] 56ee32859f79: Preparing [2021-07-06T22:42:37.785Z] 3a65e647d96d: Preparing [2021-07-06T22:42:37.785Z] dab7b774e2f1: Preparing [2021-07-06T22:42:37.785Z] 5d5749bff33c: Preparing [2021-07-06T22:42:37.785Z] 32f366d666a5: Preparing [2021-07-06T22:42:37.785Z] dab7b774e2f1: Layer already exists [2021-07-06T22:42:37.785Z] 56ee32859f79: Layer already exists [2021-07-06T22:42:37.785Z] 5d5749bff33c: Layer already exists [2021-07-06T22:42:37.785Z] 32f366d666a5: Layer already exists [2021-07-06T22:42:37.785Z] 3a65e647d96d: Layer already exists [2021-07-06T22:42:37.785Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:38.312Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:38.707Z] ---> Running in 8a42469aef11 [2021-07-06T22:42:38.730Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-07-06T22:42:38.730Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-07-06T22:42:38.730Z] 56ee32859f79: Preparing [2021-07-06T22:42:38.730Z] 3a65e647d96d: Preparing [2021-07-06T22:42:38.730Z] dab7b774e2f1: Preparing [2021-07-06T22:42:38.730Z] 5d5749bff33c: Preparing [2021-07-06T22:42:38.730Z] 32f366d666a5: Preparing [2021-07-06T22:42:38.730Z] 3a65e647d96d: Layer already exists [2021-07-06T22:42:38.730Z] 56ee32859f79: Layer already exists [2021-07-06T22:42:38.730Z] dab7b774e2f1: Layer already exists [2021-07-06T22:42:38.730Z] 32f366d666a5: Layer already exists [2021-07-06T22:42:38.730Z] 5d5749bff33c: Layer already exists [2021-07-06T22:42:38.730Z] main: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:42:38.955Z] ===================================================== [Pipeline] echo [2021-07-06T22:42:39.012Z] taggedImages: [2021-07-06T22:42:39.012Z] - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:42:39.012Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-07-06T22:42:39.012Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 [2021-07-06T22:42:39.012Z] - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [2021-07-06T22:42:39.012Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2021-07-06T22:42:39.306Z] Removing intermediate container 8a42469aef11 [2021-07-06T22:42:39.306Z] ---> 6972311b2c85 [2021-07-06T22:42:39.306Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:42:39.306Z] ---> Running in ae0f4ec37382 [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:42:40.067Z] ---> job-cost.sh [2021-07-06T22:42:40.067Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dPkY [2021-07-06T22:42:42.766Z] Removing intermediate container ae0f4ec37382 [2021-07-06T22:42:42.766Z] ---> 2ebff429e504 [2021-07-06T22:42:42.766Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T22:42:42.766Z] ---> Running in 3a8ffaa39dfc [2021-07-06T22:42:43.767Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T22:42:44.770Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T22:42:45.773Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-06T22:42:45.773Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-06T22:42:45.773Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-06T22:42:46.047Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-06T22:42:46.047Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-06T22:42:46.320Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-06T22:42:46.320Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-06T22:42:46.917Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-06T22:42:46.917Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-06T22:42:46.917Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-06T22:42:47.190Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-06T22:42:47.190Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-06T22:42:47.469Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-06T22:42:47.469Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T22:42:47.469Z] OK: 145 MiB in 53 packages [2021-07-06T22:42:48.926Z] Removing intermediate container 3a8ffaa39dfc [2021-07-06T22:42:48.926Z] ---> c70ca37c294e [2021-07-06T22:42:48.926Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-07-06T22:42:49.206Z] ---> Running in 185d1dfe21a8 [2021-07-06T22:42:49.804Z] Removing intermediate container 185d1dfe21a8 [2021-07-06T22:42:49.804Z] ---> 875e55327b3a [2021-07-06T22:42:49.804Z] Step 7/8 : COPY . . [2021-07-06T22:42:50.126Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T22:42:50.812Z] ---> 80aa4170eaf0 [2021-07-06T22:42:50.812Z] Step 8/8 : RUN go mod download [2021-07-06T22:42:50.812Z] ---> Running in ee06735dccf4 [2021-07-06T22:43:05.140Z] lf-activate-venv(): INFO: Adding /tmp/venv-dPkY/bin to PATH [2021-07-06T22:43:05.141Z] INFO: No Stack... [2021-07-06T22:43:05.141Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T22:43:05.141Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T22:43:05.487Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2021-07-06T22:43:05.487Z] + cut -d, -f6 [Pipeline] lock [2021-07-06T22:43:05.550Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [2021-07-06T22:43:05.557Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] did not exist. Created. [2021-07-06T22:43:05.557Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:43:06.028Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-06T22:43:06.121Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T22:43:06.151Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-06T22:43:17.671Z] Removing intermediate container ee06735dccf4 [2021-07-06T22:43:17.672Z] ---> 7d5a7c8a946d [2021-07-06T22:43:17.672Z] Successfully built 7d5a7c8a946d [2021-07-06T22:43:17.672Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:18.055Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T22:43:18.055Z] . [Pipeline] withDockerContainer [2021-07-06T22:43:18.306Z] prd-ubuntu18.04-docker-arm64-4c-16g-240 does not seem to be running inside a container [2021-07-06T22:43:18.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-06T22:43:19.956Z] $ docker top e84181e44fea81786627f709c7d5491ca4f276b8daed3d3aef2ce69b982fc0f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:43:20.989Z] + go version [2021-07-06T22:43:20.989Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-06T22:43:21.001Z] $ docker stop --time=1 e84181e44fea81786627f709c7d5491ca4f276b8daed3d3aef2ce69b982fc0f0 [2021-07-06T22:43:22.843Z] $ docker rm -f e84181e44fea81786627f709c7d5491ca4f276b8daed3d3aef2ce69b982fc0f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:23.946Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T22:43:23.946Z] . [Pipeline] withDockerContainer [2021-07-06T22:43:24.234Z] prd-ubuntu18.04-docker-arm64-4c-16g-240 does not seem to be running inside a container [2021-07-06T22:43:24.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-06T22:43:25.960Z] $ docker top 9efd09e7f9ea4e2ca072647569c992e0c6916919681d84e2f97d5c78ab4c2c7d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:43:27.025Z] + go mod tidy [Pipeline] sh [2021-07-06T22:43:28.327Z] + make test [2021-07-06T22:43:28.327Z] go mod tidy [2021-07-06T22:43:28.931Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-06T22:43:29.919Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-07-06T22:44:26.526Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-07-06T22:44:26.526Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.047s coverage: 24.3% of statements [2021-07-06T22:44:26.526Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-07-06T22:44:26.526Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T22:44:53.423Z] gofmt -l . [2021-07-06T22:44:53.423Z] ["`gofmt -l .`" = ""] [2021-07-06T22:44:53.423Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-06T22:44:53.557Z] $ docker stop --time=1 9efd09e7f9ea4e2ca072647569c992e0c6916919681d84e2f97d5c78ab4c2c7d [2021-07-06T22:44:55.409Z] $ docker rm -f 9efd09e7f9ea4e2ca072647569c992e0c6916919681d84e2f97d5c78ab4c2c7d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:44:56.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T22:44:56.399Z] Warning: overwriting stash ‘coverage-report’ [2021-07-06T22:44:56.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:44:57.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T22:44:57.987Z] + ls -al . [2021-07-06T22:44:57.987Z] total 144 [2021-07-06T22:44:57.987Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 6 22:44 . [2021-07-06T22:44:57.987Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:41 .. [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 6 22:41 .dockerignore [2021-07-06T22:44:57.987Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 22:41 .git [2021-07-06T22:44:57.987Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:41 .github [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 336 Jul 6 22:41 .gitignore [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 7100 Jul 6 22:41 Attribution.txt [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 7447 Jul 6 22:41 CHANGELOG.md [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 1877 Jul 6 22:41 Dockerfile [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 994 Jul 6 22:41 Dockerfile.build [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 22:41 Jenkinsfile [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 6 22:41 LICENSE [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 907 Jul 6 22:41 Makefile [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 2217 Jul 6 22:41 README.md [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 22:38 VERSION [2021-07-06T22:44:57.987Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:41 bin [2021-07-06T22:44:57.987Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:41 cmd [2021-07-06T22:44:57.987Z] -rw-r--r-- 1 jenkins jenkins 16226 Jul 6 22:44 coverage.out [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 388 Jul 6 22:41 go.mod [2021-07-06T22:44:57.987Z] -rw-r--r-- 1 jenkins jenkins 20775 Jul 6 22:43 go.sum [2021-07-06T22:44:57.987Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:41 internal [2021-07-06T22:44:57.987Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:41 mock [2021-07-06T22:44:57.987Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:41 snap [2021-07-06T22:44:57.987Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 6 22:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:44:58.451Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=arm64 --label version=2.0.1-dev.1 . [2021-07-06T22:44:58.748Z] Sending build context to Docker daemon 618.5kB [2021-07-06T22:44:58.748Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:44:58.748Z] Step 2/24 : FROM ${BASE} AS builder [2021-07-06T22:44:58.748Z] ---> 7d5a7c8a946d [2021-07-06T22:44:58.748Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-06T22:44:59.030Z] ---> Running in b2c514f26597 [2021-07-06T22:44:59.700Z] Removing intermediate container b2c514f26597 [2021-07-06T22:44:59.700Z] ---> 7b959f2feb86 [2021-07-06T22:44:59.700Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-07-06T22:44:59.700Z] ---> Running in 23ae728277da [2021-07-06T22:45:00.316Z] Removing intermediate container 23ae728277da [2021-07-06T22:45:00.316Z] ---> 89a5463d1571 [2021-07-06T22:45:00.316Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:45:00.316Z] ---> Running in 69efdc1e5c87 [2021-07-06T22:45:02.994Z] Removing intermediate container 69efdc1e5c87 [2021-07-06T22:45:02.994Z] ---> 76a8458df366 [2021-07-06T22:45:02.994Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-06T22:45:02.994Z] ---> Running in 2d5a23c2734d [2021-07-06T22:45:03.973Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T22:45:04.953Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T22:45:05.545Z] OK: 145 MiB in 53 packages [2021-07-06T22:45:06.524Z] Removing intermediate container 2d5a23c2734d [2021-07-06T22:45:06.524Z] ---> cf20730b8f40 [2021-07-06T22:45:06.524Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-07-06T22:45:06.799Z] ---> Running in 3880e29f46a3 [2021-07-06T22:45:07.398Z] Removing intermediate container 3880e29f46a3 [2021-07-06T22:45:07.398Z] ---> 91016a78fc8a [2021-07-06T22:45:07.398Z] Step 8/24 : COPY . . [2021-07-06T22:45:08.383Z] ---> b9522dc8435a [2021-07-06T22:45:08.383Z] Step 9/24 : RUN go mod tidy [2021-07-06T22:45:08.383Z] ---> Running in 2ff5256ae4b0 [2021-07-06T22:45:11.021Z] Removing intermediate container 2ff5256ae4b0 [2021-07-06T22:45:11.021Z] ---> abecc8bd10a0 [2021-07-06T22:45:11.021Z] Step 10/24 : RUN go mod download [2021-07-06T22:45:11.300Z] ---> Running in bf906d7209ec [2021-07-06T22:45:13.923Z] Removing intermediate container bf906d7209ec [2021-07-06T22:45:13.923Z] ---> 8a21d0e200ff [2021-07-06T22:45:13.923Z] Step 11/24 : ARG MAKE='make build' [2021-07-06T22:45:13.923Z] ---> Running in 66158c3ec996 [2021-07-06T22:45:14.197Z] Removing intermediate container 66158c3ec996 [2021-07-06T22:45:14.197Z] ---> 07631f7b204c [2021-07-06T22:45:14.197Z] Step 12/24 : RUN $MAKE [2021-07-06T22:45:14.469Z] ---> Running in 57326e82b8ec [2021-07-06T22:45:15.911Z] go mod tidy [2021-07-06T22:45:16.192Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd [2021-07-06T22:45:55.250Z] Removing intermediate container 57326e82b8ec [2021-07-06T22:45:55.250Z] ---> 8d028e3a12a4 [2021-07-06T22:45:55.250Z] Step 13/24 : FROM alpine:3.12 [2021-07-06T22:45:55.250Z] 3.12: Pulling from library/alpine [2021-07-06T22:45:55.250Z] d2f70382dc9a: Pulling fs layer [2021-07-06T22:45:55.250Z] d2f70382dc9a: Verifying Checksum [2021-07-06T22:45:55.250Z] d2f70382dc9a: Download complete [2021-07-06T22:45:55.250Z] d2f70382dc9a: Pull complete [2021-07-06T22:45:55.250Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T22:45:55.250Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T22:45:55.250Z] ---> c4fd0aeabfcf [2021-07-06T22:45:55.250Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-07-06T22:45:55.250Z] ---> Running in 428bf32c08aa [2021-07-06T22:45:55.250Z] Removing intermediate container 428bf32c08aa [2021-07-06T22:45:55.250Z] ---> 1046b928c43f [2021-07-06T22:45:55.250Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-06T22:45:55.250Z] ---> Running in 9a4104e68e06 [2021-07-06T22:45:55.847Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-06T22:45:55.847Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-06T22:45:56.444Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-06T22:45:56.444Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-06T22:45:56.444Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-06T22:45:56.444Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-06T22:45:56.444Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-06T22:45:56.444Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-06T22:45:56.444Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T22:45:56.444Z] OK: 8 MiB in 20 packages [2021-07-06T22:45:57.901Z] Removing intermediate container 9a4104e68e06 [2021-07-06T22:45:57.901Z] ---> af4c58ce323f [2021-07-06T22:45:57.901Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-07-06T22:45:58.879Z] ---> 73ea787b8edc [2021-07-06T22:45:58.879Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-07-06T22:45:59.867Z] ---> 29a11f0b1354 [2021-07-06T22:45:59.867Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-07-06T22:46:00.461Z] ---> 53839bbd1975 [2021-07-06T22:46:00.461Z] Step 19/24 : EXPOSE 59982 [2021-07-06T22:46:00.735Z] ---> Running in 56b43e40e6f7 [2021-07-06T22:46:01.335Z] Removing intermediate container 56b43e40e6f7 [2021-07-06T22:46:01.335Z] ---> 4af8ac33233d [2021-07-06T22:46:01.335Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-07-06T22:46:01.335Z] ---> Running in b80488049625 [2021-07-06T22:46:01.935Z] Removing intermediate container b80488049625 [2021-07-06T22:46:01.935Z] ---> a4e164815fec [2021-07-06T22:46:01.935Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-06T22:46:01.935Z] ---> Running in e5a75fa48ce8 [2021-07-06T22:46:02.536Z] Removing intermediate container e5a75fa48ce8 [2021-07-06T22:46:02.536Z] ---> 26d9203c038b [2021-07-06T22:46:02.536Z] Step 22/24 : LABEL arch=arm64 [2021-07-06T22:46:02.536Z] ---> Running in e238444f29ab [2021-07-06T22:46:03.134Z] Removing intermediate container e238444f29ab [2021-07-06T22:46:03.134Z] ---> af7228027898 [2021-07-06T22:46:03.134Z] Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:46:03.134Z] ---> Running in bbbf619819a2 [2021-07-06T22:46:03.729Z] Removing intermediate container bbbf619819a2 [2021-07-06T22:46:03.729Z] ---> 61f24752474f [2021-07-06T22:46:03.729Z] Step 24/24 : LABEL version=2.0.1-dev.1 [2021-07-06T22:46:03.729Z] ---> Running in 158ad8ba9582 [2021-07-06T22:46:04.337Z] Removing intermediate container 158ad8ba9582 [2021-07-06T22:46:04.337Z] ---> 0b76e56b8c8d [2021-07-06T22:46:04.337Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-06T22:46:04.337Z] Successfully built 0b76e56b8c8d [2021-07-06T22:46:04.337Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:46:04.878Z] provisioning config files... [2021-07-06T22:46:04.901Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2765364292863572367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:46:05.318Z] ---> docker-login.sh [2021-07-06T22:46:05.318Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:46:05.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:46:05.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:46:05.864Z] Configure a credential helper to remove this warning. See [2021-07-06T22:46:05.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:46:05.864Z] [2021-07-06T22:46:05.864Z] Login Succeeded [2021-07-06T22:46:05.864Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:46:06.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:46:06.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:46:06.408Z] Configure a credential helper to remove this warning. See [2021-07-06T22:46:06.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:46:06.408Z] [2021-07-06T22:46:06.408Z] Login Succeeded [2021-07-06T22:46:06.408Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:46:06.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:46:06.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:46:06.959Z] Configure a credential helper to remove this warning. See [2021-07-06T22:46:06.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:46:06.959Z] [2021-07-06T22:46:06.959Z] Login Succeeded [2021-07-06T22:46:06.959Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:46:07.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:46:07.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:46:07.511Z] Configure a credential helper to remove this warning. See [2021-07-06T22:46:07.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:46:07.511Z] [2021-07-06T22:46:07.511Z] Login Succeeded [2021-07-06T22:46:07.511Z] docker.io [2021-07-06T22:46:08.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:46:08.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:46:08.385Z] Configure a credential helper to remove this warning. See [2021-07-06T22:46:08.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:46:08.385Z] [2021-07-06T22:46:08.385Z] Login Succeeded [2021-07-06T22:46:08.385Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:46:08.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:46:08.604Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-07-06T22:46:08.604Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:46:08.604Z] latest [2021-07-06T22:46:08.604Z] 2.0.1-dev.1 [2021-07-06T22:46:08.604Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [2021-07-06T22:46:08.604Z] main [2021-07-06T22:46:08.604Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:09.125Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:09.504Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:46:09.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-07-06T22:46:09.504Z] b05ec584bcd6: Preparing [2021-07-06T22:46:09.504Z] b8c4c0f92202: Preparing [2021-07-06T22:46:09.504Z] b70536939cec: Preparing [2021-07-06T22:46:09.504Z] b72a877f9459: Preparing [2021-07-06T22:46:09.504Z] 3fbe34a1663b: Preparing [2021-07-06T22:46:09.796Z] 3fbe34a1663b: Layer already exists [2021-07-06T22:46:09.797Z] b8c4c0f92202: Pushed [2021-07-06T22:46:09.797Z] b05ec584bcd6: Pushed [2021-07-06T22:46:10.392Z] b72a877f9459: Pushed [2021-07-06T22:46:13.004Z] b70536939cec: Pushed [2021-07-06T22:46:13.004Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:13.439Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:13.824Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-07-06T22:46:13.824Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-07-06T22:46:13.824Z] b05ec584bcd6: Preparing [2021-07-06T22:46:13.824Z] b8c4c0f92202: Preparing [2021-07-06T22:46:13.824Z] b70536939cec: Preparing [2021-07-06T22:46:13.824Z] b72a877f9459: Preparing [2021-07-06T22:46:13.824Z] 3fbe34a1663b: Preparing [2021-07-06T22:46:13.824Z] b70536939cec: Layer already exists [2021-07-06T22:46:13.824Z] 3fbe34a1663b: Layer already exists [2021-07-06T22:46:13.824Z] b72a877f9459: Layer already exists [2021-07-06T22:46:13.824Z] b8c4c0f92202: Layer already exists [2021-07-06T22:46:13.824Z] b05ec584bcd6: Layer already exists [2021-07-06T22:46:14.100Z] latest: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:14.498Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:14.896Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 [2021-07-06T22:46:14.896Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-07-06T22:46:14.896Z] b05ec584bcd6: Preparing [2021-07-06T22:46:14.896Z] b8c4c0f92202: Preparing [2021-07-06T22:46:14.896Z] b70536939cec: Preparing [2021-07-06T22:46:14.896Z] b72a877f9459: Preparing [2021-07-06T22:46:14.896Z] 3fbe34a1663b: Preparing [2021-07-06T22:46:14.896Z] b72a877f9459: Layer already exists [2021-07-06T22:46:14.896Z] b8c4c0f92202: Layer already exists [2021-07-06T22:46:14.896Z] 3fbe34a1663b: Layer already exists [2021-07-06T22:46:14.896Z] b05ec584bcd6: Layer already exists [2021-07-06T22:46:14.896Z] b70536939cec: Layer already exists [2021-07-06T22:46:15.177Z] 2.0.1-dev.1: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:15.573Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:15.957Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [2021-07-06T22:46:15.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-07-06T22:46:15.957Z] b05ec584bcd6: Preparing [2021-07-06T22:46:15.957Z] b8c4c0f92202: Preparing [2021-07-06T22:46:15.957Z] b70536939cec: Preparing [2021-07-06T22:46:15.957Z] b72a877f9459: Preparing [2021-07-06T22:46:15.957Z] 3fbe34a1663b: Preparing [2021-07-06T22:46:16.234Z] b05ec584bcd6: Layer already exists [2021-07-06T22:46:16.234Z] b8c4c0f92202: Layer already exists [2021-07-06T22:46:16.234Z] b70536939cec: Layer already exists [2021-07-06T22:46:16.234Z] b72a877f9459: Layer already exists [2021-07-06T22:46:16.234Z] 3fbe34a1663b: Layer already exists [2021-07-06T22:46:16.234Z] f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:16.615Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:46:16.997Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-07-06T22:46:16.997Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-07-06T22:46:16.997Z] b05ec584bcd6: Preparing [2021-07-06T22:46:16.997Z] b8c4c0f92202: Preparing [2021-07-06T22:46:16.997Z] b70536939cec: Preparing [2021-07-06T22:46:16.997Z] b72a877f9459: Preparing [2021-07-06T22:46:16.997Z] 3fbe34a1663b: Preparing [2021-07-06T22:46:17.272Z] b05ec584bcd6: Layer already exists [2021-07-06T22:46:17.272Z] b72a877f9459: Layer already exists [2021-07-06T22:46:17.272Z] b70536939cec: Layer already exists [2021-07-06T22:46:17.272Z] b8c4c0f92202: Layer already exists [2021-07-06T22:46:17.272Z] 3fbe34a1663b: Layer already exists [2021-07-06T22:46:17.272Z] main: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:46:17.496Z] ===================================================== [Pipeline] echo [2021-07-06T22:46:17.538Z] taggedImages: [2021-07-06T22:46:17.538Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [2021-07-06T22:46:17.538Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-07-06T22:46:17.538Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 [2021-07-06T22:46:17.538Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [2021-07-06T22:46:17.538Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:46:18.114Z] ---> job-cost.sh [2021-07-06T22:46:18.114Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LnOb [2021-07-06T22:46:57.178Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T22:48:34.029Z] lf-activate-venv(): INFO: Adding /tmp/venv-LnOb/bin to PATH [2021-07-06T22:48:34.029Z] INFO: No Stack... [2021-07-06T22:48:34.029Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-06T22:48:34.029Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T22:48:34.401Z] + + cutcat -d, /w/workspace/device-mqtt-go/1/archives/cost.csv -f6 [2021-07-06T22:48:34.401Z] [Pipeline] lock [2021-07-06T22:48:34.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [2021-07-06T22:48:34.558Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] did not exist. Created. [2021-07-06T22:48:34.558Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:48:35.056Z] /w/workspace/device-mqtt-go/1@tmp/durable-5be12784/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-5be12784/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-06T22:48:35.431Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-06T22:48:35.485Z] Warning: overwriting stash ‘stack-cost’ [2021-07-06T22:48:35.631Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T22:48:35.655Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-1-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] configFileProvider [2021-07-06T22:48:36.702Z] provisioning config files... [2021-07-06T22:48:36.731Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8224464955231573715tmp [Pipeline] { [Pipeline] sh [2021-07-06T22:48:37.099Z] + set +x [2021-07-06T22:48:37.099Z] + bash -s -- [2021-07-06T22:48:37.099Z] + curl -s https://codecov.io/bash [2021-07-06T22:48:37.099Z] [2021-07-06T22:48:37.099Z] _____ _ [2021-07-06T22:48:37.099Z] / ____| | | [2021-07-06T22:48:37.099Z] | | ___ __| | ___ ___ _____ __ [2021-07-06T22:48:37.099Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-06T22:48:37.099Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-06T22:48:37.099Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-06T22:48:37.099Z] Bash-1.0.3 [2021-07-06T22:48:37.099Z] [2021-07-06T22:48:37.099Z] [2021-07-06T22:48:37.099Z] ==> git version 2.24.4 found [2021-07-06T22:48:37.099Z] ==> 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-07-06T22:48:37.099Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-06T22:48:37.099Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-06T22:48:37.099Z] ==> Jenkins CI detected. [2021-07-06T22:48:37.099Z] project root: . [2021-07-06T22:48:37.099Z] --> token set from env [2021-07-06T22:48:37.099Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-06T22:48:37.378Z] ==> Running gcov in . (disable via -X gcov) [2021-07-06T22:48:37.378Z] ==> Python coveragepy not found [2021-07-06T22:48:37.378Z] ==> Searching for coverage reports in: [2021-07-06T22:48:37.378Z] + . [2021-07-06T22:48:37.378Z] -> Found 1 reports [2021-07-06T22:48:37.378Z] ==> Detecting git/mercurial file structure [2021-07-06T22:48:37.378Z] ==> Reading reports [2021-07-06T22:48:37.378Z] + ./coverage.out bytes=16226 [2021-07-06T22:48:37.378Z] ==> Appending adjustments [2021-07-06T22:48:37.378Z] https://docs.codecov.io/docs/fixing-reports [2021-07-06T22:48:37.378Z] + Found adjustments [2021-07-06T22:48:37.378Z] ==> Gzipping contents [2021-07-06T22:48:37.378Z] 4.0K /tmp/codecov.QOPmAj.gz [2021-07-06T22:48:37.378Z] ==> Uploading reports [2021-07-06T22:48:37.378Z] url: https://codecov.io [2021-07-06T22:48:37.378Z] query: branch=main&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T22:48:37.378Z] -> Pinging Codecov [2021-07-06T22:48:37.378Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=main&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T22:48:37.974Z] -> Uploading to [2021-07-06T22:48:37.974Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-06/7D719EC7BBE17E464838252E33014C33/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604/6e520fa2-d530-40b5-a3e7-3cec0f6fac11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210706T224837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1a44051595d8b01bdffa7db4168742da0fab886b82bae661228571018e8697c [2021-07-06T22:48:37.974Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-06T22:48:37.974Z] Dload Upload Total Spent Left Speed [2021-07-06T22:48:38.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3178 0 0 100 3178 0 7351 --:--:-- --:--:-- --:--:-- 7356 [2021-07-06T22:48:38.244Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] } [2021-07-06T22:48:38.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-06T22:48:38.746Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-06T22:48:38.788Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:48:39.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T22:48:39.195Z] [2021-07-06T22:48:39.195Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:48:39.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T22:48:40.186Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-06T22:48:40.186Z] 188c0c94c7c5: Pulling fs layer [2021-07-06T22:48:40.186Z] 0ef7d3d256c8: Pulling fs layer [2021-07-06T22:48:40.186Z] de9db76c5a1d: Pulling fs layer [2021-07-06T22:48:40.186Z] 0eba1c9be4d2: Pulling fs layer [2021-07-06T22:48:40.186Z] 0d57e429df01: Pulling fs layer [2021-07-06T22:48:40.186Z] 4e4be7b47b0d: Pulling fs layer [2021-07-06T22:48:40.186Z] e1f770b5df2f: Pulling fs layer [2021-07-06T22:48:40.186Z] 85a0685a4137: Pulling fs layer [2021-07-06T22:48:40.186Z] 0d57e429df01: Waiting [2021-07-06T22:48:40.186Z] 4e4be7b47b0d: Waiting [2021-07-06T22:48:40.186Z] e1f770b5df2f: Waiting [2021-07-06T22:48:40.186Z] 85a0685a4137: Waiting [2021-07-06T22:48:40.186Z] 0eba1c9be4d2: Waiting [2021-07-06T22:48:40.186Z] de9db76c5a1d: Verifying Checksum [2021-07-06T22:48:40.186Z] de9db76c5a1d: Download complete [2021-07-06T22:48:40.186Z] 0ef7d3d256c8: Verifying Checksum [2021-07-06T22:48:40.186Z] 0ef7d3d256c8: Download complete [2021-07-06T22:48:40.186Z] 0d57e429df01: Verifying Checksum [2021-07-06T22:48:40.186Z] 0d57e429df01: Download complete [2021-07-06T22:48:40.186Z] 4e4be7b47b0d: Verifying Checksum [2021-07-06T22:48:40.186Z] 4e4be7b47b0d: Download complete [2021-07-06T22:48:40.186Z] 188c0c94c7c5: Verifying Checksum [2021-07-06T22:48:40.186Z] 188c0c94c7c5: Download complete [2021-07-06T22:48:40.779Z] 188c0c94c7c5: Pull complete [2021-07-06T22:48:40.779Z] e1f770b5df2f: Verifying Checksum [2021-07-06T22:48:40.779Z] e1f770b5df2f: Download complete [2021-07-06T22:48:41.377Z] 0ef7d3d256c8: Pull complete [2021-07-06T22:48:41.661Z] de9db76c5a1d: Pull complete [2021-07-06T22:48:43.098Z] 0eba1c9be4d2: Verifying Checksum [2021-07-06T22:48:43.098Z] 0eba1c9be4d2: Download complete [2021-07-06T22:48:43.381Z] 85a0685a4137: Verifying Checksum [2021-07-06T22:48:43.381Z] 85a0685a4137: Download complete [2021-07-06T22:48:46.734Z] 0eba1c9be4d2: Pull complete [2021-07-06T22:48:47.330Z] 0d57e429df01: Pull complete [2021-07-06T22:48:47.617Z] 4e4be7b47b0d: Pull complete [2021-07-06T22:48:48.229Z] e1f770b5df2f: Pull complete [2021-07-06T22:48:54.930Z] 85a0685a4137: Pull complete [2021-07-06T22:48:54.930Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-06T22:48:54.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T22:48:54.930Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-06T22:48:55.029Z] prd-centos7-docker-4c-2g-221 does not seem to be running inside a container [2021-07-06T22:48:55.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-devops/edgex-snyk-go:1.410.4 cat [2021-07-06T22:49:36.203Z] $ docker top 29fa9e6916ac91c989d4630517a5a383eba4aae0eb18384b33ea098b9964061c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-06T22:49:36.395Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-06T22:49:36.716Z] + set -o pipefail [2021-07-06T22:49:36.716Z] + snyk monitor '--org=edgex-jenkins' [2021-07-06T22:49:58.763Z] [2021-07-06T22:49:58.763Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-07-06T22:49:58.763Z] [2021-07-06T22:49:58.763Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/7a577cee-e63a-40f2-97a5-97c4855366fb [2021-07-06T22:49:58.763Z] [2021-07-06T22:49:58.763Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-07-06T22:49:58.763Z] [2021-07-06T22:49:58.763Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-06T22:49:58.763Z] [2021-07-06T22:49:58.763Z] [Pipeline] } [2021-07-06T22:49:58.793Z] $ docker stop --time=1 29fa9e6916ac91c989d4630517a5a383eba4aae0eb18384b33ea098b9964061c [2021-07-06T22:50:29.026Z] $ docker rm -f 29fa9e6916ac91c989d4630517a5a383eba4aae0eb18384b33ea098b9964061c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:50:31.263Z] + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:31.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:50:31.682Z] . [Pipeline] withDockerContainer [2021-07-06T22:50:31.830Z] prd-centos7-docker-4c-2g-221 does not seem to be running inside a container [2021-07-06T22:50:31.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:50:32.398Z] $ docker top 32365ea3b1681e454d2c32fbaba34760f7a08432bfff3f73cea7e86d9a927f5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:50:32.706Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:50:33.185Z] + git semver [Pipeline] } [2021-07-06T22:50:33.276Z] $ docker stop --time=1 32365ea3b1681e454d2c32fbaba34760f7a08432bfff3f73cea7e86d9a927f5e [2021-07-06T22:50:34.586Z] $ docker rm -f 32365ea3b1681e454d2c32fbaba34760f7a08432bfff3f73cea7e86d9a927f5e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:35.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T22:50:35.507Z] [2021-07-06T22:50:35.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:36.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T22:50:36.080Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-06T22:50:36.080Z] ab5ef0e58194: Pulling fs layer [2021-07-06T22:50:36.080Z] 9712f1f96733: Pulling fs layer [2021-07-06T22:50:36.080Z] 63f879dbbcfc: Pulling fs layer [2021-07-06T22:50:36.080Z] 0d9ebad4ef96: Pulling fs layer [2021-07-06T22:50:36.080Z] e9a5061849ea: Pulling fs layer [2021-07-06T22:50:36.080Z] d747dcd14b5f: Pulling fs layer [2021-07-06T22:50:36.080Z] 2de7ff778b66: Pulling fs layer [2021-07-06T22:50:36.080Z] e9a5061849ea: Waiting [2021-07-06T22:50:36.080Z] d747dcd14b5f: Waiting [2021-07-06T22:50:36.080Z] 2de7ff778b66: Waiting [2021-07-06T22:50:36.080Z] 0d9ebad4ef96: Waiting [2021-07-06T22:50:36.080Z] 9712f1f96733: Verifying Checksum [2021-07-06T22:50:36.080Z] 9712f1f96733: Download complete [2021-07-06T22:50:37.521Z] 63f879dbbcfc: Verifying Checksum [2021-07-06T22:50:37.521Z] 63f879dbbcfc: Download complete [2021-07-06T22:50:37.802Z] e9a5061849ea: Verifying Checksum [2021-07-06T22:50:37.802Z] e9a5061849ea: Download complete [2021-07-06T22:50:37.802Z] d747dcd14b5f: Verifying Checksum [2021-07-06T22:50:37.802Z] d747dcd14b5f: Download complete [2021-07-06T22:50:38.397Z] 2de7ff778b66: Verifying Checksum [2021-07-06T22:50:38.397Z] 2de7ff778b66: Download complete [2021-07-06T22:50:38.670Z] ab5ef0e58194: Verifying Checksum [2021-07-06T22:50:38.670Z] ab5ef0e58194: Download complete [2021-07-06T22:50:38.948Z] 0d9ebad4ef96: Verifying Checksum [2021-07-06T22:50:38.948Z] 0d9ebad4ef96: Download complete [2021-07-06T22:50:41.625Z] ab5ef0e58194: Pull complete [2021-07-06T22:50:41.625Z] 9712f1f96733: Pull complete [2021-07-06T22:50:42.247Z] 63f879dbbcfc: Pull complete [2021-07-06T22:50:46.578Z] 0d9ebad4ef96: Pull complete [2021-07-06T22:50:46.578Z] e9a5061849ea: Pull complete [2021-07-06T22:50:46.578Z] d747dcd14b5f: Pull complete [2021-07-06T22:50:47.542Z] 2de7ff778b66: Pull complete [2021-07-06T22:50:47.542Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-06T22:50:47.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T22:50:47.542Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-06T22:50:47.725Z] prd-centos7-docker-4c-2g-221 does not seem to be running inside a container [2021-07-06T22:50:47.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-06T22:51:08.798Z] $ docker top d9ef481d3e02c968ea0f326266060088d3e74421eb8a2ad498461f70228ca4a8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:51:09.121Z] provisioning config files... [2021-07-06T22:51:09.131Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7363271922548299566tmp [2021-07-06T22:51:09.145Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8537408076597134942tmp [2021-07-06T22:51:09.159Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4742421421157338777tmp [Pipeline] { [Pipeline] echo [2021-07-06T22:51:09.233Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:09.602Z] ---> sigul-configuration.sh [2021-07-06T22:51:09.602Z] gpg: directory `/root/.gnupg' created [2021-07-06T22:51:09.602Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-06T22:51:09.602Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-06T22:51:09.602Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-06T22:51:09.602Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-06T22:51:09.602Z] gpg: CAST5 encrypted data [2021-07-06T22:51:09.602Z] gpg: encrypted with 1 passphrase [2021-07-06T22:51:09.602Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-06T22:51:09.950Z] + mkdir /home/jenkins [2021-07-06T22:51:09.950Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-06T22:51:10.274Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-07-06T22:51:10.377Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:10.795Z] ---> sigul-install.sh [2021-07-06T22:51:17.404Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-06T22:51:17.750Z] + git tag --list [2021-07-06T22:51:17.750Z] 0.7.1 [2021-07-06T22:51:17.750Z] v1.0.0 [2021-07-06T22:51:17.750Z] v1.1.0 [2021-07-06T22:51:17.750Z] v1.1.1 [2021-07-06T22:51:17.750Z] v1.2.2 [2021-07-06T22:51:17.750Z] v1.3.0 [2021-07-06T22:51:17.750Z] v1.3.1 [2021-07-06T22:51:17.750Z] v2.0.0 [Pipeline] sh [2021-07-06T22:51:18.092Z] + lftools sign git-tag v2.0.1-dev.1 [2021-07-06T22:51:18.666Z] Signing Git tag with Sigul... [2021-07-06T22:51:18.666Z] Signing v2.0.1-dev.1 [2021-07-06T22:51:18.666Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.1'], return code 1, stdout , stderr [Pipeline] echo [2021-07-06T22:51:18.968Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:19.319Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-06T22:51:19.350Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-06T22:51:19.427Z] $ docker stop --time=1 d9ef481d3e02c968ea0f326266060088d3e74421eb8a2ad498461f70228ca4a8 [2021-07-06T22:51:22.681Z] $ docker rm -f d9ef481d3e02c968ea0f326266060088d3e74421eb8a2ad498461f70228ca4a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:51:23.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:51:23.694Z] . [Pipeline] withDockerContainer [2021-07-06T22:51:23.795Z] prd-centos7-docker-4c-2g-221 does not seem to be running inside a container [2021-07-06T22:51:23.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:51:24.212Z] $ docker top 3bad7e2894034f789df8f78511c0bb6bb5e6e939218c6a530446f5059e6e3688 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:51:24.475Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:51:24.864Z] + git semver [Pipeline] } [2021-07-06T22:51:24.889Z] $ docker stop --time=1 3bad7e2894034f789df8f78511c0bb6bb5e6e939218c6a530446f5059e6e3688 [2021-07-06T22:51:26.086Z] $ docker rm -f 3bad7e2894034f789df8f78511c0bb6bb5e6e939218c6a530446f5059e6e3688 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:51:26.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:51:26.566Z] . [Pipeline] withDockerContainer [2021-07-06T22:51:26.679Z] prd-centos7-docker-4c-2g-221 does not seem to be running inside a container [2021-07-06T22:51:26.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:51:27.167Z] $ docker top 40944322ae1aa847c9fbb154ffae8b9dda29f94eb4adc4d182741043a33a385d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:51:27.389Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:51:27.771Z] + git semver [Pipeline] } [2021-07-06T22:51:27.800Z] $ docker stop --time=1 40944322ae1aa847c9fbb154ffae8b9dda29f94eb4adc4d182741043a33a385d [2021-07-06T22:51:28.978Z] $ docker rm -f 40944322ae1aa847c9fbb154ffae8b9dda29f94eb4adc4d182741043a33a385d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:30.552Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:31.154Z] ---> package-listing.sh [2021-07-06T22:51:31.154Z] ++ facter osfamily [2021-07-06T22:51:31.154Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-06T22:51:31.418Z] + OS_FAMILY=redhat [2021-07-06T22:51:31.418Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-07-06T22:51:31.418Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-06T22:51:31.418Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-06T22:51:31.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-06T22:51:31.418Z] + PACKAGES=/tmp/packages_start.txt [2021-07-06T22:51:31.418Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-07-06T22:51:31.418Z] + PACKAGES=/tmp/packages_end.txt [2021-07-06T22:51:31.418Z] + case "${OS_FAMILY}" in [2021-07-06T22:51:31.418Z] + rpm -qa [2021-07-06T22:51:31.418Z] + sort [2021-07-06T22:51:32.010Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-06T22:51:32.010Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-06T22:51:32.010Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-06T22:51:32.010Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-07-06T22:51:32.010Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-07-06T22:51:32.010Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2021-07-06T22:51:32.070Z] 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-06T22:51:32.386Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:51:32.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T22:51:32.986Z] [2021-07-06T22:51:32.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:51:33.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T22:51:33.356Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-06T22:51:33.356Z] df20fa9351a1: Pulling fs layer [2021-07-06T22:51:33.356Z] 36b3adc4ff6f: Pulling fs layer [2021-07-06T22:51:33.356Z] 8ad3a11d3b57: Pulling fs layer [2021-07-06T22:51:33.356Z] 46f8f816bc3b: Pulling fs layer [2021-07-06T22:51:33.356Z] 93b61091891f: Pulling fs layer [2021-07-06T22:51:33.356Z] 93b9cdb0e59b: Pulling fs layer [2021-07-06T22:51:33.356Z] 5e14af77c1be: Pulling fs layer [2021-07-06T22:51:33.356Z] 01666e4c0597: Pulling fs layer [2021-07-06T22:51:33.356Z] aa168da1d23b: Pulling fs layer [2021-07-06T22:51:33.356Z] 93b9cdb0e59b: Waiting [2021-07-06T22:51:33.356Z] 5e14af77c1be: Waiting [2021-07-06T22:51:33.356Z] 01666e4c0597: Waiting [2021-07-06T22:51:33.356Z] aa168da1d23b: Waiting [2021-07-06T22:51:33.356Z] 46f8f816bc3b: Waiting [2021-07-06T22:51:33.356Z] 93b61091891f: Waiting [2021-07-06T22:51:33.356Z] 36b3adc4ff6f: Verifying Checksum [2021-07-06T22:51:33.356Z] 36b3adc4ff6f: Download complete [2021-07-06T22:51:33.356Z] 46f8f816bc3b: Verifying Checksum [2021-07-06T22:51:33.356Z] 46f8f816bc3b: Download complete [2021-07-06T22:51:33.356Z] df20fa9351a1: Verifying Checksum [2021-07-06T22:51:33.356Z] df20fa9351a1: Download complete [2021-07-06T22:51:33.628Z] 93b9cdb0e59b: Verifying Checksum [2021-07-06T22:51:33.628Z] 93b9cdb0e59b: Download complete [2021-07-06T22:51:33.628Z] 5e14af77c1be: Verifying Checksum [2021-07-06T22:51:33.628Z] 5e14af77c1be: Download complete [2021-07-06T22:51:33.628Z] 01666e4c0597: Verifying Checksum [2021-07-06T22:51:33.628Z] 01666e4c0597: Download complete [2021-07-06T22:51:33.628Z] 8ad3a11d3b57: Verifying Checksum [2021-07-06T22:51:33.628Z] 8ad3a11d3b57: Download complete [2021-07-06T22:51:33.628Z] df20fa9351a1: Pull complete [2021-07-06T22:51:33.899Z] 36b3adc4ff6f: Pull complete [2021-07-06T22:51:34.486Z] 8ad3a11d3b57: Pull complete [2021-07-06T22:51:34.486Z] 46f8f816bc3b: Pull complete [2021-07-06T22:51:34.486Z] 93b61091891f: Verifying Checksum [2021-07-06T22:51:34.486Z] 93b61091891f: Download complete [2021-07-06T22:51:34.751Z] 93b61091891f: Pull complete [2021-07-06T22:51:34.751Z] 93b9cdb0e59b: Pull complete [2021-07-06T22:51:35.012Z] 5e14af77c1be: Pull complete [2021-07-06T22:51:35.012Z] 01666e4c0597: Pull complete [2021-07-06T22:51:35.963Z] aa168da1d23b: Verifying Checksum [2021-07-06T22:51:35.963Z] aa168da1d23b: Download complete [2021-07-06T22:51:40.399Z] aa168da1d23b: Pull complete [2021-07-06T22:51:40.399Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-06T22:51:40.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T22:51:40.399Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-06T22:51:40.496Z] prd-centos7-docker-4c-2g-221 does not seem to be running inside a container [2021-07-06T22:51:40.534Z] $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-06T22:51:43.336Z] $ docker top 2b5258e5192dbd034e34d9b170a7b1572850377bc63585c7a60bf8890e7eba18 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:51:43.824Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-06T22:51:44.147Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-06T22:51:44.543Z] + ls /var/log/sa-host [2021-07-06T22:51:44.543Z] + sadf -c /var/log/sa-host/sa05 [2021-07-06T22:51:44.543Z] file_magic: OK [2021-07-06T22:51:44.543Z] HZ: Using current value: 100 [2021-07-06T22:51:44.543Z] file_header: OK [2021-07-06T22:51:44.543Z] 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-07-06T22:51:44.543Z] Statistics: [2021-07-06T22:51:44.543Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T22:51:44.543Z] File successfully converted to sysstat format version 12.2.1 [2021-07-06T22:51:44.543Z] + sadf -c /var/log/sa-host/sa06 [2021-07-06T22:51:44.543Z] file_magic: OK [2021-07-06T22:51:44.543Z] HZ: Using current value: 100 [2021-07-06T22:51:44.543Z] file_header: OK [2021-07-06T22:51:44.543Z] 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-07-06T22:51:44.543Z] Statistics: [2021-07-06T22:51:44.543Z] 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...Hnuu...uuuununununu... [2021-07-06T22:51:44.543Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:51:44.801Z] provisioning config files... [2021-07-06T22:51:44.814Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3042236875447303032tmp [Pipeline] { [Pipeline] echo [2021-07-06T22:51:44.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:45.240Z] ---> create-netrc.sh [Pipeline] } [2021-07-06T22:51:45.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:45.705Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-06T22:51:45.741Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:46.077Z] ---> sudo-logs.sh [2021-07-06T22:51:46.078Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-06T22:51:46.186Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:46.533Z] ---> job-cost.sh [2021-07-06T22:51:46.533Z] lf-activate-venv: SKIPPING [2021-07-06T22:51:46.533Z] DEBUG: total: 0.18000000715255737 [2021-07-06T22:51:46.533Z] INFO: Retrieving Stack Cost... [2021-07-06T22:51:47.476Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T22:51:47.737Z] INFO: Archiving Costs [Pipeline] echo [2021-07-06T22:51:47.775Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:51:48.111Z] ---> logs-deploy.sh [2021-07-06T22:51:48.111Z] lf-activate-venv: SKIPPING [2021-07-06T22:51:48.111Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/1 [2021-07-06T22:51:48.111Z] INFO: archiving workspace using pattern(s): [2021-07-06T22:51:49.055Z] Archives upload complete. [2021-07-06T22:51:49.055Z] INFO: archiving logs to Nexus [2021-07-06T22:51:49.626Z] ---> uname -a: [2021-07-06T22:51:49.626Z] Linux prd-centos7-docker-4c-2g-221.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-07-06T22:51:49.626Z] [2021-07-06T22:51:49.626Z]