Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e697b4492d61b291e25afe90594ef703f17e91d3 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-centos7-docker-4c-2g-4553’ Running on prd-centos7-docker-4c-2g-4563 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision e697b4492d61b291e25afe90594ef703f17e91d3 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 Commit message: "Merge pull request #230 from ernestojeda/rename-makefile-images" > git rev-list --no-walk e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:22:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:22:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:22:00 ========================================================= 18:22:00 EdgeX Global Pipelines Version Info 18:22:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:22:02 ------------------- 18:22:02 stable info: 18:22:02 ------------------- 18:22:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:22:02 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:22:02 Message: update stable to v1.0.192 18:22:03 ------------------- 18:22:03 experimental info: 18:22:03 ------------------- 18:22:03 Commited By: **** collab-it+edgex@linuxfoundation.org 18:22:03 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:22:03 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e697b44 [Pipeline] echo 18:22:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:22:04 provisioning config files... 18:22:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2548459156416788166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:04 ---> docker-login.sh 18:22:04 nexus3.edgexfoundry.org:10001 18:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:04 Configure a credential helper to remove this warning. See 18:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:04 18:22:04 Login Succeeded 18:22:04 nexus3.edgexfoundry.org:10002 18:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:04 Configure a credential helper to remove this warning. See 18:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:04 18:22:04 Login Succeeded 18:22:04 nexus3.edgexfoundry.org:10003 18:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:05 Configure a credential helper to remove this warning. See 18:22:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:05 18:22:05 Login Succeeded 18:22:05 nexus3.edgexfoundry.org:10004 18:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:05 Configure a credential helper to remove this warning. See 18:22:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:05 18:22:05 Login Succeeded 18:22:05 docker.io 18:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:05 Configure a credential helper to remove this warning. See 18:22:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:05 18:22:05 Login Succeeded 18:22:05 ---> docker-login.sh ends [Pipeline] } 18:22:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:22:06 + git log --format=format:%s -1 e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] echo 18:22:06 GIT_COMMIT: e697b4492d61b291e25afe90594ef703f17e91d3, Commit Message: Merge pull request #230 from ernestojeda/rename-makefile-images [Pipeline] echo 18:22:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:22:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:06 18:22:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:22:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:07 latest: Pulling from edgex-devops/git-semver 18:22:07 31603596830f: Pulling fs layer 18:22:07 54011a49482f: Pulling fs layer 18:22:07 a6820b24f6d8: Pulling fs layer 18:22:07 f581987b2513: Pulling fs layer 18:22:07 f581987b2513: Waiting 18:22:07 54011a49482f: Download complete 18:22:07 31603596830f: Verifying Checksum 18:22:07 31603596830f: Download complete 18:22:07 f581987b2513: Verifying Checksum 18:22:07 f581987b2513: Download complete 18:22:07 a6820b24f6d8: Verifying Checksum 18:22:07 a6820b24f6d8: Download complete 18:22:07 31603596830f: Pull complete 18:22:07 54011a49482f: Pull complete 18:22:08 a6820b24f6d8: Pull complete 18:22:08 f581987b2513: Pull complete 18:22:08 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:22:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:22:09 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 18:22:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:22:10 $ docker top 4ed55f2545c69a6eec108c1a32e074a12421466a346c49a69d3effba1387b3f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:22:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:22:11 [ssh-agent] Looking for ssh-agent implementation... 18:22:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:22:11 $ docker exec 4ed55f2545c69a6eec108c1a32e074a12421466a346c49a69d3effba1387b3f2 ssh-agent 18:22:11 SSH_AUTH_SOCK=/tmp/ssh-vlwmwjgAjGn5/agent.11 18:22:11 SSH_AGENT_PID=17 18:22:11 Running ssh-add (command line suppressed) 18:22:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6441831390769831074.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6441831390769831074.key) 18:22:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:22:11 + git tag --points-at HEAD [Pipeline] } 18:22:11 $ docker exec --env ******** --env ******** 4ed55f2545c69a6eec108c1a32e074a12421466a346c49a69d3effba1387b3f2 ssh-agent -k 18:22:12 unset SSH_AUTH_SOCK; 18:22:12 unset SSH_AGENT_PID; 18:22:12 echo Agent pid 17 killed; 18:22:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:22:12 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.2-dev.9' [Pipeline] sshagent 18:22:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:22:12 [ssh-agent] Looking for ssh-agent implementation... 18:22:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:22:12 $ docker exec 4ed55f2545c69a6eec108c1a32e074a12421466a346c49a69d3effba1387b3f2 ssh-agent 18:22:12 SSH_AUTH_SOCK=/tmp/ssh-0zwGee0CQ3AW/agent.46 18:22:12 SSH_AGENT_PID=51 18:22:12 Running ssh-add (command line suppressed) 18:22:12 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2538564273539875830.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2538564273539875830.key) 18:22:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:22:13 + git semver init 18:22:13 # -> Open(): unable to determine branch for HEAD 18:22:13 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 18:22:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 18:22:13 # $SEMVER_REMOTE_NAME = origin 18:22:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:22:13 # $SEMVER_USER_NAME = edgex-jenkins 18:22:13 # $SEMVER_BRANCH = master 18:22:13 # $SEMVER_TEMP = /tmp/semver-777757303 18:22:13 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 18:22:13 # '/tmp/semver-777757303' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 18:22:13 # -> Force: false 18:22:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 18:22:13 $ docker exec --env ******** --env ******** 4ed55f2545c69a6eec108c1a32e074a12421466a346c49a69d3effba1387b3f2 ssh-agent -k 18:22:13 unset SSH_AUTH_SOCK; 18:22:13 unset SSH_AGENT_PID; 18:22:13 echo Agent pid 51 killed; 18:22:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:22:14 + git semver [Pipeline] } 18:22:14 $ docker stop --time=1 4ed55f2545c69a6eec108c1a32e074a12421466a346c49a69d3effba1387b3f2 18:22:15 $ docker rm -f 4ed55f2545c69a6eec108c1a32e074a12421466a346c49a69d3effba1387b3f2 [Pipeline] // withDockerContainer [Pipeline] sh 18:22:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:22:16 Stashed 1 file(s) [Pipeline] echo 18:22:16 [edgeXSemver]: initialized semver on version 1.3.2-dev.10 [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 18:22:31 Still waiting to schedule task 18:22:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:22:31 Still waiting to schedule task 18:22:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:23:16 Running on prd-centos7-docker-4c-2g-4565 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 18:23:16 Running in /w/workspace/device-mqtt-go/41 [Pipeline] { [Pipeline] checkout 18:23:24 using credential edgex-jenkins-ssh 18:23:24 Cloning the remote Git repository 18:23:24 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:23:24 > git init /w/workspace/device-mqtt-go/41 # timeout=10 18:23:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:23:24 > git --version # timeout=10 18:23:24 > git --version # 'git version 2.24.3' 18:23:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:26 Checking out Revision e697b4492d61b291e25afe90594ef703f17e91d3 (master) 18:23:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:23:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:23:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:23:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:23:26 > git config core.sparsecheckout # timeout=10 18:23:26 > git checkout -f e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 18:23:30 Commit message: "Merge pull request #230 from ernestojeda/rename-makefile-images" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:31 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:23:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:23:32 + true 18:23:32 + sudo service docker restart 18:23:32 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:23:33 provisioning config files... 18:23:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/41@tmp/config9206562675304863781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:34 ---> docker-login.sh 18:23:34 nexus3.edgexfoundry.org:10001 18:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:35 Configure a credential helper to remove this warning. See 18:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:35 18:23:35 Login Succeeded 18:23:35 nexus3.edgexfoundry.org:10002 18:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:35 Configure a credential helper to remove this warning. See 18:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:35 18:23:35 Login Succeeded 18:23:35 nexus3.edgexfoundry.org:10003 18:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:35 Configure a credential helper to remove this warning. See 18:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:35 18:23:35 Login Succeeded 18:23:35 nexus3.edgexfoundry.org:10004 18:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:35 Configure a credential helper to remove this warning. See 18:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:35 18:23:35 Login Succeeded 18:23:35 docker.io 18:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:36 Configure a credential helper to remove this warning. See 18:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:36 18:23:36 Login Succeeded 18:23:36 ---> docker-login.sh ends [Pipeline] } 18:23:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:23:36 ========================================================= 18:23:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:23:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:23:36 + 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 . 18:23:37 Sending build context to Docker daemon 554.5kB 18:23:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:23:37 Step 2/8 : FROM ${BASE} 18:23:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:23:37 540db60ca938: Pulling fs layer 18:23:37 adcc1eea9eea: Pulling fs layer 18:23:37 4c4ab2625f07: Pulling fs layer 18:23:37 0510c868ecb4: Pulling fs layer 18:23:37 afea3b2eda06: Pulling fs layer 18:23:37 7809a108b3ef: Pulling fs layer 18:23:37 f706445af74f: Pulling fs layer 18:23:37 afea3b2eda06: Waiting 18:23:37 7809a108b3ef: Waiting 18:23:37 f706445af74f: Waiting 18:23:37 0510c868ecb4: Waiting 18:23:37 4c4ab2625f07: Download complete 18:23:37 adcc1eea9eea: Verifying Checksum 18:23:37 adcc1eea9eea: Download complete 18:23:37 afea3b2eda06: Verifying Checksum 18:23:37 afea3b2eda06: Download complete 18:23:37 7809a108b3ef: Verifying Checksum 18:23:37 7809a108b3ef: Download complete 18:23:37 540db60ca938: Verifying Checksum 18:23:37 540db60ca938: Download complete 18:23:37 540db60ca938: Pull complete 18:23:38 adcc1eea9eea: Pull complete 18:23:38 4c4ab2625f07: Pull complete 18:23:39 f706445af74f: Verifying Checksum 18:23:39 f706445af74f: Download complete 18:23:41 0510c868ecb4: Verifying Checksum 18:23:41 0510c868ecb4: Download complete 18:23:51 0510c868ecb4: Pull complete 18:23:51 afea3b2eda06: Pull complete 18:23:51 7809a108b3ef: Pull complete 18:23:56 f706445af74f: Pull complete 18:23:56 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:23:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:23:56 ---> b068be0155e3 18:23:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:23:56 ---> Running in aee9b337839e 18:23:56 Removing intermediate container aee9b337839e 18:23:56 ---> 63a9647bb9b7 18:23:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:56 ---> Running in 03744b3b88b6 18:23:58 Removing intermediate container 03744b3b88b6 18:23:58 ---> cd9e8185b29a 18:23:58 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:23:58 ---> Running in 96c2b32d02b1 18:23:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:24:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:24:01 (1/13) Installing libc-dev (0.7.2-r3) 18:24:01 (2/13) Installing libsodium (1.0.18-r0) 18:24:01 (3/13) Installing pkgconf (1.7.3-r0) 18:24:01 (4/13) Installing libsodium-dev (1.0.18-r0) 18:24:01 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:24:01 (6/13) Installing libedit (20191231.3.1-r1) 18:24:01 (7/13) Installing openssh-client (8.4_p1-r3) 18:24:01 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:24:01 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:24:01 (10/13) Installing openssh-server (8.4_p1-r3) 18:24:01 (11/13) Installing openssh (8.4_p1-r3) 18:24:02 (12/13) Installing libzmq (4.3.3-r1) 18:24:02 (13/13) Installing zeromq-dev (4.3.3-r1) 18:24:02 Executing busybox-1.32.1-r6.trigger 18:24:02 OK: 156 MiB in 53 packages 18:24:03 Removing intermediate container 96c2b32d02b1 18:24:03 ---> 7492aa92a82a 18:24:03 Step 6/8 : WORKDIR /device-mqtt-go 18:24:03 ---> Running in 5f7bb83c0f0d 18:24:04 Removing intermediate container 5f7bb83c0f0d 18:24:04 ---> 7cb319208d62 18:24:04 Step 7/8 : COPY . . 18:24:05 ---> aa54fcc4fdc3 18:24:05 Step 8/8 : RUN go mod download 18:24:05 ---> Running in c02fbcc9f92e 18:24:37 Removing intermediate container c02fbcc9f92e 18:24:37 ---> d6842d04018d 18:24:37 Successfully built d6842d04018d 18:24:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:24:37 + docker inspect -f . ci-base-image-x86_64 18:24:38 . [Pipeline] withDockerContainer 18:24:38 prd-centos7-docker-4c-2g-4565 does not seem to be running inside a container 18:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/41 -v /w/workspace/device-mqtt-go/41:/w/workspace/device-mqtt-go/41:rw,z -v /w/workspace/device-mqtt-go/41@tmp:/w/workspace/device-mqtt-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:24:39 $ docker top 1393429e3a6d912320b2678d679f8a678178c5fc20ea36a4405c5cdbe28fa83c -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:40 + go version 18:24:40 go version go1.16.3 linux/amd64 [Pipeline] } 18:24:40 $ docker stop --time=1 1393429e3a6d912320b2678d679f8a678178c5fc20ea36a4405c5cdbe28fa83c 18:24:41 $ docker rm -f 1393429e3a6d912320b2678d679f8a678178c5fc20ea36a4405c5cdbe28fa83c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:24:42 + docker inspect -f . ci-base-image-x86_64 18:24:42 . [Pipeline] withDockerContainer 18:24:42 prd-centos7-docker-4c-2g-4565 does not seem to be running inside a container 18:24:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/41 -v /w/workspace/device-mqtt-go/41:/w/workspace/device-mqtt-go/41:rw,z -v /w/workspace/device-mqtt-go/41@tmp:/w/workspace/device-mqtt-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:24:43 $ docker top 4be8bf9bde28f8dd2d86ef656323b7cf37cba9a4da64e5d6fd51527e52ffa1a6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:43 + go mod tidy [Pipeline] sh 18:24:45 + make test 18:24:45 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:24:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:25:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4568 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 18:25:02 Running in /w/workspace/device-mqtt-go/41 [Pipeline] { [Pipeline] checkout 18:25:08 using credential edgex-jenkins-ssh 18:25:08 Cloning the remote Git repository 18:25:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:25:08 > git init /w/workspace/device-mqtt-go/41 # timeout=10 18:25:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:25:08 > git --version # timeout=10 18:25:08 > git --version # 'git version 2.17.1' 18:25:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:25:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:25:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:25:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:25:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:25:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:25:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:25:10 Checking out Revision e697b4492d61b291e25afe90594ef703f17e91d3 (master) 18:25:10 > git config core.sparsecheckout # timeout=10 18:25:10 > git checkout -f e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 18:25:14 Commit message: "Merge pull request #230 from ernestojeda/rename-makefile-images" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:25:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:25:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:25:16 + sudo service docker restart 18:25:16 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:25:19 provisioning config files... 18:25:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/41@tmp/config7182998261569958812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:19 ---> docker-login.sh 18:25:19 nexus3.edgexfoundry.org:10001 18:25:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:25:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 24.9% of statements 18:25:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:25:20 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:21 Configure a credential helper to remove this warning. See 18:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:21 18:25:21 Login Succeeded 18:25:21 nexus3.edgexfoundry.org:10002 18:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:22 Configure a credential helper to remove this warning. See 18:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:22 18:25:22 Login Succeeded 18:25:22 nexus3.edgexfoundry.org:10003 18:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:22 Configure a credential helper to remove this warning. See 18:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:22 18:25:22 Login Succeeded 18:25:22 nexus3.edgexfoundry.org:10004 18:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:22 Configure a credential helper to remove this warning. See 18:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:22 18:25:22 Login Succeeded 18:25:22 docker.io 18:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:23 Configure a credential helper to remove this warning. See 18:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:23 18:25:23 Login Succeeded 18:25:23 ---> docker-login.sh ends [Pipeline] } 18:25:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:25:23 ========================================================= 18:25:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:25:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:25:24 + 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 . 18:25:24 Sending build context to Docker daemon 553.5kB 18:25:24 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:25:24 Step 2/8 : FROM ${BASE} 18:25:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:25:24 595b0fe564bb: Pulling fs layer 18:25:24 7186ed65a4f7: Pulling fs layer 18:25:24 316046926c0a: Pulling fs layer 18:25:24 4ebd0625c992: Pulling fs layer 18:25:24 207e8628e3a3: Pulling fs layer 18:25:24 c791037a9be2: Pulling fs layer 18:25:24 ffd874e62e21: Pulling fs layer 18:25:24 207e8628e3a3: Waiting 18:25:24 c791037a9be2: Waiting 18:25:24 ffd874e62e21: Waiting 18:25:24 4ebd0625c992: Waiting 18:25:24 316046926c0a: Verifying Checksum 18:25:24 316046926c0a: Download complete 18:25:24 7186ed65a4f7: Verifying Checksum 18:25:24 7186ed65a4f7: Download complete 18:25:24 207e8628e3a3: Verifying Checksum 18:25:24 207e8628e3a3: Download complete 18:25:24 c791037a9be2: Verifying Checksum 18:25:24 595b0fe564bb: Download complete 18:25:24 c791037a9be2: Download complete 18:25:25 595b0fe564bb: Pull complete 18:25:25 7186ed65a4f7: Pull complete 18:25:26 316046926c0a: Pull complete 18:25:26 ffd874e62e21: Verifying Checksum 18:25:26 ffd874e62e21: Download complete 18:25:28 4ebd0625c992: Verifying Checksum 18:25:28 4ebd0625c992: Download complete 18:25:36 gofmt -l . 18:25:36 ["`gofmt -l .`" = ""] 18:25:36 ./bin/test-attribution-txt.sh 18:25:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:25:36 $ docker stop --time=1 4be8bf9bde28f8dd2d86ef656323b7cf37cba9a4da64e5d6fd51527e52ffa1a6 18:25:38 4ebd0625c992: Pull complete 18:25:38 207e8628e3a3: Pull complete 18:25:38 c791037a9be2: Pull complete 18:25:38 $ docker rm -f 4be8bf9bde28f8dd2d86ef656323b7cf37cba9a4da64e5d6fd51527e52ffa1a6 [Pipeline] // withDockerContainer [Pipeline] sh 18:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:25:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:25:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:41 + ls -al . 18:25:41 total 108 18:25:41 drwxrwxr-x. 9 jenkins jenkins 4096 May 11 18:25 . 18:25:41 drwxrwxr-x. 4 jenkins jenkins 30 May 11 18:23 .. 18:25:41 -rw-rw-r--. 1 jenkins jenkins 7100 May 11 18:23 Attribution.txt 18:25:41 drwxrwxr-x. 2 jenkins jenkins 87 May 11 18:23 bin 18:25:41 drwxrwxr-x. 3 jenkins jenkins 32 May 11 18:23 cmd 18:25:41 -rw-r--r--. 1 jenkins jenkins 19386 May 11 18:25 coverage.out 18:25:41 -rw-rw-r--. 1 jenkins jenkins 1861 May 11 18:23 Dockerfile 18:25:41 -rw-rw-r--. 1 jenkins jenkins 994 May 11 18:23 Dockerfile.build 18:25:41 -rw-rw-r--. 1 jenkins jenkins 140 May 11 18:23 .dockerignore 18:25:41 drwxrwxr-x. 8 jenkins jenkins 162 May 11 18:23 .git 18:25:41 drwxrwxr-x. 2 jenkins jenkins 103 May 11 18:23 .github 18:25:41 -rw-rw-r--. 1 jenkins jenkins 336 May 11 18:23 .gitignore 18:25:41 -rw-r--r--. 1 jenkins jenkins 409 May 11 18:25 go.mod 18:25:41 -rw-r--r--. 1 jenkins jenkins 21534 May 11 18:24 go.sum 18:25:41 drwxrwxr-x. 3 jenkins jenkins 20 May 11 18:23 internal 18:25:41 -rw-rw-r--. 1 jenkins jenkins 677 May 11 18:23 Jenkinsfile 18:25:41 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 18:23 LICENSE 18:25:41 -rw-rw-r--. 1 jenkins jenkins 930 May 11 18:23 Makefile 18:25:41 drwxrwxr-x. 2 jenkins jenkins 23 May 11 18:23 mock 18:25:41 -rw-rw-r--. 1 jenkins jenkins 2217 May 11 18:23 README.md 18:25:41 drwxrwxr-x. 4 jenkins jenkins 71 May 11 18:23 snap 18:25:41 -rw-rw-r--. 1 jenkins jenkins 12 May 11 18:22 VERSION 18:25:41 -rw-rw-r--. 1 jenkins jenkins 227 May 11 18:23 version.go [Pipeline] isUnix [Pipeline] sh 18:25:41 + 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=e697b4492d61b291e25afe90594ef703f17e91d3 --label arch=amd64 --label version=1.3.2-dev.10 . 18:25:41 ffd874e62e21: Pull complete 18:25:41 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 18:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:25:41 ---> cfc18b08335c 18:25:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:25:41 Sending build context to Docker daemon 574.5kB 18:25:41 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 18:25:41 Step 2/23 : FROM ${BASE} AS builder 18:25:41 ---> d6842d04018d 18:25:41 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:25:42 ---> Running in 5d27598a37cc 18:25:42 Removing intermediate container 5d27598a37cc 18:25:42 ---> 9c8a1a573540 18:25:42 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 18:25:42 ---> Running in 0f2a41263e0e 18:25:43 Removing intermediate container 0f2a41263e0e 18:25:43 ---> 717d3e3f2b00 18:25:43 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:43 ---> Running in f80bb679a1d4 18:25:44 Removing intermediate container f80bb679a1d4 18:25:44 ---> c779d42c602e 18:25:44 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:44 ---> Running in 090207b16913 18:25:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:25:46 ---> Running in b65dc559083e 18:25:46 Removing intermediate container b65dc559083e 18:25:46 ---> 01ccb0bfc6ff 18:25:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:25:46 ---> Running in fe66ae71cad4 18:25:46 OK: 156 MiB in 53 packages 18:25:47 Removing intermediate container 090207b16913 18:25:47 ---> 7f8671b64c72 18:25:47 Step 7/23 : WORKDIR /device-mqtt-go 18:25:47 ---> Running in 9044587d0741 18:25:47 Removing intermediate container 9044587d0741 18:25:47 ---> 64a95e8b92db 18:25:47 Step 8/23 : COPY . . 18:25:48 ---> a15f31fd8064 18:25:48 Step 9/23 : RUN go mod download 18:25:48 ---> Running in 3a4897d106ea 18:25:49 Removing intermediate container fe66ae71cad4 18:25:49 ---> 6ec6722627ec 18:25:49 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:25:49 ---> Running in 5b76ecd9fe32 18:25:50 Removing intermediate container 3a4897d106ea 18:25:50 ---> 84fdf0bde109 18:25:50 Step 10/23 : ARG MAKE='make build' 18:25:50 ---> Running in 559ce12e89bf 18:25:50 Removing intermediate container 559ce12e89bf 18:25:50 ---> bfeedd439a4b 18:25:50 Step 11/23 : RUN $MAKE 18:25:50 ---> Running in 11f7bc741aeb 18:25:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:25:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:25:51 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.10" -o cmd/device-mqtt ./cmd 18:25:53 (1/13) Installing libc-dev (0.7.2-r3) 18:25:53 (2/13) Installing libsodium (1.0.18-r0) 18:25:53 (3/13) Installing pkgconf (1.7.3-r0) 18:25:53 (4/13) Installing libsodium-dev (1.0.18-r0) 18:25:53 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:25:53 (6/13) Installing libedit (20191231.3.1-r1) 18:25:53 (7/13) Installing openssh-client (8.4_p1-r3) 18:25:54 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:25:54 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:25:54 (10/13) Installing openssh-server (8.4_p1-r3) 18:25:55 (11/13) Installing openssh (8.4_p1-r3) 18:25:55 (12/13) Installing libzmq (4.3.3-r1) 18:25:55 (13/13) Installing zeromq-dev (4.3.3-r1) 18:25:55 Executing busybox-1.32.1-r6.trigger 18:25:55 OK: 145 MiB in 53 packages 18:25:57 Removing intermediate container 5b76ecd9fe32 18:25:57 ---> d31307e6e108 18:25:57 Step 6/8 : WORKDIR /device-mqtt-go 18:25:57 ---> Running in 7699353fa391 18:25:58 Removing intermediate container 7699353fa391 18:25:58 ---> d9a69684680e 18:25:58 Step 7/8 : COPY . . 18:25:59 ---> f347ca020b54 18:25:59 Step 8/8 : RUN go mod download 18:25:59 ---> Running in 34b78b575219 18:26:14 GCO_ENABLED=1 GO111MODULE=on go build ./... 18:26:16 Removing intermediate container 11f7bc741aeb 18:26:16 ---> 5390e2610180 18:26:16 Step 12/23 : FROM alpine:3.12 18:26:17 3.12: Pulling from library/alpine 18:26:17 339de151aab4: Pulling fs layer 18:26:17 339de151aab4: Verifying Checksum 18:26:17 339de151aab4: Download complete 18:26:18 339de151aab4: Pull complete 18:26:18 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:26:18 Status: Downloaded newer image for alpine:3.12 18:26:18 ---> 13621d1b12d4 18:26:18 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:26:18 ---> Running in 3c7c9cd245e9 18:26:19 Removing intermediate container 3c7c9cd245e9 18:26:19 ---> 75fa36aa7c05 18:26:19 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 18:26:19 ---> Running in af6788fe5a34 18:26:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:26:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:26:20 (1/6) Installing dumb-init (1.2.2-r1) 18:26:20 (2/6) Installing libgcc (9.3.0-r2) 18:26:20 (3/6) Installing libsodium (1.0.18-r0) 18:26:20 (4/6) Installing libstdc++ (9.3.0-r2) 18:26:20 (5/6) Installing libzmq (4.3.3-r0) 18:26:20 (6/6) Installing zeromq (4.3.3-r0) 18:26:20 Executing busybox-1.31.1-r20.trigger 18:26:20 OK: 8 MiB in 20 packages 18:26:21 Removing intermediate container af6788fe5a34 18:26:21 ---> 5276ec56f49e 18:26:21 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 18:26:22 ---> 98f34e0af99c 18:26:22 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 18:26:23 ---> 3e51d7d823b1 18:26:23 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:26:24 ---> eac2d3c4d6a4 18:26:24 Step 18/23 : EXPOSE 49982 18:26:24 ---> Running in f30bfa838bf0 18:26:24 Removing intermediate container f30bfa838bf0 18:26:24 ---> 4905eb5539fd 18:26:24 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 18:26:24 ---> Running in 7640d67cfc19 18:26:25 Removing intermediate container 7640d67cfc19 18:26:25 ---> 5ea8856a94c4 18:26:25 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:26:25 ---> Running in 599ab0765322 18:26:26 Removing intermediate container 599ab0765322 18:26:26 ---> d92d8b734dcc 18:26:26 Step 21/23 : LABEL arch=amd64 18:26:26 ---> Running in 889c6fb6373a 18:26:26 Removing intermediate container 889c6fb6373a 18:26:26 ---> f0ac8c42af87 18:26:26 Step 22/23 : LABEL git_sha=e697b4492d61b291e25afe90594ef703f17e91d3 18:26:26 ---> Running in 79dfae45360e 18:26:27 Removing intermediate container 79dfae45360e 18:26:27 ---> adbcacffc551 18:26:27 Step 23/23 : LABEL version=1.3.2-dev.10 18:26:27 ---> Running in e88460625341 18:26:27 Removing intermediate container e88460625341 18:26:27 ---> 8bd375b50b9a 18:26:27 [Warning] One or more build-args [ARCH] were not consumed 18:26:27 Successfully built 8bd375b50b9a 18:26:27 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:26:27 provisioning config files... 18:26:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/41@tmp/config1849188764935116572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:28 ---> docker-login.sh 18:26:28 nexus3.edgexfoundry.org:10001 18:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:28 Configure a credential helper to remove this warning. See 18:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:28 18:26:28 Login Succeeded 18:26:28 nexus3.edgexfoundry.org:10002 18:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:29 Configure a credential helper to remove this warning. See 18:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:29 18:26:29 Login Succeeded 18:26:29 nexus3.edgexfoundry.org:10003 18:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:29 Configure a credential helper to remove this warning. See 18:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:29 18:26:29 Login Succeeded 18:26:29 nexus3.edgexfoundry.org:10004 18:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:29 Configure a credential helper to remove this warning. See 18:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:29 18:26:29 Login Succeeded 18:26:29 docker.io 18:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:30 Configure a credential helper to remove this warning. See 18:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:30 18:26:30 Login Succeeded 18:26:30 ---> docker-login.sh ends [Pipeline] } 18:26:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:26:30 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 18:26:30 e697b4492d61b291e25afe90594ef703f17e91d3 18:26:30 latest 18:26:30 1.3.2-dev.10 18:26:30 e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 18:26:30 master 18:26:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:26:30 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] isUnix [Pipeline] sh 18:26:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e697b4492d61b291e25afe90594ef703f17e91d3 18:26:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:26:30 d7058fb5e44d: Preparing 18:26:30 33562f0c2149: Preparing 18:26:30 ff585acddd47: Preparing 18:26:30 2419aaf7b23a: Preparing 18:26:30 32f366d666a5: Preparing 18:26:30 32f366d666a5: Layer already exists 18:26:31 33562f0c2149: Pushed 18:26:31 d7058fb5e44d: Pushed 18:26:31 2419aaf7b23a: Pushed 18:26:32 Removing intermediate container 34b78b575219 18:26:32 ---> 66006d9b2480 18:26:32 Successfully built 66006d9b2480 18:26:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:26:32 + docker inspect -f . ci-base-image-arm64 18:26:32 . [Pipeline] withDockerContainer 18:26:32 prd-ubuntu18.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container 18:26:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/41 -v /w/workspace/device-mqtt-go/41:/w/workspace/device-mqtt-go/41:rw,z -v /w/workspace/device-mqtt-go/41@tmp:/w/workspace/device-mqtt-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:26:32 ff585acddd47: Pushed 18:26:32 e697b4492d61b291e25afe90594ef703f17e91d3: digest: sha256:758aa40347423e9d25161d31d0bb1dad834f8b18a1eb7f9431b788ee32c86fa5 size: 1365 18:26:34 $ docker top 8ee40785f2c671d87be8fc10c971d480de60e959d435e52fd065684e26c861a3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 18:26:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 18:26:35 + go version 18:26:35 go version go1.16.3 linux/arm64 [Pipeline] } 18:26:35 $ docker stop --time=1 8ee40785f2c671d87be8fc10c971d480de60e959d435e52fd065684e26c861a3 18:26:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:26:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:26:35 d7058fb5e44d: Preparing 18:26:35 33562f0c2149: Preparing 18:26:35 ff585acddd47: Preparing 18:26:35 2419aaf7b23a: Preparing 18:26:35 32f366d666a5: Preparing 18:26:35 32f366d666a5: Layer already exists 18:26:35 33562f0c2149: Layer already exists 18:26:35 d7058fb5e44d: Layer already exists 18:26:35 ff585acddd47: Layer already exists 18:26:35 2419aaf7b23a: Layer already exists 18:26:35 latest: digest: sha256:758aa40347423e9d25161d31d0bb1dad834f8b18a1eb7f9431b788ee32c86fa5 size: 1365 18:26:37 $ docker rm -f 8ee40785f2c671d87be8fc10c971d480de60e959d435e52fd065684e26c861a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:26:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 18:26:38 + docker inspect -f . ci-base-image-arm64 18:26:38 . [Pipeline] withDockerContainer 18:26:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.10 18:26:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:26:38 d7058fb5e44d: Preparing 18:26:38 33562f0c2149: Preparing 18:26:38 ff585acddd47: Preparing 18:26:38 2419aaf7b23a: Preparing 18:26:38 32f366d666a5: Preparing 18:26:38 ff585acddd47: Layer already exists 18:26:38 32f366d666a5: Layer already exists 18:26:38 2419aaf7b23a: Layer already exists 18:26:38 33562f0c2149: Layer already exists 18:26:38 d7058fb5e44d: Layer already exists 18:26:38 1.3.2-dev.10: digest: sha256:758aa40347423e9d25161d31d0bb1dad834f8b18a1eb7f9431b788ee32c86fa5 size: 1365 18:26:38 prd-ubuntu18.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container 18:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/41 -v /w/workspace/device-mqtt-go/41:/w/workspace/device-mqtt-go/41:rw,z -v /w/workspace/device-mqtt-go/41@tmp:/w/workspace/device-mqtt-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:26:40 $ docker top 5357965e30797f3a6ae53a0338cd5fa3bf0a9811b8bf95a80e594a558b576517 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 18:26:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 18:26:41 + go mod tidy 18:26:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 18:26:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:26:41 d7058fb5e44d: Preparing 18:26:41 33562f0c2149: Preparing 18:26:41 ff585acddd47: Preparing 18:26:41 2419aaf7b23a: Preparing 18:26:41 32f366d666a5: Preparing 18:26:41 33562f0c2149: Layer already exists 18:26:41 d7058fb5e44d: Layer already exists 18:26:41 2419aaf7b23a: Layer already exists 18:26:41 32f366d666a5: Layer already exists 18:26:41 ff585acddd47: Layer already exists 18:26:41 e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10: digest: sha256:758aa40347423e9d25161d31d0bb1dad834f8b18a1eb7f9431b788ee32c86fa5 size: 1365 [Pipeline] isUnix [Pipeline] sh [Pipeline] sh 18:26:42 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 18:26:42 + make test 18:26:42 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:26:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 18:26:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:26:42 d7058fb5e44d: Preparing 18:26:42 33562f0c2149: Preparing 18:26:42 ff585acddd47: Preparing 18:26:42 2419aaf7b23a: Preparing 18:26:42 32f366d666a5: Preparing 18:26:42 2419aaf7b23a: Layer already exists 18:26:42 33562f0c2149: Layer already exists 18:26:42 ff585acddd47: Layer already exists 18:26:42 32f366d666a5: Layer already exists 18:26:42 d7058fb5e44d: Layer already exists 18:26:42 master: digest: sha256:758aa40347423e9d25161d31d0bb1dad834f8b18a1eb7f9431b788ee32c86fa5 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:26:42 ===================================================== [Pipeline] echo 18:26:42 taggedImages: 18:26:42 - nexus3.edgexfoundry.org:10004/device-mqtt:e697b4492d61b291e25afe90594ef703f17e91d3 18:26:42 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:26:42 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.10 18:26:42 - nexus3.edgexfoundry.org:10004/device-mqtt:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 18:26:42 - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:26:43 ---> job-cost.sh 18:26:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EdL0 18:26:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:27:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:27:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:27:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.047s coverage: 24.9% of statements 18:27:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:27:44 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:27:44 lf-activate-venv(): INFO: Adding /tmp/venv-EdL0/bin to PATH 18:27:44 INFO: No Stack... 18:27:44 INFO: Retrieving Pricing Info for: v1-standard-2 18:27:44 INFO: Archiving Costs [Pipeline] sh 18:27:45 + cat /w/workspace/device-mqtt-go/41/archives/cost.csv 18:27:45 + cut -d, -f6 [Pipeline] lock 18:27:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] 18:27:45 Resource [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] did not exist. Created. 18:27:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:27:45 + echo total: 0.029999999329447746 [Pipeline] stash 18:27:45 Stashed 1 file(s) [Pipeline] } 18:27:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:28:16 gofmt -l . 18:28:16 ["`gofmt -l .`" = ""] 18:28:16 ./bin/test-attribution-txt.sh 18:28:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:28:16 $ docker stop --time=1 5357965e30797f3a6ae53a0338cd5fa3bf0a9811b8bf95a80e594a558b576517 18:28:18 $ docker rm -f 5357965e30797f3a6ae53a0338cd5fa3bf0a9811b8bf95a80e594a558b576517 [Pipeline] // withDockerContainer [Pipeline] sh 18:28:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:28:19 Warning: overwriting stash ‘coverage-report’ 18:28:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:28:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:28:21 + ls -al . 18:28:21 total 140 18:28:21 drwxrwxr-x 9 jenkins jenkins 4096 May 11 18:28 . 18:28:21 drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:25 .. 18:28:21 -rw-rw-r-- 1 jenkins jenkins 140 May 11 18:25 .dockerignore 18:28:21 drwxrwxr-x 8 jenkins jenkins 4096 May 11 18:25 .git 18:28:21 drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:25 .github 18:28:21 -rw-rw-r-- 1 jenkins jenkins 336 May 11 18:25 .gitignore 18:28:21 -rw-rw-r-- 1 jenkins jenkins 7100 May 11 18:25 Attribution.txt 18:28:21 -rw-rw-r-- 1 jenkins jenkins 1861 May 11 18:25 Dockerfile 18:28:21 -rw-rw-r-- 1 jenkins jenkins 994 May 11 18:25 Dockerfile.build 18:28:21 -rw-rw-r-- 1 jenkins jenkins 677 May 11 18:25 Jenkinsfile 18:28:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 18:25 LICENSE 18:28:21 -rw-rw-r-- 1 jenkins jenkins 930 May 11 18:25 Makefile 18:28:21 -rw-rw-r-- 1 jenkins jenkins 2217 May 11 18:25 README.md 18:28:21 -rw-rw-r-- 1 jenkins jenkins 12 May 11 18:22 VERSION 18:28:21 drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:25 bin 18:28:21 drwxrwxr-x 3 jenkins jenkins 4096 May 11 18:25 cmd 18:28:21 -rw-r--r-- 1 jenkins jenkins 19386 May 11 18:27 coverage.out 18:28:21 -rw-r--r-- 1 jenkins jenkins 409 May 11 18:28 go.mod 18:28:21 -rw-r--r-- 1 jenkins jenkins 21534 May 11 18:26 go.sum 18:28:21 drwxrwxr-x 3 jenkins jenkins 4096 May 11 18:25 internal 18:28:21 drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:25 mock 18:28:21 drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:25 snap 18:28:21 -rw-rw-r-- 1 jenkins jenkins 227 May 11 18:25 version.go [Pipeline] isUnix [Pipeline] sh 18:28:21 + 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=e697b4492d61b291e25afe90594ef703f17e91d3 --label arch=arm64 --label version=1.3.2-dev.10 . 18:28:21 Sending build context to Docker daemon 573.4kB 18:28:22 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 18:28:22 Step 2/23 : FROM ${BASE} AS builder 18:28:22 ---> 66006d9b2480 18:28:22 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:28:22 ---> Running in c759bf5b65af 18:28:22 Removing intermediate container c759bf5b65af 18:28:22 ---> 9046ab285864 18:28:22 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 18:28:22 ---> Running in bdc44fe61098 18:28:23 Removing intermediate container bdc44fe61098 18:28:23 ---> 980839899d27 18:28:23 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:28:23 ---> Running in ef914c5146ce 18:28:26 Removing intermediate container ef914c5146ce 18:28:26 ---> 4bdee7966c72 18:28:26 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:28:26 ---> Running in df5afa69c844 18:28:27 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:28:28 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:28:29 OK: 145 MiB in 53 packages 18:28:30 Removing intermediate container df5afa69c844 18:28:30 ---> 8e89e7027461 18:28:30 Step 7/23 : WORKDIR /device-mqtt-go 18:28:30 ---> Running in adf42577567f 18:28:31 Removing intermediate container adf42577567f 18:28:31 ---> 520ed4c86bc0 18:28:31 Step 8/23 : COPY . . 18:28:32 ---> 453c28a9e41d 18:28:32 Step 9/23 : RUN go mod download 18:28:32 ---> Running in 1b6e7e932999 18:28:35 Removing intermediate container 1b6e7e932999 18:28:35 ---> 8f84ccd56ac9 18:28:35 Step 10/23 : ARG MAKE='make build' 18:28:35 ---> Running in acebc336dad9 18:28:35 Removing intermediate container acebc336dad9 18:28:35 ---> 33fadf1ba968 18:28:35 Step 11/23 : RUN $MAKE 18:28:35 ---> Running in 4ec972b02ff0 18:28:37 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.10" -o cmd/device-mqtt ./cmd 18:29:16 GCO_ENABLED=1 GO111MODULE=on go build ./... 18:29:22 Removing intermediate container 4ec972b02ff0 18:29:22 ---> eed7fa5c17c3 18:29:22 Step 12/23 : FROM alpine:3.12 18:29:23 3.12: Pulling from library/alpine 18:29:23 d2f70382dc9a: Pulling fs layer 18:29:23 d2f70382dc9a: Verifying Checksum 18:29:23 d2f70382dc9a: Download complete 18:29:24 d2f70382dc9a: Pull complete 18:29:24 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:29:24 Status: Downloaded newer image for alpine:3.12 18:29:24 ---> 9852663dfa18 18:29:24 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:29:24 ---> Running in b138dfdccfbc 18:29:24 Removing intermediate container b138dfdccfbc 18:29:24 ---> d983df0ae058 18:29:24 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 18:29:24 ---> Running in cc2d0a996b2f 18:29:25 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:29:26 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:29:26 (1/6) Installing dumb-init (1.2.2-r1) 18:29:26 (2/6) Installing libgcc (9.3.0-r2) 18:29:26 (3/6) Installing libsodium (1.0.18-r0) 18:29:26 (4/6) Installing libstdc++ (9.3.0-r2) 18:29:26 (5/6) Installing libzmq (4.3.3-r0) 18:29:26 (6/6) Installing zeromq (4.3.3-r0) 18:29:26 Executing busybox-1.31.1-r20.trigger 18:29:26 OK: 8 MiB in 20 packages 18:29:27 Removing intermediate container cc2d0a996b2f 18:29:27 ---> d7397e76e129 18:29:27 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 18:29:29 ---> 79dea2135bbc 18:29:29 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 18:29:30 ---> 8685b7ef9c54 18:29:30 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:29:30 ---> 6fb711bc2ed4 18:29:30 Step 18/23 : EXPOSE 49982 18:29:30 ---> Running in 1b8479b6ab82 18:29:31 Removing intermediate container 1b8479b6ab82 18:29:31 ---> 8a6707d0fff3 18:29:31 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 18:29:31 ---> Running in 539a8384ad28 18:29:31 Removing intermediate container 539a8384ad28 18:29:31 ---> 1cc7f1ae2630 18:29:31 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:29:32 ---> Running in 5133e5b4149f 18:29:32 Removing intermediate container 5133e5b4149f 18:29:32 ---> ca237a805e60 18:29:32 Step 21/23 : LABEL arch=arm64 18:29:32 ---> Running in f541af87939d 18:29:33 Removing intermediate container f541af87939d 18:29:33 ---> fed5eea8ec32 18:29:33 Step 22/23 : LABEL git_sha=e697b4492d61b291e25afe90594ef703f17e91d3 18:29:33 ---> Running in d5c869c1ea52 18:29:33 Removing intermediate container d5c869c1ea52 18:29:33 ---> 579b84ed9b31 18:29:33 Step 23/23 : LABEL version=1.3.2-dev.10 18:29:33 ---> Running in c3d602a567d6 18:29:34 Removing intermediate container c3d602a567d6 18:29:34 ---> affdb4940c51 18:29:34 [Warning] One or more build-args [ARCH] were not consumed 18:29:34 Successfully built affdb4940c51 18:29:34 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:29:34 provisioning config files... 18:29:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/41@tmp/config54512593061890991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:35 ---> docker-login.sh 18:29:35 nexus3.edgexfoundry.org:10001 18:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:35 Configure a credential helper to remove this warning. See 18:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:35 18:29:35 Login Succeeded 18:29:35 nexus3.edgexfoundry.org:10002 18:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:36 Configure a credential helper to remove this warning. See 18:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:36 18:29:36 Login Succeeded 18:29:36 nexus3.edgexfoundry.org:10003 18:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:36 Configure a credential helper to remove this warning. See 18:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:36 18:29:36 Login Succeeded 18:29:36 nexus3.edgexfoundry.org:10004 18:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:37 Configure a credential helper to remove this warning. See 18:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:37 18:29:37 Login Succeeded 18:29:37 docker.io 18:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:38 Configure a credential helper to remove this warning. See 18:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:38 18:29:38 Login Succeeded 18:29:38 ---> docker-login.sh ends [Pipeline] } 18:29:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:29:38 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:29:38 e697b4492d61b291e25afe90594ef703f17e91d3 18:29:38 latest 18:29:38 1.3.2-dev.10 18:29:38 e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 18:29:38 master 18:29:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:29:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] isUnix [Pipeline] sh 18:29:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e697b4492d61b291e25afe90594ef703f17e91d3 18:29:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:29:39 2afa54d3adb7: Preparing 18:29:39 5470b86fcb44: Preparing 18:29:39 f8ddc9bd9681: Preparing 18:29:39 93744316c844: Preparing 18:29:39 3fbe34a1663b: Preparing 18:29:39 3fbe34a1663b: Layer already exists 18:29:39 2afa54d3adb7: Pushed 18:29:39 5470b86fcb44: Pushed 18:29:40 93744316c844: Pushed 18:29:41 f8ddc9bd9681: Pushed 18:29:42 e697b4492d61b291e25afe90594ef703f17e91d3: digest: sha256:5786238acd60d76c49aca52b4bfcffdfc4d462cd0bf1746164015aaf99e2002d size: 1365 [Pipeline] isUnix [Pipeline] sh 18:29:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:29:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:29:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:29:42 2afa54d3adb7: Preparing 18:29:42 5470b86fcb44: Preparing 18:29:42 f8ddc9bd9681: Preparing 18:29:42 93744316c844: Preparing 18:29:42 3fbe34a1663b: Preparing 18:29:43 5470b86fcb44: Layer already exists 18:29:43 93744316c844: Layer already exists 18:29:43 3fbe34a1663b: Layer already exists 18:29:43 f8ddc9bd9681: Layer already exists 18:29:43 2afa54d3adb7: Layer already exists 18:29:43 latest: digest: sha256:5786238acd60d76c49aca52b4bfcffdfc4d462cd0bf1746164015aaf99e2002d size: 1365 [Pipeline] isUnix [Pipeline] sh 18:29:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 18:29:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.10 18:29:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:29:43 2afa54d3adb7: Preparing 18:29:43 5470b86fcb44: Preparing 18:29:43 f8ddc9bd9681: Preparing 18:29:43 93744316c844: Preparing 18:29:43 3fbe34a1663b: Preparing 18:29:43 2afa54d3adb7: Layer already exists 18:29:43 5470b86fcb44: Layer already exists 18:29:43 3fbe34a1663b: Layer already exists 18:29:43 93744316c844: Layer already exists 18:29:43 f8ddc9bd9681: Layer already exists 18:29:44 1.3.2-dev.10: digest: sha256:5786238acd60d76c49aca52b4bfcffdfc4d462cd0bf1746164015aaf99e2002d size: 1365 [Pipeline] isUnix [Pipeline] sh 18:29:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh 18:29:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 18:29:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:29:44 2afa54d3adb7: Preparing 18:29:44 5470b86fcb44: Preparing 18:29:44 f8ddc9bd9681: Preparing 18:29:44 93744316c844: Preparing 18:29:44 3fbe34a1663b: Preparing 18:29:45 93744316c844: Layer already exists 18:29:45 2afa54d3adb7: Layer already exists 18:29:45 f8ddc9bd9681: Layer already exists 18:29:45 5470b86fcb44: Layer already exists 18:29:45 3fbe34a1663b: Layer already exists 18:29:45 e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10: digest: sha256:5786238acd60d76c49aca52b4bfcffdfc4d462cd0bf1746164015aaf99e2002d size: 1365 [Pipeline] isUnix [Pipeline] sh 18:29:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 18:29:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 18:29:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:29:45 2afa54d3adb7: Preparing 18:29:45 5470b86fcb44: Preparing 18:29:45 f8ddc9bd9681: Preparing 18:29:45 93744316c844: Preparing 18:29:45 3fbe34a1663b: Preparing 18:29:45 3fbe34a1663b: Layer already exists 18:29:45 2afa54d3adb7: Layer already exists 18:29:45 93744316c844: Layer already exists 18:29:45 f8ddc9bd9681: Layer already exists 18:29:45 5470b86fcb44: Layer already exists 18:29:46 master: digest: sha256:5786238acd60d76c49aca52b4bfcffdfc4d462cd0bf1746164015aaf99e2002d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:29:46 ===================================================== [Pipeline] echo 18:29:46 taggedImages: 18:29:46 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e697b4492d61b291e25afe90594ef703f17e91d3 18:29:46 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:29:46 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.10 18:29:46 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.10 18:29:46 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:29:46 ---> job-cost.sh 18:29:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9QAr 18:30:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:32:25 lf-activate-venv(): INFO: Adding /tmp/venv-9QAr/bin to PATH 18:32:25 INFO: No Stack... 18:32:25 INFO: Retrieving Pricing Info for: lf-standard-4 18:32:25 INFO: Archiving Costs [Pipeline] sh 18:32:25 + cat /w/workspace/device-mqtt-go/41/archives/cost.csv 18:32:25 + cut -d, -f6 [Pipeline] lock 18:32:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] 18:32:25 Resource [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] did not exist. Created. 18:32:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:32:26 /w/workspace/device-mqtt-go/41@tmp/durable-2ac2f841/script.sh: 1: /w/workspace/device-mqtt-go/41@tmp/durable-2ac2f841/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:32:26 + echo total: 0.20999999344348907 [Pipeline] stash 18:32:26 Warning: overwriting stash ‘stack-cost’ 18:32:26 Stashed 1 file(s) [Pipeline] } 18:32:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-41-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 18:32:27 provisioning config files... 18:32:27 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7050063508310570066tmp [Pipeline] { [Pipeline] sh 18:32:27 + set +x 18:32:27 + curl -s https://codecov.io/bash 18:32:27 + bash -s -- 18:32:27 18:32:27 _____ _ 18:32:27 / ____| | | 18:32:27 | | ___ __| | ___ ___ _____ __ 18:32:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:32:27 | |___| (_) | (_| | __/ (_| (_) \ V / 18:32:27 \_____\___/ \__,_|\___|\___\___/ \_/ 18:32:27 Bash-1.0.2 18:32:27 18:32:27 18:32:27 ==> git version 2.24.3 found 18:32:27 ==> 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 18:32:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:32:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:32:27 ==> Jenkins CI detected. 18:32:27 project root: . 18:32:27 --> token set from env 18:32:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:32:27 ==> Running gcov in . (disable via -X gcov) 18:32:27 ==> Python coveragepy not found 18:32:27 ==> Searching for coverage reports in: 18:32:27 + . 18:32:27 -> Found 1 reports 18:32:27 ==> Detecting git/mercurial file structure 18:32:27 ==> Reading reports 18:32:27 + ./coverage.out bytes=19386 18:32:27 ==> Appending adjustments 18:32:27 https://docs.codecov.io/docs/fixing-reports 18:32:27 + Found adjustments 18:32:27 ==> Gzipping contents 18:32:27 4.0K /tmp/codecov.Oiq3GJ.gz 18:32:27 ==> Uploading reports 18:32:27 url: https://codecov.io 18:32:27 query: branch=master&commit=e697b4492d61b291e25afe90594ef703f17e91d3&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:32:27 -> Pinging Codecov 18:32:27 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=e697b4492d61b291e25afe90594ef703f17e91d3&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:32:28 -> Uploading to 18:32:28 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7D719EC7BBE17E464838252E33014C33/e697b4492d61b291e25afe90594ef703f17e91d3/a8ff9055-9954-4a2c-890e-835651107b8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T183228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c10f4a0bd7b0fe00776244b371083c573b3dc18d7f92804e975d142d480d387 18:32:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:32:28 Dload Upload Total Spent Left Speed 18:32:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3396 0 0 100 3396 0 8337 --:--:-- --:--:-- --:--:-- 8323 18:32:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] } 18:32:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:32:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:32:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:32:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:32:29 18:32:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:32:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:32:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:32:30 188c0c94c7c5: Pulling fs layer 18:32:30 0ef7d3d256c8: Pulling fs layer 18:32:30 de9db76c5a1d: Pulling fs layer 18:32:30 0eba1c9be4d2: Pulling fs layer 18:32:30 0d57e429df01: Pulling fs layer 18:32:30 4e4be7b47b0d: Pulling fs layer 18:32:30 e1f770b5df2f: Pulling fs layer 18:32:30 85a0685a4137: Pulling fs layer 18:32:30 0d57e429df01: Waiting 18:32:30 4e4be7b47b0d: Waiting 18:32:30 85a0685a4137: Waiting 18:32:30 e1f770b5df2f: Waiting 18:32:30 0eba1c9be4d2: Waiting 18:32:30 de9db76c5a1d: Verifying Checksum 18:32:30 de9db76c5a1d: Download complete 18:32:30 0ef7d3d256c8: Download complete 18:32:30 0d57e429df01: Verifying Checksum 18:32:30 0d57e429df01: Download complete 18:32:30 4e4be7b47b0d: Verifying Checksum 18:32:30 4e4be7b47b0d: Download complete 18:32:30 188c0c94c7c5: Verifying Checksum 18:32:30 188c0c94c7c5: Download complete 18:32:30 188c0c94c7c5: Pull complete 18:32:30 0ef7d3d256c8: Pull complete 18:32:30 de9db76c5a1d: Pull complete 18:32:31 e1f770b5df2f: Verifying Checksum 18:32:31 e1f770b5df2f: Download complete 18:32:33 0eba1c9be4d2: Download complete 18:32:33 85a0685a4137: Verifying Checksum 18:32:33 85a0685a4137: Download complete 18:32:40 0eba1c9be4d2: Pull complete 18:32:40 0d57e429df01: Pull complete 18:32:40 4e4be7b47b0d: Pull complete 18:32:41 e1f770b5df2f: Pull complete 18:32:50 85a0685a4137: Pull complete 18:32:50 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:32:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:32:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:32:50 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 18:32:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:32:51 $ docker top 31d43658af51847e140224bb60355e1484f032d868bcc924f937a17466c04e00 -eo pid,comm [Pipeline] { [Pipeline] echo 18:32:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:32:52 + set -o pipefail 18:32:52 + snyk monitor '--org=edgex-jenkins' 18:33:02 18:33:02 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 18:33:02 18:33:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/34f85de8-008b-4b1c-967e-1f42adf31c0d 18:33:02 18:33:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:33:02 18:33:02 [Pipeline] } 18:33:02 $ docker stop --time=1 31d43658af51847e140224bb60355e1484f032d868bcc924f937a17466c04e00 18:33:05 $ docker rm -f 31d43658af51847e140224bb60355e1484f032d868bcc924f937a17466c04e00 [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 18:33:06 + git log --format=format:%s -1 e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] isUnix [Pipeline] sh 18:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:33:06 . [Pipeline] withDockerContainer 18:33:07 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 18:33:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:33:08 $ docker top cd42dcf838ca948c86361204416de338a3f869b922a5c78bcd627639227d2922 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:33:08 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.9' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:33:08 + git semver [Pipeline] } 18:33:08 $ docker stop --time=1 cd42dcf838ca948c86361204416de338a3f869b922a5c78bcd627639227d2922 18:33:09 $ docker rm -f cd42dcf838ca948c86361204416de338a3f869b922a5c78bcd627639227d2922 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:33:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:33:10 18:33:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:33:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:33:10 0.23.1-centos7: Pulling from edgex-lftools 18:33:10 ab5ef0e58194: Pulling fs layer 18:33:10 9712f1f96733: Pulling fs layer 18:33:10 63f879dbbcfc: Pulling fs layer 18:33:10 0d9ebad4ef96: Pulling fs layer 18:33:10 e9a5061849ea: Pulling fs layer 18:33:10 d747dcd14b5f: Pulling fs layer 18:33:10 2de7ff778b66: Pulling fs layer 18:33:10 e9a5061849ea: Waiting 18:33:10 d747dcd14b5f: Waiting 18:33:10 2de7ff778b66: Waiting 18:33:10 0d9ebad4ef96: Waiting 18:33:10 9712f1f96733: Verifying Checksum 18:33:10 9712f1f96733: Download complete 18:33:11 63f879dbbcfc: Verifying Checksum 18:33:11 63f879dbbcfc: Download complete 18:33:12 e9a5061849ea: Verifying Checksum 18:33:12 e9a5061849ea: Download complete 18:33:12 d747dcd14b5f: Verifying Checksum 18:33:12 d747dcd14b5f: Download complete 18:33:12 2de7ff778b66: Verifying Checksum 18:33:12 2de7ff778b66: Download complete 18:33:12 0d9ebad4ef96: Verifying Checksum 18:33:12 0d9ebad4ef96: Download complete 18:33:13 ab5ef0e58194: Verifying Checksum 18:33:13 ab5ef0e58194: Download complete 18:33:18 ab5ef0e58194: Pull complete 18:33:18 9712f1f96733: Pull complete 18:33:20 63f879dbbcfc: Pull complete 18:33:27 0d9ebad4ef96: Pull complete 18:33:28 e9a5061849ea: Pull complete 18:33:28 d747dcd14b5f: Pull complete 18:33:31 2de7ff778b66: Pull complete 18:33:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:33:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:33:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:33:31 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 18:33:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:33:36 $ docker top b1cf44c584b62b291f80597cddf5a570cd2f6cf73d3ed08520883b4c9f0aa12b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:33:36 provisioning config files... 18:33:36 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2688198685350162737tmp 18:33:36 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2703179547950917889tmp 18:33:36 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1892206061206242261tmp [Pipeline] { [Pipeline] echo 18:33:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:33:36 ---> sigul-configuration.sh 18:33:36 gpg: directory `/root/.gnupg' created 18:33:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:33:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:33:36 gpg: keyring `/root/.gnupg/secring.gpg' created 18:33:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:33:36 gpg: CAST5 encrypted data 18:33:36 gpg: encrypted with 1 passphrase 18:33:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:33:37 + mkdir /home/jenkins 18:33:37 + mkdir /home/jenkins/sigul [Pipeline] sh 18:33:37 + 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 18:33:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:33:37 ---> sigul-install.sh 18:33:44 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 18:33:44 + git tag --list 18:33:44 0.7.1 18:33:44 v1.0.0 18:33:44 v1.1.0 18:33:44 v1.1.1 18:33:44 v1.2.2 18:33:44 v1.3.0 18:33:44 v1.3.1 18:33:44 v1.3.1-dev.1 18:33:44 v1.3.1-dev.2 18:33:44 v1.3.1-dev.3 18:33:44 v1.3.1-dev.4 18:33:44 v1.3.2-dev.1 18:33:44 v1.3.2-dev.2 18:33:44 v1.3.2-dev.3 18:33:44 v1.3.2-dev.4 18:33:44 v1.3.2-dev.5 18:33:44 v1.3.2-dev.6 18:33:44 v1.3.2-dev.7 18:33:44 v1.3.2-dev.8 18:33:44 v1.3.2-dev.9 [Pipeline] sh 18:33:44 + lftools sign git-tag v1.3.2-dev.10 18:33:46 Signing Git tag with Sigul... 18:33:46 Signing v1.3.2-dev.10 18:33:46 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v1.3.2-dev.10'], return code 1, stdout , stderr [Pipeline] echo 18:33:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:33:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:33:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:33:47 $ docker stop --time=1 b1cf44c584b62b291f80597cddf5a570cd2f6cf73d3ed08520883b4c9f0aa12b 18:33:48 $ docker rm -f b1cf44c584b62b291f80597cddf5a570cd2f6cf73d3ed08520883b4c9f0aa12b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 18:33:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:33:49 . [Pipeline] withDockerContainer 18:33:49 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 18:33:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:33:50 $ docker top cb9a9e80c420fcfa11f7b2a8d6e8343047999a080c5d733a2147a895836d5fae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:33:50 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.9' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:33:50 + git semver [Pipeline] } 18:33:50 $ docker stop --time=1 cb9a9e80c420fcfa11f7b2a8d6e8343047999a080c5d733a2147a895836d5fae 18:33:52 $ docker rm -f cb9a9e80c420fcfa11f7b2a8d6e8343047999a080c5d733a2147a895836d5fae [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:33:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:33:52 . [Pipeline] withDockerContainer 18:33:52 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 18:33:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:33:53 $ docker top 1eac0f9427b9ae5652e8834864185b36373f7133c9c35735c246c67e1100d4b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:33:53 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.9' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:33:54 + git semver [Pipeline] } 18:33:54 $ docker stop --time=1 1eac0f9427b9ae5652e8834864185b36373f7133c9c35735c246c67e1100d4b7 18:33:55 $ docker rm -f 1eac0f9427b9ae5652e8834864185b36373f7133c9c35735c246c67e1100d4b7 [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 18:33:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:33:57 ---> package-listing.sh 18:33:57 ++ facter osfamily 18:33:57 ++ tr '[:upper:]' '[:lower:]' 18:33:57 + OS_FAMILY=redhat 18:33:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 18:33:57 + START_PACKAGES=/tmp/packages_start.txt 18:33:57 + END_PACKAGES=/tmp/packages_end.txt 18:33:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:33:57 + PACKAGES=/tmp/packages_start.txt 18:33:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 18:33:57 + PACKAGES=/tmp/packages_end.txt 18:33:57 + case "${OS_FAMILY}" in 18:33:57 + rpm -qa 18:33:57 + sort 18:34:02 + '[' -f /tmp/packages_start.txt ']' 18:34:02 + '[' -f /tmp/packages_end.txt ']' 18:34:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:34:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 18:34:02 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 18:34:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 18:34:02 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:34:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:34:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:34:02 18:34:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:34:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:34:03 alpine: Pulling from edgex-lftools-log-publisher 18:34:03 df20fa9351a1: Pulling fs layer 18:34:03 36b3adc4ff6f: Pulling fs layer 18:34:03 8ad3a11d3b57: Pulling fs layer 18:34:03 46f8f816bc3b: Pulling fs layer 18:34:03 93b61091891f: Pulling fs layer 18:34:03 93b9cdb0e59b: Pulling fs layer 18:34:03 5e14af77c1be: Pulling fs layer 18:34:03 01666e4c0597: Pulling fs layer 18:34:03 aa168da1d23b: Pulling fs layer 18:34:03 93b9cdb0e59b: Waiting 18:34:03 5e14af77c1be: Waiting 18:34:03 01666e4c0597: Waiting 18:34:03 aa168da1d23b: Waiting 18:34:03 46f8f816bc3b: Waiting 18:34:03 93b61091891f: Waiting 18:34:03 36b3adc4ff6f: Verifying Checksum 18:34:03 36b3adc4ff6f: Download complete 18:34:03 46f8f816bc3b: Download complete 18:34:03 df20fa9351a1: Verifying Checksum 18:34:03 df20fa9351a1: Download complete 18:34:03 93b9cdb0e59b: Verifying Checksum 18:34:03 93b9cdb0e59b: Download complete 18:34:03 5e14af77c1be: Verifying Checksum 18:34:03 5e14af77c1be: Download complete 18:34:03 01666e4c0597: Download complete 18:34:03 93b61091891f: Verifying Checksum 18:34:03 93b61091891f: Download complete 18:34:03 8ad3a11d3b57: Verifying Checksum 18:34:03 8ad3a11d3b57: Download complete 18:34:03 df20fa9351a1: Pull complete 18:34:04 36b3adc4ff6f: Pull complete 18:34:05 8ad3a11d3b57: Pull complete 18:34:05 aa168da1d23b: Verifying Checksum 18:34:05 aa168da1d23b: Download complete 18:34:05 46f8f816bc3b: Pull complete 18:34:06 93b61091891f: Pull complete 18:34:06 93b9cdb0e59b: Pull complete 18:34:06 5e14af77c1be: Pull complete 18:34:06 01666e4c0597: Pull complete 18:34:14 aa168da1d23b: Pull complete 18:34:14 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:34:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:34:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:34:15 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 18:34:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:34:17 $ docker top e282716d31cba838be8d57258cd9d9db1c4556fc32d8757b2c9cf2bca4e1f01c -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:18 + touch /tmp/pre-build-complete [Pipeline] sh 18:34:18 + mkdir -p /var/log/sa [Pipeline] sh 18:34:18 + ls /var/log/sa-host 18:34:18 + sadf -c /var/log/sa-host/sa11 18:34:18 file_magic: OK 18:34:18 HZ: Using current value: 100 18:34:18 file_header: OK 18:34:18 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 18:34:18 Statistics: 18:34:18 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... 18:34:18 File successfully converted to sysstat format version 12.2.1 18:34:18 + sadf -c /var/log/sa-host/sa23 18:34:18 file_magic: OK 18:34:18 HZ: Using current value: 100 18:34:18 file_header: OK 18:34:18 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 18:34:18 Statistics: 18:34:18 Hnuu...uuuununununu... 18:34:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:34:19 provisioning config files... 18:34:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7546927149152683891tmp [Pipeline] { [Pipeline] echo 18:34:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:34:19 ---> create-netrc.sh [Pipeline] } 18:34:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:34:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:34:19 ---> python-tools-install.sh [Pipeline] echo 18:34:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:34:20 ---> sudo-logs.sh 18:34:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:34:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:34:20 ---> job-cost.sh 18:34:20 lf-activate-venv: SKIPPING 18:34:20 DEBUG: total: 0.20999999344348907 18:34:20 INFO: Retrieving Stack Cost... 18:34:21 INFO: Retrieving Pricing Info for: v1-standard-2 18:34:22 INFO: Archiving Costs [Pipeline] echo 18:34:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:34:22 ---> logs-deploy.sh 18:34:22 lf-activate-venv: SKIPPING 18:34:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/41 18:34:22 INFO: archiving workspace using pattern(s): 18:34:23 Archives upload complete. 18:34:24 INFO: archiving logs to Nexus