Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d33b6821f783c94750a0a9d5448ef097740fa419 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-ssh363451388199491731.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh6712583574448486217.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh6813298313938054268.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh8737538807984048979.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh4593732984454918444.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-135 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision d33b6821f783c94750a0a9d5448ef097740fa419 (master) Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh5304646351955571294.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d33b6821f783c94750a0a9d5448ef097740fa419 # timeout=10 Commit message: "fix: Fix onConnectHandler panics and update config file (#288)" > git rev-list --no-walk 8213f845ea67c9453cf231674cfbc44c6f8bb876 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:48:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:48:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:48:27 ========================================================= 16:48:27 EdgeX Global Pipelines Version Info 16:48:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:48:29 ------------------- 16:48:29 stable info: 16:48:29 ------------------- 16:48:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:48:29 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:48:29 Message: update stable to v1.0.195 16:48:30 ------------------- 16:48:30 experimental info: 16:48:30 ------------------- 16:48:30 Commited By: **** collab-it+edgex@linuxfoundation.org 16:48:30 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:48:30 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:48:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:48:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:48:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d33b6821f783c94750a0a9d5448ef097740fa419 [Pipeline] echo 16:48:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d33b682 [Pipeline] echo 16:48:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:31 provisioning config files... 16:48:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8382805138172323030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:31 ---> docker-login.sh 16:48:31 nexus3.edgexfoundry.org:10001 16:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:32 Configure a credential helper to remove this warning. See 16:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:32 16:48:32 Login Succeeded 16:48:32 nexus3.edgexfoundry.org:10002 16:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:32 Configure a credential helper to remove this warning. See 16:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:32 16:48:32 Login Succeeded 16:48:32 nexus3.edgexfoundry.org:10003 16:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:32 Configure a credential helper to remove this warning. See 16:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:32 16:48:32 Login Succeeded 16:48:32 nexus3.edgexfoundry.org:10004 16:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:32 Configure a credential helper to remove this warning. See 16:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:32 16:48:32 Login Succeeded 16:48:32 docker.io 16:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:32 Configure a credential helper to remove this warning. See 16:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:32 16:48:32 Login Succeeded 16:48:32 ---> docker-login.sh ends [Pipeline] } 16:48:32 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 16:48:33 + git log --format=format:%s -1 d33b6821f783c94750a0a9d5448ef097740fa419 [Pipeline] echo 16:48:33 GIT_COMMIT: d33b6821f783c94750a0a9d5448ef097740fa419, Commit Message: fix: Fix onConnectHandler panics and update config file (#288) [Pipeline] echo 16:48:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:48:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:48:34 16:48:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:48:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:48:34 latest: Pulling from edgex-devops/git-semver 16:48:34 31603596830f: Pulling fs layer 16:48:34 54011a49482f: Pulling fs layer 16:48:34 a6820b24f6d8: Pulling fs layer 16:48:34 f581987b2513: Pulling fs layer 16:48:34 f581987b2513: Waiting 16:48:34 54011a49482f: Verifying Checksum 16:48:34 54011a49482f: Download complete 16:48:34 31603596830f: Verifying Checksum 16:48:34 31603596830f: Download complete 16:48:35 f581987b2513: Verifying Checksum 16:48:35 f581987b2513: Download complete 16:48:35 a6820b24f6d8: Verifying Checksum 16:48:35 a6820b24f6d8: Download complete 16:48:35 31603596830f: Pull complete 16:48:35 54011a49482f: Pull complete 16:48:36 a6820b24f6d8: Pull complete 16:48:36 f581987b2513: Pull complete 16:48:36 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 16:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:48:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:48:36 prd-centos7-docker-4c-2g-135 does not seem to be running inside a container 16:48:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:48:37 $ docker top e511a871ab8318ffa615b4a63deca6ae1eb6a5d0dba88ba0029f6072220d8890 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:37 [ssh-agent] Looking for ssh-agent implementation... 16:48:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:37 $ docker exec e511a871ab8318ffa615b4a63deca6ae1eb6a5d0dba88ba0029f6072220d8890 ssh-agent 16:48:37 SSH_AUTH_SOCK=/tmp/ssh-XQGW19urVHLN/agent.13 16:48:37 SSH_AGENT_PID=20 16:48:37 Running ssh-add (command line suppressed) 16:48:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_196984724790373101.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_196984724790373101.key) 16:48:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:38 + git tag --points-at HEAD [Pipeline] } 16:48:38 $ docker exec --env ******** --env ******** e511a871ab8318ffa615b4a63deca6ae1eb6a5d0dba88ba0029f6072220d8890 ssh-agent -k 16:48:38 unset SSH_AUTH_SOCK; 16:48:38 unset SSH_AGENT_PID; 16:48:38 echo Agent pid 20 killed; 16:48:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:48:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:38 [ssh-agent] Looking for ssh-agent implementation... 16:48:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:38 $ docker exec e511a871ab8318ffa615b4a63deca6ae1eb6a5d0dba88ba0029f6072220d8890 ssh-agent 16:48:38 SSH_AUTH_SOCK=/tmp/ssh-bdXP89OwnBzt/agent.54 16:48:38 SSH_AGENT_PID=60 16:48:38 Running ssh-add (command line suppressed) 16:48:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5755183413161863979.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5755183413161863979.key) 16:48:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:39 + git semver init 16:48:39 # -> Open(): unable to determine branch for HEAD 16:48:39 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:48:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:48:39 # $SEMVER_REMOTE_NAME = origin 16:48:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:48:39 # $SEMVER_USER_NAME = edgex-jenkins 16:48:39 # $SEMVER_BRANCH = master 16:48:39 # $SEMVER_TEMP = /tmp/semver-237014818 16:48:39 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 16:48:39 # '/tmp/semver-237014818' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 16:48:39 # -> Force: false 16:48:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 16:48:39 $ docker exec --env ******** --env ******** e511a871ab8318ffa615b4a63deca6ae1eb6a5d0dba88ba0029f6072220d8890 ssh-agent -k 16:48:39 unset SSH_AUTH_SOCK; 16:48:39 unset SSH_AGENT_PID; 16:48:39 echo Agent pid 60 killed; 16:48:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:40 + git semver [Pipeline] } 16:48:40 $ docker stop --time=1 e511a871ab8318ffa615b4a63deca6ae1eb6a5d0dba88ba0029f6072220d8890 16:48:41 $ docker rm -f e511a871ab8318ffa615b4a63deca6ae1eb6a5d0dba88ba0029f6072220d8890 [Pipeline] // withDockerContainer [Pipeline] sh 16:48:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:48:42 Stashed 1 file(s) [Pipeline] echo 16:48:42 [edgeXSemver]: initialized semver on version 1.3.2-dev.26 [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 16:48:57 Still waiting to schedule task 16:48:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:48:57 Still waiting to schedule task 16:48:57 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline 16:51:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-136 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 16:51:01 Running in /w/workspace/device-mqtt-go/58 [Pipeline] { [Pipeline] checkout 16:51:01 Selected Git installation does not exist. Using Default 16:51:01 The recommended git tool is: NONE 16:51:06 using credential edgex-jenkins-ssh 16:51:06 Cloning the remote Git repository 16:51:06 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:51:07 > git init /w/workspace/device-mqtt-go/58 # timeout=10 16:51:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:51:07 > git --version # timeout=10 16:51:07 > git --version # 'git version 2.17.1' 16:51:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:51:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:51:08 Avoid second fetch 16:51:08 Checking out Revision d33b6821f783c94750a0a9d5448ef097740fa419 (master) 16:51:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:51:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:51:08 > git config core.sparsecheckout # timeout=10 16:51:08 > git checkout -f d33b6821f783c94750a0a9d5448ef097740fa419 # timeout=10 16:51:12 Commit message: "fix: Fix onConnectHandler panics and update config file (#288)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:51:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:51:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:51:14 + true 16:51:14 + sudo service docker restart 16:51:25 Running on prd-centos7-docker-4c-2g-137 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 16:51:25 Running in /w/workspace/device-mqtt-go/58 [Pipeline] { [Pipeline] checkout 16:51:25 Selected Git installation does not exist. Using Default 16:51:25 The recommended git tool is: NONE 16:51:28 using credential edgex-jenkins-ssh 16:51:28 Cloning the remote Git repository 16:51:28 Avoid second fetch 16:51:28 Checking out Revision d33b6821f783c94750a0a9d5448ef097740fa419 (master) 16:51:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:51:28 > git init /w/workspace/device-mqtt-go/58 # timeout=10 16:51:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:51:28 > git --version # timeout=10 16:51:28 > git --version # 'git version 2.24.4' 16:51:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:51:28 [INFO] Currently running in a labeled security context 16:51:28 [INFO] Currently SELinux is 'enforcing' on the host 16:51:28 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/58@tmp/jenkins-gitclient-ssh3186257888938140016.key 16:51:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:51:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:51:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:51:28 > git config core.sparsecheckout # timeout=10 16:51:28 > git checkout -f d33b6821f783c94750a0a9d5448ef097740fa419 # timeout=10 16:51:32 Commit message: "fix: Fix onConnectHandler panics and update config file (#288)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:51:33 provisioning config files... 16:51:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/58@tmp/config3311652633205572590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:51:33 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:51:33 ---> docker-login.sh 16:51:33 nexus3.edgexfoundry.org:10001 16:51:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:51:34 + sudo service docker restart 16:51:34 + true 16:51:34 Redirecting to /bin/systemctl restart docker.service 16:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:34 Configure a credential helper to remove this warning. See 16:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:34 16:51:34 Login Succeeded 16:51:34 nexus3.edgexfoundry.org:10002 16:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:35 Configure a credential helper to remove this warning. See 16:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:35 16:51:35 Login Succeeded 16:51:35 nexus3.edgexfoundry.org:10003 16:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:36 Configure a credential helper to remove this warning. See 16:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:36 16:51:36 Login Succeeded 16:51:36 nexus3.edgexfoundry.org:10004 16:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:36 Configure a credential helper to remove this warning. See 16:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:36 16:51:36 Login Succeeded 16:51:36 docker.io 16:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:37 Configure a credential helper to remove this warning. See 16:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:37 16:51:37 Login Succeeded 16:51:37 ---> docker-login.sh ends [Pipeline] } 16:51:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:51:37 ========================================================= 16:51:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:51:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:51:38 + 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 . 16:51:38 Sending build context to Docker daemon 618kB 16:51:38 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:51:38 Step 2/8 : FROM ${BASE} 16:51:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:51:38 595b0fe564bb: Pulling fs layer 16:51:38 3088b5b3c5c0: Pulling fs layer 16:51:38 5b7225fbf94c: Pulling fs layer 16:51:38 ba82ee9f976e: Pulling fs layer 16:51:38 506bd15cee9f: Pulling fs layer 16:51:38 75a0a4a0db45: Pulling fs layer 16:51:38 618dc40b7e24: Pulling fs layer 16:51:38 ba82ee9f976e: Waiting 16:51:38 75a0a4a0db45: Waiting 16:51:38 506bd15cee9f: Waiting 16:51:38 618dc40b7e24: Waiting 16:51:39 5b7225fbf94c: Verifying Checksum 16:51:39 5b7225fbf94c: Download complete 16:51:39 3088b5b3c5c0: Download complete 16:51:39 506bd15cee9f: Verifying Checksum 16:51:39 506bd15cee9f: Download complete 16:51:39 75a0a4a0db45: Verifying Checksum 16:51:39 75a0a4a0db45: Download complete 16:51:39 595b0fe564bb: Verifying Checksum 16:51:39 595b0fe564bb: Download complete 16:51:39 595b0fe564bb: Pull complete 16:51:40 3088b5b3c5c0: Pull complete 16:51:40 5b7225fbf94c: Pull complete 16:51:41 618dc40b7e24: Verifying Checksum 16:51:41 618dc40b7e24: Download complete 16:51:42 ba82ee9f976e: Verifying Checksum 16:51:42 ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:51:52 provisioning config files... 16:51:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/58@tmp/config6806996150720221737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:51:52 ---> docker-login.sh 16:51:52 nexus3.edgexfoundry.org:10001 16:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:52 Configure a credential helper to remove this warning. See 16:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:52 16:51:52 Login Succeeded 16:51:52 nexus3.edgexfoundry.org:10002 16:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:52 Configure a credential helper to remove this warning. See 16:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:52 16:51:52 Login Succeeded 16:51:52 nexus3.edgexfoundry.org:10003 16:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:53 Configure a credential helper to remove this warning. See 16:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:53 16:51:53 Login Succeeded 16:51:53 nexus3.edgexfoundry.org:10004 16:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:53 Configure a credential helper to remove this warning. See 16:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:53 16:51:53 Login Succeeded 16:51:53 docker.io 16:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:53 Configure a credential helper to remove this warning. See 16:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:53 16:51:53 Login Succeeded 16:51:53 ---> docker-login.sh ends [Pipeline] } 16:51:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:51:53 ========================================================= 16:51:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:51:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:51:54 + 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 . 16:51:54 Sending build context to Docker daemon 619kB 16:51:54 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:51:54 Step 2/8 : FROM ${BASE} 16:51:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:51:54 540db60ca938: Pulling fs layer 16:51:54 adcc1eea9eea: Pulling fs layer 16:51:54 4c4ab2625f07: Pulling fs layer 16:51:54 0510c868ecb4: Pulling fs layer 16:51:54 afea3b2eda06: Pulling fs layer 16:51:54 7809a108b3ef: Pulling fs layer 16:51:54 f706445af74f: Pulling fs layer 16:51:54 0510c868ecb4: Waiting 16:51:54 afea3b2eda06: Waiting 16:51:54 7809a108b3ef: Waiting 16:51:54 f706445af74f: Waiting 16:51:54 4c4ab2625f07: Verifying Checksum 16:51:54 4c4ab2625f07: Download complete 16:51:54 adcc1eea9eea: Verifying Checksum 16:51:54 adcc1eea9eea: Download complete 16:51:54 afea3b2eda06: Verifying Checksum 16:51:54 afea3b2eda06: Download complete 16:51:54 7809a108b3ef: Verifying Checksum 16:51:54 7809a108b3ef: Download complete 16:51:54 540db60ca938: Verifying Checksum 16:51:54 540db60ca938: Download complete 16:51:54 540db60ca938: Pull complete 16:51:54 adcc1eea9eea: Pull complete 16:51:54 ba82ee9f976e: Pull complete 16:51:54 506bd15cee9f: Pull complete 16:51:54 75a0a4a0db45: Pull complete 16:51:55 4c4ab2625f07: Pull complete 16:51:55 f706445af74f: Verifying Checksum 16:51:55 f706445af74f: Download complete 16:51:56 0510c868ecb4: Verifying Checksum 16:51:56 0510c868ecb4: Download complete 16:51:57 618dc40b7e24: Pull complete 16:51:57 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 16:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:51:57 ---> a36622ca3599 16:51:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:51:59 ---> Running in f2d9b5136c60 16:51:59 0510c868ecb4: Pull complete 16:51:59 afea3b2eda06: Pull complete 16:51:59 7809a108b3ef: Pull complete 16:52:00 Removing intermediate container f2d9b5136c60 16:52:00 ---> aeaea87f09f9 16:52:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:52:00 ---> Running in 041f1c37f167 16:52:00 f706445af74f: Pull complete 16:52:00 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 16:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:52:00 ---> b068be0155e3 16:52:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:52:02 Removing intermediate container 041f1c37f167 16:52:02 ---> e6670c90fbf0 16:52:02 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:52:02 ---> Running in eb5fe1fd859f 16:52:04 ---> Running in e7874dd39aae 16:52:04 Removing intermediate container e7874dd39aae 16:52:04 ---> 3faadee7ea1a 16:52:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:52:04 ---> Running in 55f78e4ff0a9 16:52:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:52:04 Removing intermediate container 55f78e4ff0a9 16:52:04 ---> c740e735ffa9 16:52:04 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:52:04 ---> Running in 84dab6b1e6cb 16:52:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:52:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:52:05 (1/13) Installing libc-dev (0.7.2-r3) 16:52:05 (2/13) Installing libsodium (1.0.18-r0) 16:52:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:52:06 (3/13) Installing pkgconf (1.7.3-r0) 16:52:06 (4/13) Installing libsodium-dev (1.0.18-r0) 16:52:06 (1/13) Installing libc-dev (0.7.2-r3) 16:52:06 (2/13) Installing libsodium (1.0.18-r0) 16:52:06 (3/13) Installing pkgconf (1.7.3-r0) 16:52:06 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:52:06 (6/13) Installing libedit (20191231.3.1-r1) 16:52:06 (7/13) Installing openssh-client (8.4_p1-r3) 16:52:06 (4/13) Installing libsodium-dev (1.0.18-r0) 16:52:06 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:52:06 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:52:06 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:52:06 (10/13) Installing openssh-server (8.4_p1-r3) 16:52:07 (6/13) Installing libedit (20191231.3.1-r1) 16:52:07 (7/13) Installing openssh-client (8.4_p1-r3) 16:52:07 (11/13) Installing openssh (8.4_p1-r3) 16:52:07 (12/13) Installing libzmq (4.3.3-r1) 16:52:07 (13/13) Installing zeromq-dev (4.3.3-r1) 16:52:07 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:52:07 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:52:07 (10/13) Installing openssh-server (8.4_p1-r3) 16:52:07 Executing busybox-1.32.1-r6.trigger 16:52:07 OK: 145 MiB in 53 packages 16:52:07 (11/13) Installing openssh (8.4_p1-r3) 16:52:07 (12/13) Installing libzmq (4.3.3-r1) 16:52:07 (13/13) Installing zeromq-dev (4.3.3-r1) 16:52:07 Executing busybox-1.32.1-r6.trigger 16:52:07 OK: 156 MiB in 53 packages 16:52:08 Removing intermediate container 84dab6b1e6cb 16:52:08 ---> fe5915139ddf 16:52:08 Step 6/8 : WORKDIR /device-mqtt-go 16:52:08 ---> Running in f5a6fe325a29 16:52:08 Removing intermediate container f5a6fe325a29 16:52:08 ---> 7da8b7a9a4ef 16:52:08 Step 7/8 : COPY . . 16:52:08 ---> cb1eca801152 16:52:08 Step 8/8 : RUN go mod download 16:52:08 ---> Running in d43dadc04016 16:52:08 Removing intermediate container eb5fe1fd859f 16:52:08 ---> 8d204678ac21 16:52:08 Step 6/8 : WORKDIR /device-mqtt-go 16:52:08 ---> Running in d99e9ea20b37 16:52:09 Removing intermediate container d99e9ea20b37 16:52:09 ---> 92f3bc45f6cf 16:52:09 Step 7/8 : COPY . . 16:52:11 ---> f44125d93373 16:52:11 Step 8/8 : RUN go mod download 16:52:11 ---> Running in 1f5db4651b02 16:52:20 Removing intermediate container d43dadc04016 16:52:20 ---> 05c791162d67 16:52:20 Successfully built 05c791162d67 16:52:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:52:21 + docker inspect -f . ci-base-image-x86_64 16:52:21 . [Pipeline] withDockerContainer 16:52:21 prd-centos7-docker-4c-2g-137 does not seem to be running inside a container 16:52:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/58 -v /w/workspace/device-mqtt-go/58:/w/workspace/device-mqtt-go/58:rw,z -v /w/workspace/device-mqtt-go/58@tmp:/w/workspace/device-mqtt-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:52:21 $ docker top 7aa003cadea63ca4bf3f7a48e4536064aa9239269b8334295d1b038035b2dcbc -eo pid,comm [Pipeline] { [Pipeline] sh 16:52:22 + go version 16:52:22 go version go1.16.3 linux/amd64 [Pipeline] } 16:52:22 $ docker stop --time=1 7aa003cadea63ca4bf3f7a48e4536064aa9239269b8334295d1b038035b2dcbc 16:52:23 $ docker rm -f 7aa003cadea63ca4bf3f7a48e4536064aa9239269b8334295d1b038035b2dcbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:52:23 + docker inspect -f . ci-base-image-x86_64 16:52:23 . [Pipeline] withDockerContainer 16:52:23 prd-centos7-docker-4c-2g-137 does not seem to be running inside a container 16:52:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/58 -v /w/workspace/device-mqtt-go/58:/w/workspace/device-mqtt-go/58:rw,z -v /w/workspace/device-mqtt-go/58@tmp:/w/workspace/device-mqtt-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:52:24 $ docker top 8efb6063f4c6460768fe27b1238335b2b9a886c3fb02e46fd038395e281316f9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:52:24 + go mod tidy [Pipeline] sh 16:52:25 + make test 16:52:25 go mod tidy 16:52:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:52:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:52:38 Removing intermediate container 1f5db4651b02 16:52:38 ---> 4465ff0a7977 16:52:38 Successfully built 4465ff0a7977 16:52:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:52:38 + docker inspect -f . ci-base-image-arm64 16:52:38 . [Pipeline] withDockerContainer 16:52:38 prd-ubuntu18.04-docker-arm64-4c-16g-136 does not seem to be running inside a container 16:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/58 -v /w/workspace/device-mqtt-go/58:/w/workspace/device-mqtt-go/58:rw,z -v /w/workspace/device-mqtt-go/58@tmp:/w/workspace/device-mqtt-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:52:40 $ docker top 10463c82f9a59a5a9fe9700de5d6f2c129540f28a11a2023e197cb96f77ee53c -eo pid,comm [Pipeline] { [Pipeline] sh 16:52:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:52:41 + go version 16:52:41 go version go1.16.5 linux/arm64 [Pipeline] } 16:52:41 $ docker stop --time=1 10463c82f9a59a5a9fe9700de5d6f2c129540f28a11a2023e197cb96f77ee53c 16:52:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 24.3% of statements 16:52:42 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:52:42 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:52:43 $ docker rm -f 10463c82f9a59a5a9fe9700de5d6f2c129540f28a11a2023e197cb96f77ee53c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:52:43 + docker inspect -f . ci-base-image-arm64 16:52:43 . [Pipeline] withDockerContainer 16:52:44 prd-ubuntu18.04-docker-arm64-4c-16g-136 does not seem to be running inside a container 16:52:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/58 -v /w/workspace/device-mqtt-go/58:/w/workspace/device-mqtt-go/58:rw,z -v /w/workspace/device-mqtt-go/58@tmp:/w/workspace/device-mqtt-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:52:45 $ docker top 46d13a2ea42ac8623903ee74a2aa3cc283aa87f975bf25b97f04b7e54c608570 -eo pid,comm [Pipeline] { [Pipeline] sh 16:52:46 + go mod tidy [Pipeline] sh 16:52:48 + make test 16:52:48 go mod tidy 16:52:48 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:52:48 gofmt -l . 16:52:48 ["`gofmt -l .`" = ""] 16:52:48 ./bin/test-attribution-txt.sh [Pipeline] } 16:52:49 $ docker stop --time=1 8efb6063f4c6460768fe27b1238335b2b9a886c3fb02e46fd038395e281316f9 16:52:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:52:50 $ docker rm -f 8efb6063f4c6460768fe27b1238335b2b9a886c3fb02e46fd038395e281316f9 [Pipeline] // withDockerContainer [Pipeline] sh 16:52:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:52:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:52:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:52:54 + ls -al . 16:52:54 total 104 16:52:54 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 25 16:52 . 16:52:54 drwxrwxr-x. 4 jenkins jenkins 30 Jun 25 16:51 .. 16:52:54 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 25 16:51 Attribution.txt 16:52:54 drwxrwxr-x. 2 jenkins jenkins 60 Jun 25 16:51 bin 16:52:54 drwxrwxr-x. 3 jenkins jenkins 32 Jun 25 16:51 cmd 16:52:54 -rw-r--r--. 1 jenkins jenkins 16226 Jun 25 16:52 coverage.out 16:52:54 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 25 16:51 Dockerfile 16:52:54 -rw-rw-r--. 1 jenkins jenkins 994 Jun 25 16:51 Dockerfile.build 16:52:54 -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 16:51 .dockerignore 16:52:54 drwxrwxr-x. 8 jenkins jenkins 162 Jun 25 16:51 .git 16:52:54 drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 16:51 .github 16:52:54 -rw-rw-r--. 1 jenkins jenkins 336 Jun 25 16:51 .gitignore 16:52:54 -rw-rw-r--. 1 jenkins jenkins 410 Jun 25 16:51 go.mod 16:52:54 -rw-r--r--. 1 jenkins jenkins 20873 Jun 25 16:52 go.sum 16:52:54 drwxrwxr-x. 3 jenkins jenkins 20 Jun 25 16:51 internal 16:52:54 -rw-rw-r--. 1 jenkins jenkins 677 Jun 25 16:51 Jenkinsfile 16:52:54 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 25 16:51 LICENSE 16:52:54 -rw-rw-r--. 1 jenkins jenkins 907 Jun 25 16:51 Makefile 16:52:54 drwxrwxr-x. 2 jenkins jenkins 23 Jun 25 16:51 mock 16:52:54 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 25 16:51 README.md 16:52:54 drwxrwxr-x. 4 jenkins jenkins 71 Jun 25 16:51 snap 16:52:54 -rw-rw-r--. 1 jenkins jenkins 12 Jun 25 16:48 VERSION 16:52:54 -rw-rw-r--. 1 jenkins jenkins 227 Jun 25 16:51 version.go [Pipeline] isUnix [Pipeline] sh 16:52:54 + 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=d33b6821f783c94750a0a9d5448ef097740fa419 --label arch=amd64 --label version=1.3.2-dev.26 . 16:52:54 Sending build context to Docker daemon 635.9kB 16:52:54 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 16:52:54 Step 2/24 : FROM ${BASE} AS builder 16:52:54 ---> 05c791162d67 16:52:54 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:52:54 ---> Running in a68f93658ae6 16:52:54 Removing intermediate container a68f93658ae6 16:52:54 ---> 4492f3e1dea3 16:52:54 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:52:54 ---> Running in db47fc5f1879 16:52:54 Removing intermediate container db47fc5f1879 16:52:54 ---> 63b5b79b3d28 16:52:54 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:52:54 ---> Running in 09e486128520 16:52:55 Removing intermediate container 09e486128520 16:52:55 ---> 1cc73713ed14 16:52:55 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:52:55 ---> Running in b5d4d0a3a7a3 16:52:55 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:52:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:52:56 OK: 156 MiB in 53 packages 16:52:57 Removing intermediate container b5d4d0a3a7a3 16:52:57 ---> a2c8a7bff497 16:52:57 Step 7/24 : WORKDIR /device-mqtt-go 16:52:57 ---> Running in 44bdf00c5316 16:52:57 Removing intermediate container 44bdf00c5316 16:52:57 ---> f8ec2b7b02a4 16:52:57 Step 8/24 : COPY . . 16:52:57 ---> 504110acd378 16:52:57 Step 9/24 : RUN go mod tidy 16:52:57 ---> Running in cf26a2fb510a 16:52:58 Removing intermediate container cf26a2fb510a 16:52:58 ---> 633d2f1abfe6 16:52:58 Step 10/24 : RUN go mod download 16:52:58 ---> Running in 7cb1ecb70d8d 16:52:58 Removing intermediate container 7cb1ecb70d8d 16:52:58 ---> 72dae29b0773 16:52:58 Step 11/24 : ARG MAKE='make build' 16:52:58 ---> Running in 9d4266635d4a 16:52:58 Removing intermediate container 9d4266635d4a 16:52:58 ---> f782d2c2d3bd 16:52:58 Step 12/24 : RUN $MAKE 16:52:58 ---> Running in ad038296ee8f 16:52:59 go mod tidy 16:52:59 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.26" -o cmd/device-mqtt ./cmd 16:53:11 Removing intermediate container ad038296ee8f 16:53:11 ---> 81152553bdfe 16:53:11 Step 13/24 : FROM alpine:3.12 16:53:11 3.12: Pulling from library/alpine 16:53:11 339de151aab4: Pulling fs layer 16:53:11 339de151aab4: Verifying Checksum 16:53:11 339de151aab4: Download complete 16:53:11 339de151aab4: Pull complete 16:53:11 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 16:53:11 Status: Downloaded newer image for alpine:3.12 16:53:11 ---> 13621d1b12d4 16:53:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:53:11 ---> Running in 7ca3df40b5f2 16:53:11 Removing intermediate container 7ca3df40b5f2 16:53:11 ---> 9a765762e258 16:53:11 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:53:11 ---> Running in c2557fea89ee 16:53:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:53:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:53:12 (1/6) Installing dumb-init (1.2.2-r1) 16:53:12 (2/6) Installing libgcc (9.3.0-r2) 16:53:12 (3/6) Installing libsodium (1.0.18-r0) 16:53:12 (4/6) Installing libstdc++ (9.3.0-r2) 16:53:12 (5/6) Installing libzmq (4.3.3-r0) 16:53:12 (6/6) Installing zeromq (4.3.3-r0) 16:53:12 Executing busybox-1.31.1-r20.trigger 16:53:12 OK: 8 MiB in 20 packages 16:53:12 Removing intermediate container c2557fea89ee 16:53:12 ---> 3876bc4c1221 16:53:12 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:53:12 ---> 497c96743d66 16:53:12 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:53:12 ---> 8f67b5920664 16:53:12 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:53:13 ---> 0e18cc3d076b 16:53:13 Step 19/24 : EXPOSE 59982 16:53:13 ---> Running in a47c691801cc 16:53:13 Removing intermediate container a47c691801cc 16:53:13 ---> 027e3045563a 16:53:13 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:53:13 ---> Running in 13379608fd2b 16:53:13 Removing intermediate container 13379608fd2b 16:53:13 ---> 4f6713808e4c 16:53:13 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:53:13 ---> Running in 46b0ce50bb76 16:53:13 Removing intermediate container 46b0ce50bb76 16:53:13 ---> 0a72f2068487 16:53:13 Step 22/24 : LABEL arch=amd64 16:53:13 ---> Running in 7465a9a7d0dc 16:53:13 Removing intermediate container 7465a9a7d0dc 16:53:13 ---> 35a8d9e9fbc0 16:53:13 Step 23/24 : LABEL git_sha=d33b6821f783c94750a0a9d5448ef097740fa419 16:53:13 ---> Running in b6168ccdb887 16:53:13 Removing intermediate container b6168ccdb887 16:53:13 ---> 7807087d20d5 16:53:13 Step 24/24 : LABEL version=1.3.2-dev.26 16:53:13 ---> Running in 2736b810974c 16:53:13 Removing intermediate container 2736b810974c 16:53:13 ---> 147b36ae8f89 16:53:13 [Warning] One or more build-args [ARCH] were not consumed 16:53:13 Successfully built 147b36ae8f89 16:53:13 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:53:13 provisioning config files... 16:53:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/58@tmp/config2920129602237164275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:14 ---> docker-login.sh 16:53:14 nexus3.edgexfoundry.org:10001 16:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:14 Configure a credential helper to remove this warning. See 16:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:14 16:53:14 Login Succeeded 16:53:14 nexus3.edgexfoundry.org:10002 16:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:14 Configure a credential helper to remove this warning. See 16:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:14 16:53:14 Login Succeeded 16:53:14 nexus3.edgexfoundry.org:10003 16:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:14 Configure a credential helper to remove this warning. See 16:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:14 16:53:14 Login Succeeded 16:53:14 nexus3.edgexfoundry.org:10004 16:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:14 Configure a credential helper to remove this warning. See 16:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:14 16:53:14 Login Succeeded 16:53:14 docker.io 16:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:15 Configure a credential helper to remove this warning. See 16:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:15 16:53:15 Login Succeeded 16:53:15 ---> docker-login.sh ends [Pipeline] } 16:53:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:53:15 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 16:53:15 d33b6821f783c94750a0a9d5448ef097740fa419 16:53:15 latest 16:53:15 1.3.2-dev.26 16:53:15 d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 16:53:15 master 16:53:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:53:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d33b6821f783c94750a0a9d5448ef097740fa419 [Pipeline] isUnix [Pipeline] sh 16:53:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d33b6821f783c94750a0a9d5448ef097740fa419 16:53:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:53:15 a5cb67712038: Preparing 16:53:15 df6e9a5523db: Preparing 16:53:15 16959e151639: Preparing 16:53:15 d13ef342e2ef: Preparing 16:53:15 32f366d666a5: Preparing 16:53:15 32f366d666a5: Layer already exists 16:53:16 a5cb67712038: Pushed 16:53:16 df6e9a5523db: Pushed 16:53:16 d13ef342e2ef: Pushed 16:53:17 16959e151639: Pushed 16:53:17 d33b6821f783c94750a0a9d5448ef097740fa419: digest: sha256:7eb56fd9450e357f7f2ea4cd0c08939446bad1a8616b592b26361f7a93dffdc3 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:53:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 16:53:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 16:53:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:53:18 a5cb67712038: Preparing 16:53:18 df6e9a5523db: Preparing 16:53:18 16959e151639: Preparing 16:53:18 d13ef342e2ef: Preparing 16:53:18 32f366d666a5: Preparing 16:53:18 df6e9a5523db: Layer already exists 16:53:18 a5cb67712038: Layer already exists 16:53:18 16959e151639: Layer already exists 16:53:18 d13ef342e2ef: Layer already exists 16:53:18 32f366d666a5: Layer already exists 16:53:18 latest: digest: sha256:7eb56fd9450e357f7f2ea4cd0c08939446bad1a8616b592b26361f7a93dffdc3 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:53:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.26 [Pipeline] isUnix [Pipeline] sh 16:53:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.26 16:53:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:53:18 a5cb67712038: Preparing 16:53:18 df6e9a5523db: Preparing 16:53:18 16959e151639: Preparing 16:53:18 d13ef342e2ef: Preparing 16:53:18 32f366d666a5: Preparing 16:53:18 a5cb67712038: Layer already exists 16:53:18 d13ef342e2ef: Layer already exists 16:53:18 32f366d666a5: Layer already exists 16:53:18 df6e9a5523db: Layer already exists 16:53:18 16959e151639: Layer already exists 16:53:18 1.3.2-dev.26: digest: sha256:7eb56fd9450e357f7f2ea4cd0c08939446bad1a8616b592b26361f7a93dffdc3 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:53:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 [Pipeline] isUnix [Pipeline] sh 16:53:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 16:53:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:53:19 a5cb67712038: Preparing 16:53:19 df6e9a5523db: Preparing 16:53:19 16959e151639: Preparing 16:53:19 d13ef342e2ef: Preparing 16:53:19 32f366d666a5: Preparing 16:53:19 16959e151639: Layer already exists 16:53:19 d13ef342e2ef: Layer already exists 16:53:19 a5cb67712038: Layer already exists 16:53:19 df6e9a5523db: Layer already exists 16:53:19 32f366d666a5: Layer already exists 16:53:19 d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26: digest: sha256:7eb56fd9450e357f7f2ea4cd0c08939446bad1a8616b592b26361f7a93dffdc3 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:53:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 16:53:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 16:53:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:53:19 a5cb67712038: Preparing 16:53:19 df6e9a5523db: Preparing 16:53:19 16959e151639: Preparing 16:53:19 d13ef342e2ef: Preparing 16:53:19 32f366d666a5: Preparing 16:53:19 32f366d666a5: Layer already exists 16:53:19 16959e151639: Layer already exists 16:53:19 a5cb67712038: Layer already exists 16:53:19 d13ef342e2ef: Layer already exists 16:53:19 df6e9a5523db: Layer already exists 16:53:19 master: digest: sha256:7eb56fd9450e357f7f2ea4cd0c08939446bad1a8616b592b26361f7a93dffdc3 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:53:19 ===================================================== [Pipeline] echo 16:53:19 taggedImages: 16:53:19 - nexus3.edgexfoundry.org:10004/device-mqtt:d33b6821f783c94750a0a9d5448ef097740fa419 16:53:19 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 16:53:19 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.26 16:53:19 - nexus3.edgexfoundry.org:10004/device-mqtt:d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 16:53:19 - 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 16:53:20 ---> job-cost.sh 16:53:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FlBu 16:53:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:53:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:53:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.053s coverage: 24.3% of statements 16:53:42 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:53:42 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:53:43 lf-activate-venv(): INFO: Adding /tmp/venv-FlBu/bin to PATH 16:53:43 INFO: No Stack... 16:53:43 INFO: Retrieving Pricing Info for: v3-standard-2 16:53:43 INFO: Archiving Costs [Pipeline] sh 16:53:43 + cat /w/workspace/device-mqtt-go/58/archives/cost.csv 16:53:43 + cut -d, -f6 [Pipeline] lock 16:53:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-58-stack-cost] 16:53:43 Resource [jenkins-edgexfoundry-device-mqtt-go-master-58-stack-cost] did not exist. Created. 16:53:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:53:43 + echo total: 0.05999999865889549 [Pipeline] stash 16:53:43 Stashed 1 file(s) [Pipeline] } 16:53:43 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-58-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:54:09 gofmt -l . 16:54:09 ["`gofmt -l .`" = ""] 16:54:09 ./bin/test-attribution-txt.sh [Pipeline] } 16:54:10 $ docker stop --time=1 46d13a2ea42ac8623903ee74a2aa3cc283aa87f975bf25b97f04b7e54c608570 16:54:12 $ docker rm -f 46d13a2ea42ac8623903ee74a2aa3cc283aa87f975bf25b97f04b7e54c608570 [Pipeline] // withDockerContainer [Pipeline] sh 16:54:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:54:13 Warning: overwriting stash ‘coverage-report’ 16:54:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:54:15 + ls -al . 16:54:15 total 136 16:54:15 drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 16:54 . 16:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 16:51 .. 16:54:15 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 16:51 .dockerignore 16:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 16:51 .git 16:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 16:51 .github 16:54:15 -rw-rw-r-- 1 jenkins jenkins 336 Jun 25 16:51 .gitignore 16:54:15 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 25 16:51 Attribution.txt 16:54:15 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 25 16:51 Dockerfile 16:54:15 -rw-rw-r-- 1 jenkins jenkins 994 Jun 25 16:51 Dockerfile.build 16:54:15 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 16:51 Jenkinsfile 16:54:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 16:51 LICENSE 16:54:15 -rw-rw-r-- 1 jenkins jenkins 907 Jun 25 16:51 Makefile 16:54:15 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 25 16:51 README.md 16:54:15 -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 16:48 VERSION 16:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 16:51 bin 16:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 16:51 cmd 16:54:15 -rw-r--r-- 1 jenkins jenkins 16226 Jun 25 16:53 coverage.out 16:54:15 -rw-rw-r-- 1 jenkins jenkins 410 Jun 25 16:51 go.mod 16:54:15 -rw-r--r-- 1 jenkins jenkins 20873 Jun 25 16:52 go.sum 16:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 16:51 internal 16:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 16:51 mock 16:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 16:51 snap 16:54:15 -rw-rw-r-- 1 jenkins jenkins 227 Jun 25 16:51 version.go [Pipeline] isUnix [Pipeline] sh 16:54:15 + 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=d33b6821f783c94750a0a9d5448ef097740fa419 --label arch=arm64 --label version=1.3.2-dev.26 . 16:54:15 Sending build context to Docker daemon 634.9kB 16:54:15 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 16:54:15 Step 2/24 : FROM ${BASE} AS builder 16:54:15 ---> 4465ff0a7977 16:54:15 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:54:16 ---> Running in 87f0ce288eca 16:54:16 Removing intermediate container 87f0ce288eca 16:54:16 ---> b3b107e12d4f 16:54:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:54:16 ---> Running in 4cf18af6b6b9 16:54:17 Removing intermediate container 4cf18af6b6b9 16:54:17 ---> f1da811460d8 16:54:17 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:54:17 ---> Running in 12099792f191 16:54:19 Removing intermediate container 12099792f191 16:54:19 ---> 97615a95b363 16:54:19 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:19 ---> Running in 5cd15e3e1c5e 16:54:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:54:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:54:23 OK: 145 MiB in 53 packages 16:54:24 Removing intermediate container 5cd15e3e1c5e 16:54:24 ---> 149598c00ac2 16:54:24 Step 7/24 : WORKDIR /device-mqtt-go 16:54:24 ---> Running in 559ad860353d 16:54:24 Removing intermediate container 559ad860353d 16:54:24 ---> ee3309ad2ad7 16:54:24 Step 8/24 : COPY . . 16:54:26 ---> 47af6665cc27 16:54:26 Step 9/24 : RUN go mod tidy 16:54:26 ---> Running in d3ed1adf0d14 16:54:28 Removing intermediate container d3ed1adf0d14 16:54:28 ---> 701d32af4340 16:54:28 Step 10/24 : RUN go mod download 16:54:28 ---> Running in 5b701c968678 16:54:31 Removing intermediate container 5b701c968678 16:54:31 ---> cab7efd04e7a 16:54:31 Step 11/24 : ARG MAKE='make build' 16:54:31 ---> Running in 6f1b74c41d5a 16:54:31 Removing intermediate container 6f1b74c41d5a 16:54:31 ---> cddb751f8541 16:54:31 Step 12/24 : RUN $MAKE 16:54:31 ---> Running in 44518030f098 16:54:33 go mod tidy 16:54:33 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.26" -o cmd/device-mqtt ./cmd 16:55:12 Removing intermediate container 44518030f098 16:55:12 ---> 24ebdab7f24d 16:55:12 Step 13/24 : FROM alpine:3.12 16:55:12 3.12: Pulling from library/alpine 16:55:12 d2f70382dc9a: Pulling fs layer 16:55:12 d2f70382dc9a: Verifying Checksum 16:55:12 d2f70382dc9a: Download complete 16:55:12 d2f70382dc9a: Pull complete 16:55:12 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 16:55:12 Status: Downloaded newer image for alpine:3.12 16:55:12 ---> c4fd0aeabfcf 16:55:12 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:55:12 ---> Running in 808244d5c4a1 16:55:12 Removing intermediate container 808244d5c4a1 16:55:12 ---> 5b503faed49e 16:55:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:55:12 ---> Running in e364954c8636 16:55:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:55:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:55:13 (1/6) Installing dumb-init (1.2.2-r1) 16:55:13 (2/6) Installing libgcc (9.3.0-r2) 16:55:13 (3/6) Installing libsodium (1.0.18-r0) 16:55:13 (4/6) Installing libstdc++ (9.3.0-r2) 16:55:13 (5/6) Installing libzmq (4.3.3-r0) 16:55:13 (6/6) Installing zeromq (4.3.3-r0) 16:55:13 Executing busybox-1.31.1-r20.trigger 16:55:13 OK: 8 MiB in 20 packages 16:55:14 Removing intermediate container e364954c8636 16:55:14 ---> f5177f097cdd 16:55:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:55:16 ---> dd0ab1c77595 16:55:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:55:16 ---> 2b43431b15e0 16:55:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:55:17 ---> c372a806e5c9 16:55:17 Step 19/24 : EXPOSE 59982 16:55:17 ---> Running in b5881194e9c4 16:55:17 Removing intermediate container b5881194e9c4 16:55:17 ---> 6ac1b7adf1d9 16:55:17 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:55:18 ---> Running in f263ee02a6d1 16:55:18 Removing intermediate container f263ee02a6d1 16:55:18 ---> b9d02b7a7b73 16:55:18 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:55:18 ---> Running in 0605c77ce8b4 16:55:19 Removing intermediate container 0605c77ce8b4 16:55:19 ---> f59db86794f1 16:55:19 Step 22/24 : LABEL arch=arm64 16:55:19 ---> Running in 285c8c5b80ce 16:55:19 Removing intermediate container 285c8c5b80ce 16:55:19 ---> 350efa562df7 16:55:19 Step 23/24 : LABEL git_sha=d33b6821f783c94750a0a9d5448ef097740fa419 16:55:19 ---> Running in 320e3ae72b35 16:55:20 Removing intermediate container 320e3ae72b35 16:55:20 ---> e91750ee45c4 16:55:20 Step 24/24 : LABEL version=1.3.2-dev.26 16:55:20 ---> Running in 9cacf6dfd922 16:55:20 Removing intermediate container 9cacf6dfd922 16:55:20 ---> 3a1bfe1e0795 16:55:20 [Warning] One or more build-args [ARCH] were not consumed 16:55:20 Successfully built 3a1bfe1e0795 16:55:21 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 16:55:21 provisioning config files... 16:55:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/58@tmp/config8527449615871444032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:21 ---> docker-login.sh 16:55:21 nexus3.edgexfoundry.org:10001 16:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:22 Configure a credential helper to remove this warning. See 16:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:22 16:55:22 Login Succeeded 16:55:22 nexus3.edgexfoundry.org:10002 16:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:22 Configure a credential helper to remove this warning. See 16:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:22 16:55:22 Login Succeeded 16:55:22 nexus3.edgexfoundry.org:10003 16:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:23 Configure a credential helper to remove this warning. See 16:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:23 16:55:23 Login Succeeded 16:55:23 nexus3.edgexfoundry.org:10004 16:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:23 Configure a credential helper to remove this warning. See 16:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:23 16:55:23 Login Succeeded 16:55:23 docker.io 16:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:24 Configure a credential helper to remove this warning. See 16:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:24 16:55:24 Login Succeeded 16:55:24 ---> docker-login.sh ends [Pipeline] } 16:55:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:55:24 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 16:55:24 d33b6821f783c94750a0a9d5448ef097740fa419 16:55:24 latest 16:55:24 1.3.2-dev.26 16:55:24 d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 16:55:24 master 16:55:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:55:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d33b6821f783c94750a0a9d5448ef097740fa419 [Pipeline] isUnix [Pipeline] sh 16:55:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d33b6821f783c94750a0a9d5448ef097740fa419 16:55:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:55:25 b349af55b7de: Preparing 16:55:25 210fbe8a2b46: Preparing 16:55:25 9a84b9e6f178: Preparing 16:55:25 1790b287bb72: Preparing 16:55:25 3fbe34a1663b: Preparing 16:55:25 3fbe34a1663b: Layer already exists 16:55:25 b349af55b7de: Pushed 16:55:25 210fbe8a2b46: Pushed 16:55:26 1790b287bb72: Pushed 16:55:29 9a84b9e6f178: Pushed 16:55:29 d33b6821f783c94750a0a9d5448ef097740fa419: digest: sha256:53454bafe214082bb424bcd5863822fa7fb68a2fce85875b260a9e6d6e982dc6 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:55:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:55:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:55:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:55:29 b349af55b7de: Preparing 16:55:29 210fbe8a2b46: Preparing 16:55:29 9a84b9e6f178: Preparing 16:55:29 1790b287bb72: Preparing 16:55:29 3fbe34a1663b: Preparing 16:55:29 1790b287bb72: Layer already exists 16:55:29 210fbe8a2b46: Layer already exists 16:55:29 3fbe34a1663b: Layer already exists 16:55:29 b349af55b7de: Layer already exists 16:55:29 9a84b9e6f178: Layer already exists 16:55:30 latest: digest: sha256:53454bafe214082bb424bcd5863822fa7fb68a2fce85875b260a9e6d6e982dc6 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:55:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.26 [Pipeline] isUnix [Pipeline] sh 16:55:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.26 16:55:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:55:30 b349af55b7de: Preparing 16:55:30 210fbe8a2b46: Preparing 16:55:30 9a84b9e6f178: Preparing 16:55:30 1790b287bb72: Preparing 16:55:30 3fbe34a1663b: Preparing 16:55:31 210fbe8a2b46: Layer already exists 16:55:31 3fbe34a1663b: Layer already exists 16:55:31 9a84b9e6f178: Layer already exists 16:55:31 1790b287bb72: Layer already exists 16:55:31 b349af55b7de: Layer already exists 16:55:31 1.3.2-dev.26: digest: sha256:53454bafe214082bb424bcd5863822fa7fb68a2fce85875b260a9e6d6e982dc6 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:55:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 [Pipeline] isUnix [Pipeline] sh 16:55:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 16:55:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:55:31 b349af55b7de: Preparing 16:55:31 210fbe8a2b46: Preparing 16:55:31 9a84b9e6f178: Preparing 16:55:31 1790b287bb72: Preparing 16:55:31 3fbe34a1663b: Preparing 16:55:31 3fbe34a1663b: Layer already exists 16:55:31 210fbe8a2b46: Layer already exists 16:55:31 b349af55b7de: Layer already exists 16:55:31 1790b287bb72: Layer already exists 16:55:31 9a84b9e6f178: Layer already exists 16:55:32 d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26: digest: sha256:53454bafe214082bb424bcd5863822fa7fb68a2fce85875b260a9e6d6e982dc6 size: 1365 [Pipeline] isUnix [Pipeline] sh 16:55:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 16:55:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 16:55:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:55:32 b349af55b7de: Preparing 16:55:32 210fbe8a2b46: Preparing 16:55:32 9a84b9e6f178: Preparing 16:55:32 1790b287bb72: Preparing 16:55:32 3fbe34a1663b: Preparing 16:55:32 3fbe34a1663b: Layer already exists 16:55:32 b349af55b7de: Layer already exists 16:55:32 1790b287bb72: Layer already exists 16:55:32 9a84b9e6f178: Layer already exists 16:55:32 210fbe8a2b46: Layer already exists 16:55:32 master: digest: sha256:53454bafe214082bb424bcd5863822fa7fb68a2fce85875b260a9e6d6e982dc6 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:55:33 ===================================================== [Pipeline] echo 16:55:33 taggedImages: 16:55:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d33b6821f783c94750a0a9d5448ef097740fa419 16:55:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:55:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.26 16:55:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d33b6821f783c94750a0a9d5448ef097740fa419-1.3.2-dev.26 16:55:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 16:55:33 ---> job-cost.sh 16:55:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0x4X 16:56:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:57:34 lf-activate-venv(): INFO: Adding /tmp/venv-0x4X/bin to PATH 16:57:34 INFO: No Stack... 16:57:34 INFO: Retrieving Pricing Info for: v2-standard-4 16:57:34 INFO: Archiving Costs [Pipeline] sh 16:57:34 + cat /w/workspace/device-mqtt-go/58/archives/cost.csv 16:57:34 + cut -d, -f6 [Pipeline] lock 16:57:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-58-stack-cost] 16:57:34 Resource [jenkins-edgexfoundry-device-mqtt-go-master-58-stack-cost] did not exist. Created. 16:57:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:57:35 /w/workspace/device-mqtt-go/58@tmp/durable-c673e26f/script.sh: 1: /w/workspace/device-mqtt-go/58@tmp/durable-c673e26f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:57:35 + echo total: 0.18000000715255737 [Pipeline] stash 16:57:35 Warning: overwriting stash ‘stack-cost’ 16:57:35 Stashed 1 file(s) [Pipeline] } 16:57:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-58-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 16:57:36 provisioning config files... 16:57:36 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2709099032647883074tmp [Pipeline] { [Pipeline] sh 16:57:36 + set +x 16:57:36 + curl -s https://codecov.io/bash 16:57:36 + bash -s -- 16:57:36 16:57:36 _____ _ 16:57:36 / ____| | | 16:57:36 | | ___ __| | ___ ___ _____ __ 16:57:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:57:36 | |___| (_) | (_| | __/ (_| (_) \ V / 16:57:36 \_____\___/ \__,_|\___|\___\___/ \_/ 16:57:36 Bash-1.0.3 16:57:36 16:57:36 16:57:36 ==> git version 2.24.4 found 16:57:36 ==> 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 16:57:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:57:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:57:36 ==> Jenkins CI detected. 16:57:36 project root: . 16:57:36 --> token set from env 16:57:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:57:36 ==> Running gcov in . (disable via -X gcov) 16:57:36 ==> Python coveragepy not found 16:57:36 ==> Searching for coverage reports in: 16:57:36 + . 16:57:36 -> Found 1 reports 16:57:36 ==> Detecting git/mercurial file structure 16:57:36 ==> Reading reports 16:57:36 + ./coverage.out bytes=16226 16:57:36 ==> Appending adjustments 16:57:36 https://docs.codecov.io/docs/fixing-reports 16:57:36 + Found adjustments 16:57:36 ==> Gzipping contents 16:57:36 4.0K /tmp/codecov.XBFQXg.gz 16:57:36 ==> Uploading reports 16:57:36 url: https://codecov.io 16:57:36 query: branch=master&commit=d33b6821f783c94750a0a9d5448ef097740fa419&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:57:36 -> Pinging Codecov 16:57:36 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=d33b6821f783c94750a0a9d5448ef097740fa419&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:57:37 -> Uploading to 16:57:37 https://storage.googleapis.com/codecov/v4/raw/2021-06-25/7D719EC7BBE17E464838252E33014C33/d33b6821f783c94750a0a9d5448ef097740fa419/982878c1-1b57-4e79-881b-8a9e8af7066a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T165736Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa39d7f023c827d09e6cfe9ca2d94923132467e68cbbc2e64677c06bc229143b 16:57:37 % Total % Received % Xferd Average Speed Time Time Time Current 16:57:37 Dload Upload Total Spent Left Speed 16:57:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3003 0 0 100 3003 0 9025 --:--:-- --:--:-- --:--:-- 9045 16:57:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/d33b6821f783c94750a0a9d5448ef097740fa419 [Pipeline] } 16:57:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:57:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:57:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:57:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:57:38 16:57:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:57:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:57:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:57:39 188c0c94c7c5: Pulling fs layer 16:57:39 0ef7d3d256c8: Pulling fs layer 16:57:39 de9db76c5a1d: Pulling fs layer 16:57:39 0eba1c9be4d2: Pulling fs layer 16:57:39 0d57e429df01: Pulling fs layer 16:57:39 4e4be7b47b0d: Pulling fs layer 16:57:39 e1f770b5df2f: Pulling fs layer 16:57:39 85a0685a4137: Pulling fs layer 16:57:39 0eba1c9be4d2: Waiting 16:57:39 0d57e429df01: Waiting 16:57:39 4e4be7b47b0d: Waiting 16:57:39 e1f770b5df2f: Waiting 16:57:39 85a0685a4137: Waiting 16:57:39 de9db76c5a1d: Verifying Checksum 16:57:39 de9db76c5a1d: Download complete 16:57:39 0ef7d3d256c8: Verifying Checksum 16:57:39 0ef7d3d256c8: Download complete 16:57:39 0d57e429df01: Verifying Checksum 16:57:39 0d57e429df01: Download complete 16:57:39 4e4be7b47b0d: Verifying Checksum 16:57:39 4e4be7b47b0d: Download complete 16:57:39 188c0c94c7c5: Verifying Checksum 16:57:39 188c0c94c7c5: Download complete 16:57:39 188c0c94c7c5: Pull complete 16:57:39 0ef7d3d256c8: Pull complete 16:57:39 de9db76c5a1d: Pull complete 16:57:41 e1f770b5df2f: Verifying Checksum 16:57:41 e1f770b5df2f: Download complete 16:57:43 0eba1c9be4d2: Verifying Checksum 16:57:43 0eba1c9be4d2: Download complete 16:57:43 85a0685a4137: Verifying Checksum 16:57:43 85a0685a4137: Download complete 16:57:47 0eba1c9be4d2: Pull complete 16:57:47 0d57e429df01: Pull complete 16:57:47 4e4be7b47b0d: Pull complete 16:57:47 e1f770b5df2f: Pull complete 16:57:50 85a0685a4137: Pull complete 16:57:50 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:57:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:57:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:57:50 prd-centos7-docker-4c-2g-135 does not seem to be running inside a container 16:57:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:57:54 $ docker top 2560af9008a57a9343b85872a7f54ba5f023e9499d925902a273347e376c3d1d -eo pid,comm [Pipeline] { [Pipeline] echo 16:57:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:57:54 + set -o pipefail 16:57:54 + snyk monitor '--org=edgex-jenkins' 16:58:02 16:58:02 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 16:58:02 16:58:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/0fbe6427-a204-4513-a764-fc5c3bf523ff 16:58:02 16:58:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:58:02 16:58:02 [Pipeline] } 16:58:02 $ docker stop --time=1 2560af9008a57a9343b85872a7f54ba5f023e9499d925902a273347e376c3d1d 16:58:05 $ docker rm -f 2560af9008a57a9343b85872a7f54ba5f023e9499d925902a273347e376c3d1d [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 16:58:06 + git log --format=format:%s -1 d33b6821f783c94750a0a9d5448ef097740fa419 [Pipeline] isUnix [Pipeline] sh 16:58:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:58:06 . [Pipeline] withDockerContainer 16:58:06 prd-centos7-docker-4c-2g-135 does not seem to be running inside a container 16:58:06 $ 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 16:58:07 $ docker top 740c9c7ec5cd34fbb0f98ab674f94a0a4e6d372f19130895ab88b3507b8093d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:58:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:07 [ssh-agent] Looking for ssh-agent implementation... 16:58:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:07 $ docker exec 740c9c7ec5cd34fbb0f98ab674f94a0a4e6d372f19130895ab88b3507b8093d6 ssh-agent 16:58:07 SSH_AUTH_SOCK=/tmp/ssh-AmUlRfah7lqg/agent.14 16:58:07 SSH_AGENT_PID=20 16:58:07 Running ssh-add (command line suppressed) 16:58:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5327462636740990708.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5327462636740990708.key) 16:58:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:07 + git semver tag 16:58:07 # -> Open(): unable to determine branch for HEAD 16:58:07 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:58:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:58:07 # $SEMVER_REMOTE_NAME = origin 16:58:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:58:07 # $SEMVER_USER_NAME = edgex-jenkins 16:58:07 # $SEMVER_BRANCH = master 16:58:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 16:58:07 # d33b6821f783c94750a0a9d5448ef097740fa419 HEAD 16:58:07 # -> Force: false 16:58:07 # d088a5c5d6fd272cad5b61457dc7ed62b47b93a1 refs/tags/v1.3.2-dev.26 [Pipeline] } 16:58:07 $ docker exec --env ******** --env ******** 740c9c7ec5cd34fbb0f98ab674f94a0a4e6d372f19130895ab88b3507b8093d6 ssh-agent -k 16:58:08 unset SSH_AUTH_SOCK; 16:58:08 unset SSH_AGENT_PID; 16:58:08 echo Agent pid 20 killed; 16:58:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:58:08 + git semver [Pipeline] } 16:58:08 $ docker stop --time=1 740c9c7ec5cd34fbb0f98ab674f94a0a4e6d372f19130895ab88b3507b8093d6 16:58:09 $ docker rm -f 740c9c7ec5cd34fbb0f98ab674f94a0a4e6d372f19130895ab88b3507b8093d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:58:10 16:58:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:58:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:58:10 0.23.1-centos7: Pulling from edgex-lftools 16:58:10 ab5ef0e58194: Pulling fs layer 16:58:10 9712f1f96733: Pulling fs layer 16:58:10 63f879dbbcfc: Pulling fs layer 16:58:10 0d9ebad4ef96: Pulling fs layer 16:58:10 e9a5061849ea: Pulling fs layer 16:58:10 d747dcd14b5f: Pulling fs layer 16:58:10 2de7ff778b66: Pulling fs layer 16:58:10 e9a5061849ea: Waiting 16:58:10 d747dcd14b5f: Waiting 16:58:10 2de7ff778b66: Waiting 16:58:10 0d9ebad4ef96: Waiting 16:58:10 9712f1f96733: Verifying Checksum 16:58:10 9712f1f96733: Download complete 16:58:12 63f879dbbcfc: Verifying Checksum 16:58:12 63f879dbbcfc: Download complete 16:58:12 e9a5061849ea: Verifying Checksum 16:58:12 e9a5061849ea: Download complete 16:58:12 d747dcd14b5f: Verifying Checksum 16:58:12 d747dcd14b5f: Download complete 16:58:12 2de7ff778b66: Verifying Checksum 16:58:12 2de7ff778b66: Download complete 16:58:12 0d9ebad4ef96: Verifying Checksum 16:58:12 0d9ebad4ef96: Download complete 16:58:12 ab5ef0e58194: Verifying Checksum 16:58:12 ab5ef0e58194: Download complete 16:58:15 ab5ef0e58194: Pull complete 16:58:15 9712f1f96733: Pull complete 16:58:15 63f879dbbcfc: Pull complete 16:58:19 0d9ebad4ef96: Pull complete 16:58:19 e9a5061849ea: Pull complete 16:58:19 d747dcd14b5f: Pull complete 16:58:20 2de7ff778b66: Pull complete 16:58:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:58:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:58:20 prd-centos7-docker-4c-2g-135 does not seem to be running inside a container 16:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:58:25 $ docker top 27d73227ba50bc319086f983cc6916ee5537b33ad48ef775b7d87772e564c149 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:58:25 provisioning config files... 16:58:25 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3510537750415272563tmp 16:58:25 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8056927787441784522tmp 16:58:25 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7185966116322477754tmp [Pipeline] { [Pipeline] echo 16:58:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:58:25 ---> sigul-configuration.sh 16:58:25 gpg: directory `/root/.gnupg' created 16:58:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:58:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:58:25 gpg: keyring `/root/.gnupg/secring.gpg' created 16:58:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:58:25 gpg: CAST5 encrypted data 16:58:25 gpg: encrypted with 1 passphrase 16:58:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:58:26 + mkdir /home/jenkins 16:58:26 + mkdir /home/jenkins/sigul [Pipeline] sh 16:58:26 + 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 16:58:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:58:26 ---> sigul-install.sh 16:58:33 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:58:33 + git tag --list 16:58:33 0.7.1 16:58:33 v1.0.0 16:58:33 v1.1.0 16:58:33 v1.1.1 16:58:33 v1.2.2 16:58:33 v1.3.0 16:58:33 v1.3.1 16:58:33 v1.3.1-dev.1 16:58:33 v1.3.1-dev.2 16:58:33 v1.3.1-dev.3 16:58:33 v1.3.1-dev.4 16:58:33 v1.3.2-dev.1 16:58:33 v1.3.2-dev.10 16:58:33 v1.3.2-dev.11 16:58:33 v1.3.2-dev.12 16:58:33 v1.3.2-dev.13 16:58:33 v1.3.2-dev.14 16:58:33 v1.3.2-dev.15 16:58:33 v1.3.2-dev.16 16:58:33 v1.3.2-dev.17 16:58:33 v1.3.2-dev.18 16:58:33 v1.3.2-dev.19 16:58:33 v1.3.2-dev.2 16:58:33 v1.3.2-dev.20 16:58:33 v1.3.2-dev.21 16:58:33 v1.3.2-dev.22 16:58:33 v1.3.2-dev.23 16:58:33 v1.3.2-dev.24 16:58:33 v1.3.2-dev.25 16:58:33 v1.3.2-dev.26 16:58:33 v1.3.2-dev.3 16:58:33 v1.3.2-dev.4 16:58:33 v1.3.2-dev.5 16:58:33 v1.3.2-dev.6 16:58:33 v1.3.2-dev.7 16:58:33 v1.3.2-dev.8 16:58:33 v1.3.2-dev.9 [Pipeline] sh 16:58:34 + lftools sign git-tag v1.3.2-dev.26 16:58:34 Signing Git tag with Sigul... 16:58:34 Signing v1.3.2-dev.26 [Pipeline] echo 16:58:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:58:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:58:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:58:36 $ docker stop --time=1 27d73227ba50bc319086f983cc6916ee5537b33ad48ef775b7d87772e564c149 16:58:37 $ docker rm -f 27d73227ba50bc319086f983cc6916ee5537b33ad48ef775b7d87772e564c149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:58:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:58:38 . [Pipeline] withDockerContainer 16:58:38 prd-centos7-docker-4c-2g-135 does not seem to be running inside a container 16:58:38 $ 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 16:58:39 $ docker top 3f49d7a4235ce954b508c1db68413a2ff1e93fc8bd29d20cc705f45ceca3dd13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:58:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:39 [ssh-agent] Looking for ssh-agent implementation... 16:58:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:39 $ docker exec 3f49d7a4235ce954b508c1db68413a2ff1e93fc8bd29d20cc705f45ceca3dd13 ssh-agent 16:58:39 SSH_AUTH_SOCK=/tmp/ssh-mFRplDSMuVX8/agent.14 16:58:39 SSH_AGENT_PID=20 16:58:39 Running ssh-add (command line suppressed) 16:58:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3283861148943004417.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3283861148943004417.key) 16:58:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:39 + git semver bump pre 16:58:39 # -> Open(): unable to determine branch for HEAD 16:58:39 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:58:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:58:39 # $SEMVER_REMOTE_NAME = origin 16:58:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:58:39 # $SEMVER_USER_NAME = edgex-jenkins 16:58:39 # $SEMVER_BRANCH = master 16:58:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 16:58:39 1.3.2-dev.27 [Pipeline] } 16:58:39 $ docker exec --env ******** --env ******** 3f49d7a4235ce954b508c1db68413a2ff1e93fc8bd29d20cc705f45ceca3dd13 ssh-agent -k 16:58:39 unset SSH_AUTH_SOCK; 16:58:39 unset SSH_AGENT_PID; 16:58:39 echo Agent pid 20 killed; 16:58:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:58:40 + git semver [Pipeline] } 16:58:40 $ docker stop --time=1 3f49d7a4235ce954b508c1db68413a2ff1e93fc8bd29d20cc705f45ceca3dd13 16:58:41 $ docker rm -f 3f49d7a4235ce954b508c1db68413a2ff1e93fc8bd29d20cc705f45ceca3dd13 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:58:41 . [Pipeline] withDockerContainer 16:58:42 prd-centos7-docker-4c-2g-135 does not seem to be running inside a container 16:58:42 $ 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 16:58:42 $ docker top ab66aa502f1226997106773b9bf55d6f18ec7097530c6341b87f7dff881a0b53 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:58:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:42 [ssh-agent] Looking for ssh-agent implementation... 16:58:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:42 $ docker exec ab66aa502f1226997106773b9bf55d6f18ec7097530c6341b87f7dff881a0b53 ssh-agent 16:58:42 SSH_AUTH_SOCK=/tmp/ssh-58XN26ACoqH9/agent.15 16:58:42 SSH_AGENT_PID=21 16:58:42 Running ssh-add (command line suppressed) 16:58:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6498965505405378636.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6498965505405378636.key) 16:58:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:43 + git semver push 16:58:43 # -> Open(): unable to determine branch for HEAD 16:58:43 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:58:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:58:43 # $SEMVER_REMOTE_NAME = origin 16:58:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:58:43 # $SEMVER_USER_NAME = edgex-jenkins 16:58:43 # $SEMVER_BRANCH = master 16:58:43 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 16:58:47 $ docker exec --env ******** --env ******** ab66aa502f1226997106773b9bf55d6f18ec7097530c6341b87f7dff881a0b53 ssh-agent -k 16:58:47 unset SSH_AUTH_SOCK; 16:58:47 unset SSH_AGENT_PID; 16:58:47 echo Agent pid 21 killed; 16:58:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:58:47 + git semver [Pipeline] } 16:58:47 $ docker stop --time=1 ab66aa502f1226997106773b9bf55d6f18ec7097530c6341b87f7dff881a0b53 16:58:49 $ docker rm -f ab66aa502f1226997106773b9bf55d6f18ec7097530c6341b87f7dff881a0b53 [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 16:58:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:58:51 ---> package-listing.sh 16:58:51 ++ facter osfamily 16:58:51 ++ tr '[:upper:]' '[:lower:]' 16:58:51 + OS_FAMILY=redhat 16:58:51 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 16:58:51 + START_PACKAGES=/tmp/packages_start.txt 16:58:51 + END_PACKAGES=/tmp/packages_end.txt 16:58:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:58:51 + PACKAGES=/tmp/packages_start.txt 16:58:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 16:58:51 + PACKAGES=/tmp/packages_end.txt 16:58:51 + case "${OS_FAMILY}" in 16:58:51 + sort 16:58:51 + rpm -qa 16:58:51 + '[' -f /tmp/packages_start.txt ']' 16:58:51 + '[' -f /tmp/packages_end.txt ']' 16:58:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:58:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 16:58:51 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 16:58:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 16:58:51 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 16:58:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:58:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:58:52 16:58:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:58:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:58:53 alpine: Pulling from edgex-lftools-log-publisher 16:58:53 df20fa9351a1: Pulling fs layer 16:58:53 36b3adc4ff6f: Pulling fs layer 16:58:53 8ad3a11d3b57: Pulling fs layer 16:58:53 46f8f816bc3b: Pulling fs layer 16:58:53 93b61091891f: Pulling fs layer 16:58:53 93b9cdb0e59b: Pulling fs layer 16:58:53 5e14af77c1be: Pulling fs layer 16:58:53 01666e4c0597: Pulling fs layer 16:58:53 aa168da1d23b: Pulling fs layer 16:58:53 93b61091891f: Waiting 16:58:53 93b9cdb0e59b: Waiting 16:58:53 5e14af77c1be: Waiting 16:58:53 01666e4c0597: Waiting 16:58:53 aa168da1d23b: Waiting 16:58:53 46f8f816bc3b: Waiting 16:58:53 36b3adc4ff6f: Verifying Checksum 16:58:53 36b3adc4ff6f: Download complete 16:58:53 46f8f816bc3b: Verifying Checksum 16:58:53 46f8f816bc3b: Download complete 16:58:53 df20fa9351a1: Verifying Checksum 16:58:53 df20fa9351a1: Download complete 16:58:53 93b9cdb0e59b: Verifying Checksum 16:58:53 93b9cdb0e59b: Download complete 16:58:53 5e14af77c1be: Verifying Checksum 16:58:53 5e14af77c1be: Download complete 16:58:53 01666e4c0597: Verifying Checksum 16:58:53 01666e4c0597: Download complete 16:58:53 93b61091891f: Verifying Checksum 16:58:53 93b61091891f: Download complete 16:58:53 df20fa9351a1: Pull complete 16:58:53 8ad3a11d3b57: Verifying Checksum 16:58:53 8ad3a11d3b57: Download complete 16:58:53 36b3adc4ff6f: Pull complete 16:58:54 8ad3a11d3b57: Pull complete 16:58:54 46f8f816bc3b: Pull complete 16:58:54 93b61091891f: Pull complete 16:58:54 93b9cdb0e59b: Pull complete 16:58:54 5e14af77c1be: Pull complete 16:58:54 01666e4c0597: Pull complete 16:58:55 aa168da1d23b: Verifying Checksum 16:58:55 aa168da1d23b: Download complete 16:58:59 aa168da1d23b: Pull complete 16:58:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:58:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:58:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:58:59 prd-centos7-docker-4c-2g-135 does not seem to be running inside a container 16:58:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:59:02 $ docker top 53e273950443be2333fdee101c15ed05950e89633329e9d3903e0929b5609652 -eo pid,comm [Pipeline] { [Pipeline] sh 16:59:02 + touch /tmp/pre-build-complete [Pipeline] sh 16:59:02 + mkdir -p /var/log/sa [Pipeline] sh 16:59:03 + ls /var/log/sa-host 16:59:03 + sadf -c /var/log/sa-host/sa05 16:59:03 file_magic: OK 16:59:03 HZ: Using current value: 100 16:59:03 file_header: OK 16:59:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:59:03 Statistics: 16:59:03 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:59:03 File successfully converted to sysstat format version 12.2.1 16:59:03 + sadf -c /var/log/sa-host/sa25 16:59:03 file_magic: OK 16:59:03 HZ: Using current value: 100 16:59:03 file_header: OK 16:59:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:59:03 Statistics: 16:59:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:59:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:03 provisioning config files... 16:59:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8693833489495904618tmp [Pipeline] { [Pipeline] echo 16:59:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:59:04 ---> create-netrc.sh [Pipeline] } 16:59:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:59:04 ---> python-tools-install.sh [Pipeline] echo 16:59:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:59:04 ---> sudo-logs.sh 16:59:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:59:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:59:05 ---> job-cost.sh 16:59:05 lf-activate-venv: SKIPPING 16:59:05 DEBUG: total: 0.18000000715255737 16:59:05 INFO: Retrieving Stack Cost... 16:59:06 INFO: Retrieving Pricing Info for: v3-standard-2 16:59:06 INFO: Archiving Costs [Pipeline] echo 16:59:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:59:07 ---> logs-deploy.sh 16:59:07 lf-activate-venv: SKIPPING 16:59:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/58 16:59:07 INFO: archiving workspace using pattern(s): 16:59:08 Archives upload complete. 16:59:08 INFO: archiving logs to Nexus 16:59:08 ---> uname -a: 16:59:08 Linux prd-centos7-docker-4c-2g-135.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 16:59:08 16:59:08 16:59:08 ---> lscpu: 16:59:08 Architecture: x86_64 16:59:08 CPU op-mode(s): 32-bit, 64-bit 16:59:08 Byte Order: Little Endian 16:59:08 Address sizes: 40 bits physical, 48 bits virtual 16:59:08 CPU(s): 2 16:59:08 On-line CPU(s) list: 0,1 16:59:08 Thread(s) per core: 1 16:59:08 Core(s) per socket: 1 16:59:08 Socket(s): 2 16:59:08 NUMA node(s): 1 16:59:08 Vendor ID: AuthenticAMD 16:59:08 CPU family: 23 16:59:08 Model: 49 16:59:08 Model name: AMD EPYC-Rome Processor 16:59:08 Stepping: 0 16:59:08 CPU MHz: 2799.998 16:59:08 BogoMIPS: 5599.99 16:59:08 Virtualization: AMD-V 16:59:08 Hypervisor vendor: KVM 16:59:08 Virtualization type: full 16:59:08 L1d cache: 64 KiB 16:59:08 L1i cache: 64 KiB 16:59:08 L2 cache: 1 MiB 16:59:08 L3 cache: 32 MiB 16:59:08 NUMA node0 CPU(s): 0,1 16:59:08 Vulnerability Itlb multihit: Not affected 16:59:08 Vulnerability L1tf: Not affected 16:59:08 Vulnerability Mds: Not affected 16:59:08 Vulnerability Meltdown: Not affected 16:59:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:59:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:59:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:59:08 Vulnerability Srbds: Not affected 16:59:08 Vulnerability Tsx async abort: Not affected 16:59:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 16:59:08 16:59:08 16:59:08 ---> nproc: 16:59:08 2 16:59:08 16:59:08 16:59:08 ---> df -h: 16:59:08 Filesystem Size Used Available Use% Mounted on 16:59:08 overlay 40.0G 8.9G 31.1G 22% / 16:59:08 tmpfs 64.0M 0 64.0M 0% /dev 16:59:08 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 16:59:08 shm 64.0M 0 64.0M 0% /dev/shm 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 16:59:08 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 16:59:08 16:59:08 16:59:08 ---> free -m: 16:59:08 total used free shared buff/cache available 16:59:08 Mem: 7821 1283 3152 0 3384 6455 16:59:08 Swap: 1023 0 1023 16:59:08 16:59:08 16:59:08 ---> ip addr: 16:59:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:59:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:59:08 inet 127.0.0.1/8 scope host lo 16:59:08 valid_lft forever preferred_lft forever 16:59:08 inet6 ::1/128 scope host 16:59:08 valid_lft forever preferred_lft forever 16:59:08 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:59:08 link/ether fa:16:3e:43:a0:eb brd ff:ff:ff:ff:ff:ff 16:59:08 inet 10.30.123.74/23 brd 10.30.123.255 scope global dynamic eth0 16:59:08 valid_lft 85728sec preferred_lft 85728sec 16:59:08 inet6 fe80::f816:3eff:fe43:a0eb/64 scope link 16:59:08 valid_lft forever preferred_lft forever 16:59:08 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:59:08 link/ether 02:42:2b:70:b1:d7 brd ff:ff:ff:ff:ff:ff 16:59:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:59:08 valid_lft forever preferred_lft forever 16:59:08 inet6 fe80::42:2bff:fe70:b1d7/64 scope link 16:59:08 valid_lft forever preferred_lft forever 16:59:08 16:59:08 16:59:08 ---> sar -b -r -n DEV: 16:59:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/25/21 _x86_64_ (2 CPU) 16:59:08 16:59:08 16:47:46 LINUX RESTART (2 CPU) 16:59:08 16:59:08 16:48:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:59:08 16:49:01 227.01 91.01 136.00 0.00 10498.57 40859.09 0.00 16:59:08 16:50:01 1.77 0.02 1.75 0.00 0.53 36.60 0.00 16:59:08 16:51:01 0.38 0.00 0.38 0.00 0.00 5.26 0.00 16:59:08 16:52:01 0.15 0.00 0.15 0.00 0.00 2.02 0.00 16:59:08 16:53:01 0.27 0.00 0.27 0.00 0.00 3.75 0.00 16:59:08 16:54:01 0.32 0.00 0.32 0.00 0.00 3.98 0.00 16:59:08 16:55:01 0.25 0.00 0.25 0.00 0.00 3.12 0.00 16:59:08 16:56:01 0.25 0.00 0.25 0.00 0.00 3.27 0.00 16:59:08 16:57:01 0.23 0.00 0.23 0.00 0.00 2.32 0.00 16:59:08 16:58:01 81.45 0.03 81.41 0.00 3.73 27974.97 0.00 16:59:08 16:59:01 177.09 0.10 176.99 0.00 9.99 44264.67 0.00 16:59:08 Average: 44.48 8.29 36.19 0.00 956.07 10290.23 0.00 16:59:08 16:59:08 16:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:59:08 16:49:01 5457872 0 811756 10.14 2620 1736684 1289472 14.24 578120 1572804 128 16:59:08 16:50:01 5469672 0 799948 9.99 2620 1736692 1200620 13.26 568268 1572768 12 16:59:08 16:51:01 5469936 0 799684 9.98 2620 1736692 1200620 13.26 570008 1571000 8 16:59:08 16:52:01 5467372 0 802244 10.02 2620 1736696 1200920 13.26 572796 1571000 8 16:59:08 16:53:01 5469480 0 800128 9.99 2620 1736704 1200620 13.26 565156 1576880 8 16:59:08 16:54:01 5468008 0 801600 10.01 2620 1736704 1200728 13.26 565876 1576880 8 16:59:08 16:55:01 5468004 0 801596 10.01 2620 1736712 1200620 13.26 566340 1576880 16 16:59:08 16:56:01 5465340 0 804256 10.04 2620 1736716 1200620 13.26 568896 1576880 8 16:59:08 16:57:01 5454168 0 815420 10.18 2620 1736724 1200752 13.26 579824 1576880 20 16:59:08 16:58:01 4362492 0 1063920 13.28 2620 2579900 1392268 15.37 836924 2291172 102096 16:59:08 16:59:01 3244576 0 1298716 16.22 2620 3463020 1642880 18.14 1090060 2965232 15252 16:59:08 Average: 5163356 0 872661 10.90 2620 1970295 1266375 13.98 642024 1766216 10688 16:59:08 16:59:08 16:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:59:08 16:49:01 eth0 508.42 341.39 1064.98 80.92 0.00 0.00 0.00 0.00 16:59:08 16:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:49:01 docker0 2.80 2.03 0.61 5.91 0.00 0.00 0.00 0.00 16:59:08 16:50:01 eth0 0.77 0.08 0.06 0.01 0.00 0.00 0.00 0.00 16:59:08 16:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:51:01 eth0 0.43 0.08 0.04 0.01 0.00 0.00 0.00 0.00 16:59:08 16:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:52:01 eth0 2.60 1.30 2.14 0.44 0.00 0.00 0.00 0.00 16:59:08 16:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:53:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:59:08 16:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:54:01 eth0 0.30 0.25 0.14 0.08 0.00 0.00 0.00 0.00 16:59:08 16:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:55:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:59:08 16:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:56:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:59:08 16:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:57:01 eth0 0.50 0.35 0.27 0.20 0.00 0.00 0.00 0.00 16:59:08 16:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:58:01 vethe817eaf 65.99 68.64 6.25 390.82 0.00 0.00 0.00 0.00 16:59:08 16:58:01 eth0 601.60 547.50 4481.43 45.42 0.00 0.00 0.00 0.00 16:59:08 16:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:58:01 docker0 65.99 68.52 5.34 390.81 0.00 0.00 0.00 0.00 16:59:08 16:59:01 eth0 729.92 613.87 5705.15 140.14 0.00 0.00 0.00 0.00 16:59:08 16:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 16:59:01 docker0 70.98 120.20 3.97 279.11 0.00 0.00 0.00 0.00 16:59:08 Average: eth0 167.76 136.86 1023.36 24.30 0.00 0.00 0.00 0.00 16:59:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:08 Average: docker0 12.71 17.35 0.90 61.45 0.00 0.00 0.00 0.00 16:59:08 16:59:08 16:59:08 ---> sar -P ALL: 16:59:08 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/25/21 _x86_64_ (2 CPU) 16:59:08 16:59:08 16:47:46 LINUX RESTART (2 CPU) 16:59:08 16:59:08 16:48:01 CPU %user %nice %system %iowait %steal %idle 16:59:08 16:49:01 all 20.14 0.00 7.79 9.17 0.09 62.81 16:59:08 16:49:01 0 20.16 0.00 8.29 10.66 0.09 60.80 16:59:08 16:49:01 1 20.11 0.00 7.29 7.69 0.09 64.81 16:59:08 16:50:01 all 0.08 0.00 0.03 0.00 0.05 99.84 16:59:08 16:50:01 0 0.08 0.00 0.02 0.00 0.05 99.85 16:59:08 16:50:01 1 0.08 0.00 0.03 0.00 0.05 99.83 16:59:08 16:51:01 all 0.08 0.00 0.03 0.00 0.05 99.84 16:59:08 16:51:01 0 0.03 0.00 0.03 0.00 0.05 99.88 16:59:08 16:51:01 1 0.12 0.00 0.03 0.00 0.05 99.80 16:59:08 16:52:01 all 0.07 0.00 0.03 0.00 0.04 99.87 16:59:08 16:52:01 0 0.03 0.00 0.03 0.00 0.05 99.88 16:59:08 16:52:01 1 0.10 0.00 0.02 0.00 0.03 99.85 16:59:08 16:53:01 all 0.10 0.00 0.03 0.00 0.04 99.82 16:59:08 16:53:01 0 0.05 0.00 0.02 0.00 0.03 99.90 16:59:08 16:53:01 1 0.15 0.00 0.05 0.00 0.05 99.75 16:59:08 16:54:01 all 0.09 0.00 0.03 0.00 0.04 99.83 16:59:08 16:54:01 0 0.02 0.00 0.03 0.00 0.08 99.87 16:59:08 16:54:01 1 0.17 0.00 0.03 0.00 0.00 99.80 16:59:08 16:55:01 all 0.05 0.00 0.01 0.00 0.04 99.90 16:59:08 16:55:01 0 0.05 0.00 0.02 0.00 0.03 99.90 16:59:08 16:55:01 1 0.05 0.00 0.00 0.00 0.05 99.90 16:59:08 16:56:01 all 0.04 0.00 0.03 0.00 0.05 99.87 16:59:08 16:56:01 0 0.02 0.00 0.02 0.00 0.07 99.90 16:59:08 16:56:01 1 0.07 0.00 0.05 0.00 0.03 99.85 16:59:08 16:57:01 all 0.04 0.00 0.03 0.00 0.05 99.87 16:59:08 16:57:01 0 0.03 0.00 0.03 0.00 0.05 99.88 16:59:08 16:57:01 1 0.05 0.00 0.03 0.00 0.05 99.87 16:59:08 16:58:01 all 10.70 0.00 4.24 2.26 0.07 82.73 16:59:08 16:58:01 0 10.62 0.00 4.33 1.76 0.07 83.22 16:59:08 16:58:01 1 10.77 0.00 4.14 2.77 0.07 82.25 16:59:08 16:59:01 all 20.29 0.00 9.59 2.74 0.10 67.29 16:59:08 16:59:01 0 22.96 0.00 10.38 2.73 0.09 63.83 16:59:08 16:59:01 1 17.64 0.00 8.81 2.74 0.11 70.70 16:59:08 16:59:08 Average: CPU %user %nice %system %iowait %steal %idle 16:59:08 Average: all 4.55 0.00 1.92 1.25 0.06 92.22 16:59:08 Average: 0 4.74 0.00 2.03 1.33 0.06 91.83 16:59:08 Average: 1 4.36 0.00 1.81 1.17 0.05 92.61 16:59:08 16:59:08 16:59:08