Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 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-ssh7973093563717830425.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-ssh7465958012734191937.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-ssh6241287734255762167.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-ssh2840603075071644438.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-ssh2333087712438298339.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1010 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Avoid second fetch Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (master) 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-ssh7396513249965794297.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 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks (#294)" > git rev-list --no-walk 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:34:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:34:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:34:53 ========================================================= 20:34:53 EdgeX Global Pipelines Version Info 20:34:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:34:55 ------------------- 20:34:55 stable info: 20:34:55 ------------------- 20:34:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:55 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 20:34:55 Message: update stable to v1.0.195 20:34:55 ------------------- 20:34:55 experimental info: 20:34:55 ------------------- 20:34:55 Commited By: **** collab-it+edgex@linuxfoundation.org 20:34:55 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 20:34:55 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f108e1f [Pipeline] echo 20:34:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:56 provisioning config files... 20:34:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4668911814434784413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:57 ---> docker-login.sh 20:34:57 nexus3.edgexfoundry.org:10001 20:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:58 Configure a credential helper to remove this warning. See 20:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:58 20:34:58 Login Succeeded 20:34:58 nexus3.edgexfoundry.org:10002 20:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:58 Configure a credential helper to remove this warning. See 20:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:58 20:34:58 Login Succeeded 20:34:58 nexus3.edgexfoundry.org:10003 20:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:58 Configure a credential helper to remove this warning. See 20:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:58 20:34:58 Login Succeeded 20:34:58 nexus3.edgexfoundry.org:10004 20:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:58 Configure a credential helper to remove this warning. See 20:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:58 20:34:58 Login Succeeded 20:34:58 docker.io 20:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:58 Configure a credential helper to remove this warning. See 20:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:58 20:34:58 Login Succeeded 20:34:58 ---> docker-login.sh ends [Pipeline] } 20:34:58 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 20:34:59 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 20:34:59 GIT_COMMIT: f108e1f6dac2bdd3d582b44a0d019ed09ad7b604, Commit Message: feat(snap): add go-based configure and install hooks (#294) [Pipeline] echo 20:34:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:35:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:35:00 20:35:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:35:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:35:00 latest: Pulling from edgex-devops/git-semver 20:35:00 31603596830f: Pulling fs layer 20:35:00 54011a49482f: Pulling fs layer 20:35:00 a6820b24f6d8: Pulling fs layer 20:35:00 f581987b2513: Pulling fs layer 20:35:00 f581987b2513: Waiting 20:35:00 54011a49482f: Verifying Checksum 20:35:00 54011a49482f: Download complete 20:35:00 31603596830f: Verifying Checksum 20:35:00 31603596830f: Download complete 20:35:00 f581987b2513: Verifying Checksum 20:35:00 f581987b2513: Download complete 20:35:00 a6820b24f6d8: Verifying Checksum 20:35:00 a6820b24f6d8: Download complete 20:35:00 31603596830f: Pull complete 20:35:00 54011a49482f: Pull complete 20:35:01 a6820b24f6d8: Pull complete 20:35:01 f581987b2513: Pull complete 20:35:01 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:35:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:35:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:35:01 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 20:35:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:35:03 $ docker top 1eb797c0116d48d36f7503ff1274236c55c6fedd95ac68ca57db95a77aadb994 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:35:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:03 [ssh-agent] Looking for ssh-agent implementation... 20:35:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:03 $ docker exec 1eb797c0116d48d36f7503ff1274236c55c6fedd95ac68ca57db95a77aadb994 ssh-agent 20:35:03 SSH_AUTH_SOCK=/tmp/ssh-wl5pJOZP4hRA/agent.12 20:35:03 SSH_AGENT_PID=18 20:35:03 Running ssh-add (command line suppressed) 20:35:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8926618288135792782.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8926618288135792782.key) 20:35:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:04 + git tag --points-at HEAD [Pipeline] } 20:35:04 $ docker exec --env ******** --env ******** 1eb797c0116d48d36f7503ff1274236c55c6fedd95ac68ca57db95a77aadb994 ssh-agent -k 20:35:04 unset SSH_AUTH_SOCK; 20:35:04 unset SSH_AGENT_PID; 20:35:04 echo Agent pid 18 killed; 20:35:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:35:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:04 [ssh-agent] Looking for ssh-agent implementation... 20:35:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:04 $ docker exec 1eb797c0116d48d36f7503ff1274236c55c6fedd95ac68ca57db95a77aadb994 ssh-agent 20:35:04 SSH_AUTH_SOCK=/tmp/ssh-0jgptax0RNQk/agent.50 20:35:04 SSH_AGENT_PID=57 20:35:04 Running ssh-add (command line suppressed) 20:35:04 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8911270476475401918.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8911270476475401918.key) 20:35:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:05 + git semver init 20:35:05 # -> Open(): unable to determine branch for HEAD 20:35:05 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 20:35:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 20:35:05 # $SEMVER_REMOTE_NAME = origin 20:35:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:35:05 # $SEMVER_USER_NAME = edgex-jenkins 20:35:05 # $SEMVER_BRANCH = master 20:35:05 # $SEMVER_TEMP = /tmp/semver-708330903 20:35:05 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 20:35:07 # '/tmp/semver-708330903' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 20:35:07 # -> Force: false 20:35:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 20:35:07 $ docker exec --env ******** --env ******** 1eb797c0116d48d36f7503ff1274236c55c6fedd95ac68ca57db95a77aadb994 ssh-agent -k 20:35:07 unset SSH_AUTH_SOCK; 20:35:07 unset SSH_AGENT_PID; 20:35:07 echo Agent pid 57 killed; 20:35:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:35:08 + git semver [Pipeline] } 20:35:08 $ docker stop --time=1 1eb797c0116d48d36f7503ff1274236c55c6fedd95ac68ca57db95a77aadb994 20:35:09 $ docker rm -f 1eb797c0116d48d36f7503ff1274236c55c6fedd95ac68ca57db95a77aadb994 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:35:10 Stashed 1 file(s) [Pipeline] echo 20:35:10 [edgeXSemver]: initialized semver on version 1.3.2-dev.29 [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 20:35:27 Still waiting to schedule task 20:35:27 Still waiting to schedule task 20:35:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:35:27 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1006’ is offline 20:36:35 Running on prd-centos7-docker-4c-2g-1014 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 20:36:35 Running in /w/workspace/device-mqtt-go/62 [Pipeline] { [Pipeline] checkout 20:36:35 Selected Git installation does not exist. Using Default 20:36:35 The recommended git tool is: NONE 20:36:38 using credential edgex-jenkins-ssh 20:36:38 Cloning the remote Git repository 20:36:38 Avoid second fetch 20:36:38 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (master) 20:36:38 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:36:38 > git init /w/workspace/device-mqtt-go/62 # timeout=10 20:36:38 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:36:38 > git --version # timeout=10 20:36:38 > git --version # 'git version 2.24.4' 20:36:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:38 [INFO] Currently running in a labeled security context 20:36:38 [INFO] Currently SELinux is 'enforcing' on the host 20:36:38 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/62@tmp/jenkins-gitclient-ssh5261601136274439132.key 20:36:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:38 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:36:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:38 > git config core.sparsecheckout # timeout=10 20:36:38 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 20:36:42 Commit message: "feat(snap): add go-based configure and install hooks (#294)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:36:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:36:44 + true 20:36:44 + sudo service docker restart 20:36:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:00 provisioning config files... 20:37:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/62@tmp/config3325695838000517503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:01 ---> docker-login.sh 20:37:01 nexus3.edgexfoundry.org:10001 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:01 Configure a credential helper to remove this warning. See 20:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:01 20:37:01 Login Succeeded 20:37:01 nexus3.edgexfoundry.org:10002 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:01 Configure a credential helper to remove this warning. See 20:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:01 20:37:01 Login Succeeded 20:37:01 nexus3.edgexfoundry.org:10003 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:01 Configure a credential helper to remove this warning. See 20:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:01 20:37:01 Login Succeeded 20:37:01 nexus3.edgexfoundry.org:10004 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:01 Configure a credential helper to remove this warning. See 20:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:01 20:37:01 Login Succeeded 20:37:01 docker.io 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:02 Configure a credential helper to remove this warning. See 20:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:02 20:37:02 Login Succeeded 20:37:02 ---> docker-login.sh ends [Pipeline] } 20:37:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:02 ========================================================= 20:37:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:37:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:37:02 + 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 . 20:37:02 Sending build context to Docker daemon 653.3kB 20:37:02 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:37:02 Step 2/8 : FROM ${BASE} 20:37:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:37:02 540db60ca938: Pulling fs layer 20:37:02 adcc1eea9eea: Pulling fs layer 20:37:02 4c4ab2625f07: Pulling fs layer 20:37:02 0510c868ecb4: Pulling fs layer 20:37:02 afea3b2eda06: Pulling fs layer 20:37:02 7809a108b3ef: Pulling fs layer 20:37:02 f706445af74f: Pulling fs layer 20:37:02 0510c868ecb4: Waiting 20:37:02 afea3b2eda06: Waiting 20:37:02 7809a108b3ef: Waiting 20:37:02 f706445af74f: Waiting 20:37:02 4c4ab2625f07: Verifying Checksum 20:37:02 4c4ab2625f07: Download complete 20:37:02 adcc1eea9eea: Verifying Checksum 20:37:02 adcc1eea9eea: Download complete 20:37:02 afea3b2eda06: Verifying Checksum 20:37:02 afea3b2eda06: Download complete 20:37:02 7809a108b3ef: Verifying Checksum 20:37:02 7809a108b3ef: Download complete 20:37:02 540db60ca938: Verifying Checksum 20:37:02 540db60ca938: Download complete 20:37:02 540db60ca938: Pull complete 20:37:03 adcc1eea9eea: Pull complete 20:37:03 4c4ab2625f07: Pull complete 20:37:05 f706445af74f: Verifying Checksum 20:37:05 f706445af74f: Download complete 20:37:06 0510c868ecb4: Verifying Checksum 20:37:06 0510c868ecb4: Download complete 20:37:09 0510c868ecb4: Pull complete 20:37:09 afea3b2eda06: Pull complete 20:37:09 7809a108b3ef: Pull complete 20:37:10 f706445af74f: Pull complete 20:37:10 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:37:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:37:10 ---> b068be0155e3 20:37:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:37:16 ---> Running in c302c84dc733 20:37:16 Removing intermediate container c302c84dc733 20:37:16 ---> 751783b16507 20:37:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:37:16 ---> Running in cadefaab5651 20:37:16 Removing intermediate container cadefaab5651 20:37:16 ---> 12a15d1726c5 20:37:16 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:37:16 ---> Running in e8db0ec1ba67 20:37:16 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:37:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:37:18 (1/13) Installing libc-dev (0.7.2-r3) 20:37:18 (2/13) Installing libsodium (1.0.18-r0) 20:37:18 (3/13) Installing pkgconf (1.7.3-r0) 20:37:18 (4/13) Installing libsodium-dev (1.0.18-r0) 20:37:19 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:37:19 (6/13) Installing libedit (20191231.3.1-r1) 20:37:19 (7/13) Installing openssh-client (8.4_p1-r3) 20:37:20 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:37:20 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:37:20 (10/13) Installing openssh-server (8.4_p1-r3) 20:37:20 (11/13) Installing openssh (8.4_p1-r3) 20:37:21 (12/13) Installing libzmq (4.3.3-r1) 20:37:21 (13/13) Installing zeromq-dev (4.3.3-r1) 20:37:21 Executing busybox-1.32.1-r6.trigger 20:37:21 OK: 156 MiB in 53 packages 20:37:21 Removing intermediate container e8db0ec1ba67 20:37:21 ---> 98a6e5204506 20:37:21 Step 6/8 : WORKDIR /device-mqtt-go 20:37:21 ---> Running in bf2985b48b02 20:37:22 Removing intermediate container bf2985b48b02 20:37:22 ---> 8d8064a61249 20:37:22 Step 7/8 : COPY . . 20:37:22 ---> 809559e98acd 20:37:22 Step 8/8 : RUN go mod download 20:37:22 ---> Running in f52b4b1c45f6 20:37:36 Removing intermediate container f52b4b1c45f6 20:37:36 ---> 2531a624230c 20:37:36 Successfully built 2531a624230c 20:37:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:37:36 + docker inspect -f . ci-base-image-x86_64 20:37:36 . [Pipeline] withDockerContainer 20:37:36 prd-centos7-docker-4c-2g-1014 does not seem to be running inside a container 20:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/62 -v /w/workspace/device-mqtt-go/62:/w/workspace/device-mqtt-go/62:rw,z -v /w/workspace/device-mqtt-go/62@tmp:/w/workspace/device-mqtt-go/62@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 20:37:37 $ docker top 5bf225134ec693109aef683639baa251379c8eea92a386c4ff09cc44ddb0bc95 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:37 + go version 20:37:37 go version go1.16.3 linux/amd64 [Pipeline] } 20:37:37 $ docker stop --time=1 5bf225134ec693109aef683639baa251379c8eea92a386c4ff09cc44ddb0bc95 20:37:39 $ docker rm -f 5bf225134ec693109aef683639baa251379c8eea92a386c4ff09cc44ddb0bc95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:37:40 + docker inspect -f . ci-base-image-x86_64 20:37:40 . [Pipeline] withDockerContainer 20:37:40 prd-centos7-docker-4c-2g-1014 does not seem to be running inside a container 20:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/62 -v /w/workspace/device-mqtt-go/62:/w/workspace/device-mqtt-go/62:rw,z -v /w/workspace/device-mqtt-go/62@tmp:/w/workspace/device-mqtt-go/62@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 20:37:40 $ docker top 048e182c80669b76ccfc8a7032a48d2d8e64a688b380b62a96b6e5db935122ef -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:41 + go mod tidy [Pipeline] sh 20:37:41 + make test 20:37:41 go mod tidy 20:37:41 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:37:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:37:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:37:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 24.3% of statements 20:37:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:37:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:38:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1016 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 20:38:00 Running in /w/workspace/device-mqtt-go/62 [Pipeline] { [Pipeline] checkout 20:38:00 Selected Git installation does not exist. Using Default 20:38:00 The recommended git tool is: NONE 20:38:05 gofmt -l . 20:38:05 ["`gofmt -l .`" = ""] 20:38:05 ./bin/test-attribution-txt.sh [Pipeline] } 20:38:05 $ docker stop --time=1 048e182c80669b76ccfc8a7032a48d2d8e64a688b380b62a96b6e5db935122ef 20:38:07 $ docker rm -f 048e182c80669b76ccfc8a7032a48d2d8e64a688b380b62a96b6e5db935122ef [Pipeline] // withDockerContainer [Pipeline] sh 20:38:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:38:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:38:08 using credential edgex-jenkins-ssh 20:38:08 Cloning the remote Git repository 20:38:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:38:09 + ls -al . 20:38:09 total 112 20:38:09 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 30 20:38 . 20:38:09 drwxrwxr-x. 4 jenkins jenkins 30 Jun 30 20:36 .. 20:38:09 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 30 20:36 Attribution.txt 20:38:09 drwxrwxr-x. 2 jenkins jenkins 60 Jun 30 20:36 bin 20:38:09 -rw-rw-r--. 1 jenkins jenkins 7447 Jun 30 20:36 CHANGELOG.md 20:38:09 drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 20:36 cmd 20:38:09 -rw-r--r--. 1 jenkins jenkins 16226 Jun 30 20:37 coverage.out 20:38:09 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 30 20:36 Dockerfile 20:38:09 -rw-rw-r--. 1 jenkins jenkins 994 Jun 30 20:36 Dockerfile.build 20:38:09 -rw-rw-r--. 1 jenkins jenkins 140 Jun 30 20:36 .dockerignore 20:38:09 drwxrwxr-x. 8 jenkins jenkins 162 Jun 30 20:36 .git 20:38:09 drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 20:36 .github 20:38:09 -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 20:36 .gitignore 20:38:09 -rw-rw-r--. 1 jenkins jenkins 388 Jun 30 20:36 go.mod 20:38:09 -rw-r--r--. 1 jenkins jenkins 20775 Jun 30 20:37 go.sum 20:38:09 drwxrwxr-x. 3 jenkins jenkins 20 Jun 30 20:36 internal 20:38:09 -rw-rw-r--. 1 jenkins jenkins 677 Jun 30 20:36 Jenkinsfile 20:38:09 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 20:36 LICENSE 20:38:09 -rw-rw-r--. 1 jenkins jenkins 907 Jun 30 20:36 Makefile 20:38:09 drwxrwxr-x. 2 jenkins jenkins 23 Jun 30 20:36 mock 20:38:09 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 30 20:36 README.md 20:38:09 drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 20:36 snap 20:38:09 -rw-rw-r--. 1 jenkins jenkins 12 Jun 30 20:35 VERSION 20:38:09 -rw-rw-r--. 1 jenkins jenkins 227 Jun 30 20:36 version.go [Pipeline] isUnix [Pipeline] sh 20:38:09 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=amd64 --label version=1.3.2-dev.29 . 20:38:09 Sending build context to Docker daemon 670.2kB 20:38:09 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 20:38:09 Step 2/24 : FROM ${BASE} AS builder 20:38:09 ---> 2531a624230c 20:38:09 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:38:09 ---> Running in fb9685e39604 20:38:09 Removing intermediate container fb9685e39604 20:38:09 ---> 230119bdc5cc 20:38:09 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:38:09 ---> Running in b923cfa71bb8 20:38:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:38:08 > git init /w/workspace/device-mqtt-go/62 # timeout=10 20:38:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:38:08 > git --version # timeout=10 20:38:08 > git --version # 'git version 2.17.1' 20:38:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:09 Removing intermediate container b923cfa71bb8 20:38:09 ---> 9d6b2f9080e6 20:38:09 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:38:09 ---> Running in 26f47321a131 20:38:09 Avoid second fetch 20:38:09 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (master) 20:38:10 Removing intermediate container 26f47321a131 20:38:10 ---> e070bba7b925 20:38:10 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:38:10 ---> Running in 0002aab755ed 20:38:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:38:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:38:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:09 > git config core.sparsecheckout # timeout=10 20:38:09 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 20:38:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:38:13 OK: 156 MiB in 53 packages 20:38:13 Removing intermediate container 0002aab755ed 20:38:13 ---> 9a5f59910bcc 20:38:13 Step 7/24 : WORKDIR /device-mqtt-go 20:38:13 ---> Running in b64575e30f09 20:38:13 Removing intermediate container b64575e30f09 20:38:13 ---> ed5a8d9e7428 20:38:13 Step 8/24 : COPY . . 20:38:13 ---> 166568e6424f 20:38:13 Step 9/24 : RUN go mod tidy 20:38:13 ---> Running in 367348706ad6 20:38:13 Removing intermediate container 367348706ad6 20:38:13 ---> d14d0976e2ae 20:38:13 Step 10/24 : RUN go mod download 20:38:13 ---> Running in a8fed1beda6b 20:38:14 Commit message: "feat(snap): add go-based configure and install hooks (#294)" 20:38:14 Removing intermediate container a8fed1beda6b 20:38:14 ---> 2eb09d396abc 20:38:14 Step 11/24 : ARG MAKE='make build' 20:38:14 ---> Running in 26e4d95b2249 20:38:14 Removing intermediate container 26e4d95b2249 20:38:14 ---> 5dfe7cbef728 20:38:14 Step 12/24 : RUN $MAKE 20:38:14 ---> Running in 40cdcd8217c1 20:38:14 go mod tidy [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:14 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.29" -o cmd/device-mqtt ./cmd 20:38:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:38:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:38:16 + sudo service docker restart 20:38:16 + true 20:38:27 Removing intermediate container 40cdcd8217c1 20:38:27 ---> afcd56079bfd 20:38:27 Step 13/24 : FROM alpine:3.12 20:38:27 3.12: Pulling from library/alpine 20:38:27 339de151aab4: Pulling fs layer 20:38:27 339de151aab4: Download complete 20:38:27 339de151aab4: Pull complete 20:38:27 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 20:38:27 Status: Downloaded newer image for alpine:3.12 20:38:27 ---> 13621d1b12d4 20:38:27 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:38:27 ---> Running in 0e0afa6faa4a 20:38:27 Removing intermediate container 0e0afa6faa4a 20:38:27 ---> 01e7007afcd2 20:38:27 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:38:27 ---> Running in a8e3417bf271 20:38:27 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:38:27 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:38:27 (1/6) Installing dumb-init (1.2.2-r1) 20:38:27 (2/6) Installing libgcc (9.3.0-r2) 20:38:27 (3/6) Installing libsodium (1.0.18-r0) 20:38:27 (4/6) Installing libstdc++ (9.3.0-r2) 20:38:27 (5/6) Installing libzmq (4.3.3-r0) 20:38:27 (6/6) Installing zeromq (4.3.3-r0) 20:38:27 Executing busybox-1.31.1-r20.trigger 20:38:27 OK: 8 MiB in 20 packages 20:38:28 Removing intermediate container a8e3417bf271 20:38:28 ---> 6c2ce859efee 20:38:28 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:38:28 ---> cedadf977b90 20:38:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:38:28 ---> d0b83ef5a380 20:38:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:38:28 ---> 463f35f6b483 20:38:28 Step 19/24 : EXPOSE 59982 20:38:28 ---> Running in 50317e3d24c9 20:38:28 Removing intermediate container 50317e3d24c9 20:38:28 ---> 46596e980b99 20:38:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:38:29 ---> Running in a3165c59ab67 20:38:29 Removing intermediate container a3165c59ab67 20:38:29 ---> 5d44d86da97a 20:38:29 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:38:29 ---> Running in c9e2ac960b1f 20:38:29 Removing intermediate container c9e2ac960b1f 20:38:29 ---> 5127b2742340 20:38:29 Step 22/24 : LABEL arch=amd64 20:38:29 ---> Running in aa608063fb5c 20:38:29 Removing intermediate container aa608063fb5c 20:38:29 ---> e29f5445e2a6 20:38:29 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:38:29 ---> Running in b28b646d3313 20:38:29 Removing intermediate container b28b646d3313 20:38:29 ---> 742316503034 20:38:29 Step 24/24 : LABEL version=1.3.2-dev.29 20:38:29 ---> Running in 55442d0c2b34 20:38:29 Removing intermediate container 55442d0c2b34 20:38:29 ---> 0259f198f92d 20:38:29 [Warning] One or more build-args [ARCH] were not consumed 20:38:29 Successfully built 0259f198f92d 20:38:29 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:29 provisioning config files... 20:38:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/62@tmp/config3072916080061749158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:30 ---> docker-login.sh 20:38:30 nexus3.edgexfoundry.org:10001 20:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:30 Configure a credential helper to remove this warning. See 20:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:30 20:38:30 Login Succeeded 20:38:30 nexus3.edgexfoundry.org:10002 20:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:30 Configure a credential helper to remove this warning. See 20:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:30 20:38:30 Login Succeeded 20:38:30 nexus3.edgexfoundry.org:10003 20:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:30 Configure a credential helper to remove this warning. See 20:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:30 20:38:30 Login Succeeded 20:38:30 nexus3.edgexfoundry.org:10004 20:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:30 Configure a credential helper to remove this warning. See 20:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:30 20:38:30 Login Succeeded 20:38:30 docker.io 20:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:30 Configure a credential helper to remove this warning. See 20:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:30 20:38:30 Login Succeeded 20:38:30 ---> docker-login.sh ends [Pipeline] } 20:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:38:30 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:38:30 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:38:30 latest 20:38:30 1.3.2-dev.29 20:38:30 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 20:38:30 master 20:38:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:38:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 20:38:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:38:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:38:31 6ea1445200f1: Preparing 20:38:31 8b531e7fa3b1: Preparing 20:38:31 a0f5de39eb78: Preparing 20:38:31 611b8f9b0cb9: Preparing 20:38:31 32f366d666a5: Preparing 20:38:31 32f366d666a5: Layer already exists 20:38:31 6ea1445200f1: Pushed 20:38:31 8b531e7fa3b1: Pushed 20:38:31 611b8f9b0cb9: Pushed 20:38:33 a0f5de39eb78: Pushed 20:38:33 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:6a3919429598828eb81b9e9a23dbb7bf74a725ec6c7d7acd6cd684d1e820f9ba size: 1365 [Pipeline] isUnix [Pipeline] sh 20:38:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 20:38:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:38:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:38:33 6ea1445200f1: Preparing 20:38:33 8b531e7fa3b1: Preparing 20:38:33 a0f5de39eb78: Preparing 20:38:33 611b8f9b0cb9: Preparing 20:38:33 32f366d666a5: Preparing 20:38:33 32f366d666a5: Layer already exists 20:38:33 6ea1445200f1: Layer already exists 20:38:33 611b8f9b0cb9: Layer already exists 20:38:33 8b531e7fa3b1: Layer already exists 20:38:33 a0f5de39eb78: Layer already exists 20:38:33 latest: digest: sha256:6a3919429598828eb81b9e9a23dbb7bf74a725ec6c7d7acd6cd684d1e820f9ba size: 1365 [Pipeline] isUnix [Pipeline] sh 20:38:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv 20:38:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.29 20:38:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:38:34 6ea1445200f1: Preparing 20:38:34 8b531e7fa3b1: Preparing 20:38:34 a0f5de39eb78: Preparing 20:38:34 611b8f9b0cb9: Preparing 20:38:34 32f366d666a5: Preparing 20:38:34 a0f5de39eb78: Layer already exists 20:38:34 6ea1445200f1: Layer already exists 20:38:34 611b8f9b0cb9: Layer already exists 20:38:34 32f366d666a5: Layer already exists 20:38:34 8b531e7fa3b1: Layer already exists 20:38:34 1.3.2-dev.29: digest: sha256:6a3919429598828eb81b9e9a23dbb7bf74a725ec6c7d7acd6cd684d1e820f9ba size: 1365 [Pipeline] { [Pipeline] configFileProvider 20:38:34 provisioning config files... [Pipeline] isUnix [Pipeline] sh 20:38:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/62@tmp/config7250867011319834334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh 20:38:34 ---> docker-login.sh 20:38:34 nexus3.edgexfoundry.org:10001 20:38:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 20:38:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:38:35 6ea1445200f1: Preparing 20:38:35 8b531e7fa3b1: Preparing 20:38:35 a0f5de39eb78: Preparing 20:38:35 611b8f9b0cb9: Preparing 20:38:35 32f366d666a5: Preparing 20:38:35 6ea1445200f1: Layer already exists 20:38:35 a0f5de39eb78: Layer already exists 20:38:35 611b8f9b0cb9: Layer already exists 20:38:35 32f366d666a5: Layer already exists 20:38:35 8b531e7fa3b1: Layer already exists 20:38:35 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29: digest: sha256:6a3919429598828eb81b9e9a23dbb7bf74a725ec6c7d7acd6cd684d1e820f9ba size: 1365 [Pipeline] isUnix [Pipeline] sh 20:38:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 20:38:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 20:38:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:38:35 6ea1445200f1: Preparing 20:38:35 8b531e7fa3b1: Preparing 20:38:35 a0f5de39eb78: Preparing 20:38:35 611b8f9b0cb9: Preparing 20:38:35 32f366d666a5: Preparing 20:38:35 a0f5de39eb78: Layer already exists 20:38:35 32f366d666a5: Layer already exists 20:38:35 611b8f9b0cb9: Layer already exists 20:38:35 8b531e7fa3b1: Layer already exists 20:38:35 6ea1445200f1: Layer already exists 20:38:35 master: digest: sha256:6a3919429598828eb81b9e9a23dbb7bf74a725ec6c7d7acd6cd684d1e820f9ba size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:38:35 ===================================================== [Pipeline] echo 20:38:35 taggedImages: 20:38:35 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:38:35 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:38:35 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.29 20:38:35 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 20:38:35 - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 20:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:36 Configure a credential helper to remove this warning. See 20:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:36 20:38:36 Login Succeeded 20:38:36 nexus3.edgexfoundry.org:10002 20:38:36 ---> job-cost.sh 20:38:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-u6Sd 20:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:36 Configure a credential helper to remove this warning. See 20:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:36 20:38:36 Login Succeeded 20:38:36 nexus3.edgexfoundry.org:10003 20:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:37 Configure a credential helper to remove this warning. See 20:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:37 20:38:37 Login Succeeded 20:38:37 nexus3.edgexfoundry.org:10004 20:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:38 Configure a credential helper to remove this warning. See 20:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:38 20:38:38 Login Succeeded 20:38:38 docker.io 20:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:38 Configure a credential helper to remove this warning. See 20:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:38 20:38:38 Login Succeeded 20:38:38 ---> docker-login.sh ends [Pipeline] } 20:38:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:38:39 ========================================================= 20:38:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:38:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:38:39 + 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 . 20:38:39 Sending build context to Docker daemon 652.3kB 20:38:40 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:38:40 Step 2/8 : FROM ${BASE} 20:38:40 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:38:40 595b0fe564bb: Pulling fs layer 20:38:40 3088b5b3c5c0: Pulling fs layer 20:38:40 5b7225fbf94c: Pulling fs layer 20:38:40 ba82ee9f976e: Pulling fs layer 20:38:40 506bd15cee9f: Pulling fs layer 20:38:40 75a0a4a0db45: Pulling fs layer 20:38:40 618dc40b7e24: Pulling fs layer 20:38:40 75a0a4a0db45: Waiting 20:38:40 506bd15cee9f: Waiting 20:38:40 ba82ee9f976e: Waiting 20:38:40 618dc40b7e24: Waiting 20:38:40 5b7225fbf94c: Download complete 20:38:40 3088b5b3c5c0: Verifying Checksum 20:38:40 3088b5b3c5c0: Download complete 20:38:40 506bd15cee9f: Verifying Checksum 20:38:40 506bd15cee9f: Download complete 20:38:40 75a0a4a0db45: Verifying Checksum 20:38:40 75a0a4a0db45: Download complete 20:38:40 595b0fe564bb: Verifying Checksum 20:38:40 595b0fe564bb: Download complete 20:38:41 595b0fe564bb: Pull complete 20:38:41 3088b5b3c5c0: Pull complete 20:38:42 5b7225fbf94c: Pull complete 20:38:42 618dc40b7e24: Verifying Checksum 20:38:42 618dc40b7e24: Download complete 20:38:44 ba82ee9f976e: Download complete 20:38:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:38:54 ba82ee9f976e: Pull complete 20:38:55 506bd15cee9f: Pull complete 20:38:55 75a0a4a0db45: Pull complete 20:38:58 lf-activate-venv(): INFO: Adding /tmp/venv-u6Sd/bin to PATH 20:38:58 INFO: No Stack... 20:38:58 INFO: Retrieving Pricing Info for: v3-standard-2 20:38:59 INFO: Archiving Costs [Pipeline] sh 20:38:59 618dc40b7e24: Pull complete 20:38:59 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 20:38:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:38:59 ---> a36622ca3599 20:38:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:38:59 + cut -d, -f6 20:38:59 + cat /w/workspace/device-mqtt-go/62/archives/cost.csv [Pipeline] lock 20:38:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-62-stack-cost] 20:38:59 Resource [jenkins-edgexfoundry-device-mqtt-go-master-62-stack-cost] did not exist. Created. 20:38:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:38:59 + echo total: 0.05999999865889549 [Pipeline] stash 20:38:59 Stashed 1 file(s) [Pipeline] } 20:38:59 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-62-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:39:01 ---> Running in 6d4ef896fe33 20:39:01 Removing intermediate container 6d4ef896fe33 20:39:01 ---> e1f9c4d38a7b 20:39:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:39:02 ---> Running in 03277daecdbe 20:39:04 Removing intermediate container 03277daecdbe 20:39:04 ---> 1c91ec3dd0f2 20:39:04 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:39:04 ---> Running in b9d36327acb5 20:39:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:39:07 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:39:07 (1/13) Installing libc-dev (0.7.2-r3) 20:39:08 (2/13) Installing libsodium (1.0.18-r0) 20:39:08 (3/13) Installing pkgconf (1.7.3-r0) 20:39:08 (4/13) Installing libsodium-dev (1.0.18-r0) 20:39:08 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:39:08 (6/13) Installing libedit (20191231.3.1-r1) 20:39:08 (7/13) Installing openssh-client (8.4_p1-r3) 20:39:08 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:39:09 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:39:09 (10/13) Installing openssh-server (8.4_p1-r3) 20:39:09 (11/13) Installing openssh (8.4_p1-r3) 20:39:09 (12/13) Installing libzmq (4.3.3-r1) 20:39:09 (13/13) Installing zeromq-dev (4.3.3-r1) 20:39:09 Executing busybox-1.32.1-r6.trigger 20:39:09 OK: 145 MiB in 53 packages 20:39:11 Removing intermediate container b9d36327acb5 20:39:11 ---> 473bd14cedf7 20:39:11 Step 6/8 : WORKDIR /device-mqtt-go 20:39:11 ---> Running in 21ca710c99e2 20:39:12 Removing intermediate container 21ca710c99e2 20:39:12 ---> 265de7d16f39 20:39:12 Step 7/8 : COPY . . 20:39:13 ---> b0fcc9d7ef97 20:39:13 Step 8/8 : RUN go mod download 20:39:13 ---> Running in fef76b757235 20:39:41 Removing intermediate container fef76b757235 20:39:41 ---> 906f47bd2cb5 20:39:41 Successfully built 906f47bd2cb5 20:39:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:39:42 + docker inspect -f . ci-base-image-arm64 20:39:42 . [Pipeline] withDockerContainer 20:39:42 prd-ubuntu18.04-docker-arm64-4c-16g-1016 does not seem to be running inside a container 20:39:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/62 -v /w/workspace/device-mqtt-go/62:/w/workspace/device-mqtt-go/62:rw,z -v /w/workspace/device-mqtt-go/62@tmp:/w/workspace/device-mqtt-go/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:39:44 $ docker top cd684a598d8910c3bfdb4565885d91c51c2c42ccddeb9bd73ece0125b07594c1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:45 + go version 20:39:45 go version go1.16.5 linux/arm64 [Pipeline] } 20:39:45 $ docker stop --time=1 cd684a598d8910c3bfdb4565885d91c51c2c42ccddeb9bd73ece0125b07594c1 20:39:47 $ docker rm -f cd684a598d8910c3bfdb4565885d91c51c2c42ccddeb9bd73ece0125b07594c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:39:47 + docker inspect -f . ci-base-image-arm64 20:39:47 . [Pipeline] withDockerContainer 20:39:48 prd-ubuntu18.04-docker-arm64-4c-16g-1016 does not seem to be running inside a container 20:39:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/62 -v /w/workspace/device-mqtt-go/62:/w/workspace/device-mqtt-go/62:rw,z -v /w/workspace/device-mqtt-go/62@tmp:/w/workspace/device-mqtt-go/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:39:49 $ docker top 0c87e774fd63ac8d06efdfd355930a1d93263751f985548af49b211cf69a6df8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:50 + go mod tidy [Pipeline] sh 20:39:51 + make test 20:39:51 go mod tidy 20:39:52 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:39:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:40:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:40:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.049s coverage: 24.3% of statements 20:40:50 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:40:50 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:41:19 gofmt -l . 20:41:19 ["`gofmt -l .`" = ""] 20:41:19 ./bin/test-attribution-txt.sh [Pipeline] } 20:41:19 $ docker stop --time=1 0c87e774fd63ac8d06efdfd355930a1d93263751f985548af49b211cf69a6df8 20:41:21 $ docker rm -f 0c87e774fd63ac8d06efdfd355930a1d93263751f985548af49b211cf69a6df8 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:22 Warning: overwriting stash ‘coverage-report’ 20:41:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:23 + ls -al . 20:41:23 total 144 20:41:23 drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 20:41 . 20:41:23 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 20:38 .. 20:41:23 -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 20:38 .dockerignore 20:41:23 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 20:38 .git 20:41:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:38 .github 20:41:23 -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 20:38 .gitignore 20:41:23 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 30 20:38 Attribution.txt 20:41:23 -rw-rw-r-- 1 jenkins jenkins 7447 Jun 30 20:38 CHANGELOG.md 20:41:23 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 30 20:38 Dockerfile 20:41:23 -rw-rw-r-- 1 jenkins jenkins 994 Jun 30 20:38 Dockerfile.build 20:41:23 -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 20:38 Jenkinsfile 20:41:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 20:38 LICENSE 20:41:23 -rw-rw-r-- 1 jenkins jenkins 907 Jun 30 20:38 Makefile 20:41:23 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 30 20:38 README.md 20:41:23 -rw-rw-r-- 1 jenkins jenkins 12 Jun 30 20:35 VERSION 20:41:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:38 bin 20:41:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 20:38 cmd 20:41:23 -rw-r--r-- 1 jenkins jenkins 16226 Jun 30 20:40 coverage.out 20:41:23 -rw-rw-r-- 1 jenkins jenkins 388 Jun 30 20:38 go.mod 20:41:23 -rw-r--r-- 1 jenkins jenkins 20775 Jun 30 20:39 go.sum 20:41:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 20:38 internal 20:41:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:38 mock 20:41:23 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 20:38 snap 20:41:23 -rw-rw-r-- 1 jenkins jenkins 227 Jun 30 20:38 version.go [Pipeline] isUnix [Pipeline] sh 20:41:23 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=arm64 --label version=1.3.2-dev.29 . 20:41:24 Sending build context to Docker daemon 669.2kB 20:41:24 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 20:41:24 Step 2/24 : FROM ${BASE} AS builder 20:41:24 ---> 906f47bd2cb5 20:41:24 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:41:24 ---> Running in b9e73bced9df 20:41:25 Removing intermediate container b9e73bced9df 20:41:25 ---> 39ce2a2100a7 20:41:25 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:41:25 ---> Running in 2a3a7cd8d0f9 20:41:25 Removing intermediate container 2a3a7cd8d0f9 20:41:25 ---> 55fcae7cf946 20:41:25 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:41:25 ---> Running in d79a7cf049bb 20:41:28 Removing intermediate container d79a7cf049bb 20:41:28 ---> 15abd980aa9d 20:41:28 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:28 ---> Running in 9167f2ba55fc 20:41:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:41:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:41:31 OK: 145 MiB in 53 packages 20:41:32 Removing intermediate container 9167f2ba55fc 20:41:32 ---> 48845e3a2902 20:41:32 Step 7/24 : WORKDIR /device-mqtt-go 20:41:32 ---> Running in b46bc3a84041 20:41:33 Removing intermediate container b46bc3a84041 20:41:33 ---> a82deb74b3bb 20:41:33 Step 8/24 : COPY . . 20:41:34 ---> edfdbc695f64 20:41:34 Step 9/24 : RUN go mod tidy 20:41:34 ---> Running in b14922591b3e 20:41:37 Removing intermediate container b14922591b3e 20:41:37 ---> 55c7350ae995 20:41:37 Step 10/24 : RUN go mod download 20:41:37 ---> Running in d2f04188b8e1 20:41:40 Removing intermediate container d2f04188b8e1 20:41:40 ---> 02423b527e47 20:41:40 Step 11/24 : ARG MAKE='make build' 20:41:40 ---> Running in 8cd2dae4c2d0 20:41:41 Removing intermediate container 8cd2dae4c2d0 20:41:41 ---> 8b66254f5995 20:41:41 Step 12/24 : RUN $MAKE 20:41:41 ---> Running in 0ad88f0bf655 20:41:42 go mod tidy 20:41:42 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.29" -o cmd/device-mqtt ./cmd 20:42:21 Removing intermediate container 0ad88f0bf655 20:42:21 ---> a45696d9aae0 20:42:21 Step 13/24 : FROM alpine:3.12 20:42:21 3.12: Pulling from library/alpine 20:42:21 d2f70382dc9a: Pulling fs layer 20:42:21 d2f70382dc9a: Verifying Checksum 20:42:21 d2f70382dc9a: Download complete 20:42:21 d2f70382dc9a: Pull complete 20:42:21 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 20:42:21 Status: Downloaded newer image for alpine:3.12 20:42:21 ---> c4fd0aeabfcf 20:42:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:42:21 ---> Running in a210cf3a399d 20:42:21 Removing intermediate container a210cf3a399d 20:42:21 ---> ccb9945784ba 20:42:21 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:42:21 ---> Running in 20686681df4b 20:42:22 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:42:22 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:42:22 (1/6) Installing dumb-init (1.2.2-r1) 20:42:22 (2/6) Installing libgcc (9.3.0-r2) 20:42:22 (3/6) Installing libsodium (1.0.18-r0) 20:42:22 (4/6) Installing libstdc++ (9.3.0-r2) 20:42:22 (5/6) Installing libzmq (4.3.3-r0) 20:42:22 (6/6) Installing zeromq (4.3.3-r0) 20:42:22 Executing busybox-1.31.1-r20.trigger 20:42:22 OK: 8 MiB in 20 packages 20:42:24 Removing intermediate container 20686681df4b 20:42:24 ---> 87ccb2b40f76 20:42:24 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:42:25 ---> 06cd9640cc77 20:42:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:42:26 ---> 248d1e17c646 20:42:26 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:42:26 ---> b8adf5cc7d51 20:42:26 Step 19/24 : EXPOSE 59982 20:42:27 ---> Running in caed07449b9e 20:42:27 Removing intermediate container caed07449b9e 20:42:27 ---> 6cf7fa644700 20:42:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:42:27 ---> Running in 6625b5ba70d3 20:42:28 Removing intermediate container 6625b5ba70d3 20:42:28 ---> 5561c7034a4f 20:42:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:42:28 ---> Running in a8f2f8d72b0d 20:42:29 Removing intermediate container a8f2f8d72b0d 20:42:29 ---> 51e9f0a86c8d 20:42:29 Step 22/24 : LABEL arch=arm64 20:42:29 ---> Running in 8ba59c4ffa5e 20:42:29 Removing intermediate container 8ba59c4ffa5e 20:42:29 ---> f7091c9ecc8d 20:42:29 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:42:29 ---> Running in d2ba12b88114 20:42:30 Removing intermediate container d2ba12b88114 20:42:30 ---> 4e25e73709ad 20:42:30 Step 24/24 : LABEL version=1.3.2-dev.29 20:42:30 ---> Running in 12ffd48c24e4 20:42:30 Removing intermediate container 12ffd48c24e4 20:42:30 ---> 5d8b622335b6 20:42:30 [Warning] One or more build-args [ARCH] were not consumed 20:42:30 Successfully built 5d8b622335b6 20:42:30 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 20:42:31 provisioning config files... 20:42:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/62@tmp/config67278659903279948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:31 ---> docker-login.sh 20:42:31 nexus3.edgexfoundry.org:10001 20:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:31 Configure a credential helper to remove this warning. See 20:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:31 20:42:31 Login Succeeded 20:42:32 nexus3.edgexfoundry.org:10002 20:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:32 Configure a credential helper to remove this warning. See 20:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:32 20:42:32 Login Succeeded 20:42:32 nexus3.edgexfoundry.org:10003 20:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:32 Configure a credential helper to remove this warning. See 20:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:32 20:42:32 Login Succeeded 20:42:32 nexus3.edgexfoundry.org:10004 20:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:33 Configure a credential helper to remove this warning. See 20:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:33 20:42:33 Login Succeeded 20:42:33 docker.io 20:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:34 Configure a credential helper to remove this warning. See 20:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:34 20:42:34 Login Succeeded 20:42:34 ---> docker-login.sh ends [Pipeline] } 20:42:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:36 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:42:36 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:42:36 latest 20:42:36 1.3.2-dev.29 20:42:36 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 20:42:36 master 20:42:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:42:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 20:42:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:42:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:42:37 af0907b16f39: Preparing 20:42:37 15a72ceeb411: Preparing 20:42:37 1bf34c438ea1: Preparing 20:42:37 bd1bcfb20f71: Preparing 20:42:37 3fbe34a1663b: Preparing 20:42:37 3fbe34a1663b: Layer already exists 20:42:37 af0907b16f39: Pushed 20:42:37 15a72ceeb411: Pushed 20:42:38 bd1bcfb20f71: Pushed 20:42:41 1bf34c438ea1: Pushed 20:42:41 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:465bf04c12ae0e3d748be31f8f040979133677bb22aded3c4a6805dda25573ca size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:41 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:42:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:42:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:42:41 af0907b16f39: Preparing 20:42:41 15a72ceeb411: Preparing 20:42:41 1bf34c438ea1: Preparing 20:42:41 bd1bcfb20f71: Preparing 20:42:41 3fbe34a1663b: Preparing 20:42:42 3fbe34a1663b: Layer already exists 20:42:42 bd1bcfb20f71: Layer already exists 20:42:42 1bf34c438ea1: Layer already exists 20:42:42 af0907b16f39: Layer already exists 20:42:42 15a72ceeb411: Layer already exists 20:42:42 latest: digest: sha256:465bf04c12ae0e3d748be31f8f040979133677bb22aded3c4a6805dda25573ca size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh 20:42:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.29 20:42:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:42:42 af0907b16f39: Preparing 20:42:42 15a72ceeb411: Preparing 20:42:42 1bf34c438ea1: Preparing 20:42:42 bd1bcfb20f71: Preparing 20:42:42 3fbe34a1663b: Preparing 20:42:43 3fbe34a1663b: Layer already exists 20:42:43 1bf34c438ea1: Layer already exists 20:42:43 af0907b16f39: Layer already exists 20:42:43 15a72ceeb411: Layer already exists 20:42:43 bd1bcfb20f71: Layer already exists 20:42:43 1.3.2-dev.29: digest: sha256:465bf04c12ae0e3d748be31f8f040979133677bb22aded3c4a6805dda25573ca size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh 20:42:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 20:42:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:42:43 af0907b16f39: Preparing 20:42:43 15a72ceeb411: Preparing 20:42:43 1bf34c438ea1: Preparing 20:42:43 bd1bcfb20f71: Preparing 20:42:43 3fbe34a1663b: Preparing 20:42:43 bd1bcfb20f71: Layer already exists 20:42:43 3fbe34a1663b: Layer already exists 20:42:43 15a72ceeb411: Layer already exists 20:42:43 1bf34c438ea1: Layer already exists 20:42:43 af0907b16f39: Layer already exists 20:42:44 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29: digest: sha256:465bf04c12ae0e3d748be31f8f040979133677bb22aded3c4a6805dda25573ca size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 20:42:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 20:42:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:42:44 af0907b16f39: Preparing 20:42:44 15a72ceeb411: Preparing 20:42:44 1bf34c438ea1: Preparing 20:42:44 bd1bcfb20f71: Preparing 20:42:44 3fbe34a1663b: Preparing 20:42:44 1bf34c438ea1: Layer already exists 20:42:44 af0907b16f39: Layer already exists 20:42:44 15a72ceeb411: Layer already exists 20:42:44 bd1bcfb20f71: Layer already exists 20:42:44 3fbe34a1663b: Layer already exists 20:42:45 master: digest: sha256:465bf04c12ae0e3d748be31f8f040979133677bb22aded3c4a6805dda25573ca size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:45 ===================================================== [Pipeline] echo 20:42:45 taggedImages: 20:42:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 20:42:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:42:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.29 20:42:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-1.3.2-dev.29 20:42:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:42:45 ---> job-cost.sh 20:42:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KrR7 20:43:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:45:03 lf-activate-venv(): INFO: Adding /tmp/venv-KrR7/bin to PATH 20:45:03 INFO: No Stack... 20:45:03 INFO: Retrieving Pricing Info for: v2-standard-4 20:45:03 INFO: Archiving Costs [Pipeline] sh 20:45:03 + cat /w/workspace/device-mqtt-go/62/archives/cost.csv 20:45:03 + cut -d, -f6 [Pipeline] lock 20:45:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-62-stack-cost] 20:45:03 Resource [jenkins-edgexfoundry-device-mqtt-go-master-62-stack-cost] did not exist. Created. 20:45:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:07 /w/workspace/device-mqtt-go/62@tmp/durable-24742845/script.sh: 1: /w/workspace/device-mqtt-go/62@tmp/durable-24742845/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:45:07 + echo total: 0.18000000715255737 [Pipeline] stash 20:45:07 Warning: overwriting stash ‘stack-cost’ 20:45:07 Stashed 1 file(s) [Pipeline] } 20:45:07 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-62-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 20:45:08 provisioning config files... 20:45:08 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config505952969095210036tmp [Pipeline] { [Pipeline] sh 20:45:08 + set +x 20:45:08 + curl -s https://codecov.io/bash 20:45:08 + bash -s -- 20:45:08 20:45:08 _____ _ 20:45:08 / ____| | | 20:45:08 | | ___ __| | ___ ___ _____ __ 20:45:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:45:08 | |___| (_) | (_| | __/ (_| (_) \ V / 20:45:08 \_____\___/ \__,_|\___|\___\___/ \_/ 20:45:08 Bash-1.0.3 20:45:08 20:45:08 20:45:08 ==> git version 2.24.4 found 20:45:08 ==> 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 20:45:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:45:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:45:08 ==> Jenkins CI detected. 20:45:08 project root: . 20:45:08 --> token set from env 20:45:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:45:08 ==> Running gcov in . (disable via -X gcov) 20:45:08 ==> Python coveragepy not found 20:45:08 ==> Searching for coverage reports in: 20:45:08 + . 20:45:08 -> Found 1 reports 20:45:08 ==> Detecting git/mercurial file structure 20:45:08 ==> Reading reports 20:45:09 + ./coverage.out bytes=16226 20:45:09 ==> Appending adjustments 20:45:09 https://docs.codecov.io/docs/fixing-reports 20:45:09 + Found adjustments 20:45:09 ==> Gzipping contents 20:45:09 4.0K /tmp/codecov.DHb4Dg.gz 20:45:09 ==> Uploading reports 20:45:09 url: https://codecov.io 20:45:09 query: branch=master&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:45:09 -> Pinging Codecov 20:45:09 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:45:09 -> Uploading to 20:45:09 https://storage.googleapis.com/codecov/v4/raw/2021-06-30/7D719EC7BBE17E464838252E33014C33/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604/b455ee5e-1c70-466f-bfbb-1cf28fad880d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T204509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32c2db8f09e28b3bc20a8baa7abde38dfc7b7cca517fee803b2df5832e040049 20:45:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:09 Dload Upload Total Spent Left Speed 20:45:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3174 0 0 100 3174 0 10707 --:--:-- --:--:-- --:--:-- 10722 20:45:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] } 20:45:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:45:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:45:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:45:10 20:45:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:45:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:45:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:45:11 188c0c94c7c5: Pulling fs layer 20:45:11 0ef7d3d256c8: Pulling fs layer 20:45:11 de9db76c5a1d: Pulling fs layer 20:45:11 0eba1c9be4d2: Pulling fs layer 20:45:11 0d57e429df01: Pulling fs layer 20:45:11 4e4be7b47b0d: Pulling fs layer 20:45:11 e1f770b5df2f: Pulling fs layer 20:45:11 85a0685a4137: Pulling fs layer 20:45:11 0eba1c9be4d2: Waiting 20:45:11 0d57e429df01: Waiting 20:45:11 4e4be7b47b0d: Waiting 20:45:11 e1f770b5df2f: Waiting 20:45:11 85a0685a4137: Waiting 20:45:11 de9db76c5a1d: Verifying Checksum 20:45:11 de9db76c5a1d: Download complete 20:45:11 0ef7d3d256c8: Verifying Checksum 20:45:11 0ef7d3d256c8: Download complete 20:45:11 0d57e429df01: Verifying Checksum 20:45:11 0d57e429df01: Download complete 20:45:11 4e4be7b47b0d: Verifying Checksum 20:45:11 4e4be7b47b0d: Download complete 20:45:11 188c0c94c7c5: Verifying Checksum 20:45:11 188c0c94c7c5: Download complete 20:45:11 188c0c94c7c5: Pull complete 20:45:11 0ef7d3d256c8: Pull complete 20:45:11 de9db76c5a1d: Pull complete 20:45:12 e1f770b5df2f: Verifying Checksum 20:45:12 e1f770b5df2f: Download complete 20:45:14 0eba1c9be4d2: Verifying Checksum 20:45:14 0eba1c9be4d2: Download complete 20:45:15 85a0685a4137: Verifying Checksum 20:45:15 85a0685a4137: Download complete 20:45:17 0eba1c9be4d2: Pull complete 20:45:18 0d57e429df01: Pull complete 20:45:18 4e4be7b47b0d: Pull complete 20:45:18 e1f770b5df2f: Pull complete 20:45:28 85a0685a4137: Pull complete 20:45:28 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:45:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:45:28 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 20:45:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:45:31 $ docker top 7f3f7c0700e6cbfaae0285042a98b0318f0bf8f923595312573f9c0cb6b8f230 -eo pid,comm [Pipeline] { [Pipeline] echo 20:45:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:45:31 + set -o pipefail 20:45:31 + snyk monitor '--org=edgex-jenkins' 20:45:37 20:45:37 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 20:45:37 20:45:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/ec58e2e5-abdb-4f5f-a4d9-49f6f75912a2 20:45:37 20:45:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:45:37 20:45:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:45:37 20:45:37 [Pipeline] } 20:45:37 $ docker stop --time=1 7f3f7c0700e6cbfaae0285042a98b0318f0bf8f923595312573f9c0cb6b8f230 20:45:39 $ docker rm -f 7f3f7c0700e6cbfaae0285042a98b0318f0bf8f923595312573f9c0cb6b8f230 [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 20:45:41 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 20:45:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:41 . [Pipeline] withDockerContainer 20:45:41 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 20:45:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:45:41 $ docker top 96d6eddf2a78e4f0b899e85ac9e6e077179fae93d8dabbf1cba00caa6d1f6766 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:42 [ssh-agent] Looking for ssh-agent implementation... 20:45:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:42 $ docker exec 96d6eddf2a78e4f0b899e85ac9e6e077179fae93d8dabbf1cba00caa6d1f6766 ssh-agent 20:45:42 SSH_AUTH_SOCK=/tmp/ssh-FUMfIbNMlhBW/agent.14 20:45:42 SSH_AGENT_PID=20 20:45:42 Running ssh-add (command line suppressed) 20:45:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2365622841439269761.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2365622841439269761.key) 20:45:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:42 + git semver tag 20:45:42 # -> Open(): unable to determine branch for HEAD 20:45:42 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 20:45:42 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 20:45:42 # $SEMVER_REMOTE_NAME = origin 20:45:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:45:42 # $SEMVER_USER_NAME = edgex-jenkins 20:45:42 # $SEMVER_BRANCH = master 20:45:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 20:45:42 # f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 HEAD 20:45:42 # -> Force: false 20:45:42 # 4d24cf7535f2e6959808241e88814c7ded1d874d refs/tags/v1.3.2-dev.29 [Pipeline] } 20:45:42 $ docker exec --env ******** --env ******** 96d6eddf2a78e4f0b899e85ac9e6e077179fae93d8dabbf1cba00caa6d1f6766 ssh-agent -k 20:45:42 unset SSH_AUTH_SOCK; 20:45:42 unset SSH_AGENT_PID; 20:45:42 echo Agent pid 20 killed; 20:45:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:43 + git semver [Pipeline] } 20:45:43 $ docker stop --time=1 96d6eddf2a78e4f0b899e85ac9e6e077179fae93d8dabbf1cba00caa6d1f6766 20:45:44 $ docker rm -f 96d6eddf2a78e4f0b899e85ac9e6e077179fae93d8dabbf1cba00caa6d1f6766 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:45:46 20:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:45:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:45:47 0.23.1-centos7: Pulling from edgex-lftools 20:45:47 ab5ef0e58194: Pulling fs layer 20:45:47 9712f1f96733: Pulling fs layer 20:45:47 63f879dbbcfc: Pulling fs layer 20:45:47 0d9ebad4ef96: Pulling fs layer 20:45:47 e9a5061849ea: Pulling fs layer 20:45:47 d747dcd14b5f: Pulling fs layer 20:45:47 2de7ff778b66: Pulling fs layer 20:45:47 e9a5061849ea: Waiting 20:45:47 d747dcd14b5f: Waiting 20:45:47 2de7ff778b66: Waiting 20:45:47 0d9ebad4ef96: Waiting 20:45:47 9712f1f96733: Verifying Checksum 20:45:47 9712f1f96733: Download complete 20:45:49 63f879dbbcfc: Verifying Checksum 20:45:49 63f879dbbcfc: Download complete 20:45:49 e9a5061849ea: Verifying Checksum 20:45:49 e9a5061849ea: Download complete 20:45:49 d747dcd14b5f: Verifying Checksum 20:45:49 d747dcd14b5f: Download complete 20:45:49 2de7ff778b66: Verifying Checksum 20:45:49 2de7ff778b66: Download complete 20:45:49 ab5ef0e58194: Verifying Checksum 20:45:49 ab5ef0e58194: Download complete 20:45:49 0d9ebad4ef96: Verifying Checksum 20:45:49 0d9ebad4ef96: Download complete 20:45:52 ab5ef0e58194: Pull complete 20:45:52 9712f1f96733: Pull complete 20:45:53 63f879dbbcfc: Pull complete 20:45:56 0d9ebad4ef96: Pull complete 20:45:56 e9a5061849ea: Pull complete 20:45:56 d747dcd14b5f: Pull complete 20:45:57 2de7ff778b66: Pull complete 20:45:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:45:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:45:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:45:57 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 20:45:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:46:06 $ docker top d141af847f45380c50f36cbc9f5160b59f1221b6965464d091f5ae3337096a98 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:46:06 provisioning config files... 20:46:06 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3435815958663093739tmp 20:46:06 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1427151053815918111tmp 20:46:06 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1568352621745027616tmp [Pipeline] { [Pipeline] echo 20:46:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:46:07 ---> sigul-configuration.sh 20:46:07 gpg: directory `/root/.gnupg' created 20:46:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:46:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:46:07 gpg: keyring `/root/.gnupg/secring.gpg' created 20:46:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:46:07 gpg: CAST5 encrypted data 20:46:07 gpg: encrypted with 1 passphrase 20:46:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:46:07 + mkdir /home/jenkins 20:46:07 + mkdir /home/jenkins/sigul [Pipeline] sh 20:46:07 + 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 20:46:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:46:08 ---> sigul-install.sh 20:46:16 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:46:16 + git tag --list 20:46:16 0.7.1 20:46:16 v1.0.0 20:46:16 v1.1.0 20:46:16 v1.1.1 20:46:16 v1.2.2 20:46:16 v1.3.0 20:46:16 v1.3.1 20:46:16 v1.3.1-dev.1 20:46:16 v1.3.1-dev.2 20:46:16 v1.3.1-dev.3 20:46:16 v1.3.1-dev.4 20:46:16 v1.3.2-dev.1 20:46:16 v1.3.2-dev.10 20:46:16 v1.3.2-dev.11 20:46:16 v1.3.2-dev.12 20:46:16 v1.3.2-dev.13 20:46:16 v1.3.2-dev.14 20:46:16 v1.3.2-dev.15 20:46:16 v1.3.2-dev.16 20:46:16 v1.3.2-dev.17 20:46:16 v1.3.2-dev.18 20:46:16 v1.3.2-dev.19 20:46:16 v1.3.2-dev.2 20:46:16 v1.3.2-dev.20 20:46:16 v1.3.2-dev.21 20:46:16 v1.3.2-dev.22 20:46:16 v1.3.2-dev.23 20:46:16 v1.3.2-dev.24 20:46:16 v1.3.2-dev.25 20:46:16 v1.3.2-dev.26 20:46:16 v1.3.2-dev.27 20:46:16 v1.3.2-dev.28 20:46:16 v1.3.2-dev.29 20:46:16 v1.3.2-dev.3 20:46:16 v1.3.2-dev.4 20:46:16 v1.3.2-dev.5 20:46:16 v1.3.2-dev.6 20:46:16 v1.3.2-dev.7 20:46:16 v1.3.2-dev.8 20:46:16 v1.3.2-dev.9 [Pipeline] sh 20:46:16 + lftools sign git-tag v1.3.2-dev.29 20:46:17 Signing Git tag with Sigul... 20:46:17 Signing v1.3.2-dev.29 [Pipeline] echo 20:46:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:46:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:46:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:46:18 $ docker stop --time=1 d141af847f45380c50f36cbc9f5160b59f1221b6965464d091f5ae3337096a98 20:46:21 $ docker rm -f d141af847f45380c50f36cbc9f5160b59f1221b6965464d091f5ae3337096a98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:46:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:46:21 . [Pipeline] withDockerContainer 20:46:21 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 20:46:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:46:22 $ docker top f429da8a0890feb0087a280257032880dc821ae11d9442bbec405daa5d6b173b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:22 [ssh-agent] Looking for ssh-agent implementation... 20:46:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:22 $ docker exec f429da8a0890feb0087a280257032880dc821ae11d9442bbec405daa5d6b173b ssh-agent 20:46:22 SSH_AUTH_SOCK=/tmp/ssh-EQXuTQRtr5jx/agent.14 20:46:22 SSH_AGENT_PID=20 20:46:22 Running ssh-add (command line suppressed) 20:46:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_869397562668234955.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_869397562668234955.key) 20:46:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:23 + git semver bump pre 20:46:23 # -> Open(): unable to determine branch for HEAD 20:46:23 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 20:46:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 20:46:23 # $SEMVER_REMOTE_NAME = origin 20:46:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:46:23 # $SEMVER_USER_NAME = edgex-jenkins 20:46:23 # $SEMVER_BRANCH = master 20:46:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 20:46:23 1.3.2-dev.30 [Pipeline] } 20:46:23 $ docker exec --env ******** --env ******** f429da8a0890feb0087a280257032880dc821ae11d9442bbec405daa5d6b173b ssh-agent -k 20:46:23 unset SSH_AUTH_SOCK; 20:46:23 unset SSH_AGENT_PID; 20:46:23 echo Agent pid 20 killed; 20:46:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:23 + git semver [Pipeline] } 20:46:23 $ docker stop --time=1 f429da8a0890feb0087a280257032880dc821ae11d9442bbec405daa5d6b173b 20:46:24 $ docker rm -f f429da8a0890feb0087a280257032880dc821ae11d9442bbec405daa5d6b173b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:46:25 . [Pipeline] withDockerContainer 20:46:25 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 20:46:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:46:25 $ docker top 52614c782a861eb5b87513643ef39cd2988a95b97ffe0fdbcc4ee863b9aa2703 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:25 [ssh-agent] Looking for ssh-agent implementation... 20:46:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:25 $ docker exec 52614c782a861eb5b87513643ef39cd2988a95b97ffe0fdbcc4ee863b9aa2703 ssh-agent 20:46:26 SSH_AUTH_SOCK=/tmp/ssh-AaWlj7IsBf0c/agent.14 20:46:26 SSH_AGENT_PID=21 20:46:26 Running ssh-add (command line suppressed) 20:46:26 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5073676362314968180.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5073676362314968180.key) 20:46:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:26 + git semver push 20:46:26 # -> Open(): unable to determine branch for HEAD 20:46:26 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 20:46:26 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 20:46:26 # $SEMVER_REMOTE_NAME = origin 20:46:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:46:26 # $SEMVER_USER_NAME = edgex-jenkins 20:46:26 # $SEMVER_BRANCH = master 20:46:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 20:46:30 $ docker exec --env ******** --env ******** 52614c782a861eb5b87513643ef39cd2988a95b97ffe0fdbcc4ee863b9aa2703 ssh-agent -k 20:46:30 unset SSH_AUTH_SOCK; 20:46:30 unset SSH_AGENT_PID; 20:46:30 echo Agent pid 21 killed; 20:46:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:31 + git semver [Pipeline] } 20:46:31 $ docker stop --time=1 52614c782a861eb5b87513643ef39cd2988a95b97ffe0fdbcc4ee863b9aa2703 20:46:32 $ docker rm -f 52614c782a861eb5b87513643ef39cd2988a95b97ffe0fdbcc4ee863b9aa2703 [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 20:46:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:46:39 ---> package-listing.sh 20:46:39 ++ tr '[:upper:]' '[:lower:]' 20:46:39 ++ facter osfamily 20:46:39 + OS_FAMILY=redhat 20:46:39 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 20:46:39 + START_PACKAGES=/tmp/packages_start.txt 20:46:39 + END_PACKAGES=/tmp/packages_end.txt 20:46:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:46:39 + PACKAGES=/tmp/packages_start.txt 20:46:39 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 20:46:39 + PACKAGES=/tmp/packages_end.txt 20:46:39 + case "${OS_FAMILY}" in 20:46:39 + rpm -qa 20:46:39 + sort 20:46:40 + '[' -f /tmp/packages_start.txt ']' 20:46:40 + '[' -f /tmp/packages_end.txt ']' 20:46:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:46:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 20:46:40 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 20:46:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 20:46:40 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 20:46:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:46:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:46:41 20:46:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:46:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:46:41 alpine: Pulling from edgex-lftools-log-publisher 20:46:41 df20fa9351a1: Pulling fs layer 20:46:41 36b3adc4ff6f: Pulling fs layer 20:46:41 8ad3a11d3b57: Pulling fs layer 20:46:41 46f8f816bc3b: Pulling fs layer 20:46:41 93b61091891f: Pulling fs layer 20:46:41 93b9cdb0e59b: Pulling fs layer 20:46:41 5e14af77c1be: Pulling fs layer 20:46:41 01666e4c0597: Pulling fs layer 20:46:41 aa168da1d23b: Pulling fs layer 20:46:41 93b9cdb0e59b: Waiting 20:46:41 5e14af77c1be: Waiting 20:46:41 01666e4c0597: Waiting 20:46:41 aa168da1d23b: Waiting 20:46:41 46f8f816bc3b: Waiting 20:46:41 93b61091891f: Waiting 20:46:41 36b3adc4ff6f: Verifying Checksum 20:46:41 36b3adc4ff6f: Download complete 20:46:41 46f8f816bc3b: Verifying Checksum 20:46:41 46f8f816bc3b: Download complete 20:46:41 df20fa9351a1: Verifying Checksum 20:46:41 df20fa9351a1: Download complete 20:46:41 93b9cdb0e59b: Verifying Checksum 20:46:41 93b9cdb0e59b: Download complete 20:46:41 5e14af77c1be: Verifying Checksum 20:46:41 5e14af77c1be: Download complete 20:46:41 93b61091891f: Verifying Checksum 20:46:41 93b61091891f: Download complete 20:46:41 01666e4c0597: Verifying Checksum 20:46:41 01666e4c0597: Download complete 20:46:41 8ad3a11d3b57: Verifying Checksum 20:46:41 8ad3a11d3b57: Download complete 20:46:41 df20fa9351a1: Pull complete 20:46:41 36b3adc4ff6f: Pull complete 20:46:42 8ad3a11d3b57: Pull complete 20:46:42 46f8f816bc3b: Pull complete 20:46:42 93b61091891f: Pull complete 20:46:42 93b9cdb0e59b: Pull complete 20:46:42 5e14af77c1be: Pull complete 20:46:43 01666e4c0597: Pull complete 20:46:43 aa168da1d23b: Verifying Checksum 20:46:43 aa168da1d23b: Download complete 20:46:47 aa168da1d23b: Pull complete 20:46:47 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:46:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:46:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:46:47 prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container 20:46:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:46:51 $ docker top 346640f8d246f7d36fbdc807e82ca753ff455368c0bc6edd8837f985b9aed4ce -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:51 + touch /tmp/pre-build-complete [Pipeline] sh 20:46:51 + mkdir -p /var/log/sa [Pipeline] sh 20:46:52 + ls /var/log/sa-host 20:46:52 + sadf -c /var/log/sa-host/sa05 20:46:52 file_magic: OK 20:46:52 HZ: Using current value: 100 20:46:52 file_header: OK 20:46:52 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 20:46:52 Statistics: 20:46:52 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:46:52 File successfully converted to sysstat format version 12.2.1 20:46:52 + sadf -c /var/log/sa-host/sa30 20:46:52 file_magic: OK 20:46:52 HZ: Using current value: 100 20:46:52 file_header: OK 20:46:52 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 20:46:52 Statistics: 20:46:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:46:52 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:52 provisioning config files... 20:46:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7969218759568588565tmp [Pipeline] { [Pipeline] echo 20:46:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:46:52 ---> create-netrc.sh [Pipeline] } 20:46:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:46:53 ---> python-tools-install.sh [Pipeline] echo 20:46:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:46:53 ---> sudo-logs.sh 20:46:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:46:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:46:53 ---> job-cost.sh 20:46:53 lf-activate-venv: SKIPPING 20:46:53 DEBUG: total: 0.18000000715255737 20:46:53 INFO: Retrieving Stack Cost... 20:46:54 INFO: Retrieving Pricing Info for: v3-standard-2 20:46:54 INFO: Archiving Costs [Pipeline] echo 20:46:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:46:55 ---> logs-deploy.sh 20:46:55 lf-activate-venv: SKIPPING 20:46:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/62 20:46:55 INFO: archiving workspace using pattern(s): 20:46:56 Archives upload complete. 20:46:56 INFO: archiving logs to Nexus 20:46:56 ---> uname -a: 20:46:56 Linux prd-centos7-docker-4c-2g-1010.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 20:46:56 20:46:56 20:46:56 ---> lscpu: 20:46:56 Architecture: x86_64 20:46:56 CPU op-mode(s): 32-bit, 64-bit 20:46:56 Byte Order: Little Endian 20:46:56 Address sizes: 40 bits physical, 48 bits virtual 20:46:56 CPU(s): 2 20:46:56 On-line CPU(s) list: 0,1 20:46:56 Thread(s) per core: 1 20:46:56 Core(s) per socket: 1 20:46:56 Socket(s): 2 20:46:56 NUMA node(s): 1 20:46:56 Vendor ID: AuthenticAMD 20:46:56 CPU family: 23 20:46:56 Model: 49 20:46:56 Model name: AMD EPYC-Rome Processor 20:46:56 Stepping: 0 20:46:56 CPU MHz: 2800.000 20:46:56 BogoMIPS: 5600.00 20:46:56 Virtualization: AMD-V 20:46:56 Hypervisor vendor: KVM 20:46:56 Virtualization type: full 20:46:56 L1d cache: 64 KiB 20:46:56 L1i cache: 64 KiB 20:46:56 L2 cache: 1 MiB 20:46:56 L3 cache: 32 MiB 20:46:56 NUMA node0 CPU(s): 0,1 20:46:56 Vulnerability Itlb multihit: Not affected 20:46:56 Vulnerability L1tf: Not affected 20:46:56 Vulnerability Mds: Not affected 20:46:56 Vulnerability Meltdown: Not affected 20:46:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:46:56 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:46:56 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:46:56 Vulnerability Srbds: Not affected 20:46:56 Vulnerability Tsx async abort: Not affected 20:46:56 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 20:46:56 20:46:56 20:46:56 ---> nproc: 20:46:56 2 20:46:56 20:46:56 20:46:56 ---> df -h: 20:46:56 Filesystem Size Used Available Use% Mounted on 20:46:56 overlay 40.0G 8.9G 31.1G 22% / 20:46:56 tmpfs 64.0M 0 64.0M 0% /dev 20:46:56 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 20:46:56 shm 64.0M 0 64.0M 0% /dev/shm 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 20:46:56 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 20:46:56 20:46:56 20:46:56 ---> free -m: 20:46:56 total used free shared buff/cache available 20:46:56 Mem: 7821 1151 3284 0 3384 6588 20:46:56 Swap: 1023 0 1023 20:46:56 20:46:56 20:46:56 ---> ip addr: 20:46:56 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:46:56 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:46:56 inet 127.0.0.1/8 scope host lo 20:46:56 valid_lft forever preferred_lft forever 20:46:56 inet6 ::1/128 scope host 20:46:56 valid_lft forever preferred_lft forever 20:46:56 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:46:56 link/ether fa:16:3e:a5:5f:53 brd ff:ff:ff:ff:ff:ff 20:46:56 inet 10.30.122.231/23 brd 10.30.123.255 scope global dynamic eth0 20:46:56 valid_lft 85647sec preferred_lft 85647sec 20:46:56 inet6 fe80::f816:3eff:fea5:5f53/64 scope link 20:46:56 valid_lft forever preferred_lft forever 20:46:56 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:46:56 link/ether 02:42:53:4d:01:ef brd ff:ff:ff:ff:ff:ff 20:46:56 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:46:56 valid_lft forever preferred_lft forever 20:46:56 inet6 fe80::42:53ff:fe4d:1ef/64 scope link 20:46:56 valid_lft forever preferred_lft forever 20:46:56 20:46:56 20:46:56 ---> sar -b -r -n DEV: 20:46:56 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) 20:46:56 20:46:56 20:34:12 LINUX RESTART (2 CPU) 20:46:56 20:46:56 20:35:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:46:56 20:36:01 8.69 0.63 8.06 0.00 357.66 253.92 0.00 20:46:56 20:37:01 0.42 0.00 0.42 0.00 0.00 7.35 0.00 20:46:56 20:38:01 0.22 0.00 0.22 0.00 0.00 3.23 0.00 20:46:56 20:39:02 0.25 0.00 0.25 0.00 0.00 3.33 0.00 20:46:56 20:40:01 0.24 0.00 0.24 0.00 0.00 3.08 0.00 20:46:56 20:41:01 0.37 0.00 0.37 0.00 0.00 4.75 0.00 20:46:56 20:42:01 0.25 0.00 0.25 0.00 0.00 3.07 0.00 20:46:56 20:43:01 0.27 0.00 0.27 0.00 0.00 3.12 0.00 20:46:56 20:44:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 20:46:56 20:45:01 0.22 0.00 0.22 0.00 0.00 2.30 0.00 20:46:56 20:46:01 162.72 0.03 162.69 0.00 3.73 44962.52 0.00 20:46:56 Average: 15.85 0.06 15.79 0.00 32.42 4126.25 0.00 20:46:56 20:46:56 20:35:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:46:56 20:36:01 5465684 0 803904 10.04 2620 1736732 1204868 13.30 569028 1574016 20 20:46:56 20:37:01 5477112 0 792468 9.89 2620 1736740 1110752 12.26 562176 1571648 20 20:46:56 20:38:01 5477004 0 792572 9.90 2620 1736744 1110764 12.26 562224 1571700 8 20:46:56 20:39:02 5475644 0 793928 9.91 2620 1736748 1110864 12.26 563744 1571700 8 20:46:56 20:40:01 5476944 0 792620 9.90 2620 1736756 1074040 11.86 556092 1579436 16 20:46:56 20:41:01 5468864 0 800700 10.00 2620 1736756 1073848 11.86 564020 1579436 8 20:46:56 20:42:01 5467940 0 801616 10.01 2620 1736764 1073896 11.86 564832 1579436 8 20:46:56 20:43:01 5466052 0 803500 10.03 2620 1736768 1073848 11.86 567704 1578360 8 20:46:56 20:44:01 5466184 0 803364 10.03 2620 1736772 1073848 11.86 567680 1578300 8 20:46:56 20:45:01 5465528 0 804016 10.04 2620 1736776 1073920 11.86 574872 1571508 8 20:46:56 20:46:01 3883316 0 1064380 13.29 2620 3058624 1325880 14.64 782300 2726928 181536 20:46:56 Average: 5326388 0 823006 10.28 2620 1856925 1118775 12.35 584970 1680224 16513 20:46:56 20:46:56 20:35:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:46:56 20:36:01 eth0 34.99 24.10 35.95 29.07 0.00 0.00 0.00 0.00 20:46:56 20:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:36:01 docker0 2.95 2.20 0.64 6.18 0.00 0.00 0.00 0.00 20:46:56 20:37:01 eth0 2.90 0.80 0.77 0.42 0.00 0.00 0.00 0.00 20:46:56 20:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:38:01 eth0 1.95 0.43 0.63 0.39 0.00 0.00 0.00 0.00 20:46:56 20:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:39:02 eth0 0.65 0.48 0.32 0.21 0.00 0.00 0.00 0.00 20:46:56 20:39:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:39:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:40:01 eth0 0.68 0.39 0.35 0.27 0.00 0.00 0.00 0.00 20:46:56 20:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:41:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:46:56 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:42:01 eth0 0.17 0.17 0.07 0.01 0.00 0.00 0.00 0.00 20:46:56 20:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:43:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:46:56 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:44:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:46:56 20:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:45:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 20:46:56 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:46:01 eth0 854.75 786.31 7689.05 111.42 0.00 0.00 0.00 0.00 20:46:56 20:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 20:46:01 docker0 66.12 66.67 5.51 393.05 0.00 0.00 0.00 0.00 20:46:56 Average: eth0 81.72 74.12 704.64 12.90 0.00 0.00 0.00 0.00 20:46:56 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:46:56 Average: docker0 6.29 6.28 0.56 36.40 0.00 0.00 0.00 0.00 20:46:56 20:46:56 20:46:56 ---> sar -P ALL: 20:46:56 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) 20:46:56 20:46:56 20:34:12 LINUX RESTART (2 CPU) 20:46:56 20:46:56 20:35:02 CPU %user %nice %system %iowait %steal %idle 20:46:56 20:36:01 all 1.65 0.00 0.85 0.16 0.04 97.30 20:46:56 20:36:01 0 1.74 0.00 0.90 0.02 0.03 97.31 20:46:56 20:36:01 1 1.55 0.00 0.80 0.31 0.05 97.28 20:46:56 20:37:01 all 0.13 0.00 0.03 0.00 0.02 99.82 20:46:56 20:37:01 0 0.07 0.00 0.05 0.00 0.03 99.85 20:46:56 20:37:01 1 0.20 0.00 0.02 0.00 0.00 99.78 20:46:56 20:38:01 all 0.12 0.00 0.02 0.00 0.03 99.83 20:46:56 20:38:01 0 0.05 0.00 0.02 0.00 0.05 99.88 20:46:56 20:38:01 1 0.18 0.00 0.02 0.00 0.02 99.78 20:46:56 20:39:02 all 0.08 0.00 0.02 0.00 0.04 99.86 20:46:56 20:39:02 0 0.03 0.00 0.02 0.00 0.05 99.90 20:46:56 20:39:02 1 0.13 0.00 0.02 0.00 0.03 99.82 20:46:56 20:40:01 all 0.10 0.00 0.04 0.00 0.03 99.83 20:46:56 20:40:01 0 0.10 0.00 0.05 0.00 0.03 99.81 20:46:56 20:40:01 1 0.10 0.00 0.03 0.00 0.02 99.85 20:46:56 20:41:01 all 0.10 0.00 0.03 0.00 0.03 99.84 20:46:56 20:41:01 0 0.17 0.00 0.05 0.00 0.03 99.75 20:46:56 20:41:01 1 0.03 0.00 0.02 0.00 0.02 99.93 20:46:56 20:42:01 all 0.09 0.00 0.03 0.00 0.03 99.86 20:46:56 20:42:01 0 0.17 0.00 0.03 0.00 0.02 99.78 20:46:56 20:42:01 1 0.02 0.00 0.02 0.00 0.03 99.93 20:46:56 20:43:01 all 0.12 0.00 0.03 0.00 0.02 99.83 20:46:56 20:43:01 0 0.20 0.00 0.05 0.00 0.00 99.75 20:46:56 20:43:01 1 0.03 0.00 0.02 0.00 0.03 99.92 20:46:56 20:44:01 all 0.14 0.00 0.01 0.00 0.03 99.82 20:46:56 20:44:01 0 0.25 0.00 0.02 0.00 0.02 99.72 20:46:56 20:44:01 1 0.03 0.00 0.00 0.00 0.05 99.92 20:46:56 20:45:01 all 0.08 0.00 0.02 0.00 0.03 99.87 20:46:56 20:45:01 0 0.15 0.00 0.00 0.00 0.02 99.83 20:46:56 20:45:01 1 0.02 0.00 0.03 0.00 0.03 99.92 20:46:56 20:46:01 all 19.73 0.00 8.09 6.85 0.06 65.27 20:46:56 20:46:01 0 20.10 0.00 8.50 7.04 0.05 64.31 20:46:56 20:46:01 1 19.37 0.00 7.68 6.67 0.07 66.22 20:46:56 20:46:56 Average: CPU %user %nice %system %iowait %steal %idle 20:46:56 Average: all 1.95 0.00 0.80 0.61 0.03 96.61 20:46:56 Average: 0 2.01 0.00 0.84 0.61 0.03 96.51 20:46:56 Average: 1 1.90 0.00 0.76 0.61 0.03 96.70 20:46:56 20:46:56 20:46:56