Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c0141a04964c7f4d66f753227731f52f68418698 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-ssh3151851673819611931.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-ssh8585595140673577351.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-ssh3899162501158347118.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-ssh3240627435356654585.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-ssh7661811037490696857.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-252 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 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-ssh6089767273304405220.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 Avoid second fetch Checking out Revision c0141a04964c7f4d66f753227731f52f68418698 (master) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0141a04964c7f4d66f753227731f52f68418698 # timeout=10 Commit message: "fix: Remove retry items of SecretStore config and update secret path (#265)" > git rev-list --no-walk 171099155cdb194629e3839231b8c199243184e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:31:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:31:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:31:23 ========================================================= 05:31:23 EdgeX Global Pipelines Version Info 05:31:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:31:24 ------------------- 05:31:24 stable info: 05:31:24 ------------------- 05:31:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:31:24 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 05:31:24 Message: update stable to v1.0.193 05:31:25 ------------------- 05:31:25 experimental info: 05:31:25 ------------------- 05:31:25 Commited By: **** collab-it+edgex@linuxfoundation.org 05:31:25 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 05:31:25 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:31:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0141a04964c7f4d66f753227731f52f68418698 [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0141a0 [Pipeline] echo 05:31:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:26 provisioning config files... 05:31:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3383721967990055807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:26 ---> docker-login.sh 05:31:26 nexus3.edgexfoundry.org:10001 05:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:27 Configure a credential helper to remove this warning. See 05:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:27 05:31:27 Login Succeeded 05:31:27 nexus3.edgexfoundry.org:10002 05:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:27 Configure a credential helper to remove this warning. See 05:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:27 05:31:27 Login Succeeded 05:31:27 nexus3.edgexfoundry.org:10003 05:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:27 Configure a credential helper to remove this warning. See 05:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:27 05:31:27 Login Succeeded 05:31:27 nexus3.edgexfoundry.org:10004 05:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:27 Configure a credential helper to remove this warning. See 05:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:27 05:31:27 Login Succeeded 05:31:27 docker.io 05:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:27 Configure a credential helper to remove this warning. See 05:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:27 05:31:27 Login Succeeded 05:31:27 ---> docker-login.sh ends [Pipeline] } 05:31:27 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 05:31:28 + git log --format=format:%s -1 c0141a04964c7f4d66f753227731f52f68418698 [Pipeline] echo 05:31:28 GIT_COMMIT: c0141a04964c7f4d66f753227731f52f68418698, Commit Message: fix: Remove retry items of SecretStore config and update secret path (#265) [Pipeline] echo 05:31:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:31:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:31:29 05:31:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:31:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:31:29 latest: Pulling from edgex-devops/git-semver 05:31:29 31603596830f: Pulling fs layer 05:31:29 54011a49482f: Pulling fs layer 05:31:29 a6820b24f6d8: Pulling fs layer 05:31:29 f581987b2513: Pulling fs layer 05:31:29 f581987b2513: Waiting 05:31:29 54011a49482f: Verifying Checksum 05:31:29 54011a49482f: Download complete 05:31:29 31603596830f: Verifying Checksum 05:31:29 31603596830f: Download complete 05:31:29 f581987b2513: Verifying Checksum 05:31:29 f581987b2513: Download complete 05:31:29 a6820b24f6d8: Verifying Checksum 05:31:29 a6820b24f6d8: Download complete 05:31:29 31603596830f: Pull complete 05:31:29 54011a49482f: Pull complete 05:31:30 a6820b24f6d8: Pull complete 05:31:30 f581987b2513: Pull complete 05:31:30 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:31:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:31:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:31:30 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 05:31:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:31:31 $ docker top 44ff0a285ad775ca6ded17af428213220dfb6af47ea5f3aa11784f02fff4b340 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:31 [ssh-agent] Looking for ssh-agent implementation... 05:31:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:31 $ docker exec 44ff0a285ad775ca6ded17af428213220dfb6af47ea5f3aa11784f02fff4b340 ssh-agent 05:31:31 SSH_AUTH_SOCK=/tmp/ssh-MUtAwHzWVohK/agent.15 05:31:31 SSH_AGENT_PID=22 05:31:32 Running ssh-add (command line suppressed) 05:31:32 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2262598117687947931.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2262598117687947931.key) 05:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:32 + git tag --points-at HEAD [Pipeline] } 05:31:32 $ docker exec --env ******** --env ******** 44ff0a285ad775ca6ded17af428213220dfb6af47ea5f3aa11784f02fff4b340 ssh-agent -k 05:31:32 unset SSH_AUTH_SOCK; 05:31:32 unset SSH_AGENT_PID; 05:31:32 echo Agent pid 22 killed; 05:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:31:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:32 [ssh-agent] Looking for ssh-agent implementation... 05:31:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:32 $ docker exec 44ff0a285ad775ca6ded17af428213220dfb6af47ea5f3aa11784f02fff4b340 ssh-agent 05:31:32 SSH_AUTH_SOCK=/tmp/ssh-9Gn4sVtT48x7/agent.56 05:31:32 SSH_AGENT_PID=62 05:31:32 Running ssh-add (command line suppressed) 05:31:32 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8423912408845689164.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8423912408845689164.key) 05:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:33 + git semver init 05:31:33 # -> Open(): unable to determine branch for HEAD 05:31:33 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:31:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:31:33 # $SEMVER_REMOTE_NAME = origin 05:31:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:31:33 # $SEMVER_USER_NAME = edgex-jenkins 05:31:33 # $SEMVER_BRANCH = master 05:31:33 # $SEMVER_TEMP = /tmp/semver-466418260 05:31:33 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 05:31:33 # '/tmp/semver-466418260' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 05:31:33 # -> Force: false 05:31:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 05:31:33 $ docker exec --env ******** --env ******** 44ff0a285ad775ca6ded17af428213220dfb6af47ea5f3aa11784f02fff4b340 ssh-agent -k 05:31:33 unset SSH_AUTH_SOCK; 05:31:33 unset SSH_AGENT_PID; 05:31:33 echo Agent pid 62 killed; 05:31:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:33 + git semver [Pipeline] } 05:31:33 $ docker stop --time=1 44ff0a285ad775ca6ded17af428213220dfb6af47ea5f3aa11784f02fff4b340 05:31:35 $ docker rm -f 44ff0a285ad775ca6ded17af428213220dfb6af47ea5f3aa11784f02fff4b340 [Pipeline] // withDockerContainer [Pipeline] sh 05:31:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:31:35 Stashed 1 file(s) [Pipeline] echo 05:31:35 [edgeXSemver]: initialized semver on version 1.3.2-dev.18 [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 05:31:51 Still waiting to schedule task 05:31:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:31:51 Still waiting to schedule task 05:31:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:33:53 Running on prd-centos7-docker-4c-2g-260 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 05:33:53 Running in /w/workspace/device-mqtt-go/50 [Pipeline] { [Pipeline] checkout 05:33:53 Selected Git installation does not exist. Using Default 05:33:53 The recommended git tool is: NONE 05:33:56 using credential edgex-jenkins-ssh 05:33:56 Cloning the remote Git repository 05:33:57 Avoid second fetch 05:33:57 Checking out Revision c0141a04964c7f4d66f753227731f52f68418698 (master) 05:33:56 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:33:56 > git init /w/workspace/device-mqtt-go/50 # timeout=10 05:33:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:33:56 > git --version # timeout=10 05:33:56 > git --version # 'git version 2.24.4' 05:33:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:56 [INFO] Currently running in a labeled security context 05:33:56 [INFO] Currently SELinux is 'enforcing' on the host 05:33:56 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/50@tmp/jenkins-gitclient-ssh6173100742765562443.key 05:33:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:33:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:33:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:33:57 > git config core.sparsecheckout # timeout=10 05:33:57 > git checkout -f c0141a04964c7f4d66f753227731f52f68418698 # timeout=10 05:34:00 Commit message: "fix: Remove retry items of SecretStore config and update secret path (#265)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:34:01 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:34:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:34:02 + sudo service docker restart 05:34:02 + true 05:34:02 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:20 provisioning config files... 05:34:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config7750029816159649813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:20 ---> docker-login.sh 05:34:20 nexus3.edgexfoundry.org:10001 05:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:21 Configure a credential helper to remove this warning. See 05:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:21 05:34:21 Login Succeeded 05:34:21 nexus3.edgexfoundry.org:10002 05:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:21 Configure a credential helper to remove this warning. See 05:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:21 05:34:21 Login Succeeded 05:34:21 nexus3.edgexfoundry.org:10003 05:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:21 Configure a credential helper to remove this warning. See 05:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:21 05:34:21 Login Succeeded 05:34:21 nexus3.edgexfoundry.org:10004 05:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:21 Configure a credential helper to remove this warning. See 05:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:21 05:34:21 Login Succeeded 05:34:21 docker.io 05:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:21 Configure a credential helper to remove this warning. See 05:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:21 05:34:21 Login Succeeded 05:34:21 ---> docker-login.sh ends [Pipeline] } 05:34:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:34:22 ========================================================= 05:34:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:34:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:34:22 + 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 . 05:34:22 Sending build context to Docker daemon 584.2kB 05:34:22 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:34:22 Step 2/8 : FROM ${BASE} 05:34:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:34:22 540db60ca938: Pulling fs layer 05:34:22 adcc1eea9eea: Pulling fs layer 05:34:22 4c4ab2625f07: Pulling fs layer 05:34:22 0510c868ecb4: Pulling fs layer 05:34:22 afea3b2eda06: Pulling fs layer 05:34:22 7809a108b3ef: Pulling fs layer 05:34:22 f706445af74f: Pulling fs layer 05:34:22 afea3b2eda06: Waiting 05:34:22 7809a108b3ef: Waiting 05:34:22 f706445af74f: Waiting 05:34:22 0510c868ecb4: Waiting 05:34:22 4c4ab2625f07: Verifying Checksum 05:34:22 4c4ab2625f07: Download complete 05:34:22 adcc1eea9eea: Verifying Checksum 05:34:22 adcc1eea9eea: Download complete 05:34:22 afea3b2eda06: Verifying Checksum 05:34:22 afea3b2eda06: Download complete 05:34:22 540db60ca938: Verifying Checksum 05:34:22 540db60ca938: Download complete 05:34:22 7809a108b3ef: Verifying Checksum 05:34:22 7809a108b3ef: Download complete 05:34:22 540db60ca938: Pull complete 05:34:22 adcc1eea9eea: Pull complete 05:34:22 4c4ab2625f07: Pull complete 05:34:24 f706445af74f: Verifying Checksum 05:34:24 f706445af74f: Download complete 05:34:25 0510c868ecb4: Download complete 05:34:29 0510c868ecb4: Pull complete 05:34:29 afea3b2eda06: Pull complete 05:34:29 7809a108b3ef: Pull complete 05:34:30 f706445af74f: Pull complete 05:34:30 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:34:30 ---> b068be0155e3 05:34:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:34:34 ---> Running in 4039902e29ba 05:34:34 Removing intermediate container 4039902e29ba 05:34:34 ---> fa1355da8931 05:34:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:34:34 ---> Running in 79a731333304 05:34:34 Removing intermediate container 79a731333304 05:34:34 ---> f6d92e3933aa 05:34:34 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:34:34 ---> Running in 4b5e710405f3 05:34:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:34:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:34:37 (1/13) Installing libc-dev (0.7.2-r3) 05:34:37 (2/13) Installing libsodium (1.0.18-r0) 05:34:37 (3/13) Installing pkgconf (1.7.3-r0) 05:34:37 (4/13) Installing libsodium-dev (1.0.18-r0) 05:34:37 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:34:37 (6/13) Installing libedit (20191231.3.1-r1) 05:34:37 (7/13) Installing openssh-client (8.4_p1-r3) 05:34:38 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:34:38 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:34:39 (10/13) Installing openssh-server (8.4_p1-r3) 05:34:39 (11/13) Installing openssh (8.4_p1-r3) 05:34:39 (12/13) Installing libzmq (4.3.3-r1) 05:34:39 (13/13) Installing zeromq-dev (4.3.3-r1) 05:34:39 Executing busybox-1.32.1-r6.trigger 05:34:39 OK: 156 MiB in 53 packages 05:34:40 Removing intermediate container 4b5e710405f3 05:34:40 ---> 732401003266 05:34:40 Step 6/8 : WORKDIR /device-mqtt-go 05:34:40 ---> Running in 3a928fd4fbc4 05:34:40 Removing intermediate container 3a928fd4fbc4 05:34:40 ---> f7e21a2c69f7 05:34:40 Step 7/8 : COPY . . 05:34:40 ---> bb5b948b0a5e 05:34:40 Step 8/8 : RUN go mod download 05:34:40 ---> Running in 1dd82af9e39e 05:34:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-261 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 05:34:51 Running in /w/workspace/device-mqtt-go/50 [Pipeline] { [Pipeline] checkout 05:34:51 Selected Git installation does not exist. Using Default 05:34:51 The recommended git tool is: NONE 05:34:55 Removing intermediate container 1dd82af9e39e 05:34:55 ---> a031cd5a5244 05:34:55 Successfully built a031cd5a5244 05:34:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:34:55 + docker inspect -f . ci-base-image-x86_64 05:34:55 . [Pipeline] withDockerContainer 05:34:55 prd-centos7-docker-4c-2g-260 does not seem to be running inside a container 05:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/50 -v /w/workspace/device-mqtt-go/50:/w/workspace/device-mqtt-go/50:rw,z -v /w/workspace/device-mqtt-go/50@tmp:/w/workspace/device-mqtt-go/50@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 ******** ci-base-image-x86_64 cat 05:34:56 $ docker top fc80298a100f2e84e1b03a910204becb5f8362d7c117d5150aa984d72afc6ef2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:56 + go version 05:34:56 go version go1.16.3 linux/amd64 [Pipeline] } 05:34:56 $ docker stop --time=1 fc80298a100f2e84e1b03a910204becb5f8362d7c117d5150aa984d72afc6ef2 05:34:57 using credential edgex-jenkins-ssh 05:34:57 Cloning the remote Git repository 05:34:58 $ docker rm -f fc80298a100f2e84e1b03a910204becb5f8362d7c117d5150aa984d72afc6ef2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:34:58 + docker inspect -f . ci-base-image-x86_64 05:34:58 . [Pipeline] withDockerContainer 05:34:58 prd-centos7-docker-4c-2g-260 does not seem to be running inside a container 05:34:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/50 -v /w/workspace/device-mqtt-go/50:/w/workspace/device-mqtt-go/50:rw,z -v /w/workspace/device-mqtt-go/50@tmp:/w/workspace/device-mqtt-go/50@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 ******** ci-base-image-x86_64 cat 05:34:57 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:34:57 > git init /w/workspace/device-mqtt-go/50 # timeout=10 05:34:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:34:57 > git --version # timeout=10 05:34:57 > git --version # 'git version 2.17.1' 05:34:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:34:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:34:58 Avoid second fetch 05:34:58 Checking out Revision c0141a04964c7f4d66f753227731f52f68418698 (master) 05:34:59 $ docker top 353b12deb28a0c0d8fd821746b6607c5ede186299c1db94094f54e4bdbd8d6da -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:59 + go mod tidy [Pipeline] sh 05:35:00 + make test 05:35:00 go mod tidy 05:35:00 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:34:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:34:58 > git config core.sparsecheckout # timeout=10 05:34:58 > git checkout -f c0141a04964c7f4d66f753227731f52f68418698 # timeout=10 05:35:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:35:03 Commit message: "fix: Remove retry items of SecretStore config and update secret path (#265)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:35:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:35:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:35:05 + sudo service docker restart 05:35:05 + true 05:35:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:35:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 23.0% of statements 05:35:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:35:18 GCO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:23 provisioning config files... 05:35:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config1749276198677626235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:24 ---> docker-login.sh 05:35:24 nexus3.edgexfoundry.org:10001 05:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:25 gofmt -l . 05:35:25 ["`gofmt -l .`" = ""] 05:35:25 ./bin/test-attribution-txt.sh [Pipeline] } 05:35:25 $ docker stop --time=1 353b12deb28a0c0d8fd821746b6607c5ede186299c1db94094f54e4bdbd8d6da 05:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:25 Configure a credential helper to remove this warning. See 05:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:25 05:35:25 Login Succeeded 05:35:25 nexus3.edgexfoundry.org:10002 05:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:26 Configure a credential helper to remove this warning. See 05:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:26 05:35:26 Login Succeeded 05:35:26 nexus3.edgexfoundry.org:10003 05:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:26 $ docker rm -f 353b12deb28a0c0d8fd821746b6607c5ede186299c1db94094f54e4bdbd8d6da 05:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:27 Configure a credential helper to remove this warning. See 05:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:27 05:35:27 Login Succeeded 05:35:27 nexus3.edgexfoundry.org:10004 [Pipeline] // withDockerContainer [Pipeline] sh 05:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:35:27 Stashed 1 file(s) [Pipeline] } 05:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:27 Configure a credential helper to remove this warning. See 05:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:27 05:35:27 Login Succeeded 05:35:27 docker.io [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:28 Configure a credential helper to remove this warning. See 05:35:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:28 05:35:28 Login Succeeded 05:35:28 ---> docker-login.sh ends [Pipeline] } 05:35:30 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:35:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] echo 05:35:30 ========================================================= 05:35:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:35:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:35:30 + ls -al . 05:35:30 total 108 05:35:30 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 3 05:35 . 05:35:30 drwxrwxr-x. 4 jenkins jenkins 30 Jun 3 05:33 .. 05:35:30 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 3 05:33 Attribution.txt 05:35:30 drwxrwxr-x. 2 jenkins jenkins 60 Jun 3 05:33 bin 05:35:30 drwxrwxr-x. 3 jenkins jenkins 32 Jun 3 05:33 cmd 05:35:30 -rw-r--r--. 1 jenkins jenkins 19385 Jun 3 05:35 coverage.out 05:35:30 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 3 05:33 Dockerfile 05:35:30 -rw-rw-r--. 1 jenkins jenkins 994 Jun 3 05:33 Dockerfile.build 05:35:30 -rw-rw-r--. 1 jenkins jenkins 140 Jun 3 05:33 .dockerignore 05:35:30 drwxrwxr-x. 8 jenkins jenkins 162 Jun 3 05:34 .git 05:35:30 drwxrwxr-x. 2 jenkins jenkins 103 Jun 3 05:33 .github 05:35:30 -rw-rw-r--. 1 jenkins jenkins 336 Jun 3 05:33 .gitignore 05:35:30 -rw-rw-r--. 1 jenkins jenkins 409 Jun 3 05:33 go.mod 05:35:30 -rw-r--r--. 1 jenkins jenkins 20960 Jun 3 05:34 go.sum 05:35:30 drwxrwxr-x. 3 jenkins jenkins 20 Jun 3 05:33 internal 05:35:30 -rw-rw-r--. 1 jenkins jenkins 677 Jun 3 05:33 Jenkinsfile 05:35:30 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 3 05:33 LICENSE 05:35:30 -rw-rw-r--. 1 jenkins jenkins 907 Jun 3 05:33 Makefile 05:35:30 drwxrwxr-x. 2 jenkins jenkins 23 Jun 3 05:33 mock 05:35:30 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 3 05:33 README.md 05:35:30 drwxrwxr-x. 4 jenkins jenkins 71 Jun 3 05:33 snap 05:35:30 -rw-rw-r--. 1 jenkins jenkins 12 Jun 3 05:31 VERSION 05:35:30 -rw-rw-r--. 1 jenkins jenkins 227 Jun 3 05:33 version.go [Pipeline] isUnix [Pipeline] sh 05:35:30 + 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 . 05:35:30 + 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=c0141a04964c7f4d66f753227731f52f68418698 --label arch=amd64 --label version=1.3.2-dev.18 . 05:35:30 Sending build context to Docker daemon 604.2kB 05:35:30 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 05:35:30 Step 2/24 : FROM ${BASE} AS builder 05:35:30 ---> a031cd5a5244 05:35:30 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:35:30 ---> Running in d682c8eb8523 05:35:30 Removing intermediate container d682c8eb8523 05:35:30 ---> d077bbc63818 05:35:30 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 05:35:31 Sending build context to Docker daemon 583.2kB 05:35:31 ---> Running in 3e09f478d7e1 05:35:31 Removing intermediate container 3e09f478d7e1 05:35:31 ---> 6a69b257f9de 05:35:31 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:35:31 ---> Running in 2f843f81c2a2 05:35:31 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:35:31 Step 2/8 : FROM ${BASE} 05:35:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:35:31 595b0fe564bb: Pulling fs layer 05:35:31 7186ed65a4f7: Pulling fs layer 05:35:31 316046926c0a: Pulling fs layer 05:35:31 4ebd0625c992: Pulling fs layer 05:35:31 207e8628e3a3: Pulling fs layer 05:35:31 c791037a9be2: Pulling fs layer 05:35:31 ffd874e62e21: Pulling fs layer 05:35:31 207e8628e3a3: Waiting 05:35:31 c791037a9be2: Waiting 05:35:31 ffd874e62e21: Waiting 05:35:31 4ebd0625c992: Waiting 05:35:31 7186ed65a4f7: Verifying Checksum 05:35:31 7186ed65a4f7: Download complete 05:35:31 316046926c0a: Verifying Checksum 05:35:31 316046926c0a: Download complete 05:35:31 207e8628e3a3: Download complete 05:35:31 c791037a9be2: Download complete 05:35:31 595b0fe564bb: Verifying Checksum 05:35:31 595b0fe564bb: Download complete 05:35:31 Removing intermediate container 2f843f81c2a2 05:35:31 ---> 678df85de212 05:35:31 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:35:31 ---> Running in 2284da21f5ee 05:35:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:35:32 595b0fe564bb: Pull complete 05:35:32 7186ed65a4f7: Pull complete 05:35:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:35:33 316046926c0a: Pull complete 05:35:33 ffd874e62e21: Verifying Checksum 05:35:33 ffd874e62e21: Download complete 05:35:35 4ebd0625c992: Verifying Checksum 05:35:35 4ebd0625c992: Download complete 05:35:36 OK: 156 MiB in 53 packages 05:35:36 Removing intermediate container 2284da21f5ee 05:35:36 ---> 6b81c34e4096 05:35:36 Step 7/24 : WORKDIR /device-mqtt-go 05:35:36 ---> Running in be951f8cc6b1 05:35:36 Removing intermediate container be951f8cc6b1 05:35:36 ---> a6b7f62d96cd 05:35:36 Step 8/24 : COPY . . 05:35:37 ---> b1d2f206c3ed 05:35:37 Step 9/24 : RUN go mod tidy 05:35:37 ---> Running in a649289d37f9 05:35:37 Removing intermediate container a649289d37f9 05:35:37 ---> 132bb7a7c799 05:35:37 Step 10/24 : RUN go mod download 05:35:37 ---> Running in 922276466ad2 05:35:38 Removing intermediate container 922276466ad2 05:35:38 ---> 2731469ded07 05:35:38 Step 11/24 : ARG MAKE='make build' 05:35:38 ---> Running in 64c26c8877d9 05:35:38 Removing intermediate container 64c26c8877d9 05:35:38 ---> 50f6b065aabd 05:35:38 Step 12/24 : RUN $MAKE 05:35:38 ---> Running in c6de95137ba1 05:35:38 go mod tidy 05:35:39 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.18" -o cmd/device-mqtt ./cmd 05:35:45 4ebd0625c992: Pull complete 05:35:45 207e8628e3a3: Pull complete 05:35:46 c791037a9be2: Pull complete 05:35:51 Removing intermediate container c6de95137ba1 05:35:51 ---> 33f913750ece 05:35:51 Step 13/24 : FROM alpine:3.12 05:35:51 3.12: Pulling from library/alpine 05:35:51 339de151aab4: Pulling fs layer 05:35:51 ffd874e62e21: Pull complete 05:35:51 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:35:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:35:51 ---> cfc18b08335c 05:35:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:35:51 339de151aab4: Verifying Checksum 05:35:51 339de151aab4: Download complete 05:35:51 339de151aab4: Pull complete 05:35:51 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:35:51 Status: Downloaded newer image for alpine:3.12 05:35:51 ---> 13621d1b12d4 05:35:51 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:35:51 ---> Running in 3ab40781a05b 05:35:52 ---> Running in 7d19dacf40cb 05:35:52 Removing intermediate container 7d19dacf40cb 05:35:52 ---> 5b593feee244 05:35:52 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:35:52 ---> Running in 98ccf4e5a0c9 05:35:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:35:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:35:52 Removing intermediate container 3ab40781a05b 05:35:52 ---> 8b66e55924f6 05:35:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:35:52 ---> Running in 5608efb55a8d 05:35:52 (1/6) Installing dumb-init (1.2.2-r1) 05:35:52 (2/6) Installing libgcc (9.3.0-r2) 05:35:52 (3/6) Installing libsodium (1.0.18-r0) 05:35:52 (4/6) Installing libstdc++ (9.3.0-r2) 05:35:52 (5/6) Installing libzmq (4.3.3-r0) 05:35:52 (6/6) Installing zeromq (4.3.3-r0) 05:35:52 Executing busybox-1.31.1-r20.trigger 05:35:52 OK: 8 MiB in 20 packages 05:35:52 Removing intermediate container 98ccf4e5a0c9 05:35:52 ---> 34ed7bc9a9ae 05:35:52 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 05:35:53 ---> 2d4fff98ca84 05:35:53 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 05:35:53 ---> 3a24af302365 05:35:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:35:53 ---> a628dfa959b4 05:35:53 Step 19/24 : EXPOSE 59982 05:35:53 ---> Running in 7bbd545167b0 05:35:53 Removing intermediate container 7bbd545167b0 05:35:53 ---> 294e0effc4f0 05:35:53 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 05:35:53 ---> Running in ddd47c004289 05:35:53 Removing intermediate container ddd47c004289 05:35:53 ---> a62eab75a046 05:35:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:35:53 ---> Running in fc8d60c1e114 05:35:53 Removing intermediate container fc8d60c1e114 05:35:53 ---> a8aaadd8c050 05:35:53 Step 22/24 : LABEL arch=amd64 05:35:53 ---> Running in f73891e8ccce 05:35:54 Removing intermediate container f73891e8ccce 05:35:54 ---> 92b1c279baef 05:35:54 Step 23/24 : LABEL git_sha=c0141a04964c7f4d66f753227731f52f68418698 05:35:54 ---> Running in 22ef93ac4bb7 05:35:54 Removing intermediate container 22ef93ac4bb7 05:35:54 ---> dc25d71791c8 05:35:54 Step 24/24 : LABEL version=1.3.2-dev.18 05:35:54 ---> Running in 21103b5fcfd7 05:35:54 Removing intermediate container 21103b5fcfd7 05:35:54 ---> cfe9e1c381e9 05:35:54 [Warning] One or more build-args [ARCH] were not consumed 05:35:54 Successfully built cfe9e1c381e9 05:35:54 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:54 provisioning config files... 05:35:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config3060803649138100647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:54 ---> docker-login.sh 05:35:54 nexus3.edgexfoundry.org:10001 05:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:54 Configure a credential helper to remove this warning. See 05:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:54 05:35:54 Login Succeeded 05:35:54 nexus3.edgexfoundry.org:10002 05:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:55 Configure a credential helper to remove this warning. See 05:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:55 05:35:55 Login Succeeded 05:35:55 nexus3.edgexfoundry.org:10003 05:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:55 Configure a credential helper to remove this warning. See 05:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:55 05:35:55 Login Succeeded 05:35:55 nexus3.edgexfoundry.org:10004 05:35:55 Removing intermediate container 5608efb55a8d 05:35:55 ---> 6da27226e61c 05:35:55 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:35:55 ---> Running in 614493dc757e 05:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:55 Configure a credential helper to remove this warning. See 05:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:55 05:35:55 Login Succeeded 05:35:55 docker.io 05:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:55 Configure a credential helper to remove this warning. See 05:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:55 05:35:55 Login Succeeded 05:35:55 ---> docker-login.sh ends [Pipeline] } 05:35:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:35:55 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 05:35:55 c0141a04964c7f4d66f753227731f52f68418698 05:35:55 latest 05:35:55 1.3.2-dev.18 05:35:55 c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 05:35:55 master 05:35:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:35:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c0141a04964c7f4d66f753227731f52f68418698 [Pipeline] isUnix [Pipeline] sh 05:35:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:35:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c0141a04964c7f4d66f753227731f52f68418698 05:35:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:35:56 2882944d8116: Preparing 05:35:56 93888945ded7: Preparing 05:35:56 99605ad8e2f2: Preparing 05:35:56 1bb232774c8b: Preparing 05:35:56 32f366d666a5: Preparing 05:35:56 32f366d666a5: Layer already exists 05:35:56 2882944d8116: Pushed 05:35:56 93888945ded7: Pushed 05:35:56 1bb232774c8b: Pushed 05:35:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:35:57 (1/13) Installing libc-dev (0.7.2-r3) 05:35:58 99605ad8e2f2: Pushed 05:35:58 (2/13) Installing libsodium (1.0.18-r0) 05:35:58 (3/13) Installing pkgconf (1.7.3-r0) 05:35:58 c0141a04964c7f4d66f753227731f52f68418698: digest: sha256:185c14297fdee70a0e3f4bf22cfbd852074565418ca6753fe27afc841490e88e size: 1365 [Pipeline] isUnix [Pipeline] sh 05:35:58 (4/13) Installing libsodium-dev (1.0.18-r0) 05:35:58 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:35:58 (6/13) Installing libedit (20191231.3.1-r1) 05:35:58 (7/13) Installing openssh-client (8.4_p1-r3) 05:35:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 05:35:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:35:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:35:58 2882944d8116: Preparing 05:35:58 93888945ded7: Preparing 05:35:58 99605ad8e2f2: Preparing 05:35:58 1bb232774c8b: Preparing 05:35:58 32f366d666a5: Preparing 05:35:58 1bb232774c8b: Layer already exists 05:35:58 32f366d666a5: Layer already exists 05:35:58 99605ad8e2f2: Layer already exists 05:35:58 93888945ded7: Layer already exists 05:35:58 2882944d8116: Layer already exists 05:35:58 latest: digest: sha256:185c14297fdee70a0e3f4bf22cfbd852074565418ca6753fe27afc841490e88e size: 1365 [Pipeline] isUnix [Pipeline] sh 05:35:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:35:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.18 05:35:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:35:59 2882944d8116: Preparing 05:35:59 93888945ded7: Preparing 05:35:59 99605ad8e2f2: Preparing 05:35:59 1bb232774c8b: Preparing 05:35:59 32f366d666a5: Preparing 05:35:59 1bb232774c8b: Layer already exists 05:35:59 32f366d666a5: Layer already exists 05:35:59 2882944d8116: Layer already exists 05:35:59 99605ad8e2f2: Layer already exists 05:35:59 93888945ded7: Layer already exists 05:35:59 1.3.2-dev.18: digest: sha256:185c14297fdee70a0e3f4bf22cfbd852074565418ca6753fe27afc841490e88e size: 1365 [Pipeline] isUnix [Pipeline] sh 05:35:59 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:35:59 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:35:59 (10/13) Installing openssh-server (8.4_p1-r3) 05:35:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:35:59 (11/13) Installing openssh (8.4_p1-r3) 05:36:00 (12/13) Installing libzmq (4.3.3-r1) 05:36:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 05:36:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:36:00 2882944d8116: Preparing 05:36:00 93888945ded7: Preparing 05:36:00 99605ad8e2f2: Preparing 05:36:00 1bb232774c8b: Preparing 05:36:00 32f366d666a5: Preparing 05:36:00 2882944d8116: Layer already exists 05:36:00 32f366d666a5: Layer already exists 05:36:00 93888945ded7: Layer already exists 05:36:00 99605ad8e2f2: Layer already exists 05:36:00 1bb232774c8b: Layer already exists 05:36:00 c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18: digest: sha256:185c14297fdee70a0e3f4bf22cfbd852074565418ca6753fe27afc841490e88e size: 1365 05:36:00 (13/13) Installing zeromq-dev (4.3.3-r1) 05:36:00 Executing busybox-1.32.1-r6.trigger 05:36:00 OK: 145 MiB in 53 packages [Pipeline] isUnix [Pipeline] sh 05:36:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 05:36:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 05:36:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:36:01 2882944d8116: Preparing 05:36:01 93888945ded7: Preparing 05:36:01 99605ad8e2f2: Preparing 05:36:01 1bb232774c8b: Preparing 05:36:01 32f366d666a5: Preparing 05:36:01 93888945ded7: Layer already exists 05:36:01 1bb232774c8b: Layer already exists 05:36:01 99605ad8e2f2: Layer already exists 05:36:01 2882944d8116: Layer already exists 05:36:01 32f366d666a5: Layer already exists 05:36:01 master: digest: sha256:185c14297fdee70a0e3f4bf22cfbd852074565418ca6753fe27afc841490e88e size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:01 ===================================================== [Pipeline] echo 05:36:01 taggedImages: 05:36:01 - nexus3.edgexfoundry.org:10004/device-mqtt:c0141a04964c7f4d66f753227731f52f68418698 05:36:01 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:36:01 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.18 05:36:01 - nexus3.edgexfoundry.org:10004/device-mqtt:c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 05:36:01 - 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 05:36:01 Removing intermediate container 614493dc757e 05:36:01 ---> 01c030012a41 05:36:01 Step 6/8 : WORKDIR /device-mqtt-go 05:36:01 ---> Running in 7a55f9b8060c 05:36:02 ---> job-cost.sh 05:36:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-O0Ho 05:36:02 Removing intermediate container 7a55f9b8060c 05:36:02 ---> 40825d9b307f 05:36:02 Step 7/8 : COPY . . 05:36:03 ---> 89631cf6bebc 05:36:03 Step 8/8 : RUN go mod download 05:36:03 ---> Running in 39098e745bcd 05:36:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:36:24 lf-activate-venv(): INFO: Adding /tmp/venv-O0Ho/bin to PATH 05:36:24 INFO: No Stack... 05:36:24 INFO: Retrieving Pricing Info for: v3-standard-2 05:36:24 INFO: Archiving Costs [Pipeline] sh 05:36:25 + cat /w/workspace/device-mqtt-go/50/archives/cost.csv 05:36:25 + cut -d, -f6 [Pipeline] lock 05:36:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-50-stack-cost] 05:36:25 Resource [jenkins-edgexfoundry-device-mqtt-go-master-50-stack-cost] did not exist. Created. 05:36:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:36:25 + echo total: 0.05999999865889549 [Pipeline] stash 05:36:25 Stashed 1 file(s) [Pipeline] } 05:36:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-50-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:36:30 Removing intermediate container 39098e745bcd 05:36:30 ---> ef40026a4cbd 05:36:30 Successfully built ef40026a4cbd 05:36:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:36:30 + docker inspect -f . ci-base-image-arm64 05:36:30 . [Pipeline] withDockerContainer 05:36:30 prd-ubuntu18.04-docker-arm64-4c-16g-261 does not seem to be running inside a container 05:36:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/50 -v /w/workspace/device-mqtt-go/50:/w/workspace/device-mqtt-go/50:rw,z -v /w/workspace/device-mqtt-go/50@tmp:/w/workspace/device-mqtt-go/50@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 ******** ci-base-image-arm64 cat 05:36:32 $ docker top c2e1ae6034d2819ac78c109e619da95a4729d5fd399bc003e7f8f33a445c8d79 -eo pid,comm [Pipeline] { [Pipeline] sh 05:36:33 + go version 05:36:33 go version go1.16.3 linux/arm64 [Pipeline] } 05:36:33 $ docker stop --time=1 c2e1ae6034d2819ac78c109e619da95a4729d5fd399bc003e7f8f33a445c8d79 05:36:35 $ docker rm -f c2e1ae6034d2819ac78c109e619da95a4729d5fd399bc003e7f8f33a445c8d79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:36:35 + docker inspect -f . ci-base-image-arm64 05:36:35 . [Pipeline] withDockerContainer 05:36:36 prd-ubuntu18.04-docker-arm64-4c-16g-261 does not seem to be running inside a container 05:36:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/50 -v /w/workspace/device-mqtt-go/50:/w/workspace/device-mqtt-go/50:rw,z -v /w/workspace/device-mqtt-go/50@tmp:/w/workspace/device-mqtt-go/50@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 ******** ci-base-image-arm64 cat 05:36:37 $ docker top 15c186a7c317adf9d2c1710d4065a817d8733f594b0900561ad25e76a71e0636 -eo pid,comm [Pipeline] { [Pipeline] sh 05:36:38 + go mod tidy [Pipeline] sh 05:36:40 + make test 05:36:40 go mod tidy 05:36:40 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:36:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:37:38 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:37:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 23.0% of statements 05:37:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:37:39 GCO_ENABLED=1 GO111MODULE=on go vet ./... 05:38:12 gofmt -l . 05:38:12 ["`gofmt -l .`" = ""] 05:38:12 ./bin/test-attribution-txt.sh [Pipeline] } 05:38:12 $ docker stop --time=1 15c186a7c317adf9d2c1710d4065a817d8733f594b0900561ad25e76a71e0636 05:38:14 $ docker rm -f 15c186a7c317adf9d2c1710d4065a817d8733f594b0900561ad25e76a71e0636 [Pipeline] // withDockerContainer [Pipeline] sh 05:38:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:38:15 Warning: overwriting stash ‘coverage-report’ 05:38:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:38:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:38:16 + ls -al . 05:38:16 total 140 05:38:16 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 05:38 . 05:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:34 .. 05:38:16 -rw-rw-r-- 1 jenkins jenkins 140 Jun 3 05:34 .dockerignore 05:38:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 05:35 .git 05:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:34 .github 05:38:16 -rw-rw-r-- 1 jenkins jenkins 336 Jun 3 05:34 .gitignore 05:38:16 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 3 05:34 Attribution.txt 05:38:16 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 3 05:34 Dockerfile 05:38:16 -rw-rw-r-- 1 jenkins jenkins 994 Jun 3 05:34 Dockerfile.build 05:38:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 05:34 Jenkinsfile 05:38:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 05:34 LICENSE 05:38:16 -rw-rw-r-- 1 jenkins jenkins 907 Jun 3 05:34 Makefile 05:38:16 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 3 05:34 README.md 05:38:16 -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 05:31 VERSION 05:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:34 bin 05:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 05:34 cmd 05:38:16 -rw-r--r-- 1 jenkins jenkins 19385 Jun 3 05:37 coverage.out 05:38:16 -rw-rw-r-- 1 jenkins jenkins 409 Jun 3 05:34 go.mod 05:38:16 -rw-r--r-- 1 jenkins jenkins 20960 Jun 3 05:36 go.sum 05:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 05:34 internal 05:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:34 mock 05:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:34 snap 05:38:16 -rw-rw-r-- 1 jenkins jenkins 227 Jun 3 05:34 version.go [Pipeline] isUnix [Pipeline] sh 05:38:16 + 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=c0141a04964c7f4d66f753227731f52f68418698 --label arch=arm64 --label version=1.3.2-dev.18 . 05:38:17 Sending build context to Docker daemon 603.1kB 05:38:17 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 05:38:17 Step 2/24 : FROM ${BASE} AS builder 05:38:17 ---> ef40026a4cbd 05:38:17 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:38:17 ---> Running in 556589a53aeb 05:38:18 Removing intermediate container 556589a53aeb 05:38:18 ---> 862292ee7b5a 05:38:18 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 05:38:18 ---> Running in 37be21dec362 05:38:18 Removing intermediate container 37be21dec362 05:38:18 ---> 7aa5edd5f5d8 05:38:18 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:38:18 ---> Running in f9557fc17590 05:38:21 Removing intermediate container f9557fc17590 05:38:21 ---> 4c006f2b6690 05:38:21 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:38:21 ---> Running in cf0c41231009 05:38:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:38:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:38:26 OK: 145 MiB in 53 packages 05:38:27 Removing intermediate container cf0c41231009 05:38:27 ---> ad8c8ddb4e8b 05:38:27 Step 7/24 : WORKDIR /device-mqtt-go 05:38:27 ---> Running in 06aaf8c1f7de 05:38:28 Removing intermediate container 06aaf8c1f7de 05:38:28 ---> 26357b1a123b 05:38:28 Step 8/24 : COPY . . 05:38:29 ---> c0b34daa5e12 05:38:29 Step 9/24 : RUN go mod tidy 05:38:29 ---> Running in 03a47f58c91f 05:38:32 Removing intermediate container 03a47f58c91f 05:38:32 ---> 9ddb635a2f09 05:38:32 Step 10/24 : RUN go mod download 05:38:32 ---> Running in 64561a0d7daa 05:38:35 Removing intermediate container 64561a0d7daa 05:38:35 ---> 70084501d2f9 05:38:35 Step 11/24 : ARG MAKE='make build' 05:38:35 ---> Running in 428d31d54260 05:38:35 Removing intermediate container 428d31d54260 05:38:35 ---> 5ffcd4d610d3 05:38:35 Step 12/24 : RUN $MAKE 05:38:35 ---> Running in 0b276be59e93 05:38:37 go mod tidy 05:38:37 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.18" -o cmd/device-mqtt ./cmd 05:39:16 Removing intermediate container 0b276be59e93 05:39:16 ---> 98403d10fa7a 05:39:16 Step 13/24 : FROM alpine:3.12 05:39:16 3.12: Pulling from library/alpine 05:39:16 d2f70382dc9a: Pulling fs layer 05:39:16 d2f70382dc9a: Verifying Checksum 05:39:16 d2f70382dc9a: Download complete 05:39:16 d2f70382dc9a: Pull complete 05:39:16 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:39:16 Status: Downloaded newer image for alpine:3.12 05:39:16 ---> 9852663dfa18 05:39:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:39:17 ---> Running in 89ec358c1baa 05:39:17 Removing intermediate container 89ec358c1baa 05:39:17 ---> 4edc36486ec4 05:39:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:39:17 ---> Running in 6a31d989b95a 05:39:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:39:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:39:19 (1/6) Installing dumb-init (1.2.2-r1) 05:39:19 (2/6) Installing libgcc (9.3.0-r2) 05:39:19 (3/6) Installing libsodium (1.0.18-r0) 05:39:19 (4/6) Installing libstdc++ (9.3.0-r2) 05:39:19 (5/6) Installing libzmq (4.3.3-r0) 05:39:19 (6/6) Installing zeromq (4.3.3-r0) 05:39:19 Executing busybox-1.31.1-r20.trigger 05:39:19 OK: 8 MiB in 20 packages 05:39:21 Removing intermediate container 6a31d989b95a 05:39:21 ---> 3a535386ace7 05:39:21 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 05:39:22 ---> e8c8ab1b9132 05:39:22 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 05:39:23 ---> 304317801d44 05:39:23 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:39:23 ---> 5425a6536a69 05:39:23 Step 19/24 : EXPOSE 59982 05:39:24 ---> Running in 181ebe6b39d5 05:39:24 Removing intermediate container 181ebe6b39d5 05:39:24 ---> 1a20bc7333c3 05:39:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 05:39:24 ---> Running in fafbaf220df9 05:39:25 Removing intermediate container fafbaf220df9 05:39:25 ---> f44f01e83965 05:39:25 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:39:25 ---> Running in 7f6a66f928f1 05:39:25 Removing intermediate container 7f6a66f928f1 05:39:25 ---> e39458f5a5ba 05:39:25 Step 22/24 : LABEL arch=arm64 05:39:25 ---> Running in 95fbe2160572 05:39:26 Removing intermediate container 95fbe2160572 05:39:26 ---> c9d03772ae22 05:39:26 Step 23/24 : LABEL git_sha=c0141a04964c7f4d66f753227731f52f68418698 05:39:26 ---> Running in 530625cd9d97 05:39:27 Removing intermediate container 530625cd9d97 05:39:27 ---> 32d47350fda2 05:39:27 Step 24/24 : LABEL version=1.3.2-dev.18 05:39:27 ---> Running in 5afeb6d964c5 05:39:27 Removing intermediate container 5afeb6d964c5 05:39:27 ---> af864549f466 05:39:27 [Warning] One or more build-args [ARCH] were not consumed 05:39:27 Successfully built af864549f466 05:39:27 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 05:39:28 provisioning config files... 05:39:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config3469542673568615357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:28 ---> docker-login.sh 05:39:28 nexus3.edgexfoundry.org:10001 05:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:29 Configure a credential helper to remove this warning. See 05:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:29 05:39:29 Login Succeeded 05:39:29 nexus3.edgexfoundry.org:10002 05:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:29 Configure a credential helper to remove this warning. See 05:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:29 05:39:29 Login Succeeded 05:39:29 nexus3.edgexfoundry.org:10003 05:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:30 Configure a credential helper to remove this warning. See 05:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:30 05:39:30 Login Succeeded 05:39:30 nexus3.edgexfoundry.org:10004 05:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:30 Configure a credential helper to remove this warning. See 05:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:30 05:39:30 Login Succeeded 05:39:30 docker.io 05:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:31 Configure a credential helper to remove this warning. See 05:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:31 05:39:31 Login Succeeded 05:39:31 ---> docker-login.sh ends [Pipeline] } 05:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:39:31 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 05:39:31 c0141a04964c7f4d66f753227731f52f68418698 05:39:31 latest 05:39:31 1.3.2-dev.18 05:39:31 c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 05:39:31 master 05:39:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:39:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c0141a04964c7f4d66f753227731f52f68418698 [Pipeline] isUnix [Pipeline] sh 05:39:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c0141a04964c7f4d66f753227731f52f68418698 05:39:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:39:32 bbb9f2a35092: Preparing 05:39:32 42f3a6317225: Preparing 05:39:32 a1ab9233bfdd: Preparing 05:39:32 8e427808322c: Preparing 05:39:32 3fbe34a1663b: Preparing 05:39:32 3fbe34a1663b: Layer already exists 05:39:32 bbb9f2a35092: Pushed 05:39:32 42f3a6317225: Pushed 05:39:33 8e427808322c: Pushed 05:39:36 a1ab9233bfdd: Pushed 05:39:36 c0141a04964c7f4d66f753227731f52f68418698: digest: sha256:3d8c4815e54e71dc3f6da139ec36e02882d8f5ff3a4e9deb1fd5499bfee06138 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:39:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:39:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:39:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:39:36 bbb9f2a35092: Preparing 05:39:36 42f3a6317225: Preparing 05:39:36 a1ab9233bfdd: Preparing 05:39:36 8e427808322c: Preparing 05:39:36 3fbe34a1663b: Preparing 05:39:36 42f3a6317225: Layer already exists 05:39:36 8e427808322c: Layer already exists 05:39:36 3fbe34a1663b: Layer already exists 05:39:36 bbb9f2a35092: Layer already exists 05:39:36 a1ab9233bfdd: Layer already exists 05:39:36 latest: digest: sha256:3d8c4815e54e71dc3f6da139ec36e02882d8f5ff3a4e9deb1fd5499bfee06138 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:39:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:39:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.18 05:39:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:39:37 bbb9f2a35092: Preparing 05:39:37 42f3a6317225: Preparing 05:39:37 a1ab9233bfdd: Preparing 05:39:37 8e427808322c: Preparing 05:39:37 3fbe34a1663b: Preparing 05:39:37 42f3a6317225: Layer already exists 05:39:37 bbb9f2a35092: Layer already exists 05:39:37 3fbe34a1663b: Layer already exists 05:39:37 a1ab9233bfdd: Layer already exists 05:39:37 8e427808322c: Layer already exists 05:39:37 1.3.2-dev.18: digest: sha256:3d8c4815e54e71dc3f6da139ec36e02882d8f5ff3a4e9deb1fd5499bfee06138 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:39:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:39:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 05:39:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:39:38 bbb9f2a35092: Preparing 05:39:38 42f3a6317225: Preparing 05:39:38 a1ab9233bfdd: Preparing 05:39:38 8e427808322c: Preparing 05:39:38 3fbe34a1663b: Preparing 05:39:38 3fbe34a1663b: Layer already exists 05:39:38 8e427808322c: Layer already exists 05:39:38 a1ab9233bfdd: Layer already exists 05:39:38 bbb9f2a35092: Layer already exists 05:39:38 42f3a6317225: Layer already exists 05:39:38 c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18: digest: sha256:3d8c4815e54e71dc3f6da139ec36e02882d8f5ff3a4e9deb1fd5499bfee06138 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:39:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 05:39:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 05:39:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:39:39 bbb9f2a35092: Preparing 05:39:39 42f3a6317225: Preparing 05:39:39 a1ab9233bfdd: Preparing 05:39:39 8e427808322c: Preparing 05:39:39 3fbe34a1663b: Preparing 05:39:39 42f3a6317225: Layer already exists 05:39:39 8e427808322c: Layer already exists 05:39:39 a1ab9233bfdd: Layer already exists 05:39:39 3fbe34a1663b: Layer already exists 05:39:39 bbb9f2a35092: Layer already exists 05:39:39 master: digest: sha256:3d8c4815e54e71dc3f6da139ec36e02882d8f5ff3a4e9deb1fd5499bfee06138 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:39:39 ===================================================== [Pipeline] echo 05:39:39 taggedImages: 05:39:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c0141a04964c7f4d66f753227731f52f68418698 05:39:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:39:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.18 05:39:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c0141a04964c7f4d66f753227731f52f68418698-1.3.2-dev.18 05:39:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:39:40 ---> job-cost.sh 05:39:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NKAy 05:40:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:41:49 lf-activate-venv(): INFO: Adding /tmp/venv-NKAy/bin to PATH 05:41:49 INFO: No Stack... 05:41:49 INFO: Retrieving Pricing Info for: v2-standard-4 05:41:50 INFO: Archiving Costs [Pipeline] sh 05:41:50 + cat /w/workspace/device-mqtt-go/50/archives/cost.csv 05:41:50 + cut -d, -f6 [Pipeline] lock 05:41:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-50-stack-cost] 05:41:50 Resource [jenkins-edgexfoundry-device-mqtt-go-master-50-stack-cost] did not exist. Created. 05:41:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:41:51 /w/workspace/device-mqtt-go/50@tmp/durable-afc7d4f2/script.sh: 1: /w/workspace/device-mqtt-go/50@tmp/durable-afc7d4f2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:41:51 + echo total: 0.18000000715255737 [Pipeline] stash 05:41:51 Warning: overwriting stash ‘stack-cost’ 05:41:51 Stashed 1 file(s) [Pipeline] } 05:41:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-50-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 05:41:52 provisioning config files... 05:41:52 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6991785843496503673tmp [Pipeline] { [Pipeline] sh 05:41:52 + set +x 05:41:52 + curl -s https://codecov.io/bash 05:41:52 + bash -s -- 05:41:52 05:41:52 _____ _ 05:41:52 / ____| | | 05:41:52 | | ___ __| | ___ ___ _____ __ 05:41:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:41:52 | |___| (_) | (_| | __/ (_| (_) \ V / 05:41:52 \_____\___/ \__,_|\___|\___\___/ \_/ 05:41:52 Bash-1.0.3 05:41:52 05:41:52 05:41:52 ==> git version 2.24.4 found 05:41:52 ==> 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 05:41:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:41:52 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:41:52 ==> Jenkins CI detected. 05:41:52 project root: . 05:41:52 --> token set from env 05:41:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:41:52 ==> Running gcov in . (disable via -X gcov) 05:41:52 ==> Python coveragepy not found 05:41:52 ==> Searching for coverage reports in: 05:41:52 + . 05:41:53 -> Found 1 reports 05:41:53 ==> Detecting git/mercurial file structure 05:41:53 ==> Reading reports 05:41:53 + ./coverage.out bytes=19385 05:41:53 ==> Appending adjustments 05:41:53 https://docs.codecov.io/docs/fixing-reports 05:41:53 + Found adjustments 05:41:53 ==> Gzipping contents 05:41:53 4.0K /tmp/codecov.Zlhl03.gz 05:41:53 ==> Uploading reports 05:41:53 url: https://codecov.io 05:41:53 query: branch=master&commit=c0141a04964c7f4d66f753227731f52f68418698&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:41:53 -> Pinging Codecov 05:41:53 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=c0141a04964c7f4d66f753227731f52f68418698&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:41:53 -> Uploading to 05:41:53 https://storage.googleapis.com/codecov/v4/raw/2021-06-03/7D719EC7BBE17E464838252E33014C33/c0141a04964c7f4d66f753227731f52f68418698/cb410f54-740f-421f-9654-c1c70e2afdbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210603T054153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a866f006e5f66a2f88eec65d2acfc240427352b6b866744c89e534c1c6cd74b0 05:41:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:41:53 Dload Upload Total Spent Left Speed 05:41:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3400 0 0 100 3400 0 6874 --:--:-- --:--:-- --:--:-- 6868 05:41:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c0141a04964c7f4d66f753227731f52f68418698 [Pipeline] } 05:41:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:41:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:41:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:41:55 05:41:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:41:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:41:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:41:55 188c0c94c7c5: Pulling fs layer 05:41:55 0ef7d3d256c8: Pulling fs layer 05:41:55 de9db76c5a1d: Pulling fs layer 05:41:55 0eba1c9be4d2: Pulling fs layer 05:41:55 0d57e429df01: Pulling fs layer 05:41:55 4e4be7b47b0d: Pulling fs layer 05:41:55 e1f770b5df2f: Pulling fs layer 05:41:55 85a0685a4137: Pulling fs layer 05:41:55 0eba1c9be4d2: Waiting 05:41:55 0d57e429df01: Waiting 05:41:55 4e4be7b47b0d: Waiting 05:41:55 e1f770b5df2f: Waiting 05:41:55 85a0685a4137: Waiting 05:41:55 de9db76c5a1d: Verifying Checksum 05:41:55 de9db76c5a1d: Download complete 05:41:55 0ef7d3d256c8: Verifying Checksum 05:41:55 0ef7d3d256c8: Download complete 05:41:55 0d57e429df01: Verifying Checksum 05:41:55 0d57e429df01: Download complete 05:41:55 188c0c94c7c5: Verifying Checksum 05:41:55 188c0c94c7c5: Download complete 05:41:55 4e4be7b47b0d: Verifying Checksum 05:41:55 4e4be7b47b0d: Download complete 05:41:55 188c0c94c7c5: Pull complete 05:41:55 0ef7d3d256c8: Pull complete 05:41:55 de9db76c5a1d: Pull complete 05:41:57 e1f770b5df2f: Verifying Checksum 05:41:57 e1f770b5df2f: Download complete 05:41:59 0eba1c9be4d2: Verifying Checksum 05:41:59 0eba1c9be4d2: Download complete 05:41:59 85a0685a4137: Verifying Checksum 05:41:59 85a0685a4137: Download complete 05:42:03 0eba1c9be4d2: Pull complete 05:42:03 0d57e429df01: Pull complete 05:42:03 4e4be7b47b0d: Pull complete 05:42:03 e1f770b5df2f: Pull complete 05:42:06 85a0685a4137: Pull complete 05:42:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:42:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:42:06 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 05:42:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:42:09 $ docker top efbe81bfcf6ab3087422c967143c1dd340837cb961f629b36fe6bf71867c12a4 -eo pid,comm [Pipeline] { [Pipeline] echo 05:42:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:42:10 + set -o pipefail 05:42:10 + snyk monitor '--org=edgex-jenkins' 05:42:15 05:42:15 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 05:42:15 05:42:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/05e36818-66c7-4a17-9466-58480317beec 05:42:15 05:42:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:42:15 05:42:15 [Pipeline] } 05:42:15 $ docker stop --time=1 efbe81bfcf6ab3087422c967143c1dd340837cb961f629b36fe6bf71867c12a4 05:42:19 $ docker rm -f efbe81bfcf6ab3087422c967143c1dd340837cb961f629b36fe6bf71867c12a4 [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 05:42:20 + git log --format=format:%s -1 c0141a04964c7f4d66f753227731f52f68418698 [Pipeline] isUnix [Pipeline] sh 05:42:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:42:21 . [Pipeline] withDockerContainer 05:42:21 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 05:42:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:42:21 $ docker top d35fbb636c7999579881b73c91542a3533c1762b6bae816f6eca92c2110eecdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:42:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:21 [ssh-agent] Looking for ssh-agent implementation... 05:42:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:22 $ docker exec d35fbb636c7999579881b73c91542a3533c1762b6bae816f6eca92c2110eecdb ssh-agent 05:42:22 SSH_AUTH_SOCK=/tmp/ssh-zwfNF1MQbfjD/agent.14 05:42:22 SSH_AGENT_PID=21 05:42:22 Running ssh-add (command line suppressed) 05:42:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6727972152915272369.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6727972152915272369.key) 05:42:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:22 + git semver tag 05:42:22 # -> Open(): unable to determine branch for HEAD 05:42:22 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:42:22 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:42:22 # $SEMVER_REMOTE_NAME = origin 05:42:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:42:22 # $SEMVER_USER_NAME = edgex-jenkins 05:42:22 # $SEMVER_BRANCH = master 05:42:22 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 05:42:22 # c0141a04964c7f4d66f753227731f52f68418698 HEAD 05:42:22 # -> Force: false 05:42:22 # d83a78b46c61f3e5371e2717b17ee96f3aea9b0b refs/tags/v1.3.2-dev.18 [Pipeline] } 05:42:22 $ docker exec --env ******** --env ******** d35fbb636c7999579881b73c91542a3533c1762b6bae816f6eca92c2110eecdb ssh-agent -k 05:42:22 unset SSH_AUTH_SOCK; 05:42:22 unset SSH_AGENT_PID; 05:42:22 echo Agent pid 21 killed; 05:42:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:42:22 + git semver [Pipeline] } 05:42:22 $ docker stop --time=1 d35fbb636c7999579881b73c91542a3533c1762b6bae816f6eca92c2110eecdb 05:42:24 $ docker rm -f d35fbb636c7999579881b73c91542a3533c1762b6bae816f6eca92c2110eecdb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:42:24 05:42:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:42:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:42:25 0.23.1-centos7: Pulling from edgex-lftools 05:42:25 ab5ef0e58194: Pulling fs layer 05:42:25 9712f1f96733: Pulling fs layer 05:42:25 63f879dbbcfc: Pulling fs layer 05:42:25 0d9ebad4ef96: Pulling fs layer 05:42:25 e9a5061849ea: Pulling fs layer 05:42:25 d747dcd14b5f: Pulling fs layer 05:42:25 2de7ff778b66: Pulling fs layer 05:42:25 0d9ebad4ef96: Waiting 05:42:25 e9a5061849ea: Waiting 05:42:25 d747dcd14b5f: Waiting 05:42:25 2de7ff778b66: Waiting 05:42:25 9712f1f96733: Verifying Checksum 05:42:25 9712f1f96733: Download complete 05:42:26 63f879dbbcfc: Verifying Checksum 05:42:26 63f879dbbcfc: Download complete 05:42:27 e9a5061849ea: Verifying Checksum 05:42:27 e9a5061849ea: Download complete 05:42:27 d747dcd14b5f: Verifying Checksum 05:42:27 d747dcd14b5f: Download complete 05:42:27 2de7ff778b66: Verifying Checksum 05:42:27 2de7ff778b66: Download complete 05:42:28 0d9ebad4ef96: Verifying Checksum 05:42:28 0d9ebad4ef96: Download complete 05:42:29 ab5ef0e58194: Verifying Checksum 05:42:29 ab5ef0e58194: Download complete 05:42:31 ab5ef0e58194: Pull complete 05:42:31 9712f1f96733: Pull complete 05:42:32 63f879dbbcfc: Pull complete 05:42:35 0d9ebad4ef96: Pull complete 05:42:35 e9a5061849ea: Pull complete 05:42:35 d747dcd14b5f: Pull complete 05:42:36 2de7ff778b66: Pull complete 05:42:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:42:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:42:36 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 05:42:36 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:42:40 $ docker top b3174526cf9fd0982af080ac2172b7075b559e80813bb08fed498c04d843ead5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:42:40 provisioning config files... 05:42:40 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2540342437206786126tmp 05:42:40 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7747428121359989865tmp 05:42:40 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3065030268266296785tmp [Pipeline] { [Pipeline] echo 05:42:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:42:41 ---> sigul-configuration.sh 05:42:41 gpg: directory `/root/.gnupg' created 05:42:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:42:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:42:41 gpg: keyring `/root/.gnupg/secring.gpg' created 05:42:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:42:41 gpg: CAST5 encrypted data 05:42:41 gpg: encrypted with 1 passphrase 05:42:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:42:41 + mkdir /home/jenkins 05:42:41 + mkdir /home/jenkins/sigul [Pipeline] sh 05:42:41 + 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 05:42:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:42:42 ---> sigul-install.sh 05:42:46 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:42:46 + git tag --list 05:42:46 0.7.1 05:42:46 v1.0.0 05:42:46 v1.1.0 05:42:46 v1.1.1 05:42:46 v1.2.2 05:42:46 v1.3.0 05:42:46 v1.3.1 05:42:46 v1.3.1-dev.1 05:42:46 v1.3.1-dev.2 05:42:46 v1.3.1-dev.3 05:42:46 v1.3.1-dev.4 05:42:46 v1.3.2-dev.1 05:42:46 v1.3.2-dev.10 05:42:46 v1.3.2-dev.11 05:42:46 v1.3.2-dev.12 05:42:46 v1.3.2-dev.13 05:42:46 v1.3.2-dev.14 05:42:46 v1.3.2-dev.15 05:42:46 v1.3.2-dev.16 05:42:46 v1.3.2-dev.17 05:42:46 v1.3.2-dev.18 05:42:46 v1.3.2-dev.2 05:42:46 v1.3.2-dev.3 05:42:46 v1.3.2-dev.4 05:42:46 v1.3.2-dev.5 05:42:46 v1.3.2-dev.6 05:42:46 v1.3.2-dev.7 05:42:46 v1.3.2-dev.8 05:42:46 v1.3.2-dev.9 [Pipeline] sh 05:42:47 + lftools sign git-tag v1.3.2-dev.18 05:42:47 Signing Git tag with Sigul... 05:42:47 Signing v1.3.2-dev.18 [Pipeline] echo 05:42:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:42:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:42:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:42:48 $ docker stop --time=1 b3174526cf9fd0982af080ac2172b7075b559e80813bb08fed498c04d843ead5 05:42:50 $ docker rm -f b3174526cf9fd0982af080ac2172b7075b559e80813bb08fed498c04d843ead5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:42:50 . [Pipeline] withDockerContainer 05:42:50 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 05:42:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:42:51 $ docker top 2fc74f98459cf03d73adce3711f0a56fbf31a0646d7a1b92ac985356ec58113e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:42:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:51 [ssh-agent] Looking for ssh-agent implementation... 05:42:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:51 $ docker exec 2fc74f98459cf03d73adce3711f0a56fbf31a0646d7a1b92ac985356ec58113e ssh-agent 05:42:51 SSH_AUTH_SOCK=/tmp/ssh-k9TszLwSA43q/agent.13 05:42:51 SSH_AGENT_PID=19 05:42:51 Running ssh-add (command line suppressed) 05:42:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4759433395226204204.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4759433395226204204.key) 05:42:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:52 + git semver bump pre 05:42:52 # -> Open(): unable to determine branch for HEAD 05:42:52 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:42:52 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:42:52 # $SEMVER_REMOTE_NAME = origin 05:42:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:42:52 # $SEMVER_USER_NAME = edgex-jenkins 05:42:52 # $SEMVER_BRANCH = master 05:42:52 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 05:42:52 1.3.2-dev.19 [Pipeline] } 05:42:52 $ docker exec --env ******** --env ******** 2fc74f98459cf03d73adce3711f0a56fbf31a0646d7a1b92ac985356ec58113e ssh-agent -k 05:42:52 unset SSH_AUTH_SOCK; 05:42:52 unset SSH_AGENT_PID; 05:42:52 echo Agent pid 19 killed; 05:42:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:42:52 + git semver [Pipeline] } 05:42:52 $ docker stop --time=1 2fc74f98459cf03d73adce3711f0a56fbf31a0646d7a1b92ac985356ec58113e 05:42:53 $ docker rm -f 2fc74f98459cf03d73adce3711f0a56fbf31a0646d7a1b92ac985356ec58113e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:42:54 . [Pipeline] withDockerContainer 05:42:54 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 05:42:54 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:42:54 $ docker top 36d3b44dec243f98f2b55ed0dfe9f7b01fe70fae795734d2073ae9b94ac201d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:42:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:54 [ssh-agent] Looking for ssh-agent implementation... 05:42:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:54 $ docker exec 36d3b44dec243f98f2b55ed0dfe9f7b01fe70fae795734d2073ae9b94ac201d9 ssh-agent 05:42:54 SSH_AUTH_SOCK=/tmp/ssh-4bmeSsMNftJa/agent.13 05:42:54 SSH_AGENT_PID=19 05:42:54 Running ssh-add (command line suppressed) 05:42:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5544290811305848453.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5544290811305848453.key) 05:42:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:55 + git semver push 05:42:55 # -> Open(): unable to determine branch for HEAD 05:42:55 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:42:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:42:55 # $SEMVER_REMOTE_NAME = origin 05:42:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:42:55 # $SEMVER_USER_NAME = edgex-jenkins 05:42:55 # $SEMVER_BRANCH = master 05:42:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 05:42:59 $ docker exec --env ******** --env ******** 36d3b44dec243f98f2b55ed0dfe9f7b01fe70fae795734d2073ae9b94ac201d9 ssh-agent -k 05:42:59 unset SSH_AUTH_SOCK; 05:42:59 unset SSH_AGENT_PID; 05:42:59 echo Agent pid 19 killed; 05:42:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:00 + git semver [Pipeline] } 05:43:00 $ docker stop --time=1 36d3b44dec243f98f2b55ed0dfe9f7b01fe70fae795734d2073ae9b94ac201d9 05:43:01 $ docker rm -f 36d3b44dec243f98f2b55ed0dfe9f7b01fe70fae795734d2073ae9b94ac201d9 [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 05:43:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:43:02 ---> package-listing.sh 05:43:02 ++ facter osfamily 05:43:02 ++ tr '[:upper:]' '[:lower:]' 05:43:03 + OS_FAMILY=redhat 05:43:03 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 05:43:03 + START_PACKAGES=/tmp/packages_start.txt 05:43:03 + END_PACKAGES=/tmp/packages_end.txt 05:43:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:43:03 + PACKAGES=/tmp/packages_start.txt 05:43:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 05:43:03 + PACKAGES=/tmp/packages_end.txt 05:43:03 + case "${OS_FAMILY}" in 05:43:03 + rpm -qa 05:43:03 + sort 05:43:03 + '[' -f /tmp/packages_start.txt ']' 05:43:03 + '[' -f /tmp/packages_end.txt ']' 05:43:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:43:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 05:43:03 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 05:43:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 05:43:03 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 05:43:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:43:04 05:43:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:43:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:43:05 alpine: Pulling from edgex-lftools-log-publisher 05:43:05 df20fa9351a1: Pulling fs layer 05:43:05 36b3adc4ff6f: Pulling fs layer 05:43:05 8ad3a11d3b57: Pulling fs layer 05:43:05 46f8f816bc3b: Pulling fs layer 05:43:05 93b61091891f: Pulling fs layer 05:43:05 93b9cdb0e59b: Pulling fs layer 05:43:05 5e14af77c1be: Pulling fs layer 05:43:05 01666e4c0597: Pulling fs layer 05:43:05 aa168da1d23b: Pulling fs layer 05:43:05 93b61091891f: Waiting 05:43:05 93b9cdb0e59b: Waiting 05:43:05 5e14af77c1be: Waiting 05:43:05 01666e4c0597: Waiting 05:43:05 aa168da1d23b: Waiting 05:43:05 46f8f816bc3b: Waiting 05:43:05 36b3adc4ff6f: Verifying Checksum 05:43:05 36b3adc4ff6f: Download complete 05:43:05 46f8f816bc3b: Verifying Checksum 05:43:05 46f8f816bc3b: Download complete 05:43:05 df20fa9351a1: Verifying Checksum 05:43:05 93b9cdb0e59b: Verifying Checksum 05:43:05 93b9cdb0e59b: Download complete 05:43:05 93b61091891f: Verifying Checksum 05:43:05 93b61091891f: Download complete 05:43:05 01666e4c0597: Verifying Checksum 05:43:05 01666e4c0597: Download complete 05:43:05 8ad3a11d3b57: Verifying Checksum 05:43:05 5e14af77c1be: Verifying Checksum 05:43:05 5e14af77c1be: Download complete 05:43:05 df20fa9351a1: Pull complete 05:43:05 36b3adc4ff6f: Pull complete 05:43:06 8ad3a11d3b57: Pull complete 05:43:06 46f8f816bc3b: Pull complete 05:43:06 93b61091891f: Pull complete 05:43:06 93b9cdb0e59b: Pull complete 05:43:07 5e14af77c1be: Pull complete 05:43:07 01666e4c0597: Pull complete 05:43:07 aa168da1d23b: Verifying Checksum 05:43:07 aa168da1d23b: Download complete 05:43:11 aa168da1d23b: Pull complete 05:43:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:43:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:43:11 prd-centos7-docker-4c-2g-252 does not seem to be running inside a container 05:43:11 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:43:16 $ docker top 789846414a396af48eb9f17c2c304ab499a954b956fecabf0d6e3565d028d73e -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:17 + touch /tmp/pre-build-complete [Pipeline] sh 05:43:17 + mkdir -p /var/log/sa [Pipeline] sh 05:43:17 + ls /var/log/sa-host 05:43:17 + sadf -c /var/log/sa-host/sa03 05:43:17 file_magic: OK 05:43:17 HZ: Using current value: 100 05:43:17 file_header: OK 05:43:17 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 05:43:17 Statistics: 05:43:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:43:17 File successfully converted to sysstat format version 12.2.1 05:43:17 + sadf -c /var/log/sa-host/sa05 05:43:17 file_magic: OK 05:43:17 HZ: Using current value: 100 05:43:17 file_header: OK 05:43:17 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 05:43:17 Statistics: 05:43:17 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:43:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:17 provisioning config files... 05:43:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5006322377906491294tmp [Pipeline] { [Pipeline] echo 05:43:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:43:18 ---> create-netrc.sh [Pipeline] } 05:43:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:43:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:43:18 ---> python-tools-install.sh [Pipeline] echo 05:43:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:43:18 ---> sudo-logs.sh 05:43:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:43:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:43:19 ---> job-cost.sh 05:43:19 lf-activate-venv: SKIPPING 05:43:19 DEBUG: total: 0.18000000715255737 05:43:19 INFO: Retrieving Stack Cost... 05:43:19 INFO: Retrieving Pricing Info for: v3-standard-2 05:43:20 INFO: Archiving Costs [Pipeline] echo 05:43:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:43:20 ---> logs-deploy.sh 05:43:20 lf-activate-venv: SKIPPING 05:43:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/50 05:43:20 INFO: archiving workspace using pattern(s): 05:43:21 Archives upload complete. 05:43:21 INFO: archiving logs to Nexus 05:43:22 ---> uname -a: 05:43:22 Linux prd-centos7-docker-4c-2g-252.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 05:43:22 05:43:22 05:43:22 ---> lscpu: 05:43:22 Architecture: x86_64 05:43:22 CPU op-mode(s): 32-bit, 64-bit 05:43:22 Byte Order: Little Endian 05:43:22 Address sizes: 40 bits physical, 48 bits virtual 05:43:22 CPU(s): 2 05:43:22 On-line CPU(s) list: 0,1 05:43:22 Thread(s) per core: 1 05:43:22 Core(s) per socket: 1 05:43:22 Socket(s): 2 05:43:22 NUMA node(s): 1 05:43:22 Vendor ID: AuthenticAMD 05:43:22 CPU family: 23 05:43:22 Model: 49 05:43:22 Model name: AMD EPYC-Rome Processor 05:43:22 Stepping: 0 05:43:22 CPU MHz: 2800.000 05:43:22 BogoMIPS: 5600.00 05:43:22 Virtualization: AMD-V 05:43:22 Hypervisor vendor: KVM 05:43:22 Virtualization type: full 05:43:22 L1d cache: 64 KiB 05:43:22 L1i cache: 64 KiB 05:43:22 L2 cache: 1 MiB 05:43:22 L3 cache: 32 MiB 05:43:22 NUMA node0 CPU(s): 0,1 05:43:22 Vulnerability Itlb multihit: Not affected 05:43:22 Vulnerability L1tf: Not affected 05:43:22 Vulnerability Mds: Not affected 05:43:22 Vulnerability Meltdown: Not affected 05:43:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:43:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:43:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:43:22 Vulnerability Srbds: Not affected 05:43:22 Vulnerability Tsx async abort: Not affected 05:43:22 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 05:43:22 05:43:22 05:43:22 ---> nproc: 05:43:22 2 05:43:22 05:43:22 05:43:22 ---> df -h: 05:43:22 Filesystem Size Used Available Use% Mounted on 05:43:22 overlay 40.0G 8.9G 31.1G 22% / 05:43:22 tmpfs 64.0M 0 64.0M 0% /dev 05:43:22 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 05:43:22 shm 64.0M 0 64.0M 0% /dev/shm 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 05:43:22 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 05:43:22 05:43:22 05:43:22 ---> free -m: 05:43:22 total used free shared buff/cache available 05:43:22 Mem: 7821 1155 3281 0 3384 6584 05:43:22 Swap: 1023 0 1023 05:43:22 05:43:22 05:43:22 ---> ip addr: 05:43:22 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:43:22 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:43:22 inet 127.0.0.1/8 scope host lo 05:43:22 valid_lft forever preferred_lft forever 05:43:22 inet6 ::1/128 scope host 05:43:22 valid_lft forever preferred_lft forever 05:43:22 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:43:22 link/ether fa:16:3e:8e:f8:9b brd ff:ff:ff:ff:ff:ff 05:43:22 inet 10.30.123.44/23 brd 10.30.123.255 scope global dynamic eth0 05:43:22 valid_lft 85650sec preferred_lft 85650sec 05:43:22 inet6 fe80::f816:3eff:fe8e:f89b/64 scope link 05:43:22 valid_lft forever preferred_lft forever 05:43:22 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:43:22 link/ether 02:42:d5:67:64:e9 brd ff:ff:ff:ff:ff:ff 05:43:22 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:43:22 valid_lft forever preferred_lft forever 05:43:22 inet6 fe80::42:d5ff:fe67:64e9/64 scope link 05:43:22 valid_lft forever preferred_lft forever 05:43:22 05:43:22 05:43:22 ---> sar -b -r -n DEV: 05:43:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/03/21 _x86_64_ (2 CPU) 05:43:22 05:43:22 05:30:39 LINUX RESTART (2 CPU) 05:43:22 05:43:22 05:31:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:43:22 05:32:01 147.65 20.03 127.62 0.00 5949.53 36366.30 0.00 05:43:22 05:33:01 1.65 0.00 1.65 0.00 0.00 33.53 0.00 05:43:22 05:34:01 0.47 0.00 0.47 0.00 0.00 8.53 0.00 05:43:22 05:35:01 0.15 0.00 0.15 0.00 0.00 1.75 0.00 05:43:22 05:36:01 0.28 0.00 0.28 0.00 0.00 4.28 0.00 05:43:22 05:37:01 0.40 0.00 0.40 0.00 0.00 5.76 0.00 05:43:22 05:38:01 0.15 0.00 0.15 0.00 0.00 2.32 0.00 05:43:22 05:39:01 0.30 0.00 0.30 0.00 0.00 4.70 0.00 05:43:22 05:40:01 0.22 0.00 0.22 0.00 0.00 3.23 0.00 05:43:22 05:41:01 0.28 0.00 0.28 0.00 0.00 3.46 0.00 05:43:22 05:42:01 1.63 0.03 1.60 0.00 3.73 28.65 0.00 05:43:22 05:43:01 212.19 0.00 212.19 0.00 0.00 58226.62 0.00 05:43:22 Average: 30.30 1.65 28.65 0.00 488.65 7853.96 0.00 05:43:22 05:43:22 05:31:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:43:22 05:32:01 5472804 0 796968 9.95 2620 1736548 1293864 14.28 564416 1572488 132 05:43:22 05:33:01 5480008 0 789756 9.86 2620 1736556 1237908 13.67 558244 1572520 20 05:43:22 05:34:01 5480392 0 789316 9.86 2620 1736612 1228692 13.57 559428 1570628 28 05:43:22 05:35:01 5479684 0 790076 9.86 2620 1736560 1228728 13.57 560140 1571300 20 05:43:22 05:36:01 5479288 0 790464 9.87 2620 1736568 1228740 13.57 557120 1574340 8 05:43:22 05:37:01 5478220 0 791532 9.88 2620 1736568 1228728 13.57 558748 1574340 16 05:43:22 05:38:01 5474172 0 795568 9.93 2620 1736580 1241988 13.71 561628 1574340 8 05:43:22 05:39:01 5465768 0 803968 10.04 2620 1736584 1255276 13.86 571140 1574340 20 05:43:22 05:40:01 5466632 0 803100 10.03 2620 1736588 1252816 13.83 570008 1574340 12 05:43:22 05:41:01 5470908 0 798820 9.97 2620 1736592 1201416 13.26 568408 1572588 8 05:43:22 05:42:01 4887832 0 903024 11.28 2620 2215464 1600940 17.68 789732 1907984 478656 05:43:22 05:43:01 3889800 0 1057916 13.21 2620 3058604 1267032 13.99 788248 2696672 40 05:43:22 Average: 5293792 0 825876 10.31 2620 1886652 1272177 14.05 600605 1694657 39914 05:43:22 05:43:22 05:31:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:43:22 05:32:01 eth0 568.23 388.55 1082.37 85.88 0.00 0.00 0.00 0.00 05:43:22 05:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:32:01 docker0 2.81 1.96 0.58 5.51 0.00 0.00 0.00 0.00 05:43:22 05:33:01 eth0 2.22 0.32 0.44 0.23 0.00 0.00 0.00 0.00 05:43:22 05:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:34:01 eth0 4.56 0.73 1.09 0.56 0.00 0.00 0.00 0.00 05:43:22 05:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:35:01 eth0 3.15 0.75 0.95 0.61 0.00 0.00 0.00 0.00 05:43:22 05:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:36:01 eth0 2.23 0.57 0.65 0.43 0.00 0.00 0.00 0.00 05:43:22 05:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:37:01 eth0 1.78 0.85 0.96 0.65 0.00 0.00 0.00 0.00 05:43:22 05:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:38:01 eth0 1.63 1.57 0.34 7.98 0.00 0.00 0.00 0.00 05:43:22 05:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:39:01 eth0 2.58 1.98 0.43 16.27 0.00 0.00 0.00 0.00 05:43:22 05:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:40:01 eth0 0.53 0.33 0.31 0.20 0.00 0.00 0.00 0.00 05:43:22 05:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:41:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:43:22 05:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:42:01 eth0 428.33 398.52 4074.56 29.93 0.00 0.00 0.00 0.00 05:43:22 05:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:43:01 eth0 645.52 575.69 3933.39 107.80 0.00 0.00 0.00 0.00 05:43:22 05:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 05:43:01 docker0 120.86 127.41 8.67 655.29 0.00 0.00 0.00 0.00 05:43:22 Average: eth0 137.85 113.81 757.69 20.80 0.00 0.00 0.00 0.00 05:43:22 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:22 Average: docker0 10.32 10.80 0.77 55.16 0.00 0.00 0.00 0.00 05:43:22 05:43:22 05:43:22 ---> sar -P ALL: 05:43:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/03/21 _x86_64_ (2 CPU) 05:43:22 05:43:22 05:30:39 LINUX RESTART (2 CPU) 05:43:22 05:43:22 05:31:02 CPU %user %nice %system %iowait %steal %idle 05:43:22 05:32:01 all 16.51 0.00 4.84 7.95 0.07 70.63 05:43:22 05:32:01 0 15.54 0.00 4.90 7.32 0.05 72.18 05:43:22 05:32:01 1 17.48 0.00 4.78 8.58 0.09 69.08 05:43:22 05:33:01 all 0.13 0.00 0.04 0.00 0.03 99.80 05:43:22 05:33:01 0 0.07 0.00 0.03 0.00 0.03 99.87 05:43:22 05:33:01 1 0.20 0.00 0.05 0.00 0.02 99.73 05:43:22 05:34:01 all 0.14 0.00 0.05 0.00 0.03 99.78 05:43:22 05:34:01 0 0.13 0.00 0.07 0.00 0.03 99.77 05:43:22 05:34:01 1 0.15 0.00 0.03 0.00 0.02 99.80 05:43:22 05:35:01 all 0.23 0.00 0.02 0.00 0.02 99.74 05:43:22 05:35:01 0 0.42 0.00 0.02 0.00 0.02 99.55 05:43:22 05:35:01 1 0.03 0.00 0.02 0.00 0.02 99.93 05:43:22 05:36:01 all 0.13 0.00 0.04 0.00 0.03 99.80 05:43:22 05:36:01 0 0.18 0.00 0.03 0.00 0.02 99.77 05:43:22 05:36:01 1 0.07 0.00 0.05 0.00 0.05 99.83 05:43:22 05:37:01 all 0.11 0.00 0.04 0.00 0.02 99.83 05:43:22 05:37:01 0 0.18 0.00 0.03 0.00 0.02 99.77 05:43:22 05:37:01 1 0.03 0.00 0.05 0.00 0.02 99.90 05:43:22 05:38:01 all 0.11 0.00 0.03 0.00 0.02 99.84 05:43:22 05:38:01 0 0.08 0.00 0.05 0.00 0.02 99.85 05:43:22 05:38:01 1 0.13 0.00 0.02 0.00 0.02 99.83 05:43:22 05:39:01 all 0.22 0.00 0.07 0.00 0.03 99.69 05:43:22 05:39:01 0 0.10 0.00 0.08 0.00 0.02 99.80 05:43:22 05:39:01 1 0.33 0.00 0.05 0.00 0.03 99.58 05:43:22 05:40:01 all 0.13 0.00 0.03 0.00 0.03 99.82 05:43:22 05:40:01 0 0.20 0.00 0.03 0.00 0.02 99.75 05:43:22 05:40:01 1 0.05 0.00 0.03 0.00 0.03 99.88 05:43:22 05:41:01 all 0.10 0.00 0.03 0.00 0.03 99.84 05:43:22 05:41:01 0 0.13 0.00 0.02 0.00 0.02 99.83 05:43:22 05:41:01 1 0.07 0.00 0.05 0.00 0.03 99.85 05:43:22 05:42:01 all 3.23 0.00 1.33 0.07 0.03 95.34 05:43:22 05:42:01 0 3.34 0.00 1.49 0.07 0.03 95.06 05:43:22 05:42:01 1 3.12 0.00 1.16 0.07 0.03 95.61 05:43:22 05:43:22 05:42:01 CPU %user %nice %system %iowait %steal %idle 05:43:22 05:43:01 all 21.40 0.00 9.41 3.82 0.10 65.27 05:43:22 05:43:01 0 22.75 0.00 9.67 4.47 0.09 63.03 05:43:22 05:43:01 1 20.06 0.00 9.16 3.18 0.11 67.50 05:43:22 Average: all 3.40 0.00 1.27 0.94 0.03 94.35 05:43:22 Average: 0 3.45 0.00 1.31 0.95 0.03 94.27 05:43:22 Average: 1 3.34 0.00 1.24 0.94 0.04 94.44 05:43:22 05:43:22 05:43:22