Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3634576038249494121.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2145628534911572032.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh462445381479279768.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4024102083699773919.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6216089417112335236.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 ‘prd-centos7-docker-4c-2g-904’ is offline Running on prd-centos7-docker-4c-2g-908 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 (master) Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh5571964460769835482.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 Commit message: "Merge pull request #267 from siggiskulason/snap-fix-v2" > git rev-list --no-walk c0141a04964c7f4d66f753227731f52f68418698 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:26:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:26:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:26:41 ========================================================= 14:26:41 EdgeX Global Pipelines Version Info 14:26:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:26:42 ------------------- 14:26:42 stable info: 14:26:42 ------------------- 14:26:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:26:42 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 14:26:42 Message: update stable to v1.0.193 14:26:43 ------------------- 14:26:43 experimental info: 14:26:43 ------------------- 14:26:43 Commited By: **** collab-it+edgex@linuxfoundation.org 14:26:43 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 14:26:43 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 14:26:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 364aaac [Pipeline] echo 14:26:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:26:44 provisioning config files... 14:26:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4550031746096621137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:44 ---> docker-login.sh 14:26:44 nexus3.edgexfoundry.org:10001 14:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:44 Configure a credential helper to remove this warning. See 14:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:44 14:26:44 Login Succeeded 14:26:44 nexus3.edgexfoundry.org:10002 14:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:44 Configure a credential helper to remove this warning. See 14:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:44 14:26:44 Login Succeeded 14:26:44 nexus3.edgexfoundry.org:10003 14:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:45 Configure a credential helper to remove this warning. See 14:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:45 14:26:45 Login Succeeded 14:26:45 nexus3.edgexfoundry.org:10004 14:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:45 Configure a credential helper to remove this warning. See 14:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:45 14:26:45 Login Succeeded 14:26:45 docker.io 14:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:45 Configure a credential helper to remove this warning. See 14:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:45 14:26:45 Login Succeeded 14:26:45 ---> docker-login.sh ends [Pipeline] } 14:26:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:26:46 + git log --format=format:%s -1 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] echo 14:26:46 GIT_COMMIT: 364aaac6e8b1d39c25d77f1e456fe76b5cda0568, Commit Message: Merge pull request #267 from siggiskulason/snap-fix-v2 [Pipeline] echo 14:26:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:26:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:26:46 14:26:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:26:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:26:47 latest: Pulling from edgex-devops/git-semver 14:26:47 31603596830f: Pulling fs layer 14:26:47 54011a49482f: Pulling fs layer 14:26:47 a6820b24f6d8: Pulling fs layer 14:26:47 f581987b2513: Pulling fs layer 14:26:47 f581987b2513: Waiting 14:26:47 54011a49482f: Verifying Checksum 14:26:47 54011a49482f: Download complete 14:26:47 31603596830f: Verifying Checksum 14:26:47 31603596830f: Download complete 14:26:47 f581987b2513: Verifying Checksum 14:26:47 f581987b2513: Download complete 14:26:47 31603596830f: Pull complete 14:26:47 a6820b24f6d8: Verifying Checksum 14:26:47 a6820b24f6d8: Download complete 14:26:47 54011a49482f: Pull complete 14:26:48 a6820b24f6d8: Pull complete 14:26:48 f581987b2513: Pull complete 14:26:48 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 14:26:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:26:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:26:48 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 14:26:48 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:26:49 $ docker top 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:26:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:49 [ssh-agent] Looking for ssh-agent implementation... 14:26:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:50 $ docker exec 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent 14:26:50 SSH_AUTH_SOCK=/tmp/ssh-VOWd84srFedN/agent.14 14:26:50 SSH_AGENT_PID=21 14:26:50 Running ssh-add (command line suppressed) 14:26:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6268833183773469751.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6268833183773469751.key) 14:26:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:50 + git tag --points-at HEAD [Pipeline] } 14:26:50 $ docker exec --env ******** --env ******** 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent -k 14:26:50 unset SSH_AUTH_SOCK; 14:26:50 unset SSH_AGENT_PID; 14:26:50 echo Agent pid 21 killed; 14:26:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:26:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:50 [ssh-agent] Looking for ssh-agent implementation... 14:26:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:51 $ docker exec 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent 14:26:51 SSH_AUTH_SOCK=/tmp/ssh-0gOoV1qsnDRg/agent.56 14:26:51 SSH_AGENT_PID=62 14:26:51 Running ssh-add (command line suppressed) 14:26:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7561853692665921052.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7561853692665921052.key) 14:26:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:51 + git semver init 14:26:51 # -> Open(): unable to determine branch for HEAD 14:26:51 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 14:26:51 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 14:26:51 # $SEMVER_REMOTE_NAME = origin 14:26:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:26:51 # $SEMVER_USER_NAME = edgex-jenkins 14:26:51 # $SEMVER_BRANCH = master 14:26:51 # $SEMVER_TEMP = /tmp/semver-073495892 14:26:51 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 14:26:52 # '/tmp/semver-073495892' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 14:26:52 # -> Force: false 14:26:52 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 14:26:52 $ docker exec --env ******** --env ******** 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent -k 14:26:52 unset SSH_AUTH_SOCK; 14:26:52 unset SSH_AGENT_PID; 14:26:52 echo Agent pid 62 killed; 14:26:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:26:52 + git semver [Pipeline] } 14:26:52 $ docker stop --time=1 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 14:26:54 $ docker rm -f 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 [Pipeline] // withDockerContainer [Pipeline] sh 14:26:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:26:55 Stashed 1 file(s) [Pipeline] echo 14:26:55 [edgeXSemver]: initialized semver on version 1.3.2-dev.19 [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 14:27:10 Still waiting to schedule task 14:27:10 ‘prd-centos7-docker-4c-2g-909’ is offline 14:27:10 Still waiting to schedule task 14:27:10 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ 14:27:29 Running on prd-centos7-docker-4c-2g-910 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 14:27:29 Running in /w/workspace/device-mqtt-go/51 [Pipeline] { [Pipeline] checkout 14:27:29 Selected Git installation does not exist. Using Default 14:27:29 The recommended git tool is: NONE 14:27:31 using credential edgex-jenkins-ssh 14:27:31 Cloning the remote Git repository 14:27:31 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:27:31 > git init /w/workspace/device-mqtt-go/51 # timeout=10 14:27:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:27:31 > git --version # timeout=10 14:27:31 > git --version # 'git version 2.24.4' 14:27:31 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:31 [INFO] Currently running in a labeled security context 14:27:31 [INFO] Currently SELinux is 'enforcing' on the host 14:27:31 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/51@tmp/jenkins-gitclient-ssh2212778201059202275.key 14:27:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:32 Avoid second fetch 14:27:32 Checking out Revision 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 (master) 14:27:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:27:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:32 > git config core.sparsecheckout # timeout=10 14:27:32 > git checkout -f 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 14:27:36 Commit message: "Merge pull request #267 from siggiskulason/snap-fix-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:27:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 14:27:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:27:37 + sudo service docker restart 14:27:37 + true 14:27:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:27:56 provisioning config files... 14:27:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config3456196240609054816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:27:56 ---> docker-login.sh 14:27:56 nexus3.edgexfoundry.org:10001 14:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:56 Configure a credential helper to remove this warning. See 14:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:56 14:27:56 Login Succeeded 14:27:56 nexus3.edgexfoundry.org:10002 14:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:56 Configure a credential helper to remove this warning. See 14:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:56 14:27:56 Login Succeeded 14:27:56 nexus3.edgexfoundry.org:10003 14:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:56 Configure a credential helper to remove this warning. See 14:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:56 14:27:56 Login Succeeded 14:27:56 nexus3.edgexfoundry.org:10004 14:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:56 Configure a credential helper to remove this warning. See 14:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:56 14:27:56 Login Succeeded 14:27:56 docker.io 14:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:57 Configure a credential helper to remove this warning. See 14:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:57 14:27:57 Login Succeeded 14:27:57 ---> docker-login.sh ends [Pipeline] } 14:27:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:27:57 ========================================================= 14:27:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:27:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:27:57 + 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 . 14:27:57 Sending build context to Docker daemon 588.3kB 14:27:57 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 14:27:57 Step 2/8 : FROM ${BASE} 14:27:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:27:57 540db60ca938: Pulling fs layer 14:27:57 adcc1eea9eea: Pulling fs layer 14:27:57 4c4ab2625f07: Pulling fs layer 14:27:57 0510c868ecb4: Pulling fs layer 14:27:57 afea3b2eda06: Pulling fs layer 14:27:57 7809a108b3ef: Pulling fs layer 14:27:57 f706445af74f: Pulling fs layer 14:27:57 0510c868ecb4: Waiting 14:27:57 afea3b2eda06: Waiting 14:27:57 7809a108b3ef: Waiting 14:27:57 f706445af74f: Waiting 14:27:58 4c4ab2625f07: Verifying Checksum 14:27:58 4c4ab2625f07: Download complete 14:27:58 adcc1eea9eea: Verifying Checksum 14:27:58 adcc1eea9eea: Download complete 14:27:58 afea3b2eda06: Verifying Checksum 14:27:58 afea3b2eda06: Download complete 14:27:58 7809a108b3ef: Verifying Checksum 14:27:58 7809a108b3ef: Download complete 14:27:58 540db60ca938: Verifying Checksum 14:27:58 540db60ca938: Download complete 14:27:58 540db60ca938: Pull complete 14:27:58 adcc1eea9eea: Pull complete 14:27:58 4c4ab2625f07: Pull complete 14:27:59 f706445af74f: Verifying Checksum 14:27:59 f706445af74f: Download complete 14:28:01 0510c868ecb4: Verifying Checksum 14:28:01 0510c868ecb4: Download complete 14:28:05 0510c868ecb4: Pull complete 14:28:05 afea3b2eda06: Pull complete 14:28:05 7809a108b3ef: Pull complete 14:28:06 f706445af74f: Pull complete 14:28:06 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 14:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:28:06 ---> b068be0155e3 14:28:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 14:28:10 ---> Running in 4ae9d6a387db 14:28:10 Removing intermediate container 4ae9d6a387db 14:28:10 ---> 7d01bf0f0561 14:28:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:28:10 ---> Running in 00c910dafcd1 14:28:10 Removing intermediate container 00c910dafcd1 14:28:10 ---> bac83db65cda 14:28:10 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:28:10 ---> Running in c264733a4dc2 14:28:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:28:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:28:12 (1/13) Installing libc-dev (0.7.2-r3) 14:28:12 (2/13) Installing libsodium (1.0.18-r0) 14:28:13 (3/13) Installing pkgconf (1.7.3-r0) 14:28:13 (4/13) Installing libsodium-dev (1.0.18-r0) 14:28:13 (5/13) Installing openssh-keygen (8.4_p1-r3) 14:28:13 (6/13) Installing libedit (20191231.3.1-r1) 14:28:13 (7/13) Installing openssh-client (8.4_p1-r3) 14:28:13 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 14:28:13 (9/13) Installing openssh-server-common (8.4_p1-r3) 14:28:14 (10/13) Installing openssh-server (8.4_p1-r3) 14:28:14 (11/13) Installing openssh (8.4_p1-r3) 14:28:14 (12/13) Installing libzmq (4.3.3-r1) 14:28:14 (13/13) Installing zeromq-dev (4.3.3-r1) 14:28:14 Executing busybox-1.32.1-r6.trigger 14:28:14 OK: 156 MiB in 53 packages 14:28:14 Removing intermediate container c264733a4dc2 14:28:14 ---> 0f64363e89fa 14:28:14 Step 6/8 : WORKDIR /device-mqtt-go 14:28:14 ---> Running in 7df5c8c5bb6c 14:28:14 Removing intermediate container 7df5c8c5bb6c 14:28:14 ---> c5216e8d6fb0 14:28:14 Step 7/8 : COPY . . 14:28:15 ---> 2e72449a6b8a 14:28:15 Step 8/8 : RUN go mod download 14:28:15 ---> Running in 193c4bef4433 14:28:27 Removing intermediate container 193c4bef4433 14:28:27 ---> 4a872342b7d5 14:28:27 Successfully built 4a872342b7d5 14:28:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:28:27 + docker inspect -f . ci-base-image-x86_64 14:28:27 . [Pipeline] withDockerContainer 14:28:27 prd-centos7-docker-4c-2g-910 does not seem to be running inside a container 14:28:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:28:28 $ docker top df620cb069cd6480a7ebce7cd5f1d7ac035b5efe9d6a87896477e926338d62cd -eo pid,comm [Pipeline] { [Pipeline] sh 14:28:28 + go version 14:28:28 go version go1.16.3 linux/amd64 [Pipeline] } 14:28:28 $ docker stop --time=1 df620cb069cd6480a7ebce7cd5f1d7ac035b5efe9d6a87896477e926338d62cd 14:28:29 $ docker rm -f df620cb069cd6480a7ebce7cd5f1d7ac035b5efe9d6a87896477e926338d62cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:28:30 + docker inspect -f . ci-base-image-x86_64 14:28:30 . [Pipeline] withDockerContainer 14:28:30 prd-centos7-docker-4c-2g-910 does not seem to be running inside a container 14:28:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:28:30 $ docker top fa41703f8c72a5d2834b44f7a802b31016d86c5ae86d4050d1e277c58e6845c6 -eo pid,comm [Pipeline] { [Pipeline] sh 14:28:31 + go mod tidy [Pipeline] sh 14:28:31 + make test 14:28:31 go mod tidy 14:28:31 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:28:32 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:28:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:28:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 23.0% of statements 14:28:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:28:48 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:28:55 gofmt -l . 14:28:55 ["`gofmt -l .`" = ""] 14:28:55 ./bin/test-attribution-txt.sh [Pipeline] } 14:28:55 $ docker stop --time=1 fa41703f8c72a5d2834b44f7a802b31016d86c5ae86d4050d1e277c58e6845c6 14:28:57 $ docker rm -f fa41703f8c72a5d2834b44f7a802b31016d86c5ae86d4050d1e277c58e6845c6 [Pipeline] // withDockerContainer [Pipeline] sh 14:28:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:28:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:29:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:29:00 + ls -al . 14:29:00 total 108 14:29:00 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 8 14:28 . 14:29:00 drwxrwxr-x. 4 jenkins jenkins 30 Jun 8 14:27 .. 14:29:00 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 8 14:27 Attribution.txt 14:29:00 drwxrwxr-x. 2 jenkins jenkins 60 Jun 8 14:27 bin 14:29:00 drwxrwxr-x. 3 jenkins jenkins 32 Jun 8 14:27 cmd 14:29:00 -rw-r--r--. 1 jenkins jenkins 19385 Jun 8 14:28 coverage.out 14:29:00 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 8 14:27 Dockerfile 14:29:00 -rw-rw-r--. 1 jenkins jenkins 994 Jun 8 14:27 Dockerfile.build 14:29:00 -rw-rw-r--. 1 jenkins jenkins 140 Jun 8 14:27 .dockerignore 14:29:00 drwxrwxr-x. 8 jenkins jenkins 162 Jun 8 14:27 .git 14:29:00 drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 14:27 .github 14:29:00 -rw-rw-r--. 1 jenkins jenkins 336 Jun 8 14:27 .gitignore 14:29:00 -rw-rw-r--. 1 jenkins jenkins 409 Jun 8 14:27 go.mod 14:29:00 -rw-r--r--. 1 jenkins jenkins 20960 Jun 8 14:28 go.sum 14:29:00 drwxrwxr-x. 3 jenkins jenkins 20 Jun 8 14:27 internal 14:29:00 -rw-rw-r--. 1 jenkins jenkins 677 Jun 8 14:27 Jenkinsfile 14:29:00 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 8 14:27 LICENSE 14:29:00 -rw-rw-r--. 1 jenkins jenkins 907 Jun 8 14:27 Makefile 14:29:00 drwxrwxr-x. 2 jenkins jenkins 23 Jun 8 14:27 mock 14:29:00 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 8 14:27 README.md 14:29:00 drwxrwxr-x. 4 jenkins jenkins 71 Jun 8 14:27 snap 14:29:00 -rw-rw-r--. 1 jenkins jenkins 12 Jun 8 14:26 VERSION 14:29:00 -rw-rw-r--. 1 jenkins jenkins 227 Jun 8 14:27 version.go [Pipeline] isUnix [Pipeline] sh 14:29:00 + 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=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 --label arch=amd64 --label version=1.3.2-dev.19 . 14:29:00 Sending build context to Docker daemon 608.3kB 14:29:00 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 14:29:00 Step 2/24 : FROM ${BASE} AS builder 14:29:00 ---> 4a872342b7d5 14:29:00 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:29:00 ---> Running in 7d842c59364a 14:29:00 Removing intermediate container 7d842c59364a 14:29:00 ---> f165b62ce18d 14:29:00 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 14:29:01 ---> Running in 9be00424c7fc 14:29:01 Removing intermediate container 9be00424c7fc 14:29:01 ---> 859a229a07d3 14:29:01 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:29:01 ---> Running in 6bf23908f22f 14:29:01 Removing intermediate container 6bf23908f22f 14:29:01 ---> 12ddc6dbb731 14:29:01 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:29:01 ---> Running in 47a6b0391d19 14:29:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:29:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:29:03 OK: 156 MiB in 53 packages 14:29:03 Removing intermediate container 47a6b0391d19 14:29:03 ---> 719ee0a8e738 14:29:03 Step 7/24 : WORKDIR /device-mqtt-go 14:29:03 ---> Running in 024eb211eaa4 14:29:03 Removing intermediate container 024eb211eaa4 14:29:03 ---> 42112bdbdd59 14:29:03 Step 8/24 : COPY . . 14:29:04 ---> 61e4f68c2dc3 14:29:04 Step 9/24 : RUN go mod tidy 14:29:04 ---> Running in c43434213e86 14:29:04 Removing intermediate container c43434213e86 14:29:04 ---> a0184d115351 14:29:04 Step 10/24 : RUN go mod download 14:29:04 ---> Running in 46926d9bf207 14:29:05 Removing intermediate container 46926d9bf207 14:29:05 ---> 7c210371dbc9 14:29:05 Step 11/24 : ARG MAKE='make build' 14:29:05 ---> Running in c94d4f595862 14:29:05 Removing intermediate container c94d4f595862 14:29:05 ---> f3d4effacb53 14:29:05 Step 12/24 : RUN $MAKE 14:29:05 ---> Running in a0f400979e04 14:29:05 go mod tidy 14:29:05 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.19" -o cmd/device-mqtt ./cmd 14:29:18 Removing intermediate container a0f400979e04 14:29:18 ---> d019500884c2 14:29:18 Step 13/24 : FROM alpine:3.12 14:29:18 3.12: Pulling from library/alpine 14:29:18 339de151aab4: Pulling fs layer 14:29:18 339de151aab4: Verifying Checksum 14:29:18 339de151aab4: Download complete 14:29:18 339de151aab4: Pull complete 14:29:18 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 14:29:18 Status: Downloaded newer image for alpine:3.12 14:29:18 ---> 13621d1b12d4 14:29:18 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:29:18 ---> Running in f6c68e851fad 14:29:18 Removing intermediate container f6c68e851fad 14:29:18 ---> 1ee55f2aa270 14:29:18 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 14:29:18 ---> Running in fcb12e7f4f8e 14:29:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:29:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:29:18 (1/6) Installing dumb-init (1.2.2-r1) 14:29:18 (2/6) Installing libgcc (9.3.0-r2) 14:29:18 (3/6) Installing libsodium (1.0.18-r0) 14:29:18 (4/6) Installing libstdc++ (9.3.0-r2) 14:29:18 (5/6) Installing libzmq (4.3.3-r0) 14:29:18 (6/6) Installing zeromq (4.3.3-r0) 14:29:18 Executing busybox-1.31.1-r20.trigger 14:29:18 OK: 8 MiB in 20 packages 14:29:19 Removing intermediate container fcb12e7f4f8e 14:29:19 ---> 0d3063f8a210 14:29:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 14:29:19 ---> bc516b3af3e1 14:29:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 14:29:19 ---> 48b02dbcae11 14:29:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:29:19 ---> 2b165e67b650 14:29:19 Step 19/24 : EXPOSE 59982 14:29:19 ---> Running in a533ee37d064 14:29:19 Removing intermediate container a533ee37d064 14:29:19 ---> 82ada098f51f 14:29:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 14:29:19 ---> Running in 8cfc4e60a3db 14:29:19 Removing intermediate container 8cfc4e60a3db 14:29:19 ---> 1a81649d1cee 14:29:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:29:19 ---> Running in 1c44f6cd7c45 14:29:19 Removing intermediate container 1c44f6cd7c45 14:29:19 ---> e8063f215489 14:29:19 Step 22/24 : LABEL arch=amd64 14:29:19 ---> Running in 1cb7530b57b0 14:29:19 Removing intermediate container 1cb7530b57b0 14:29:19 ---> a7bd82a08a72 14:29:19 Step 23/24 : LABEL git_sha=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:29:20 ---> Running in 7c8eb67b4e17 14:29:20 Removing intermediate container 7c8eb67b4e17 14:29:20 ---> 535ca3bd8aa6 14:29:20 Step 24/24 : LABEL version=1.3.2-dev.19 14:29:20 ---> Running in e79d7c6d7da7 14:29:20 Removing intermediate container e79d7c6d7da7 14:29:20 ---> 671a6cbf0aa2 14:29:20 [Warning] One or more build-args [ARCH] were not consumed 14:29:20 Successfully built 671a6cbf0aa2 14:29:20 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:20 provisioning config files... 14:29:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config3549630980161489238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:20 ---> docker-login.sh 14:29:20 nexus3.edgexfoundry.org:10001 14:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:20 Configure a credential helper to remove this warning. See 14:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:20 14:29:20 Login Succeeded 14:29:20 nexus3.edgexfoundry.org:10002 14:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:20 Configure a credential helper to remove this warning. See 14:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:20 14:29:20 Login Succeeded 14:29:20 nexus3.edgexfoundry.org:10003 14:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:20 Configure a credential helper to remove this warning. See 14:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:20 14:29:20 Login Succeeded 14:29:20 nexus3.edgexfoundry.org:10004 14:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:21 Configure a credential helper to remove this warning. See 14:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:21 14:29:21 Login Succeeded 14:29:21 docker.io 14:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:21 Configure a credential helper to remove this warning. See 14:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:21 14:29:21 Login Succeeded 14:29:21 ---> docker-login.sh ends [Pipeline] } 14:29:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:29:21 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 14:29:21 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:29:21 latest 14:29:21 1.3.2-dev.19 14:29:21 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 14:29:21 master 14:29:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:29:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] isUnix [Pipeline] sh 14:29:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:29:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:29:22 eb67cae985b1: Preparing 14:29:22 6b4a368f0828: Preparing 14:29:22 d78d52fc27a4: Preparing 14:29:22 b2c4f13ea4a9: Preparing 14:29:22 32f366d666a5: Preparing 14:29:22 32f366d666a5: Layer already exists 14:29:22 eb67cae985b1: Pushed 14:29:22 6b4a368f0828: Pushed 14:29:22 b2c4f13ea4a9: Pushed 14:29:23 d78d52fc27a4: Pushed 14:29:23 364aaac6e8b1d39c25d77f1e456fe76b5cda0568: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 14:29:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 14:29:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:29:24 eb67cae985b1: Preparing 14:29:24 6b4a368f0828: Preparing 14:29:24 d78d52fc27a4: Preparing 14:29:24 b2c4f13ea4a9: Preparing 14:29:24 32f366d666a5: Preparing 14:29:24 6b4a368f0828: Layer already exists 14:29:24 d78d52fc27a4: Layer already exists 14:29:24 eb67cae985b1: Layer already exists 14:29:24 b2c4f13ea4a9: Layer already exists 14:29:24 32f366d666a5: Layer already exists 14:29:24 latest: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 14:29:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.19 14:29:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:29:24 eb67cae985b1: Preparing 14:29:24 6b4a368f0828: Preparing 14:29:24 d78d52fc27a4: Preparing 14:29:24 b2c4f13ea4a9: Preparing 14:29:24 32f366d666a5: Preparing 14:29:24 32f366d666a5: Layer already exists 14:29:24 d78d52fc27a4: Layer already exists 14:29:24 b2c4f13ea4a9: Layer already exists 14:29:24 eb67cae985b1: Layer already exists 14:29:24 6b4a368f0828: Layer already exists 14:29:24 1.3.2-dev.19: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 14:29:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 14:29:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:29:25 eb67cae985b1: Preparing 14:29:25 6b4a368f0828: Preparing 14:29:25 d78d52fc27a4: Preparing 14:29:25 b2c4f13ea4a9: Preparing 14:29:25 32f366d666a5: Preparing 14:29:25 6b4a368f0828: Layer already exists 14:29:25 d78d52fc27a4: Layer already exists 14:29:25 32f366d666a5: Layer already exists 14:29:25 b2c4f13ea4a9: Layer already exists 14:29:25 eb67cae985b1: Layer already exists 14:29:25 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 14:29:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 14:29:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:29:26 eb67cae985b1: Preparing 14:29:26 6b4a368f0828: Preparing 14:29:26 d78d52fc27a4: Preparing 14:29:26 b2c4f13ea4a9: Preparing 14:29:26 32f366d666a5: Preparing 14:29:26 d78d52fc27a4: Layer already exists 14:29:26 6b4a368f0828: Layer already exists 14:29:26 eb67cae985b1: Layer already exists 14:29:26 b2c4f13ea4a9: Layer already exists 14:29:26 32f366d666a5: Layer already exists 14:29:26 master: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:29:26 ===================================================== [Pipeline] echo 14:29:26 taggedImages: 14:29:26 - nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:29:26 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 14:29:26 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.19 14:29:26 - nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 14:29:26 - 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 14:29:27 ---> job-cost.sh 14:29:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1sMW 14:29:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:29:50 lf-activate-venv(): INFO: Adding /tmp/venv-1sMW/bin to PATH 14:29:50 INFO: No Stack... 14:29:50 INFO: Retrieving Pricing Info for: v3-standard-2 14:29:50 INFO: Archiving Costs [Pipeline] sh 14:29:50 + cut -d, -f6 14:29:50 + cat /w/workspace/device-mqtt-go/51/archives/cost.csv [Pipeline] lock 14:29:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] 14:29:50 Resource [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] did not exist. Created. 14:29:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:29:50 + echo total: 0.05999999865889549 [Pipeline] stash 14:29:50 Stashed 1 file(s) [Pipeline] } 14:29:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:29:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-912 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 14:29:59 Running in /w/workspace/device-mqtt-go/51 [Pipeline] { [Pipeline] checkout 14:29:59 Selected Git installation does not exist. Using Default 14:29:59 The recommended git tool is: NONE 14:30:05 using credential edgex-jenkins-ssh 14:30:05 Cloning the remote Git repository 14:30:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:30:05 > git init /w/workspace/device-mqtt-go/51 # timeout=10 14:30:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:30:05 > git --version # timeout=10 14:30:05 > git --version # 'git version 2.17.1' 14:30:05 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:30:08 Avoid second fetch 14:30:08 Checking out Revision 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 (master) 14:30:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:30:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:30:08 > git config core.sparsecheckout # timeout=10 14:30:08 > git checkout -f 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 14:30:12 Commit message: "Merge pull request #267 from siggiskulason/snap-fix-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:30:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 14:30:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:30:14 + + sudotrue service 14:30:14 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:30:32 provisioning config files... 14:30:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config8791828306945463955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:30:33 ---> docker-login.sh 14:30:33 nexus3.edgexfoundry.org:10001 14:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:30:34 Configure a credential helper to remove this warning. See 14:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:30:34 14:30:34 Login Succeeded 14:30:34 nexus3.edgexfoundry.org:10002 14:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:30:34 Configure a credential helper to remove this warning. See 14:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:30:34 14:30:34 Login Succeeded 14:30:34 nexus3.edgexfoundry.org:10003 14:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:30:35 Configure a credential helper to remove this warning. See 14:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:30:35 14:30:35 Login Succeeded 14:30:35 nexus3.edgexfoundry.org:10004 14:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:30:36 Configure a credential helper to remove this warning. See 14:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:30:36 14:30:36 Login Succeeded 14:30:36 docker.io 14:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:30:36 Configure a credential helper to remove this warning. See 14:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:30:36 14:30:36 Login Succeeded 14:30:36 ---> docker-login.sh ends [Pipeline] } 14:30:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:30:37 ========================================================= 14:30:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:30:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:30:37 + 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 . 14:30:37 Sending build context to Docker daemon 587.3kB 14:30:37 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 14:30:37 Step 2/8 : FROM ${BASE} 14:30:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:30:38 595b0fe564bb: Pulling fs layer 14:30:38 7186ed65a4f7: Pulling fs layer 14:30:38 316046926c0a: Pulling fs layer 14:30:38 4ebd0625c992: Pulling fs layer 14:30:38 207e8628e3a3: Pulling fs layer 14:30:38 c791037a9be2: Pulling fs layer 14:30:38 ffd874e62e21: Pulling fs layer 14:30:38 4ebd0625c992: Waiting 14:30:38 207e8628e3a3: Waiting 14:30:38 c791037a9be2: Waiting 14:30:38 ffd874e62e21: Waiting 14:30:38 316046926c0a: Download complete 14:30:38 7186ed65a4f7: Verifying Checksum 14:30:38 7186ed65a4f7: Download complete 14:30:38 207e8628e3a3: Verifying Checksum 14:30:38 207e8628e3a3: Download complete 14:30:38 c791037a9be2: Verifying Checksum 14:30:38 c791037a9be2: Download complete 14:30:38 595b0fe564bb: Verifying Checksum 14:30:38 595b0fe564bb: Download complete 14:30:39 595b0fe564bb: Pull complete 14:30:39 7186ed65a4f7: Pull complete 14:30:39 316046926c0a: Pull complete 14:30:40 ffd874e62e21: Verifying Checksum 14:30:40 ffd874e62e21: Download complete 14:30:41 4ebd0625c992: Verifying Checksum 14:30:41 4ebd0625c992: Download complete 14:30:53 4ebd0625c992: Pull complete 14:30:53 207e8628e3a3: Pull complete 14:30:53 c791037a9be2: Pull complete 14:30:56 ffd874e62e21: Pull complete 14:30:56 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 14:30:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:30:56 ---> cfc18b08335c 14:30:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 14:30:57 ---> Running in cc42749f35ae 14:30:58 Removing intermediate container cc42749f35ae 14:30:58 ---> 433acc072a01 14:30:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:30:58 ---> Running in 0469ca06754a 14:31:01 Removing intermediate container 0469ca06754a 14:31:01 ---> ea322c0c967f 14:31:01 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:31:01 ---> Running in 0dfb32dbb1c3 14:31:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 14:31:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:31:04 (1/13) Installing libc-dev (0.7.2-r3) 14:31:04 (2/13) Installing libsodium (1.0.18-r0) 14:31:04 (3/13) Installing pkgconf (1.7.3-r0) 14:31:04 (4/13) Installing libsodium-dev (1.0.18-r0) 14:31:04 (5/13) Installing openssh-keygen (8.4_p1-r3) 14:31:04 (6/13) Installing libedit (20191231.3.1-r1) 14:31:04 (7/13) Installing openssh-client (8.4_p1-r3) 14:31:05 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 14:31:05 (9/13) Installing openssh-server-common (8.4_p1-r3) 14:31:05 (10/13) Installing openssh-server (8.4_p1-r3) 14:31:05 (11/13) Installing openssh (8.4_p1-r3) 14:31:06 (12/13) Installing libzmq (4.3.3-r1) 14:31:06 (13/13) Installing zeromq-dev (4.3.3-r1) 14:31:06 Executing busybox-1.32.1-r6.trigger 14:31:06 OK: 145 MiB in 53 packages 14:31:07 Removing intermediate container 0dfb32dbb1c3 14:31:07 ---> 75728233f39f 14:31:07 Step 6/8 : WORKDIR /device-mqtt-go 14:31:07 ---> Running in e226d2fc1d9f 14:31:08 Removing intermediate container e226d2fc1d9f 14:31:08 ---> 0eb52cd8bc47 14:31:08 Step 7/8 : COPY . . 14:31:09 ---> 0cee16dd4d85 14:31:09 Step 8/8 : RUN go mod download 14:31:09 ---> Running in 729d84009be7 14:31:36 Removing intermediate container 729d84009be7 14:31:36 ---> 93caf2a6aece 14:31:36 Successfully built 93caf2a6aece 14:31:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:31:36 + docker inspect -f . ci-base-image-arm64 14:31:36 . [Pipeline] withDockerContainer 14:31:36 prd-ubuntu18.04-docker-arm64-4c-16g-912 does not seem to be running inside a container 14:31:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:31:38 $ docker top 7fdfd9db50de6c73d24f83996ff2ee2e30e9ff58fbea6877f491a3a767b75a95 -eo pid,comm [Pipeline] { [Pipeline] sh 14:31:39 + go version 14:31:39 go version go1.16.3 linux/arm64 [Pipeline] } 14:31:39 $ docker stop --time=1 7fdfd9db50de6c73d24f83996ff2ee2e30e9ff58fbea6877f491a3a767b75a95 14:31:41 $ docker rm -f 7fdfd9db50de6c73d24f83996ff2ee2e30e9ff58fbea6877f491a3a767b75a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:31:42 + docker inspect -f . ci-base-image-arm64 14:31:42 . [Pipeline] withDockerContainer 14:31:42 prd-ubuntu18.04-docker-arm64-4c-16g-912 does not seem to be running inside a container 14:31:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:31:44 $ docker top 0d6176efece853472b5116bb1e53f806af272eaed8ec6adc04f04506c1cd26c2 -eo pid,comm [Pipeline] { [Pipeline] sh 14:31:45 + go mod tidy [Pipeline] sh 14:31:46 + make test 14:31:46 go mod tidy 14:31:46 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:31:48 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:32:44 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:32:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 23.0% of statements 14:32:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:32:44 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:33:11 gofmt -l . 14:33:11 ["`gofmt -l .`" = ""] 14:33:11 ./bin/test-attribution-txt.sh [Pipeline] } 14:33:13 $ docker stop --time=1 0d6176efece853472b5116bb1e53f806af272eaed8ec6adc04f04506c1cd26c2 14:33:15 $ docker rm -f 0d6176efece853472b5116bb1e53f806af272eaed8ec6adc04f04506c1cd26c2 [Pipeline] // withDockerContainer [Pipeline] sh 14:33:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:33:16 Warning: overwriting stash ‘coverage-report’ 14:33:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:33:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:33:18 + ls -al . 14:33:18 total 140 14:33:18 drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 14:33 . 14:33:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:30 .. 14:33:18 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 14:30 .dockerignore 14:33:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:30 .git 14:33:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:30 .github 14:33:18 -rw-rw-r-- 1 jenkins jenkins 336 Jun 8 14:30 .gitignore 14:33:18 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 8 14:30 Attribution.txt 14:33:18 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 8 14:30 Dockerfile 14:33:18 -rw-rw-r-- 1 jenkins jenkins 994 Jun 8 14:30 Dockerfile.build 14:33:18 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 14:30 Jenkinsfile 14:33:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 14:30 LICENSE 14:33:18 -rw-rw-r-- 1 jenkins jenkins 907 Jun 8 14:30 Makefile 14:33:18 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 8 14:30 README.md 14:33:18 -rw-rw-r-- 1 jenkins jenkins 12 Jun 8 14:26 VERSION 14:33:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:30 bin 14:33:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 14:30 cmd 14:33:18 -rw-r--r-- 1 jenkins jenkins 19385 Jun 8 14:32 coverage.out 14:33:18 -rw-rw-r-- 1 jenkins jenkins 409 Jun 8 14:30 go.mod 14:33:18 -rw-r--r-- 1 jenkins jenkins 20960 Jun 8 14:31 go.sum 14:33:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 14:30 internal 14:33:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:30 mock 14:33:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:30 snap 14:33:18 -rw-rw-r-- 1 jenkins jenkins 227 Jun 8 14:30 version.go [Pipeline] isUnix [Pipeline] sh 14:33:18 + 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=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 --label arch=arm64 --label version=1.3.2-dev.19 . 14:33:18 Sending build context to Docker daemon 607.2kB 14:33:19 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 14:33:19 Step 2/24 : FROM ${BASE} AS builder 14:33:19 ---> 93caf2a6aece 14:33:19 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:33:19 ---> Running in 7651750752ec 14:33:19 Removing intermediate container 7651750752ec 14:33:19 ---> 771512d7b4e7 14:33:19 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 14:33:19 ---> Running in a1208ac627ff 14:33:20 Removing intermediate container a1208ac627ff 14:33:20 ---> 99f7a21ef52e 14:33:20 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:33:20 ---> Running in fa9a8acf8ee3 14:33:22 Removing intermediate container fa9a8acf8ee3 14:33:22 ---> 579268ddf8a9 14:33:22 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:33:22 ---> Running in bda2da93a694 14:33:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 14:33:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:33:25 OK: 145 MiB in 53 packages 14:33:26 Removing intermediate container bda2da93a694 14:33:26 ---> dff63b430b39 14:33:26 Step 7/24 : WORKDIR /device-mqtt-go 14:33:26 ---> Running in 6f6a3dfceb5a 14:33:27 Removing intermediate container 6f6a3dfceb5a 14:33:27 ---> 431a2ae8f20b 14:33:27 Step 8/24 : COPY . . 14:33:28 ---> 79cf10d09567 14:33:28 Step 9/24 : RUN go mod tidy 14:33:28 ---> Running in 266f82be50f8 14:33:31 Removing intermediate container 266f82be50f8 14:33:31 ---> 89a9ca17e547 14:33:31 Step 10/24 : RUN go mod download 14:33:31 ---> Running in 46f39cfa3b9b 14:33:34 Removing intermediate container 46f39cfa3b9b 14:33:34 ---> 7d5ba69f09be 14:33:34 Step 11/24 : ARG MAKE='make build' 14:33:34 ---> Running in 3c7214a5b95d 14:33:34 Removing intermediate container 3c7214a5b95d 14:33:34 ---> 1c7a9bfd4497 14:33:34 Step 12/24 : RUN $MAKE 14:33:34 ---> Running in 26ced9dc76a7 14:33:35 go mod tidy 14:33:36 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.19" -o cmd/device-mqtt ./cmd 14:34:15 Removing intermediate container 26ced9dc76a7 14:34:15 ---> 0b1a40953721 14:34:15 Step 13/24 : FROM alpine:3.12 14:34:15 3.12: Pulling from library/alpine 14:34:15 d2f70382dc9a: Pulling fs layer 14:34:15 d2f70382dc9a: Verifying Checksum 14:34:15 d2f70382dc9a: Download complete 14:34:15 d2f70382dc9a: Pull complete 14:34:15 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 14:34:15 Status: Downloaded newer image for alpine:3.12 14:34:15 ---> 9852663dfa18 14:34:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:34:15 ---> Running in 48228ca0926a 14:34:15 Removing intermediate container 48228ca0926a 14:34:15 ---> af2b8e0a7aee 14:34:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 14:34:15 ---> Running in 417ae681d36a 14:34:16 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:34:16 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:34:16 (1/6) Installing dumb-init (1.2.2-r1) 14:34:16 (2/6) Installing libgcc (9.3.0-r2) 14:34:16 (3/6) Installing libsodium (1.0.18-r0) 14:34:16 (4/6) Installing libstdc++ (9.3.0-r2) 14:34:16 (5/6) Installing libzmq (4.3.3-r0) 14:34:16 (6/6) Installing zeromq (4.3.3-r0) 14:34:16 Executing busybox-1.31.1-r20.trigger 14:34:16 OK: 8 MiB in 20 packages 14:34:18 Removing intermediate container 417ae681d36a 14:34:18 ---> edc4b96fa8c8 14:34:18 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 14:34:19 ---> 5801b4f7e070 14:34:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 14:34:20 ---> c95770a65c7c 14:34:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:34:20 ---> 53a35cf55475 14:34:20 Step 19/24 : EXPOSE 59982 14:34:20 ---> Running in bca7a72096c5 14:34:21 Removing intermediate container bca7a72096c5 14:34:21 ---> e6d7f1b4d3e1 14:34:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 14:34:21 ---> Running in a6079d455516 14:34:21 Removing intermediate container a6079d455516 14:34:21 ---> 0178f03c7f90 14:34:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:34:22 ---> Running in 8d12560c15d2 14:34:22 Removing intermediate container 8d12560c15d2 14:34:22 ---> 1144f62d70dd 14:34:22 Step 22/24 : LABEL arch=arm64 14:34:22 ---> Running in 9379cbfd8488 14:34:23 Removing intermediate container 9379cbfd8488 14:34:23 ---> e2d2412acf30 14:34:23 Step 23/24 : LABEL git_sha=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:34:23 ---> Running in a5d94e2de94c 14:34:23 Removing intermediate container a5d94e2de94c 14:34:23 ---> 326068bee33e 14:34:23 Step 24/24 : LABEL version=1.3.2-dev.19 14:34:23 ---> Running in c379a9e63eac 14:34:24 Removing intermediate container c379a9e63eac 14:34:24 ---> 90112759581a 14:34:24 [Warning] One or more build-args [ARCH] were not consumed 14:34:24 Successfully built 90112759581a 14:34:24 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:24 provisioning config files... 14:34:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config7878825137833519739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:25 ---> docker-login.sh 14:34:25 nexus3.edgexfoundry.org:10001 14:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:25 Configure a credential helper to remove this warning. See 14:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:25 14:34:25 Login Succeeded 14:34:25 nexus3.edgexfoundry.org:10002 14:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:26 Configure a credential helper to remove this warning. See 14:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:26 14:34:26 Login Succeeded 14:34:26 nexus3.edgexfoundry.org:10003 14:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:26 Configure a credential helper to remove this warning. See 14:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:26 14:34:26 Login Succeeded 14:34:26 nexus3.edgexfoundry.org:10004 14:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:27 Configure a credential helper to remove this warning. See 14:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:27 14:34:27 Login Succeeded 14:34:27 docker.io 14:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:28 Configure a credential helper to remove this warning. See 14:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:28 14:34:28 Login Succeeded 14:34:28 ---> docker-login.sh ends [Pipeline] } 14:34:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:34:28 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 14:34:28 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:34:28 latest 14:34:28 1.3.2-dev.19 14:34:28 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 14:34:28 master 14:34:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:34:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] isUnix [Pipeline] sh 14:34:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:34:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:34:29 d1f3b58d820a: Preparing 14:34:29 7d945a2760a4: Preparing 14:34:29 87cc18300653: Preparing 14:34:29 64800bef7ba7: Preparing 14:34:29 3fbe34a1663b: Preparing 14:34:29 3fbe34a1663b: Layer already exists 14:34:29 d1f3b58d820a: Pushed 14:34:29 7d945a2760a4: Pushed 14:34:29 64800bef7ba7: Pushed 14:34:32 87cc18300653: Pushed 14:34:32 364aaac6e8b1d39c25d77f1e456fe76b5cda0568: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh 14:34:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:34:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:34:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:34:33 d1f3b58d820a: Preparing 14:34:33 7d945a2760a4: Preparing 14:34:33 87cc18300653: Preparing 14:34:33 64800bef7ba7: Preparing 14:34:33 3fbe34a1663b: Preparing 14:34:33 87cc18300653: Layer already exists 14:34:33 7d945a2760a4: Layer already exists 14:34:33 d1f3b58d820a: Layer already exists 14:34:33 3fbe34a1663b: Layer already exists 14:34:33 64800bef7ba7: Layer already exists 14:34:33 latest: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh 14:34:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 14:34:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.19 14:34:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:34:34 d1f3b58d820a: Preparing 14:34:34 7d945a2760a4: Preparing 14:34:34 87cc18300653: Preparing 14:34:34 64800bef7ba7: Preparing 14:34:34 3fbe34a1663b: Preparing 14:34:34 64800bef7ba7: Layer already exists 14:34:34 d1f3b58d820a: Layer already exists 14:34:34 7d945a2760a4: Layer already exists 14:34:34 3fbe34a1663b: Layer already exists 14:34:34 87cc18300653: Layer already exists 14:34:34 1.3.2-dev.19: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh 14:34:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 14:34:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 14:34:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:34:35 d1f3b58d820a: Preparing 14:34:35 7d945a2760a4: Preparing 14:34:35 87cc18300653: Preparing 14:34:35 64800bef7ba7: Preparing 14:34:35 3fbe34a1663b: Preparing 14:34:35 7d945a2760a4: Layer already exists 14:34:35 d1f3b58d820a: Layer already exists 14:34:35 87cc18300653: Layer already exists 14:34:35 3fbe34a1663b: Layer already exists 14:34:35 64800bef7ba7: Layer already exists 14:34:35 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh 14:34:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 14:34:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 14:34:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:34:36 d1f3b58d820a: Preparing 14:34:36 7d945a2760a4: Preparing 14:34:36 87cc18300653: Preparing 14:34:36 64800bef7ba7: Preparing 14:34:36 3fbe34a1663b: Preparing 14:34:36 7d945a2760a4: Layer already exists 14:34:36 87cc18300653: Layer already exists 14:34:36 d1f3b58d820a: Layer already exists 14:34:36 64800bef7ba7: Layer already exists 14:34:36 3fbe34a1663b: Layer already exists 14:34:36 master: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:34:36 ===================================================== [Pipeline] echo 14:34:36 taggedImages: 14:34:36 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 14:34:36 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:34:36 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.19 14:34:36 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 14:34:36 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 14:34:36 ---> job-cost.sh 14:34:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ppuI 14:35:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:36:37 lf-activate-venv(): INFO: Adding /tmp/venv-ppuI/bin to PATH 14:36:37 INFO: No Stack... 14:36:38 INFO: Retrieving Pricing Info for: v2-standard-4 14:36:38 INFO: Archiving Costs [Pipeline] sh 14:36:39 + cat /w/workspace/device-mqtt-go/51/archives/cost.csv 14:36:39 + cut -d, -f6 [Pipeline] lock 14:36:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] 14:36:39 Resource [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] did not exist. Created. 14:36:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:36:39 /w/workspace/device-mqtt-go/51@tmp/durable-deaf2768/script.sh: 1: /w/workspace/device-mqtt-go/51@tmp/durable-deaf2768/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:36:39 + echo total: 0.18000000715255737 [Pipeline] stash 14:36:39 Warning: overwriting stash ‘stack-cost’ 14:36:40 Stashed 1 file(s) [Pipeline] } 14:36:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:36:40 provisioning config files... 14:36:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6605275668740415809tmp [Pipeline] { [Pipeline] sh 14:36:41 + set +x 14:36:41 + curl -s https://codecov.io/bash 14:36:41 + bash -s -- 14:36:41 14:36:41 _____ _ 14:36:41 / ____| | | 14:36:41 | | ___ __| | ___ ___ _____ __ 14:36:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:36:41 | |___| (_) | (_| | __/ (_| (_) \ V / 14:36:41 \_____\___/ \__,_|\___|\___\___/ \_/ 14:36:41 Bash-1.0.3 14:36:41 14:36:41 14:36:41 ==> git version 2.24.4 found 14:36:41 ==> 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 14:36:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:36:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:36:41 ==> Jenkins CI detected. 14:36:41 project root: . 14:36:41 --> token set from env 14:36:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:36:41 ==> Running gcov in . (disable via -X gcov) 14:36:41 ==> Python coveragepy not found 14:36:41 ==> Searching for coverage reports in: 14:36:41 + . 14:36:41 -> Found 1 reports 14:36:41 ==> Detecting git/mercurial file structure 14:36:41 ==> Reading reports 14:36:41 + ./coverage.out bytes=19385 14:36:41 ==> Appending adjustments 14:36:41 https://docs.codecov.io/docs/fixing-reports 14:36:41 + Found adjustments 14:36:41 ==> Gzipping contents 14:36:41 4.0K /tmp/codecov.ZAdkR6.gz 14:36:41 ==> Uploading reports 14:36:41 url: https://codecov.io 14:36:41 query: branch=master&commit=364aaac6e8b1d39c25d77f1e456fe76b5cda0568&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:36:41 -> Pinging Codecov 14:36:41 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=364aaac6e8b1d39c25d77f1e456fe76b5cda0568&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:36:41 -> Uploading to 14:36:41 https://storage.googleapis.com/codecov/v4/raw/2021-06-08/7D719EC7BBE17E464838252E33014C33/364aaac6e8b1d39c25d77f1e456fe76b5cda0568/5809d260-3f21-4ffc-9149-8e0e3d23f0a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T143641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dae194aefa119595f73227c8598678c928656ff1cb60a9a6f19977b2c22f73dc 14:36:41 % Total % Received % Xferd Average Speed Time Time Time Current 14:36:41 Dload Upload Total Spent Left Speed 14:36:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3416 0 0 100 3416 0 10144 --:--:-- --:--:-- --:--:-- 10166 14:36:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] } 14:36:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:36:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:36:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:36:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:36:42 14:36:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:36:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:36:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:36:43 188c0c94c7c5: Pulling fs layer 14:36:43 0ef7d3d256c8: Pulling fs layer 14:36:43 de9db76c5a1d: Pulling fs layer 14:36:43 0eba1c9be4d2: Pulling fs layer 14:36:43 0d57e429df01: Pulling fs layer 14:36:43 4e4be7b47b0d: Pulling fs layer 14:36:43 e1f770b5df2f: Pulling fs layer 14:36:43 85a0685a4137: Pulling fs layer 14:36:43 0eba1c9be4d2: Waiting 14:36:43 0d57e429df01: Waiting 14:36:43 4e4be7b47b0d: Waiting 14:36:43 e1f770b5df2f: Waiting 14:36:43 85a0685a4137: Waiting 14:36:43 de9db76c5a1d: Verifying Checksum 14:36:43 de9db76c5a1d: Download complete 14:36:43 0ef7d3d256c8: Verifying Checksum 14:36:43 0ef7d3d256c8: Download complete 14:36:43 0d57e429df01: Verifying Checksum 14:36:43 0d57e429df01: Download complete 14:36:43 4e4be7b47b0d: Verifying Checksum 14:36:43 4e4be7b47b0d: Download complete 14:36:43 188c0c94c7c5: Verifying Checksum 14:36:43 188c0c94c7c5: Download complete 14:36:43 188c0c94c7c5: Pull complete 14:36:43 0ef7d3d256c8: Pull complete 14:36:43 de9db76c5a1d: Pull complete 14:36:44 e1f770b5df2f: Verifying Checksum 14:36:44 e1f770b5df2f: Download complete 14:36:46 0eba1c9be4d2: Verifying Checksum 14:36:46 0eba1c9be4d2: Download complete 14:36:46 85a0685a4137: Verifying Checksum 14:36:46 85a0685a4137: Download complete 14:36:49 0eba1c9be4d2: Pull complete 14:36:49 0d57e429df01: Pull complete 14:36:49 4e4be7b47b0d: Pull complete 14:36:49 e1f770b5df2f: Pull complete 14:36:53 85a0685a4137: Pull complete 14:36:53 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:36:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:36:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:36:53 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 14:36:53 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:36:56 $ docker top 3a0fbfbef7b0bf25fa6f82e24a5f6812169041b05813481752e02b9b8d67df56 -eo pid,comm [Pipeline] { [Pipeline] echo 14:36:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:36:56 + set -o pipefail 14:36:56 + snyk monitor '--org=edgex-jenkins' 14:37:02 14:37:02 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 14:37:02 14:37:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/580c4024-d377-4570-b20c-3b4aed1baec0 14:37:02 14:37:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:37:02 14:37:02 [Pipeline] } 14:37:02 $ docker stop --time=1 3a0fbfbef7b0bf25fa6f82e24a5f6812169041b05813481752e02b9b8d67df56 14:37:04 $ docker rm -f 3a0fbfbef7b0bf25fa6f82e24a5f6812169041b05813481752e02b9b8d67df56 [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 14:37:05 + git log --format=format:%s -1 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] isUnix [Pipeline] sh 14:37:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:37:05 . [Pipeline] withDockerContainer 14:37:05 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 14:37:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:37:05 $ docker top a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:06 [ssh-agent] Looking for ssh-agent implementation... 14:37:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:06 $ docker exec a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 ssh-agent 14:37:06 SSH_AUTH_SOCK=/tmp/ssh-deFC5Z2G0VU0/agent.14 14:37:06 SSH_AGENT_PID=21 14:37:06 Running ssh-add (command line suppressed) 14:37:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1330515026133419384.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1330515026133419384.key) 14:37:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:06 + git semver tag 14:37:06 # -> Open(): unable to determine branch for HEAD 14:37:06 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 14:37:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 14:37:06 # $SEMVER_REMOTE_NAME = origin 14:37:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:37:06 # $SEMVER_USER_NAME = edgex-jenkins 14:37:06 # $SEMVER_BRANCH = master 14:37:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 14:37:06 # 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 HEAD 14:37:06 # -> Force: false 14:37:06 # a4b74f9a3c5024d42449ec515a13db7751c4c77b refs/tags/v1.3.2-dev.19 [Pipeline] } 14:37:06 $ docker exec --env ******** --env ******** a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 ssh-agent -k 14:37:06 unset SSH_AUTH_SOCK; 14:37:06 unset SSH_AGENT_PID; 14:37:06 echo Agent pid 21 killed; 14:37:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:07 + git semver [Pipeline] } 14:37:07 $ docker stop --time=1 a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 14:37:08 $ docker rm -f a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:37:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:37:08 14:37:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:37:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:37:09 0.23.1-centos7: Pulling from edgex-lftools 14:37:09 ab5ef0e58194: Pulling fs layer 14:37:09 9712f1f96733: Pulling fs layer 14:37:09 63f879dbbcfc: Pulling fs layer 14:37:09 0d9ebad4ef96: Pulling fs layer 14:37:09 e9a5061849ea: Pulling fs layer 14:37:09 d747dcd14b5f: Pulling fs layer 14:37:09 2de7ff778b66: Pulling fs layer 14:37:09 e9a5061849ea: Waiting 14:37:09 d747dcd14b5f: Waiting 14:37:09 2de7ff778b66: Waiting 14:37:09 0d9ebad4ef96: Waiting 14:37:09 9712f1f96733: Verifying Checksum 14:37:09 9712f1f96733: Download complete 14:37:11 63f879dbbcfc: Verifying Checksum 14:37:11 63f879dbbcfc: Download complete 14:37:11 e9a5061849ea: Verifying Checksum 14:37:11 e9a5061849ea: Download complete 14:37:11 d747dcd14b5f: Verifying Checksum 14:37:11 d747dcd14b5f: Download complete 14:37:12 2de7ff778b66: Verifying Checksum 14:37:12 2de7ff778b66: Download complete 14:37:12 0d9ebad4ef96: Verifying Checksum 14:37:12 0d9ebad4ef96: Download complete 14:37:12 ab5ef0e58194: Verifying Checksum 14:37:12 ab5ef0e58194: Download complete 14:37:15 ab5ef0e58194: Pull complete 14:37:15 9712f1f96733: Pull complete 14:37:15 63f879dbbcfc: Pull complete 14:37:19 0d9ebad4ef96: Pull complete 14:37:19 e9a5061849ea: Pull complete 14:37:19 d747dcd14b5f: Pull complete 14:37:20 2de7ff778b66: Pull complete 14:37:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:37:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:37:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:37:20 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 14:37:20 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:37:23 $ docker top fa66b7a8b88a40adc35d1863d7b0f1898e92e12aaa45a3293ba9d5e88ad308d0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:37:23 provisioning config files... 14:37:23 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8871802610689290724tmp 14:37:23 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5040306301470013775tmp 14:37:23 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4818422765929796318tmp [Pipeline] { [Pipeline] echo 14:37:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:37:24 ---> sigul-configuration.sh 14:37:24 gpg: directory `/root/.gnupg' created 14:37:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:37:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:37:24 gpg: keyring `/root/.gnupg/secring.gpg' created 14:37:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:37:24 gpg: CAST5 encrypted data 14:37:24 gpg: encrypted with 1 passphrase 14:37:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:37:24 + mkdir /home/jenkins 14:37:24 + mkdir /home/jenkins/sigul [Pipeline] sh 14:37:24 + 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 14:37:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:37:25 ---> sigul-install.sh 14:37:31 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 14:37:32 + git tag --list 14:37:32 0.7.1 14:37:32 v1.0.0 14:37:32 v1.1.0 14:37:32 v1.1.1 14:37:32 v1.2.2 14:37:32 v1.3.0 14:37:32 v1.3.1 14:37:32 v1.3.1-dev.1 14:37:32 v1.3.1-dev.2 14:37:32 v1.3.1-dev.3 14:37:32 v1.3.1-dev.4 14:37:32 v1.3.2-dev.1 14:37:32 v1.3.2-dev.10 14:37:32 v1.3.2-dev.11 14:37:32 v1.3.2-dev.12 14:37:32 v1.3.2-dev.13 14:37:32 v1.3.2-dev.14 14:37:32 v1.3.2-dev.15 14:37:32 v1.3.2-dev.16 14:37:32 v1.3.2-dev.17 14:37:32 v1.3.2-dev.18 14:37:32 v1.3.2-dev.19 14:37:32 v1.3.2-dev.2 14:37:32 v1.3.2-dev.3 14:37:32 v1.3.2-dev.4 14:37:32 v1.3.2-dev.5 14:37:32 v1.3.2-dev.6 14:37:32 v1.3.2-dev.7 14:37:32 v1.3.2-dev.8 14:37:32 v1.3.2-dev.9 [Pipeline] sh 14:37:32 + lftools sign git-tag v1.3.2-dev.19 14:37:32 Signing Git tag with Sigul... 14:37:32 Signing v1.3.2-dev.19 [Pipeline] echo 14:37:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:37:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:37:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:37:34 $ docker stop --time=1 fa66b7a8b88a40adc35d1863d7b0f1898e92e12aaa45a3293ba9d5e88ad308d0 14:37:35 $ docker rm -f fa66b7a8b88a40adc35d1863d7b0f1898e92e12aaa45a3293ba9d5e88ad308d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 14:37:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:37:36 . [Pipeline] withDockerContainer 14:37:36 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 14:37:36 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:37:37 $ docker top 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:37 [ssh-agent] Looking for ssh-agent implementation... 14:37:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:37 $ docker exec 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 ssh-agent 14:37:37 SSH_AUTH_SOCK=/tmp/ssh-TeY1ZBQaDL68/agent.13 14:37:37 SSH_AGENT_PID=20 14:37:37 Running ssh-add (command line suppressed) 14:37:37 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2484919301168312097.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2484919301168312097.key) 14:37:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:37 + git semver bump pre 14:37:37 # -> Open(): unable to determine branch for HEAD 14:37:37 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 14:37:37 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 14:37:37 # $SEMVER_REMOTE_NAME = origin 14:37:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:37:37 # $SEMVER_USER_NAME = edgex-jenkins 14:37:37 # $SEMVER_BRANCH = master 14:37:37 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 14:37:37 1.3.2-dev.20 [Pipeline] } 14:37:37 $ docker exec --env ******** --env ******** 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 ssh-agent -k 14:37:37 unset SSH_AUTH_SOCK; 14:37:37 unset SSH_AGENT_PID; 14:37:37 echo Agent pid 20 killed; 14:37:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:38 + git semver [Pipeline] } 14:37:38 $ docker stop --time=1 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 14:37:39 $ docker rm -f 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:37:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:37:39 . [Pipeline] withDockerContainer 14:37:39 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 14:37:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:37:40 $ docker top c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:40 [ssh-agent] Looking for ssh-agent implementation... 14:37:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:40 $ docker exec c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 ssh-agent 14:37:40 SSH_AUTH_SOCK=/tmp/ssh-TOqw0zqjOpHE/agent.13 14:37:40 SSH_AGENT_PID=19 14:37:40 Running ssh-add (command line suppressed) 14:37:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3173146750287422586.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3173146750287422586.key) 14:37:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:41 + git semver push 14:37:41 # -> Open(): unable to determine branch for HEAD 14:37:41 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 14:37:41 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 14:37:41 # $SEMVER_REMOTE_NAME = origin 14:37:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:37:41 # $SEMVER_USER_NAME = edgex-jenkins 14:37:41 # $SEMVER_BRANCH = master 14:37:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 14:37:47 $ docker exec --env ******** --env ******** c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 ssh-agent -k 14:37:47 unset SSH_AUTH_SOCK; 14:37:47 unset SSH_AGENT_PID; 14:37:47 echo Agent pid 19 killed; 14:37:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:48 + git semver [Pipeline] } 14:37:48 $ docker stop --time=1 c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 14:37:49 $ docker rm -f c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 [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 14:37:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:37:51 ---> package-listing.sh 14:37:51 ++ facter osfamily 14:37:51 ++ tr '[:upper:]' '[:lower:]' 14:37:51 + OS_FAMILY=redhat 14:37:51 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 14:37:51 + START_PACKAGES=/tmp/packages_start.txt 14:37:51 + END_PACKAGES=/tmp/packages_end.txt 14:37:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:37:51 + PACKAGES=/tmp/packages_start.txt 14:37:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 14:37:51 + PACKAGES=/tmp/packages_end.txt 14:37:51 + case "${OS_FAMILY}" in 14:37:51 + rpm -qa 14:37:51 + sort 14:37:52 + '[' -f /tmp/packages_start.txt ']' 14:37:52 + '[' -f /tmp/packages_end.txt ']' 14:37:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:37:52 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 14:37:52 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 14:37:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 14:37:52 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 14:37:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:37:53 14:37:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:37:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:37:53 alpine: Pulling from edgex-lftools-log-publisher 14:37:53 df20fa9351a1: Pulling fs layer 14:37:53 36b3adc4ff6f: Pulling fs layer 14:37:53 8ad3a11d3b57: Pulling fs layer 14:37:53 46f8f816bc3b: Pulling fs layer 14:37:53 93b61091891f: Pulling fs layer 14:37:53 93b9cdb0e59b: Pulling fs layer 14:37:53 5e14af77c1be: Pulling fs layer 14:37:53 01666e4c0597: Pulling fs layer 14:37:53 aa168da1d23b: Pulling fs layer 14:37:53 46f8f816bc3b: Waiting 14:37:53 93b61091891f: Waiting 14:37:53 93b9cdb0e59b: Waiting 14:37:53 5e14af77c1be: Waiting 14:37:53 01666e4c0597: Waiting 14:37:53 aa168da1d23b: Waiting 14:37:53 36b3adc4ff6f: Verifying Checksum 14:37:53 36b3adc4ff6f: Download complete 14:37:53 46f8f816bc3b: Verifying Checksum 14:37:53 46f8f816bc3b: Download complete 14:37:53 df20fa9351a1: Verifying Checksum 14:37:53 df20fa9351a1: Download complete 14:37:53 93b9cdb0e59b: Verifying Checksum 14:37:53 93b9cdb0e59b: Download complete 14:37:53 5e14af77c1be: Verifying Checksum 14:37:53 5e14af77c1be: Download complete 14:37:53 93b61091891f: Verifying Checksum 14:37:53 93b61091891f: Download complete 14:37:53 01666e4c0597: Verifying Checksum 14:37:53 01666e4c0597: Download complete 14:37:53 df20fa9351a1: Pull complete 14:37:53 8ad3a11d3b57: Verifying Checksum 14:37:53 8ad3a11d3b57: Download complete 14:37:53 36b3adc4ff6f: Pull complete 14:37:54 8ad3a11d3b57: Pull complete 14:37:54 46f8f816bc3b: Pull complete 14:37:54 93b61091891f: Pull complete 14:37:54 93b9cdb0e59b: Pull complete 14:37:54 5e14af77c1be: Pull complete 14:37:54 01666e4c0597: Pull complete 14:37:55 aa168da1d23b: Verifying Checksum 14:37:55 aa168da1d23b: Download complete 14:37:59 aa168da1d23b: Pull complete 14:37:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:37:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:37:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:37:59 prd-centos7-docker-4c-2g-908 does not seem to be running inside a container 14:37:59 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:38:02 $ docker top fe8293a568e69cfbb3c9f64f332476319b3f927cf3218aec06a943c1bb6adc81 -eo pid,comm [Pipeline] { [Pipeline] sh 14:38:02 + touch /tmp/pre-build-complete [Pipeline] sh 14:38:02 + mkdir -p /var/log/sa [Pipeline] sh 14:38:03 + ls /var/log/sa-host 14:38:03 + sadf -c /var/log/sa-host/sa05 14:38:03 file_magic: OK 14:38:03 HZ: Using current value: 100 14:38:03 file_header: OK 14:38:03 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 14:38:03 Statistics: 14:38:03 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:38:03 File successfully converted to sysstat format version 12.2.1 14:38:03 + sadf -c /var/log/sa-host/sa08 14:38:03 file_magic: OK 14:38:03 HZ: Using current value: 100 14:38:03 file_header: OK 14:38:03 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 14:38:03 Statistics: 14:38:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:38:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:38:03 provisioning config files... 14:38:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5075186106068173071tmp [Pipeline] { [Pipeline] echo 14:38:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:38:03 ---> create-netrc.sh [Pipeline] } 14:38:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:38:04 ---> python-tools-install.sh [Pipeline] echo 14:38:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:38:04 ---> sudo-logs.sh 14:38:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:38:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:38:04 ---> job-cost.sh 14:38:04 lf-activate-venv: SKIPPING 14:38:04 DEBUG: total: 0.18000000715255737 14:38:04 INFO: Retrieving Stack Cost... 14:38:05 INFO: Retrieving Pricing Info for: v3-standard-2 14:38:06 INFO: Archiving Costs [Pipeline] echo 14:38:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:38:06 ---> logs-deploy.sh 14:38:06 lf-activate-venv: SKIPPING 14:38:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/51 14:38:06 INFO: archiving workspace using pattern(s): 14:38:07 Archives upload complete. 14:38:07 INFO: archiving logs to Nexus 14:38:08 ---> uname -a: 14:38:08 Linux prd-centos7-docker-4c-2g-908.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 14:38:08 14:38:08 14:38:08 ---> lscpu: 14:38:08 Architecture: x86_64 14:38:08 CPU op-mode(s): 32-bit, 64-bit 14:38:08 Byte Order: Little Endian 14:38:08 Address sizes: 40 bits physical, 48 bits virtual 14:38:08 CPU(s): 2 14:38:08 On-line CPU(s) list: 0,1 14:38:08 Thread(s) per core: 1 14:38:08 Core(s) per socket: 1 14:38:08 Socket(s): 2 14:38:08 NUMA node(s): 1 14:38:08 Vendor ID: AuthenticAMD 14:38:08 CPU family: 23 14:38:08 Model: 49 14:38:08 Model name: AMD EPYC-Rome Processor 14:38:08 Stepping: 0 14:38:08 CPU MHz: 2800.000 14:38:08 BogoMIPS: 5600.00 14:38:08 Virtualization: AMD-V 14:38:08 Hypervisor vendor: KVM 14:38:08 Virtualization type: full 14:38:08 L1d cache: 64 KiB 14:38:08 L1i cache: 64 KiB 14:38:08 L2 cache: 1 MiB 14:38:08 L3 cache: 32 MiB 14:38:08 NUMA node0 CPU(s): 0,1 14:38:08 Vulnerability Itlb multihit: Not affected 14:38:08 Vulnerability L1tf: Not affected 14:38:08 Vulnerability Mds: Not affected 14:38:08 Vulnerability Meltdown: Not affected 14:38:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:38:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:38:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:38:08 Vulnerability Srbds: Not affected 14:38:08 Vulnerability Tsx async abort: Not affected 14:38:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 14:38:08 14:38:08 14:38:08 ---> nproc: 14:38:08 2 14:38:08 14:38:08 14:38:08 ---> df -h: 14:38:08 Filesystem Size Used Available Use% Mounted on 14:38:08 overlay 40.0G 8.9G 31.1G 22% / 14:38:08 tmpfs 64.0M 0 64.0M 0% /dev 14:38:08 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 14:38:08 shm 64.0M 0 64.0M 0% /dev/shm 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 14:38:08 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 14:38:08 14:38:08 14:38:08 ---> free -m: 14:38:08 total used free shared buff/cache available 14:38:08 Mem: 7821 1162 3274 0 3384 6578 14:38:08 Swap: 1023 0 1023 14:38:08 14:38:08 14:38:08 ---> ip addr: 14:38:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:38:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:38:08 inet 127.0.0.1/8 scope host lo 14:38:08 valid_lft forever preferred_lft forever 14:38:08 inet6 ::1/128 scope host 14:38:08 valid_lft forever preferred_lft forever 14:38:08 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 14:38:08 link/ether fa:16:3e:41:4d:73 brd ff:ff:ff:ff:ff:ff 14:38:08 inet 10.30.122.102/23 brd 10.30.123.255 scope global dynamic eth0 14:38:08 valid_lft 85681sec preferred_lft 85681sec 14:38:08 inet6 fe80::f816:3eff:fe41:4d73/64 scope link 14:38:08 valid_lft forever preferred_lft forever 14:38:08 3: docker0: mtu 1500 qdisc noqueue state DOWN 14:38:08 link/ether 02:42:0c:32:b5:13 brd ff:ff:ff:ff:ff:ff 14:38:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:38:08 valid_lft forever preferred_lft forever 14:38:08 inet6 fe80::42:cff:fe32:b513/64 scope link 14:38:08 valid_lft forever preferred_lft forever 14:38:08 14:38:08 14:38:08 ---> sar -b -r -n DEV: 14:38:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/08/21 _x86_64_ (2 CPU) 14:38:08 14:38:08 14:25:57 LINUX RESTART (2 CPU) 14:38:08 14:38:08 14:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:38:08 14:28:01 1.65 0.00 1.65 0.00 0.00 34.23 0.00 14:38:08 14:29:01 0.52 0.00 0.52 0.00 0.00 7.46 0.00 14:38:08 14:30:01 0.28 0.00 0.28 0.00 0.00 3.12 0.00 14:38:08 14:31:01 0.15 0.00 0.15 0.00 0.00 1.75 0.00 14:38:08 14:32:01 0.28 0.00 0.28 0.00 0.00 5.18 0.00 14:38:08 14:33:01 0.27 0.00 0.27 0.00 0.00 3.12 0.00 14:38:08 14:34:01 0.25 0.00 0.25 0.00 0.00 3.50 0.00 14:38:08 14:35:01 0.28 0.00 0.28 0.00 0.00 2.73 0.00 14:38:08 14:36:01 0.23 0.00 0.23 0.00 0.00 1.92 0.00 14:38:08 14:37:01 82.33 0.03 82.30 0.00 3.73 28148.96 0.00 14:38:08 14:38:01 175.12 0.10 175.02 0.00 9.99 45023.93 0.00 14:38:08 Average: 23.77 0.01 23.75 0.00 1.25 6659.62 0.00 14:38:08 14:38:08 14:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:38:08 14:28:01 5460652 0 809096 10.10 2620 1736572 1280460 14.14 575112 1573832 16 14:38:08 14:29:01 5470132 0 799612 9.98 2620 1736576 1191488 13.15 569376 1571964 8 14:38:08 14:30:01 5470036 0 799704 9.99 2620 1736580 1191188 13.15 569440 1571964 8 14:38:08 14:31:01 5469056 0 800680 10.00 2620 1736584 1191404 13.15 563724 1578656 8 14:38:08 14:32:01 5467316 0 802412 10.02 2620 1736592 1191284 13.15 565744 1578996 20 14:38:08 14:33:01 5466908 0 802820 10.02 2620 1736592 1191188 13.15 566112 1579060 12 14:38:08 14:34:01 5463424 0 806292 10.07 2620 1736604 1191188 13.15 569552 1579060 8 14:38:08 14:35:01 5461004 0 808708 10.10 2620 1736608 1191188 13.15 571932 1579060 8 14:38:08 14:36:01 5460552 0 809156 10.10 2620 1736612 1191320 13.15 574152 1577416 8 14:38:08 14:37:01 4482392 0 943332 11.78 2620 2580596 1305552 14.41 736540 2272948 102744 14:38:08 14:38:01 3394004 0 1149408 14.35 2620 3462908 1385800 15.30 965184 2954320 4 14:38:08 Average: 5187771 0 848293 10.59 2620 1970257 1227460 13.55 620624 1765207 9349 14:38:08 14:38:08 14:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:38:08 14:28:01 eth0 3.73 3.18 1.72 20.81 0.00 0.00 0.00 0.00 14:38:08 14:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:29:01 eth0 1.38 0.50 0.34 0.69 0.00 0.00 0.00 0.00 14:38:08 14:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:30:01 eth0 0.18 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:38:08 14:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:31:01 eth0 0.60 0.32 0.28 0.20 0.00 0.00 0.00 0.00 14:38:08 14:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:32:01 eth0 0.32 0.23 0.14 0.07 0.00 0.00 0.00 0.00 14:38:08 14:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:33:01 eth0 0.03 0.05 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:34:01 eth0 0.10 0.05 0.01 0.00 0.00 0.00 0.00 0.00 14:38:08 14:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:35:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:38:08 14:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:36:01 eth0 1.02 0.33 0.32 0.20 0.00 0.00 0.00 0.00 14:38:08 14:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:37:01 vethf2b33f0 66.54 68.53 6.37 395.25 0.00 0.00 0.00 0.00 14:38:08 14:37:01 eth0 518.37 472.29 4479.11 40.31 0.00 0.00 0.00 0.00 14:38:08 14:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:37:01 docker0 66.54 68.41 5.46 395.24 0.00 0.00 0.00 0.00 14:38:08 14:38:01 eth0 778.63 652.82 5695.97 72.94 0.00 0.00 0.00 0.00 14:38:08 14:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 14:38:01 docker0 68.04 117.04 3.79 264.34 0.00 0.00 0.00 0.00 14:38:08 Average: eth0 118.62 102.75 925.52 12.30 0.00 0.00 0.00 0.00 14:38:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:08 Average: docker0 12.24 16.86 0.84 59.98 0.00 0.00 0.00 0.00 14:38:08 14:38:08 14:38:08 ---> sar -P ALL: 14:38:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/08/21 _x86_64_ (2 CPU) 14:38:08 14:38:08 14:25:57 LINUX RESTART (2 CPU) 14:38:08 14:38:08 14:27:01 CPU %user %nice %system %iowait %steal %idle 14:38:08 14:28:01 all 0.25 0.00 0.07 0.00 0.03 99.66 14:38:08 14:28:01 0 0.13 0.00 0.03 0.00 0.03 99.80 14:38:08 14:28:01 1 0.37 0.00 0.10 0.00 0.02 99.52 14:38:08 14:29:01 all 0.10 0.00 0.03 0.00 0.03 99.84 14:38:08 14:29:01 0 0.12 0.00 0.03 0.00 0.02 99.83 14:38:08 14:29:01 1 0.08 0.00 0.03 0.00 0.03 99.85 14:38:08 14:30:01 all 0.08 0.00 0.02 0.00 0.03 99.87 14:38:08 14:30:01 0 0.08 0.00 0.02 0.00 0.02 99.88 14:38:08 14:30:01 1 0.08 0.00 0.02 0.00 0.05 99.85 14:38:08 14:31:01 all 0.11 0.00 0.02 0.00 0.03 99.85 14:38:08 14:31:01 0 0.15 0.00 0.02 0.00 0.02 99.82 14:38:08 14:31:01 1 0.07 0.00 0.02 0.00 0.03 99.88 14:38:08 14:32:01 all 0.11 0.00 0.03 0.00 0.03 99.82 14:38:08 14:32:01 0 0.18 0.00 0.02 0.00 0.02 99.78 14:38:08 14:32:01 1 0.03 0.00 0.05 0.00 0.05 99.87 14:38:08 14:33:01 all 0.09 0.00 0.03 0.00 0.02 99.86 14:38:08 14:33:01 0 0.13 0.00 0.03 0.00 0.00 99.83 14:38:08 14:33:01 1 0.05 0.00 0.03 0.00 0.03 99.88 14:38:08 14:34:01 all 0.08 0.00 0.05 0.00 0.03 99.84 14:38:08 14:34:01 0 0.13 0.00 0.05 0.00 0.02 99.80 14:38:08 14:34:01 1 0.03 0.00 0.05 0.00 0.03 99.88 14:38:08 14:35:01 all 0.10 0.00 0.02 0.00 0.04 99.84 14:38:08 14:35:01 0 0.05 0.00 0.02 0.00 0.03 99.90 14:38:08 14:35:01 1 0.15 0.00 0.02 0.00 0.05 99.78 14:38:08 14:36:01 all 0.18 0.00 0.03 0.00 0.03 99.77 14:38:08 14:36:01 0 0.03 0.00 0.03 0.00 0.03 99.90 14:38:08 14:36:01 1 0.32 0.00 0.03 0.00 0.02 99.63 14:38:08 14:37:01 all 10.52 0.00 4.04 1.87 0.03 83.53 14:38:08 14:37:01 0 10.25 0.00 4.32 1.44 0.03 83.95 14:38:08 14:37:01 1 10.79 0.00 3.76 2.31 0.03 83.11 14:38:08 14:38:01 all 19.80 0.00 8.72 2.15 0.09 69.24 14:38:08 14:38:01 0 16.80 0.00 8.53 1.88 0.09 72.69 14:38:08 14:38:01 1 22.79 0.00 8.91 2.42 0.09 65.80 14:38:08 14:38:08 Average: CPU %user %nice %system %iowait %steal %idle 14:38:08 Average: all 2.75 0.00 1.14 0.35 0.03 95.72 14:38:08 Average: 0 2.46 0.00 1.14 0.29 0.03 96.08 14:38:08 Average: 1 3.05 0.00 1.14 0.42 0.04 95.36 14:38:08 14:38:08 14:38:08