Started by upstream project "edgexfoundry/cd-management/release" build number 62 originally caused by: Push event to branch release 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-ssh1714392446119136799.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-ssh7981631334682741423.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-ssh7672934233504151902.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-ssh6793571183697137084.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-ssh5350827882737671054.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1077 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh4747140402689177594.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:25:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:25:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:25:45 ========================================================= 00:25:45 EdgeX Global Pipelines Version Info 00:25:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:25:46 ------------------- 00:25:46 stable info: 00:25:46 ------------------- 00:25:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:25:46 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 00:25:46 Message: update stable to v1.0.195 00:25:47 ------------------- 00:25:47 experimental info: 00:25:47 ------------------- 00:25:47 Commited By: **** collab-it+edgex@linuxfoundation.org 00:25:47 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 00:25:47 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:25:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:25:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:25:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 00:25:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 00:25:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 00:25:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 00:25:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f108e1f [Pipeline] echo 00:25:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:48 provisioning config files... 00:25:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2126258000787905534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:48 ---> docker-login.sh 00:25:48 nexus3.edgexfoundry.org:10001 00:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:48 Configure a credential helper to remove this warning. See 00:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:48 00:25:48 Login Succeeded 00:25:48 nexus3.edgexfoundry.org:10002 00:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:48 Configure a credential helper to remove this warning. See 00:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:48 00:25:48 Login Succeeded 00:25:48 nexus3.edgexfoundry.org:10003 00:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:49 Configure a credential helper to remove this warning. See 00:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:49 00:25:49 Login Succeeded 00:25:49 nexus3.edgexfoundry.org:10004 00:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:49 Configure a credential helper to remove this warning. See 00:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:49 00:25:49 Login Succeeded 00:25:49 docker.io 00:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:49 Configure a credential helper to remove this warning. See 00:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:49 00:25:49 Login Succeeded 00:25:49 ---> docker-login.sh ends [Pipeline] } 00:25:49 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 00:25:50 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 00:25:50 GIT_COMMIT: f108e1f6dac2bdd3d582b44a0d019ed09ad7b604, Commit Message: feat(snap): add go-based configure and install hooks (#294) [Pipeline] echo 00:25:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:25:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:25:50 00:25:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:25:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:25:51 latest: Pulling from edgex-devops/git-semver 00:25:51 31603596830f: Pulling fs layer 00:25:51 54011a49482f: Pulling fs layer 00:25:51 a6820b24f6d8: Pulling fs layer 00:25:51 f581987b2513: Pulling fs layer 00:25:51 f581987b2513: Waiting 00:25:51 54011a49482f: Verifying Checksum 00:25:51 54011a49482f: Download complete 00:25:51 31603596830f: Verifying Checksum 00:25:51 31603596830f: Download complete 00:25:51 f581987b2513: Verifying Checksum 00:25:51 f581987b2513: Download complete 00:25:51 a6820b24f6d8: Verifying Checksum 00:25:51 a6820b24f6d8: Download complete 00:25:51 31603596830f: Pull complete 00:25:51 54011a49482f: Pull complete 00:25:52 a6820b24f6d8: Pull complete 00:25:52 f581987b2513: Pull complete 00:25:52 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 00:25:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:25:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:25:52 prd-centos7-docker-4c-2g-1077 does not seem to be running inside a container 00:25:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:25:53 $ docker top 727c4311bec7bbc7c340cc5e7a179aa812007f6bd6dd763e3d47b628782261b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:25:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:25:53 [ssh-agent] Looking for ssh-agent implementation... 00:25:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:25:53 $ docker exec 727c4311bec7bbc7c340cc5e7a179aa812007f6bd6dd763e3d47b628782261b5 ssh-agent 00:25:53 SSH_AUTH_SOCK=/tmp/ssh-iNJoc15qiUxN/agent.13 00:25:53 SSH_AGENT_PID=19 00:25:53 Running ssh-add (command line suppressed) 00:25:53 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2412101030312402379.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2412101030312402379.key) 00:25:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:25:54 + git tag --points-at HEAD [Pipeline] } 00:25:54 $ docker exec --env ******** --env ******** 727c4311bec7bbc7c340cc5e7a179aa812007f6bd6dd763e3d47b628782261b5 ssh-agent -k 00:25:54 unset SSH_AUTH_SOCK; 00:25:54 unset SSH_AGENT_PID; 00:25:54 echo Agent pid 19 killed; 00:25:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:25:54 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.2-dev.29|v2.0.0' [Pipeline] sshagent 00:25:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:25:54 [ssh-agent] Looking for ssh-agent implementation... 00:25:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:25:54 $ docker exec 727c4311bec7bbc7c340cc5e7a179aa812007f6bd6dd763e3d47b628782261b5 ssh-agent 00:25:54 SSH_AUTH_SOCK=/tmp/ssh-HotXATUvm74a/agent.54 00:25:54 SSH_AGENT_PID=61 00:25:54 Running ssh-add (command line suppressed) 00:25:54 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2183554466550685947.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2183554466550685947.key) 00:25:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:25:55 + git semver init 00:25:55 # -> Open(): unable to determine branch for HEAD 00:25:55 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 00:25:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 00:25:55 # $SEMVER_REMOTE_NAME = origin 00:25:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:25:55 # $SEMVER_USER_NAME = edgex-jenkins 00:25:55 # $SEMVER_BRANCH = master 00:25:55 # $SEMVER_TEMP = /tmp/semver-267897063 00:25:55 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 00:25:55 # '/tmp/semver-267897063' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 00:25:55 # -> Force: false 00:25:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 00:25:55 $ docker exec --env ******** --env ******** 727c4311bec7bbc7c340cc5e7a179aa812007f6bd6dd763e3d47b628782261b5 ssh-agent -k 00:25:55 unset SSH_AUTH_SOCK; 00:25:55 unset SSH_AGENT_PID; 00:25:55 echo Agent pid 61 killed; 00:25:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:25:55 + git semver [Pipeline] } 00:25:55 $ docker stop --time=1 727c4311bec7bbc7c340cc5e7a179aa812007f6bd6dd763e3d47b628782261b5 00:25:57 $ docker rm -f 727c4311bec7bbc7c340cc5e7a179aa812007f6bd6dd763e3d47b628782261b5 [Pipeline] // withDockerContainer [Pipeline] sh 00:25:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:25:57 Stashed 1 file(s) [Pipeline] echo 00:25:57 [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [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 00:26:15 Still waiting to schedule task 00:26:15 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:26:15 Still waiting to schedule task 00:26:15 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1070’ 00:29:20 Running on prd-centos7-docker-4c-2g-1079 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 00:29:20 Running in /w/workspace/device-mqtt-go/63 [Pipeline] { [Pipeline] checkout 00:29:24 Selected Git installation does not exist. Using Default 00:29:24 The recommended git tool is: NONE 00:29:26 using credential edgex-jenkins-ssh 00:29:26 Cloning the remote Git repository 00:29:27 Avoid second fetch 00:29:27 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (master) 00:29:26 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:29:27 > git init /w/workspace/device-mqtt-go/63 # timeout=10 00:29:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:29:27 > git --version # timeout=10 00:29:27 > git --version # 'git version 2.24.4' 00:29:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:27 [INFO] Currently running in a labeled security context 00:29:27 [INFO] Currently SELinux is 'enforcing' on the host 00:29:27 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/63@tmp/jenkins-gitclient-ssh3160230458900692146.key 00:29:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:29:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:27 > git config core.sparsecheckout # timeout=10 00:29:27 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 00:29:31 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 00:29:32 + git checkout f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:29:32 HEAD is now at f108e1f feat(snap): add go-based configure and install hooks (#294) [Pipeline] sh 00:29:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:29:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:29:33 + sudo service docker restart 00:29:33 + true 00:29:33 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:51 provisioning config files... 00:29:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/63@tmp/config8565674369184588040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:29:51 ---> docker-login.sh 00:29:51 nexus3.edgexfoundry.org:10001 00:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:52 Configure a credential helper to remove this warning. See 00:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:52 00:29:52 Login Succeeded 00:29:52 nexus3.edgexfoundry.org:10002 00:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:52 Configure a credential helper to remove this warning. See 00:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:52 00:29:52 Login Succeeded 00:29:52 nexus3.edgexfoundry.org:10003 00:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:52 Configure a credential helper to remove this warning. See 00:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:52 00:29:52 Login Succeeded 00:29:52 nexus3.edgexfoundry.org:10004 00:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:52 Configure a credential helper to remove this warning. See 00:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:52 00:29:52 Login Succeeded 00:29:52 docker.io 00:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:52 Configure a credential helper to remove this warning. See 00:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:52 00:29:52 Login Succeeded 00:29:52 ---> docker-login.sh ends [Pipeline] } 00:29:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:29:53 ========================================================= 00:29:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:29:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:29:53 + 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 . 00:29:53 Sending build context to Docker daemon 657.9kB 00:29:53 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:29:53 Step 2/8 : FROM ${BASE} 00:29:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:29:53 540db60ca938: Pulling fs layer 00:29:53 adcc1eea9eea: Pulling fs layer 00:29:53 4c4ab2625f07: Pulling fs layer 00:29:53 0510c868ecb4: Pulling fs layer 00:29:53 afea3b2eda06: Pulling fs layer 00:29:53 7809a108b3ef: Pulling fs layer 00:29:53 f706445af74f: Pulling fs layer 00:29:53 afea3b2eda06: Waiting 00:29:53 7809a108b3ef: Waiting 00:29:53 f706445af74f: Waiting 00:29:53 0510c868ecb4: Waiting 00:29:53 4c4ab2625f07: Verifying Checksum 00:29:53 4c4ab2625f07: Download complete 00:29:53 adcc1eea9eea: Verifying Checksum 00:29:53 adcc1eea9eea: Download complete 00:29:53 afea3b2eda06: Verifying Checksum 00:29:53 afea3b2eda06: Download complete 00:29:53 540db60ca938: Verifying Checksum 00:29:53 540db60ca938: Download complete 00:29:53 7809a108b3ef: Verifying Checksum 00:29:53 7809a108b3ef: Download complete 00:29:53 540db60ca938: Pull complete 00:29:53 adcc1eea9eea: Pull complete 00:29:54 4c4ab2625f07: Pull complete 00:29:55 f706445af74f: Verifying Checksum 00:29:55 f706445af74f: Download complete 00:29:56 0510c868ecb4: Verifying Checksum 00:29:56 0510c868ecb4: Download complete 00:29:59 0510c868ecb4: Pull complete 00:29:59 afea3b2eda06: Pull complete 00:29:59 7809a108b3ef: Pull complete 00:30:00 f706445af74f: Pull complete 00:30:00 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 00:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:30:00 ---> b068be0155e3 00:30:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 00:30:06 ---> Running in dcb463e4745b 00:30:07 Removing intermediate container dcb463e4745b 00:30:07 ---> 5062bdc45508 00:30:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:30:07 ---> Running in c5f229b6c111 00:30:07 Removing intermediate container c5f229b6c111 00:30:07 ---> e2266e08bbd2 00:30:07 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 00:30:07 ---> Running in e8520127b87a 00:30:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:30:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:30:09 (1/13) Installing libc-dev (0.7.2-r3) 00:30:09 (2/13) Installing libsodium (1.0.18-r0) 00:30:09 (3/13) Installing pkgconf (1.7.3-r0) 00:30:09 (4/13) Installing libsodium-dev (1.0.18-r0) 00:30:09 (5/13) Installing openssh-keygen (8.4_p1-r3) 00:30:09 (6/13) Installing libedit (20191231.3.1-r1) 00:30:09 (7/13) Installing openssh-client (8.4_p1-r3) 00:30:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1078 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 00:30:10 Running in /w/workspace/device-mqtt-go/63 [Pipeline] { [Pipeline] checkout 00:30:10 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 00:30:10 (9/13) Installing openssh-server-common (8.4_p1-r3) 00:30:10 Selected Git installation does not exist. Using Default 00:30:10 The recommended git tool is: NONE 00:30:10 (10/13) Installing openssh-server (8.4_p1-r3) 00:30:10 (11/13) Installing openssh (8.4_p1-r3) 00:30:10 (12/13) Installing libzmq (4.3.3-r1) 00:30:12 (13/13) Installing zeromq-dev (4.3.3-r1) 00:30:12 Executing busybox-1.32.1-r6.trigger 00:30:12 OK: 156 MiB in 53 packages 00:30:12 Removing intermediate container e8520127b87a 00:30:12 ---> f2f4503e9012 00:30:12 Step 6/8 : WORKDIR /device-mqtt-go 00:30:12 ---> Running in f94822967ed5 00:30:12 Removing intermediate container f94822967ed5 00:30:12 ---> b5639c47f45b 00:30:12 Step 7/8 : COPY . . 00:30:12 ---> 415d83691c5e 00:30:12 Step 8/8 : RUN go mod download 00:30:12 ---> Running in 5f328ca244ea 00:30:17 using credential edgex-jenkins-ssh 00:30:17 Cloning the remote Git repository 00:30:17 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:30:18 > git init /w/workspace/device-mqtt-go/63 # timeout=10 00:30:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:30:18 > git --version # timeout=10 00:30:18 > git --version # 'git version 2.17.1' 00:30:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:30:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:30:19 Avoid second fetch 00:30:19 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (master) 00:30:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:30:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:30:19 > git config core.sparsecheckout # timeout=10 00:30:19 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 00:30:25 Removing intermediate container 5f328ca244ea 00:30:25 ---> dc94d2e99da5 00:30:25 Successfully built dc94d2e99da5 00:30:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:30:25 Commit message: "feat(snap): add go-based configure and install hooks (#294)" 00:30:26 + docker inspect -f . ci-base-image-x86_64 00:30:26 . [Pipeline] withDockerContainer 00:30:26 prd-centos7-docker-4c-2g-1079 does not seem to be running inside a container 00:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/63 -v /w/workspace/device-mqtt-go/63:/w/workspace/device-mqtt-go/63:rw,z -v /w/workspace/device-mqtt-go/63@tmp:/w/workspace/device-mqtt-go/63@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 ******** -e ******** ci-base-image-x86_64 cat 00:30:26 $ docker top 29575199ee964c127e878b8d2d303e7532a61feb4d023d7a135ee427d7548371 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:26 + go version 00:30:26 go version go1.16.3 linux/amd64 [Pipeline] } 00:30:27 $ docker stop --time=1 29575199ee964c127e878b8d2d303e7532a61feb4d023d7a135ee427d7548371 00:30:27 + git checkout f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:30:27 HEAD is now at f108e1f feat(snap): add go-based configure and install hooks (#294) 00:30:28 $ docker rm -f 29575199ee964c127e878b8d2d303e7532a61feb4d023d7a135ee427d7548371 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:30:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:30:29 + docker inspect -f . ci-base-image-x86_64 00:30:29 . [Pipeline] withDockerContainer 00:30:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 00:30:29 prd-centos7-docker-4c-2g-1079 does not seem to be running inside a container 00:30:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/63 -v /w/workspace/device-mqtt-go/63:/w/workspace/device-mqtt-go/63:rw,z -v /w/workspace/device-mqtt-go/63@tmp:/w/workspace/device-mqtt-go/63@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 ******** -e ******** ci-base-image-x86_64 cat 00:30:29 $ docker top afefe8f22818dedf3d7cc6997aababcfda00e61ae5e99bd7fc63f9fbb3b82a6a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 00:30:30 + true 00:30:30 + sudo service docker restart 00:30:30 + go mod tidy [Pipeline] sh 00:30:30 + make test 00:30:30 go mod tidy 00:30:31 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:30:31 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:30:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:30:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 24.3% of statements 00:30:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:30:47 GCO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:30:50 provisioning config files... 00:30:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/63@tmp/config7697487195327458843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:50 ---> docker-login.sh 00:30:50 nexus3.edgexfoundry.org:10001 00:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:51 Configure a credential helper to remove this warning. See 00:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:51 00:30:51 Login Succeeded 00:30:51 nexus3.edgexfoundry.org:10002 00:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:52 Configure a credential helper to remove this warning. See 00:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:52 00:30:52 Login Succeeded 00:30:52 nexus3.edgexfoundry.org:10003 00:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:53 Configure a credential helper to remove this warning. See 00:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:53 00:30:53 Login Succeeded 00:30:53 nexus3.edgexfoundry.org:10004 00:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:53 Configure a credential helper to remove this warning. See 00:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:53 00:30:53 Login Succeeded 00:30:53 docker.io 00:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:54 Configure a credential helper to remove this warning. See 00:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:54 00:30:54 Login Succeeded 00:30:54 ---> docker-login.sh ends [Pipeline] } 00:30:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 00:30:54 gofmt -l . 00:30:54 ["`gofmt -l .`" = ""] 00:30:54 ./bin/test-attribution-txt.sh [Pipeline] } 00:30:54 $ docker stop --time=1 afefe8f22818dedf3d7cc6997aababcfda00e61ae5e99bd7fc63f9fbb3b82a6a 00:30:56 $ docker rm -f afefe8f22818dedf3d7cc6997aababcfda00e61ae5e99bd7fc63f9fbb3b82a6a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] echo 00:30:56 ========================================================= 00:30:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:30:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:30:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:30:56 + 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 . 00:30:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 00:30:57 Sending build context to Docker daemon 656.9kB 00:30:57 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:30:57 Step 2/8 : FROM ${BASE} 00:30:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:30:57 595b0fe564bb: Pulling fs layer 00:30:57 3088b5b3c5c0: Pulling fs layer 00:30:57 5b7225fbf94c: Pulling fs layer 00:30:57 ba82ee9f976e: Pulling fs layer 00:30:57 506bd15cee9f: Pulling fs layer 00:30:57 75a0a4a0db45: Pulling fs layer 00:30:57 618dc40b7e24: Pulling fs layer 00:30:57 506bd15cee9f: Waiting 00:30:57 75a0a4a0db45: Waiting 00:30:57 618dc40b7e24: Waiting 00:30:57 ba82ee9f976e: Waiting 00:30:57 5b7225fbf94c: Verifying Checksum 00:30:57 5b7225fbf94c: Download complete 00:30:57 3088b5b3c5c0: Verifying Checksum 00:30:57 3088b5b3c5c0: Download complete 00:30:57 506bd15cee9f: Download complete 00:30:57 75a0a4a0db45: Verifying Checksum 00:30:57 75a0a4a0db45: Download complete 00:30:57 595b0fe564bb: Verifying Checksum 00:30:57 595b0fe564bb: Download complete 00:31:00 595b0fe564bb: Pull complete 00:31:00 3088b5b3c5c0: Pull complete 00:31:00 5b7225fbf94c: Pull complete 00:31:00 618dc40b7e24: Download complete 00:31:01 ba82ee9f976e: Verifying Checksum 00:31:01 ba82ee9f976e: Download complete [Pipeline] sh 00:31:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:31:06 + ls -al . 00:31:06 total 112 00:31:06 drwxrwxr-x. 9 jenkins jenkins 4096 Jul 1 00:30 . 00:31:06 drwxrwxr-x. 4 jenkins jenkins 30 Jul 1 00:29 .. 00:31:06 -rw-rw-r--. 1 jenkins jenkins 7100 Jul 1 00:29 Attribution.txt 00:31:06 drwxrwxr-x. 2 jenkins jenkins 60 Jul 1 00:29 bin 00:31:06 -rw-rw-r--. 1 jenkins jenkins 7447 Jul 1 00:29 CHANGELOG.md 00:31:06 drwxrwxr-x. 3 jenkins jenkins 32 Jul 1 00:29 cmd 00:31:06 -rw-r--r--. 1 jenkins jenkins 16226 Jul 1 00:30 coverage.out 00:31:06 -rw-rw-r--. 1 jenkins jenkins 1877 Jul 1 00:29 Dockerfile 00:31:06 -rw-rw-r--. 1 jenkins jenkins 994 Jul 1 00:29 Dockerfile.build 00:31:06 -rw-rw-r--. 1 jenkins jenkins 140 Jul 1 00:29 .dockerignore 00:31:06 drwxrwxr-x. 8 jenkins jenkins 162 Jul 1 00:29 .git 00:31:06 drwxrwxr-x. 2 jenkins jenkins 103 Jul 1 00:29 .github 00:31:06 -rw-rw-r--. 1 jenkins jenkins 336 Jul 1 00:29 .gitignore 00:31:06 -rw-rw-r--. 1 jenkins jenkins 388 Jul 1 00:29 go.mod 00:31:06 -rw-r--r--. 1 jenkins jenkins 20775 Jul 1 00:30 go.sum 00:31:06 drwxrwxr-x. 3 jenkins jenkins 20 Jul 1 00:29 internal 00:31:06 -rw-rw-r--. 1 jenkins jenkins 677 Jul 1 00:29 Jenkinsfile 00:31:06 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 1 00:29 LICENSE 00:31:06 -rw-rw-r--. 1 jenkins jenkins 907 Jul 1 00:29 Makefile 00:31:06 drwxrwxr-x. 2 jenkins jenkins 23 Jul 1 00:29 mock 00:31:06 -rw-rw-r--. 1 jenkins jenkins 2217 Jul 1 00:29 README.md 00:31:06 drwxrwxr-x. 4 jenkins jenkins 71 Jul 1 00:29 snap 00:31:06 -rw-rw-r--. 1 jenkins jenkins 11 Jul 1 00:25 VERSION 00:31:06 -rw-rw-r--. 1 jenkins jenkins 227 Jul 1 00:29 version.go [Pipeline] isUnix [Pipeline] sh 00:31:06 + 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=2.0.1-dev.1 . 00:31:06 Sending build context to Docker daemon 674.8kB 00:31:06 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 00:31:06 Step 2/24 : FROM ${BASE} AS builder 00:31:06 ---> dc94d2e99da5 00:31:06 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:31:06 ---> Running in e821818b8851 00:31:06 Removing intermediate container e821818b8851 00:31:06 ---> 42c996d57f4a 00:31:06 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 00:31:07 ---> Running in a951a9dec995 00:31:07 Removing intermediate container a951a9dec995 00:31:07 ---> e86ad615b85f 00:31:07 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:31:07 ---> Running in 511c60d6e636 00:31:07 Removing intermediate container 511c60d6e636 00:31:07 ---> e8aed0833658 00:31:07 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:31:07 ---> Running in 5c709bc66189 00:31:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:31:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:31:09 OK: 156 MiB in 53 packages 00:31:09 Removing intermediate container 5c709bc66189 00:31:09 ---> aa12454ce593 00:31:09 Step 7/24 : WORKDIR /device-mqtt-go 00:31:09 ---> Running in a6b22283f42f 00:31:09 Removing intermediate container a6b22283f42f 00:31:09 ---> 0dcbe1088a67 00:31:09 Step 8/24 : COPY . . 00:31:10 ---> 07cd7d2f0716 00:31:10 Step 9/24 : RUN go mod tidy 00:31:10 ---> Running in 981a20c081ab 00:31:10 Removing intermediate container 981a20c081ab 00:31:10 ---> 59112ea8e266 00:31:10 Step 10/24 : RUN go mod download 00:31:10 ---> Running in 356e793e4a16 00:31:11 Removing intermediate container 356e793e4a16 00:31:11 ---> 2b0c561d7a76 00:31:11 Step 11/24 : ARG MAKE='make build' 00:31:11 ---> Running in 14721a07706d 00:31:11 Removing intermediate container 14721a07706d 00:31:11 ---> 623537de672b 00:31:11 Step 12/24 : RUN $MAKE 00:31:11 ---> Running in 82a70b6e37fa 00:31:11 go mod tidy 00:31:11 ba82ee9f976e: Pull complete 00:31:11 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd 00:31:12 506bd15cee9f: Pull complete 00:31:12 75a0a4a0db45: Pull complete 00:31:17 618dc40b7e24: Pull complete 00:31:17 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 00:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:31:17 ---> a36622ca3599 00:31:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 00:31:17 ---> Running in c6c767aa8d77 00:31:18 Removing intermediate container c6c767aa8d77 00:31:18 ---> 9d6a35db9ac5 00:31:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:31:18 ---> Running in f0c31421b120 00:31:20 Removing intermediate container f0c31421b120 00:31:20 ---> 0aa8fbc2523e 00:31:20 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 00:31:20 ---> Running in 51d66eed88b2 00:31:21 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:31:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:31:23 (1/13) Installing libc-dev (0.7.2-r3) 00:31:23 (2/13) Installing libsodium (1.0.18-r0) 00:31:23 Removing intermediate container 82a70b6e37fa 00:31:23 ---> 915cb7b26403 00:31:23 Step 13/24 : FROM alpine:3.12 00:31:23 3.12: Pulling from library/alpine 00:31:23 339de151aab4: Pulling fs layer 00:31:23 339de151aab4: Verifying Checksum 00:31:23 339de151aab4: Download complete 00:31:24 339de151aab4: Pull complete 00:31:24 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 00:31:24 Status: Downloaded newer image for alpine:3.12 00:31:24 ---> 13621d1b12d4 00:31:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:31:24 ---> Running in 167f6869d9c3 00:31:24 Removing intermediate container 167f6869d9c3 00:31:24 ---> a8d1ce3c5632 00:31:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:31:24 ---> Running in 5fd9e7fb4809 00:31:24 (3/13) Installing pkgconf (1.7.3-r0) 00:31:24 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:31:24 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:31:24 (1/6) Installing dumb-init (1.2.2-r1) 00:31:24 (2/6) Installing libgcc (9.3.0-r2) 00:31:24 (3/6) Installing libsodium (1.0.18-r0) 00:31:24 (4/6) Installing libstdc++ (9.3.0-r2) 00:31:24 (5/6) Installing libzmq (4.3.3-r0) 00:31:24 (4/13) Installing libsodium-dev (1.0.18-r0) 00:31:24 (6/6) Installing zeromq (4.3.3-r0) 00:31:24 Executing busybox-1.31.1-r20.trigger 00:31:24 OK: 8 MiB in 20 packages 00:31:24 (5/13) Installing openssh-keygen (8.4_p1-r3) 00:31:25 Removing intermediate container 5fd9e7fb4809 00:31:25 ---> a9fef136330a 00:31:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:31:25 (6/13) Installing libedit (20191231.3.1-r1) 00:31:25 ---> d5f603158a6e 00:31:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:31:25 ---> b18ed6195939 00:31:25 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:31:25 (7/13) Installing openssh-client (8.4_p1-r3) 00:31:25 ---> 2e6813037669 00:31:25 Step 19/24 : EXPOSE 59982 00:31:25 ---> Running in 8a8eafaf6294 00:31:27 Removing intermediate container 8a8eafaf6294 00:31:27 ---> accdad33a4ae 00:31:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:31:27 ---> Running in dd6e17fae9bd 00:31:27 Removing intermediate container dd6e17fae9bd 00:31:27 ---> c78080ec0eb6 00:31:27 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:31:27 ---> Running in afb7bfe30ec2 00:31:27 Removing intermediate container afb7bfe30ec2 00:31:27 ---> 03ad18ab8914 00:31:27 Step 22/24 : LABEL arch=amd64 00:31:27 ---> Running in 4bbcc8431a89 00:31:27 Removing intermediate container 4bbcc8431a89 00:31:27 ---> d3bf10702f67 00:31:27 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:31:27 ---> Running in 7051c3abf9ff 00:31:27 Removing intermediate container 7051c3abf9ff 00:31:27 ---> 3713eb4d6457 00:31:27 Step 24/24 : LABEL version=2.0.1-dev.1 00:31:27 ---> Running in 6934a631e949 00:31:27 Removing intermediate container 6934a631e949 00:31:27 ---> 112493583db1 00:31:27 [Warning] One or more build-args [ARCH] were not consumed 00:31:27 Successfully built 112493583db1 00:31:27 Successfully tagged device-mqtt:latest 00:31:27 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 00:31:27 (9/13) Installing openssh-server-common (8.4_p1-r3) 00:31:27 (10/13) Installing openssh-server (8.4_p1-r3) 00:31:27 (11/13) Installing openssh (8.4_p1-r3) 00:31:27 (12/13) Installing libzmq (4.3.3-r1) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:31:28 provisioning config files... 00:31:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/63@tmp/config6485865441088829222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:28 (13/13) Installing zeromq-dev (4.3.3-r1) 00:31:28 Executing busybox-1.32.1-r6.trigger 00:31:28 OK: 145 MiB in 53 packages 00:31:28 ---> docker-login.sh 00:31:28 nexus3.edgexfoundry.org:10001 00:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:28 Configure a credential helper to remove this warning. See 00:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:28 00:31:28 Login Succeeded 00:31:28 nexus3.edgexfoundry.org:10002 00:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:28 Configure a credential helper to remove this warning. See 00:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:28 00:31:28 Login Succeeded 00:31:28 nexus3.edgexfoundry.org:10003 00:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:28 Configure a credential helper to remove this warning. See 00:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:28 00:31:28 Login Succeeded 00:31:28 nexus3.edgexfoundry.org:10004 00:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:28 Configure a credential helper to remove this warning. See 00:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:28 00:31:28 Login Succeeded 00:31:28 docker.io 00:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:29 Configure a credential helper to remove this warning. See 00:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:29 00:31:29 Login Succeeded 00:31:29 ---> docker-login.sh ends [Pipeline] } 00:31:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:31:29 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 00:31:29 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:31:29 latest 00:31:29 2.0.1-dev.1 00:31:29 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 00:31:29 master 00:31:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:31:29 Removing intermediate container 51d66eed88b2 00:31:29 ---> 7d8da285bebc 00:31:29 Step 6/8 : WORKDIR /device-mqtt-go 00:31:29 ---> Running in a17735a9c811 00:31:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 00:31:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:31:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:31:30 83eba1eae176: Preparing 00:31:30 f88fc1e337b6: Preparing 00:31:30 968797d65aa9: Preparing 00:31:30 80f92caa35b1: Preparing 00:31:30 32f366d666a5: Preparing 00:31:30 32f366d666a5: Layer already exists 00:31:30 Removing intermediate container a17735a9c811 00:31:30 ---> ad06b64e9079 00:31:30 Step 7/8 : COPY . . 00:31:30 83eba1eae176: Pushed 00:31:30 f88fc1e337b6: Pushed 00:31:30 80f92caa35b1: Pushed 00:31:31 ---> d86c233fc696 00:31:31 Step 8/8 : RUN go mod download 00:31:31 ---> Running in 8b354503b4a8 00:31:31 968797d65aa9: Pushed 00:31:31 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:57feaf939608ff014b825a391d81ff0d36e4bc0d922975138075e16a4c9960b1 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:31:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 00:31:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:31:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:31:32 83eba1eae176: Preparing 00:31:32 f88fc1e337b6: Preparing 00:31:32 968797d65aa9: Preparing 00:31:32 80f92caa35b1: Preparing 00:31:32 32f366d666a5: Preparing 00:31:32 83eba1eae176: Layer already exists 00:31:32 968797d65aa9: Layer already exists 00:31:32 32f366d666a5: Layer already exists 00:31:32 f88fc1e337b6: Layer already exists 00:31:32 80f92caa35b1: Layer already exists 00:31:32 latest: digest: sha256:57feaf939608ff014b825a391d81ff0d36e4bc0d922975138075e16a4c9960b1 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:31:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 00:31:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 00:31:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:31:33 83eba1eae176: Preparing 00:31:33 f88fc1e337b6: Preparing 00:31:33 968797d65aa9: Preparing 00:31:33 80f92caa35b1: Preparing 00:31:33 32f366d666a5: Preparing 00:31:33 32f366d666a5: Layer already exists 00:31:33 968797d65aa9: Layer already exists 00:31:33 80f92caa35b1: Layer already exists 00:31:33 f88fc1e337b6: Layer already exists 00:31:33 83eba1eae176: Layer already exists 00:31:33 2.0.1-dev.1: digest: sha256:57feaf939608ff014b825a391d81ff0d36e4bc0d922975138075e16a4c9960b1 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:31:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 00:31:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 00:31:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:31:34 83eba1eae176: Preparing 00:31:34 f88fc1e337b6: Preparing 00:31:34 968797d65aa9: Preparing 00:31:34 80f92caa35b1: Preparing 00:31:34 32f366d666a5: Preparing 00:31:34 32f366d666a5: Layer already exists 00:31:34 968797d65aa9: Layer already exists 00:31:34 f88fc1e337b6: Layer already exists 00:31:34 83eba1eae176: Layer already exists 00:31:34 80f92caa35b1: Layer already exists 00:31:34 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:57feaf939608ff014b825a391d81ff0d36e4bc0d922975138075e16a4c9960b1 size: 1365 [Pipeline] isUnix [Pipeline] sh 00:31:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 00:31:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 00:31:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:31:34 83eba1eae176: Preparing 00:31:34 f88fc1e337b6: Preparing 00:31:34 968797d65aa9: Preparing 00:31:34 80f92caa35b1: Preparing 00:31:34 32f366d666a5: Preparing 00:31:34 968797d65aa9: Layer already exists 00:31:34 80f92caa35b1: Layer already exists 00:31:34 f88fc1e337b6: Layer already exists 00:31:34 32f366d666a5: Layer already exists 00:31:34 83eba1eae176: Layer already exists 00:31:34 master: digest: sha256:57feaf939608ff014b825a391d81ff0d36e4bc0d922975138075e16a4c9960b1 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:31:34 ===================================================== [Pipeline] echo 00:31:34 taggedImages: 00:31:34 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:31:34 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:31:34 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 00:31:34 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 00:31:34 - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:31:35 ---> job-cost.sh 00:31:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2wKs 00:31:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:32:00 lf-activate-venv(): INFO: Adding /tmp/venv-2wKs/bin to PATH 00:32:00 INFO: No Stack... 00:32:00 INFO: Retrieving Pricing Info for: v3-standard-2 00:32:00 INFO: Archiving Costs 00:32:00 Removing intermediate container 8b354503b4a8 00:32:00 ---> c05e42b14112 00:32:00 Successfully built c05e42b14112 00:32:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 00:32:00 + cut -d, -f6 00:32:00 + cat /w/workspace/device-mqtt-go/63/archives/cost.csv [Pipeline] lock 00:32:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-63-stack-cost] 00:32:00 Resource [jenkins-edgexfoundry-device-mqtt-go-master-63-stack-cost] did not exist. Created. 00:32:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-63-stack-cost] [Pipeline] { [Pipeline] unstash 00:32:00 + docker inspect -f . ci-base-image-arm64 00:32:00 . [Pipeline] sh [Pipeline] withDockerContainer 00:32:00 + echo total: 0.05999999865889549 00:32:00 prd-ubuntu18.04-docker-arm64-4c-16g-1078 does not seem to be running inside a container 00:32:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/63 -v /w/workspace/device-mqtt-go/63:/w/workspace/device-mqtt-go/63:rw,z -v /w/workspace/device-mqtt-go/63@tmp:/w/workspace/device-mqtt-go/63@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 ******** -e ******** ci-base-image-arm64 cat 00:32:02 $ docker top b3f9dfeaa1b2262db60243795bfffd3d20fda954dd96111c379644d369dc3461 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 00:32:02 Stashed 1 file(s) [Pipeline] } 00:32:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-63-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:32:03 + go version 00:32:03 go version go1.16.5 linux/arm64 [Pipeline] } 00:32:03 $ docker stop --time=1 b3f9dfeaa1b2262db60243795bfffd3d20fda954dd96111c379644d369dc3461 00:32:05 $ docker rm -f b3f9dfeaa1b2262db60243795bfffd3d20fda954dd96111c379644d369dc3461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:32:05 + docker inspect -f . ci-base-image-arm64 00:32:05 . [Pipeline] withDockerContainer 00:32:06 prd-ubuntu18.04-docker-arm64-4c-16g-1078 does not seem to be running inside a container 00:32:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/63 -v /w/workspace/device-mqtt-go/63:/w/workspace/device-mqtt-go/63:rw,z -v /w/workspace/device-mqtt-go/63@tmp:/w/workspace/device-mqtt-go/63@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 ******** -e ******** ci-base-image-arm64 cat 00:32:07 $ docker top 30e52afc67da597bbf7809a79376970ca5c01355c0e4e1354436db6f51ea8a81 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:08 + go mod tidy [Pipeline] sh 00:32:10 + make test 00:32:10 go mod tidy 00:32:10 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:32:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:33:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:33:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.053s coverage: 24.3% of statements 00:33:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:33:09 GCO_ENABLED=1 GO111MODULE=on go vet ./... 00:33:36 gofmt -l . 00:33:36 ["`gofmt -l .`" = ""] 00:33:36 ./bin/test-attribution-txt.sh [Pipeline] } 00:33:36 $ docker stop --time=1 30e52afc67da597bbf7809a79376970ca5c01355c0e4e1354436db6f51ea8a81 00:33:38 $ docker rm -f 30e52afc67da597bbf7809a79376970ca5c01355c0e4e1354436db6f51ea8a81 [Pipeline] // withDockerContainer [Pipeline] sh 00:33:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:33:39 Warning: overwriting stash ‘coverage-report’ 00:33:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:33:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:33:40 + ls -al . 00:33:40 total 144 00:33:40 drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 00:33 . 00:33:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 00:30 .. 00:33:40 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 00:30 .dockerignore 00:33:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 00:30 .git 00:33:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 00:30 .github 00:33:40 -rw-rw-r-- 1 jenkins jenkins 336 Jul 1 00:30 .gitignore 00:33:40 -rw-rw-r-- 1 jenkins jenkins 7100 Jul 1 00:30 Attribution.txt 00:33:40 -rw-rw-r-- 1 jenkins jenkins 7447 Jul 1 00:30 CHANGELOG.md 00:33:40 -rw-rw-r-- 1 jenkins jenkins 1877 Jul 1 00:30 Dockerfile 00:33:40 -rw-rw-r-- 1 jenkins jenkins 994 Jul 1 00:30 Dockerfile.build 00:33:40 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 00:30 Jenkinsfile 00:33:40 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 00:30 LICENSE 00:33:40 -rw-rw-r-- 1 jenkins jenkins 907 Jul 1 00:30 Makefile 00:33:40 -rw-rw-r-- 1 jenkins jenkins 2217 Jul 1 00:30 README.md 00:33:40 -rw-rw-r-- 1 jenkins jenkins 11 Jul 1 00:25 VERSION 00:33:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 00:30 bin 00:33:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:30 cmd 00:33:40 -rw-r--r-- 1 jenkins jenkins 16226 Jul 1 00:33 coverage.out 00:33:40 -rw-rw-r-- 1 jenkins jenkins 388 Jul 1 00:30 go.mod 00:33:40 -rw-r--r-- 1 jenkins jenkins 20775 Jul 1 00:32 go.sum 00:33:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:30 internal 00:33:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 00:30 mock 00:33:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 00:30 snap 00:33:40 -rw-rw-r-- 1 jenkins jenkins 227 Jul 1 00:30 version.go [Pipeline] isUnix [Pipeline] sh 00:33:41 + 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=2.0.1-dev.1 . 00:33:41 Sending build context to Docker daemon 673.8kB 00:33:41 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 00:33:41 Step 2/24 : FROM ${BASE} AS builder 00:33:41 ---> c05e42b14112 00:33:41 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:33:41 ---> Running in e5f276ca21ab 00:33:42 Removing intermediate container e5f276ca21ab 00:33:42 ---> ce7512509e8a 00:33:42 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 00:33:42 ---> Running in 0898d32eaa79 00:33:43 Removing intermediate container 0898d32eaa79 00:33:43 ---> 23b942f5073a 00:33:43 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:33:43 ---> Running in 1d7cf09464da 00:33:45 Removing intermediate container 1d7cf09464da 00:33:45 ---> 199fc1f19b1a 00:33:45 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:45 ---> Running in b8bcfc3bd6df 00:33:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:33:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:33:49 OK: 145 MiB in 53 packages 00:33:50 Removing intermediate container b8bcfc3bd6df 00:33:50 ---> cf8a85241760 00:33:50 Step 7/24 : WORKDIR /device-mqtt-go 00:33:50 ---> Running in 66e0c3f70bcb 00:33:50 Removing intermediate container 66e0c3f70bcb 00:33:50 ---> c865a2276c82 00:33:50 Step 8/24 : COPY . . 00:33:51 ---> 35cf135bf1e6 00:33:51 Step 9/24 : RUN go mod tidy 00:33:51 ---> Running in 468c6718427a 00:33:58 Removing intermediate container 468c6718427a 00:33:58 ---> 4097272327cb 00:33:58 Step 10/24 : RUN go mod download 00:33:58 ---> Running in 7f63f9a60782 00:33:58 Removing intermediate container 7f63f9a60782 00:33:58 ---> 850a3620ae9a 00:33:58 Step 11/24 : ARG MAKE='make build' 00:33:58 ---> Running in b5565ca1e8d4 00:33:58 Removing intermediate container b5565ca1e8d4 00:33:58 ---> da7838b802db 00:33:58 Step 12/24 : RUN $MAKE 00:33:58 ---> Running in 0cfe94d48afb 00:33:59 go mod tidy 00:33:59 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd 00:34:38 Removing intermediate container 0cfe94d48afb 00:34:38 ---> 2489b5bada82 00:34:38 Step 13/24 : FROM alpine:3.12 00:34:38 3.12: Pulling from library/alpine 00:34:38 d2f70382dc9a: Pulling fs layer 00:34:38 d2f70382dc9a: Verifying Checksum 00:34:38 d2f70382dc9a: Download complete 00:34:38 d2f70382dc9a: Pull complete 00:34:38 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 00:34:38 Status: Downloaded newer image for alpine:3.12 00:34:38 ---> c4fd0aeabfcf 00:34:38 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:34:39 ---> Running in 28a76e86523c 00:34:39 Removing intermediate container 28a76e86523c 00:34:39 ---> 86d6604aecda 00:34:39 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:34:39 ---> Running in 05c50fb6c8ec 00:34:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:34:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:34:41 (1/6) Installing dumb-init (1.2.2-r1) 00:34:41 (2/6) Installing libgcc (9.3.0-r2) 00:34:41 (3/6) Installing libsodium (1.0.18-r0) 00:34:41 (4/6) Installing libstdc++ (9.3.0-r2) 00:34:41 (5/6) Installing libzmq (4.3.3-r0) 00:34:41 (6/6) Installing zeromq (4.3.3-r0) 00:34:41 Executing busybox-1.31.1-r20.trigger 00:34:41 OK: 8 MiB in 20 packages 00:34:42 Removing intermediate container 05c50fb6c8ec 00:34:42 ---> cbdf6e2e116b 00:34:42 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:34:45 ---> 42f4ea92032f 00:34:45 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:34:45 ---> f8b14d4cd76e 00:34:45 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:34:45 ---> a79fc3b3b833 00:34:45 Step 19/24 : EXPOSE 59982 00:34:45 ---> Running in c84bbae2417d 00:34:46 Removing intermediate container c84bbae2417d 00:34:46 ---> c735e3861ede 00:34:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:34:46 ---> Running in 84ab2c00a2f8 00:34:46 Removing intermediate container 84ab2c00a2f8 00:34:46 ---> 14bff5237635 00:34:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:34:46 ---> Running in 15f7b0e6ef34 00:34:47 Removing intermediate container 15f7b0e6ef34 00:34:47 ---> 89f5ff56415e 00:34:47 Step 22/24 : LABEL arch=arm64 00:34:47 ---> Running in 9214af7d332a 00:34:48 Removing intermediate container 9214af7d332a 00:34:48 ---> eb170f50dd77 00:34:48 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:34:48 ---> Running in ff0d7d24b2f8 00:34:48 Removing intermediate container ff0d7d24b2f8 00:34:48 ---> 0786839d2e8f 00:34:48 Step 24/24 : LABEL version=2.0.1-dev.1 00:34:48 ---> Running in 2dad6e913971 00:34:49 Removing intermediate container 2dad6e913971 00:34:49 ---> e159edbdd9eb 00:34:49 [Warning] One or more build-args [ARCH] were not consumed 00:34:49 Successfully built e159edbdd9eb 00:34:49 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 00:34:49 provisioning config files... 00:34:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/63@tmp/config3048011108309423186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:49 ---> docker-login.sh 00:34:49 nexus3.edgexfoundry.org:10001 00:34:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:50 Configure a credential helper to remove this warning. See 00:34:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:50 00:34:50 Login Succeeded 00:34:50 nexus3.edgexfoundry.org:10002 00:34:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:51 Configure a credential helper to remove this warning. See 00:34:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:51 00:34:51 Login Succeeded 00:34:51 nexus3.edgexfoundry.org:10003 00:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:51 Configure a credential helper to remove this warning. See 00:34:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:51 00:34:51 Login Succeeded 00:34:51 nexus3.edgexfoundry.org:10004 00:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:52 Configure a credential helper to remove this warning. See 00:34:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:52 00:34:52 Login Succeeded 00:34:52 docker.io 00:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:52 Configure a credential helper to remove this warning. See 00:34:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:52 00:34:52 Login Succeeded 00:34:52 ---> docker-login.sh ends [Pipeline] } 00:34:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:34:53 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 00:34:53 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:34:53 latest 00:34:53 2.0.1-dev.1 00:34:53 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 00:34:53 master 00:34:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:34:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 00:34:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:34:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:34:53 7421d338942b: Preparing 00:34:53 61b5090a45fc: Preparing 00:34:53 5f488928303a: Preparing 00:34:53 39ff4b90dca5: Preparing 00:34:53 3fbe34a1663b: Preparing 00:34:54 3fbe34a1663b: Layer already exists 00:34:54 61b5090a45fc: Pushed 00:34:54 7421d338942b: Pushed 00:34:54 39ff4b90dca5: Pushed 00:34:57 5f488928303a: Pushed 00:34:57 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:c399fe5897538cea9b3490538f9ea031a5a533c2cb63eff885d5aaf2e7d4c4ae size: 1365 [Pipeline] isUnix [Pipeline] sh 00:34:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:34:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:34:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:34:57 7421d338942b: Preparing 00:34:57 61b5090a45fc: Preparing 00:34:57 5f488928303a: Preparing 00:34:57 39ff4b90dca5: Preparing 00:34:57 3fbe34a1663b: Preparing 00:34:57 3fbe34a1663b: Layer already exists 00:34:57 5f488928303a: Layer already exists 00:34:57 61b5090a45fc: Layer already exists 00:34:57 39ff4b90dca5: Layer already exists 00:34:57 7421d338942b: Layer already exists 00:34:58 latest: digest: sha256:c399fe5897538cea9b3490538f9ea031a5a533c2cb63eff885d5aaf2e7d4c4ae size: 1365 [Pipeline] isUnix [Pipeline] sh 00:34:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 00:34:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 00:34:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:34:58 7421d338942b: Preparing 00:34:58 61b5090a45fc: Preparing 00:34:58 5f488928303a: Preparing 00:34:58 39ff4b90dca5: Preparing 00:34:58 3fbe34a1663b: Preparing 00:34:59 5f488928303a: Layer already exists 00:34:59 39ff4b90dca5: Layer already exists 00:34:59 61b5090a45fc: Layer already exists 00:34:59 3fbe34a1663b: Layer already exists 00:34:59 7421d338942b: Layer already exists 00:34:59 2.0.1-dev.1: digest: sha256:c399fe5897538cea9b3490538f9ea031a5a533c2cb63eff885d5aaf2e7d4c4ae size: 1365 [Pipeline] isUnix [Pipeline] sh 00:34:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 00:34:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 00:34:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:34:59 7421d338942b: Preparing 00:34:59 61b5090a45fc: Preparing 00:34:59 5f488928303a: Preparing 00:34:59 39ff4b90dca5: Preparing 00:34:59 3fbe34a1663b: Preparing 00:35:00 61b5090a45fc: Layer already exists 00:35:00 39ff4b90dca5: Layer already exists 00:35:00 5f488928303a: Layer already exists 00:35:00 3fbe34a1663b: Layer already exists 00:35:00 7421d338942b: Layer already exists 00:35:00 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:c399fe5897538cea9b3490538f9ea031a5a533c2cb63eff885d5aaf2e7d4c4ae size: 1365 [Pipeline] isUnix [Pipeline] sh 00:35:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 00:35:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 00:35:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:35:00 7421d338942b: Preparing 00:35:00 61b5090a45fc: Preparing 00:35:00 5f488928303a: Preparing 00:35:00 39ff4b90dca5: Preparing 00:35:00 3fbe34a1663b: Preparing 00:35:00 3fbe34a1663b: Layer already exists 00:35:00 5f488928303a: Layer already exists 00:35:00 39ff4b90dca5: Layer already exists 00:35:00 61b5090a45fc: Layer already exists 00:35:03 7421d338942b: Layer already exists 00:35:03 master: digest: sha256:c399fe5897538cea9b3490538f9ea031a5a533c2cb63eff885d5aaf2e7d4c4ae size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:35:03 ===================================================== [Pipeline] echo 00:35:03 taggedImages: 00:35:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 00:35:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:35:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 00:35:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 00:35:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:35:03 ---> job-cost.sh 00:35:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pTMH 00:35:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:37:38 lf-activate-venv(): INFO: Adding /tmp/venv-pTMH/bin to PATH 00:37:38 INFO: No Stack... 00:37:38 INFO: Retrieving Pricing Info for: v2-standard-4 00:37:38 INFO: Archiving Costs [Pipeline] sh 00:37:38 + cut -d, -f6 00:37:38 + cat /w/workspace/device-mqtt-go/63/archives/cost.csv [Pipeline] lock 00:37:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-63-stack-cost] 00:37:38 Resource [jenkins-edgexfoundry-device-mqtt-go-master-63-stack-cost] did not exist. Created. 00:37:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:37:39 /w/workspace/device-mqtt-go/63@tmp/durable-a9f298d6/script.sh: 1: /w/workspace/device-mqtt-go/63@tmp/durable-a9f298d6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:37:39 + echo total: 0.18000000715255737 [Pipeline] stash 00:37:39 Warning: overwriting stash ‘stack-cost’ 00:37:39 Stashed 1 file(s) [Pipeline] } 00:37:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-63-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 00:37:40 provisioning config files... 00:37:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6056513015943628631tmp [Pipeline] { [Pipeline] sh 00:37:40 + set +x 00:37:40 + curl -s https://codecov.io/bash 00:37:40 + bash -s -- 00:37:40 00:37:40 _____ _ 00:37:40 / ____| | | 00:37:40 | | ___ __| | ___ ___ _____ __ 00:37:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:37:40 | |___| (_) | (_| | __/ (_| (_) \ V / 00:37:40 \_____\___/ \__,_|\___|\___\___/ \_/ 00:37:40 Bash-1.0.3 00:37:40 00:37:40 00:37:40 ==> git version 2.24.4 found 00:37:40 ==> 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 00:37:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:37:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:37:40 ==> Jenkins CI detected. 00:37:40 project root: . 00:37:40 --> token set from env 00:37:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:37:40 ==> Running gcov in . (disable via -X gcov) 00:37:41 ==> Python coveragepy not found 00:37:41 ==> Searching for coverage reports in: 00:37:41 + . 00:37:41 -> Found 1 reports 00:37:41 ==> Detecting git/mercurial file structure 00:37:41 ==> Reading reports 00:37:41 + ./coverage.out bytes=16226 00:37:41 ==> Appending adjustments 00:37:41 https://docs.codecov.io/docs/fixing-reports 00:37:41 + Found adjustments 00:37:41 ==> Gzipping contents 00:37:41 4.0K /tmp/codecov.05fdmL.gz 00:37:41 ==> Uploading reports 00:37:41 url: https://codecov.io 00:37:41 query: branch=master&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:37:41 -> Pinging Codecov 00:37:41 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:37:41 -> Uploading to 00:37:41 https://storage.googleapis.com/codecov/v4/raw/2021-07-01/7D719EC7BBE17E464838252E33014C33/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604/17237ef8-2a80-46c3-b517-a7737ae16c0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210701T003741Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=303d7b13b5d19f5cf6fbd2016095881eefb6998185705023417ec9bbc148c3ac 00:37:41 % Total % Received % Xferd Average Speed Time Time Time Current 00:37:41 Dload Upload Total Spent Left Speed 00:37:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 3178 0 0 100 3178 0 2261 0:00:01 0:00:01 --:--:-- 2261 00:37:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] } 00:37:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:37:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:37:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:37:46 00:37:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:37:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:37:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:37:46 188c0c94c7c5: Pulling fs layer 00:37:46 0ef7d3d256c8: Pulling fs layer 00:37:46 de9db76c5a1d: Pulling fs layer 00:37:46 0eba1c9be4d2: Pulling fs layer 00:37:46 0d57e429df01: Pulling fs layer 00:37:46 4e4be7b47b0d: Pulling fs layer 00:37:46 e1f770b5df2f: Pulling fs layer 00:37:46 85a0685a4137: Pulling fs layer 00:37:46 0eba1c9be4d2: Waiting 00:37:46 0d57e429df01: Waiting 00:37:46 4e4be7b47b0d: Waiting 00:37:46 e1f770b5df2f: Waiting 00:37:46 85a0685a4137: Waiting 00:37:46 de9db76c5a1d: Verifying Checksum 00:37:46 de9db76c5a1d: Download complete 00:37:46 0ef7d3d256c8: Verifying Checksum 00:37:46 0ef7d3d256c8: Download complete 00:37:46 0d57e429df01: Verifying Checksum 00:37:46 0d57e429df01: Download complete 00:37:46 4e4be7b47b0d: Verifying Checksum 00:37:46 4e4be7b47b0d: Download complete 00:37:46 188c0c94c7c5: Verifying Checksum 00:37:46 188c0c94c7c5: Download complete 00:37:46 188c0c94c7c5: Pull complete 00:37:47 0ef7d3d256c8: Pull complete 00:37:47 de9db76c5a1d: Pull complete 00:37:48 e1f770b5df2f: Verifying Checksum 00:37:48 e1f770b5df2f: Download complete 00:37:50 0eba1c9be4d2: Verifying Checksum 00:37:50 0eba1c9be4d2: Download complete 00:37:50 85a0685a4137: Verifying Checksum 00:37:50 85a0685a4137: Download complete 00:37:53 0eba1c9be4d2: Pull complete 00:37:53 0d57e429df01: Pull complete 00:37:53 4e4be7b47b0d: Pull complete 00:37:54 e1f770b5df2f: Pull complete 00:37:57 85a0685a4137: Pull complete 00:37:57 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:37:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:37:57 prd-centos7-docker-4c-2g-1077 does not seem to be running inside a container 00:37:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:37:59 $ docker top 3b2f4d4b144476d33d67017b1b7e73c12151c7e26a1498c3dda02c7294c63b72 -eo pid,comm [Pipeline] { [Pipeline] echo 00:37:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:38:00 + set -o pipefail 00:38:00 + snyk monitor '--org=edgex-jenkins' 00:38:06 00:38:06 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 00:38:06 00:38:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/2f394ced-b6d7-4871-a723-8d3d20a51b9a 00:38:06 00:38:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:38:06 00:38:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:38:06 00:38:06 [Pipeline] } 00:38:06 $ docker stop --time=1 3b2f4d4b144476d33d67017b1b7e73c12151c7e26a1498c3dda02c7294c63b72 00:38:08 $ docker rm -f 3b2f4d4b144476d33d67017b1b7e73c12151c7e26a1498c3dda02c7294c63b72 [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 00:38:09 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 00:38:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:10 . [Pipeline] withDockerContainer 00:38:10 prd-centos7-docker-4c-2g-1077 does not seem to be running inside a container 00:38:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:38:10 $ docker top ae6af75636bf2dce7accb01792055dfcdad31fb1d0e4480168435ee5e596fb48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:38:10 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.29|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:38:10 + git semver [Pipeline] } 00:38:10 $ docker stop --time=1 ae6af75636bf2dce7accb01792055dfcdad31fb1d0e4480168435ee5e596fb48 00:38:12 $ docker rm -f ae6af75636bf2dce7accb01792055dfcdad31fb1d0e4480168435ee5e596fb48 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:38:12 00:38:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:38:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:38:12 0.23.1-centos7: Pulling from edgex-lftools 00:38:12 ab5ef0e58194: Pulling fs layer 00:38:12 9712f1f96733: Pulling fs layer 00:38:12 63f879dbbcfc: Pulling fs layer 00:38:12 0d9ebad4ef96: Pulling fs layer 00:38:12 e9a5061849ea: Pulling fs layer 00:38:12 d747dcd14b5f: Pulling fs layer 00:38:12 2de7ff778b66: Pulling fs layer 00:38:12 e9a5061849ea: Waiting 00:38:12 d747dcd14b5f: Waiting 00:38:12 2de7ff778b66: Waiting 00:38:12 0d9ebad4ef96: Waiting 00:38:12 9712f1f96733: Verifying Checksum 00:38:12 9712f1f96733: Download complete 00:38:14 63f879dbbcfc: Verifying Checksum 00:38:14 63f879dbbcfc: Download complete 00:38:15 e9a5061849ea: Download complete 00:38:15 d747dcd14b5f: Verifying Checksum 00:38:15 d747dcd14b5f: Download complete 00:38:15 2de7ff778b66: Verifying Checksum 00:38:15 2de7ff778b66: Download complete 00:38:15 0d9ebad4ef96: Verifying Checksum 00:38:15 0d9ebad4ef96: Download complete 00:38:15 ab5ef0e58194: Verifying Checksum 00:38:15 ab5ef0e58194: Download complete 00:38:18 ab5ef0e58194: Pull complete 00:38:18 9712f1f96733: Pull complete 00:38:18 63f879dbbcfc: Pull complete 00:38:22 0d9ebad4ef96: Pull complete 00:38:22 e9a5061849ea: Pull complete 00:38:22 d747dcd14b5f: Pull complete 00:38:23 2de7ff778b66: Pull complete 00:38:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:38:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:38:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:38:23 prd-centos7-docker-4c-2g-1077 does not seem to be running inside a container 00:38:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:38:26 $ docker top 619697ab29cae8decd50430fa6984f86bd87df5db6595233cd9743ad45a1c367 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:38:26 provisioning config files... 00:38:26 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1916401751842354660tmp 00:38:26 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5429470991042624270tmp 00:38:26 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config866838578082796078tmp [Pipeline] { [Pipeline] echo 00:38:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:38:27 ---> sigul-configuration.sh 00:38:27 gpg: directory `/root/.gnupg' created 00:38:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:38:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:38:27 gpg: keyring `/root/.gnupg/secring.gpg' created 00:38:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:38:27 gpg: CAST5 encrypted data 00:38:27 gpg: encrypted with 1 passphrase 00:38:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:38:27 + mkdir /home/jenkins 00:38:27 + mkdir /home/jenkins/sigul [Pipeline] sh 00:38:27 + 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 00:38:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:38:27 ---> sigul-install.sh 00:38:33 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 00:38:33 + git tag --list 00:38:33 0.7.1 00:38:33 v1.0.0 00:38:33 v1.1.0 00:38:33 v1.1.1 00:38:33 v1.2.2 00:38:33 v1.3.0 00:38:33 v1.3.1 00:38:33 v1.3.1-dev.1 00:38:33 v1.3.1-dev.2 00:38:33 v1.3.1-dev.3 00:38:33 v1.3.1-dev.4 00:38:33 v1.3.2-dev.1 00:38:33 v1.3.2-dev.10 00:38:33 v1.3.2-dev.11 00:38:33 v1.3.2-dev.12 00:38:33 v1.3.2-dev.13 00:38:33 v1.3.2-dev.14 00:38:33 v1.3.2-dev.15 00:38:33 v1.3.2-dev.16 00:38:33 v1.3.2-dev.17 00:38:33 v1.3.2-dev.18 00:38:33 v1.3.2-dev.19 00:38:33 v1.3.2-dev.2 00:38:33 v1.3.2-dev.20 00:38:33 v1.3.2-dev.21 00:38:33 v1.3.2-dev.22 00:38:33 v1.3.2-dev.23 00:38:33 v1.3.2-dev.24 00:38:33 v1.3.2-dev.25 00:38:33 v1.3.2-dev.26 00:38:33 v1.3.2-dev.27 00:38:33 v1.3.2-dev.28 00:38:33 v1.3.2-dev.29 00:38:33 v1.3.2-dev.3 00:38:33 v1.3.2-dev.4 00:38:33 v1.3.2-dev.5 00:38:33 v1.3.2-dev.6 00:38:33 v1.3.2-dev.7 00:38:33 v1.3.2-dev.8 00:38:33 v1.3.2-dev.9 00:38:33 v2.0.0 [Pipeline] sh 00:38:34 + lftools sign git-tag v2.0.1-dev.1 00:38:34 Signing Git tag with Sigul... 00:38:34 Signing v2.0.1-dev.1 00:38:34 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.1'], return code 1, stdout , stderr [Pipeline] echo 00:38:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:38:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:38:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:38:34 $ docker stop --time=1 619697ab29cae8decd50430fa6984f86bd87df5db6595233cd9743ad45a1c367 00:38:36 $ docker rm -f 619697ab29cae8decd50430fa6984f86bd87df5db6595233cd9743ad45a1c367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:38:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:37 . [Pipeline] withDockerContainer 00:38:37 prd-centos7-docker-4c-2g-1077 does not seem to be running inside a container 00:38:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:38:37 $ docker top 1acb79b3ee099c216b6ad20b3c35db7455fccf0d1dec0f6e63e66f5f0256b916 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:38:37 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.29|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:38:38 + git semver [Pipeline] } 00:38:38 $ docker stop --time=1 1acb79b3ee099c216b6ad20b3c35db7455fccf0d1dec0f6e63e66f5f0256b916 00:38:39 $ docker rm -f 1acb79b3ee099c216b6ad20b3c35db7455fccf0d1dec0f6e63e66f5f0256b916 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:38:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:38:39 . [Pipeline] withDockerContainer 00:38:40 prd-centos7-docker-4c-2g-1077 does not seem to be running inside a container 00:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:38:40 $ docker top 96f67ae71247a80cde1b20420461300a49fdbca13354fb9775df8c83dad957b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:38:40 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.29|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:38:40 + git semver [Pipeline] } 00:38:40 $ docker stop --time=1 96f67ae71247a80cde1b20420461300a49fdbca13354fb9775df8c83dad957b6 00:38:42 $ docker rm -f 96f67ae71247a80cde1b20420461300a49fdbca13354fb9775df8c83dad957b6 [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 00:38:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:38:43 ---> package-listing.sh 00:38:43 ++ facter osfamily 00:38:43 ++ tr '[:upper:]' '[:lower:]' 00:38:44 + OS_FAMILY=redhat 00:38:44 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 00:38:44 + START_PACKAGES=/tmp/packages_start.txt 00:38:44 + END_PACKAGES=/tmp/packages_end.txt 00:38:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:44 + PACKAGES=/tmp/packages_start.txt 00:38:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 00:38:44 + PACKAGES=/tmp/packages_end.txt 00:38:44 + case "${OS_FAMILY}" in 00:38:44 + rpm -qa 00:38:44 + sort 00:38:46 + '[' -f /tmp/packages_start.txt ']' 00:38:46 + '[' -f /tmp/packages_end.txt ']' 00:38:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 00:38:46 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 00:38:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 00:38:46 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 00:38:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:47 00:38:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:38:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:47 alpine: Pulling from edgex-lftools-log-publisher 00:38:47 df20fa9351a1: Pulling fs layer 00:38:47 36b3adc4ff6f: Pulling fs layer 00:38:47 8ad3a11d3b57: Pulling fs layer 00:38:47 46f8f816bc3b: Pulling fs layer 00:38:47 93b61091891f: Pulling fs layer 00:38:47 93b9cdb0e59b: Pulling fs layer 00:38:47 5e14af77c1be: Pulling fs layer 00:38:47 01666e4c0597: Pulling fs layer 00:38:47 aa168da1d23b: Pulling fs layer 00:38:47 93b9cdb0e59b: Waiting 00:38:47 5e14af77c1be: Waiting 00:38:47 01666e4c0597: Waiting 00:38:47 aa168da1d23b: Waiting 00:38:47 46f8f816bc3b: Waiting 00:38:47 93b61091891f: Waiting 00:38:47 36b3adc4ff6f: Verifying Checksum 00:38:47 36b3adc4ff6f: Download complete 00:38:47 46f8f816bc3b: Verifying Checksum 00:38:47 46f8f816bc3b: Download complete 00:38:48 93b61091891f: Verifying Checksum 00:38:48 93b61091891f: Download complete 00:38:48 93b9cdb0e59b: Verifying Checksum 00:38:48 93b9cdb0e59b: Download complete 00:38:48 5e14af77c1be: Verifying Checksum 00:38:48 5e14af77c1be: Download complete 00:38:48 01666e4c0597: Verifying Checksum 00:38:48 01666e4c0597: Download complete 00:38:48 df20fa9351a1: Verifying Checksum 00:38:48 df20fa9351a1: Download complete 00:38:48 df20fa9351a1: Pull complete 00:38:48 36b3adc4ff6f: Pull complete 00:38:48 8ad3a11d3b57: Verifying Checksum 00:38:48 8ad3a11d3b57: Download complete 00:38:49 8ad3a11d3b57: Pull complete 00:38:49 46f8f816bc3b: Pull complete 00:38:49 93b61091891f: Pull complete 00:38:49 93b9cdb0e59b: Pull complete 00:38:49 5e14af77c1be: Pull complete 00:38:49 01666e4c0597: Pull complete 00:38:50 aa168da1d23b: Verifying Checksum 00:38:50 aa168da1d23b: Download complete 00:38:54 aa168da1d23b: Pull complete 00:38:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:38:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:38:54 prd-centos7-docker-4c-2g-1077 does not seem to be running inside a container 00:38:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:38:56 $ docker top 39f6e8b5f19fbffc15d482814c34442a21e6ae2b1f10df4f09b3d48c8e042f51 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:57 + touch /tmp/pre-build-complete [Pipeline] sh 00:38:57 + mkdir -p /var/log/sa [Pipeline] sh 00:38:57 + ls /var/log/sa-host 00:38:57 + sadf -c /var/log/sa-host/sa01 00:38:57 file_magic: OK 00:38:57 HZ: Using current value: 100 00:38:57 file_header: OK 00:38:57 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 00:38:57 Statistics: 00:38:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:38:57 File successfully converted to sysstat format version 12.2.1 00:38:57 + sadf -c /var/log/sa-host/sa05 00:38:57 file_magic: OK 00:38:57 HZ: Using current value: 100 00:38:57 file_header: OK 00:38:57 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 00:38:57 Statistics: 00:38:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:38:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:39:00 provisioning config files... 00:39:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5005170075236443066tmp [Pipeline] { [Pipeline] echo 00:39:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:39:01 ---> create-netrc.sh [Pipeline] } 00:39:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:39:01 ---> python-tools-install.sh [Pipeline] echo 00:39:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:39:01 ---> sudo-logs.sh 00:39:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:39:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:39:02 ---> job-cost.sh 00:39:02 lf-activate-venv: SKIPPING 00:39:02 DEBUG: total: 0.18000000715255737 00:39:02 INFO: Retrieving Stack Cost... 00:39:03 INFO: Retrieving Pricing Info for: v3-standard-2 00:39:03 INFO: Archiving Costs [Pipeline] echo 00:39:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:39:04 ---> logs-deploy.sh 00:39:04 lf-activate-venv: SKIPPING 00:39:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/63 00:39:04 INFO: archiving workspace using pattern(s): 00:39:04 Archives upload complete. 00:39:04 INFO: archiving logs to Nexus 00:39:05 ---> uname -a: 00:39:05 Linux prd-centos7-docker-4c-2g-1077.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 00:39:05 00:39:05 00:39:05 ---> lscpu: 00:39:05 Architecture: x86_64 00:39:05 CPU op-mode(s): 32-bit, 64-bit 00:39:05 Byte Order: Little Endian 00:39:05 Address sizes: 40 bits physical, 48 bits virtual 00:39:05 CPU(s): 2 00:39:05 On-line CPU(s) list: 0,1 00:39:05 Thread(s) per core: 1 00:39:05 Core(s) per socket: 1 00:39:05 Socket(s): 2 00:39:05 NUMA node(s): 1 00:39:05 Vendor ID: AuthenticAMD 00:39:05 CPU family: 23 00:39:05 Model: 49 00:39:05 Model name: AMD EPYC-Rome Processor 00:39:05 Stepping: 0 00:39:05 CPU MHz: 2800.000 00:39:05 BogoMIPS: 5600.00 00:39:05 Virtualization: AMD-V 00:39:05 Hypervisor vendor: KVM 00:39:05 Virtualization type: full 00:39:05 L1d cache: 64 KiB 00:39:05 L1i cache: 64 KiB 00:39:05 L2 cache: 1 MiB 00:39:05 L3 cache: 32 MiB 00:39:05 NUMA node0 CPU(s): 0,1 00:39:05 Vulnerability Itlb multihit: Not affected 00:39:05 Vulnerability L1tf: Not affected 00:39:05 Vulnerability Mds: Not affected 00:39:05 Vulnerability Meltdown: Not affected 00:39:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:39:05 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:39:05 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:39:05 Vulnerability Srbds: Not affected 00:39:05 Vulnerability Tsx async abort: Not affected 00:39:05 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 00:39:05 00:39:05 00:39:05 ---> nproc: 00:39:05 2 00:39:05 00:39:05 00:39:05 ---> df -h: 00:39:05 Filesystem Size Used Available Use% Mounted on 00:39:05 overlay 40.0G 8.9G 31.1G 22% / 00:39:05 tmpfs 64.0M 0 64.0M 0% /dev 00:39:05 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 00:39:05 shm 64.0M 0 64.0M 0% /dev/shm 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 00:39:05 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 00:39:05 00:39:05 00:39:05 ---> free -m: 00:39:05 total used free shared buff/cache available 00:39:05 Mem: 7821 1268 3167 0 3384 6470 00:39:05 Swap: 1023 0 1023 00:39:05 00:39:05 00:39:05 ---> ip addr: 00:39:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:39:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:05 inet 127.0.0.1/8 scope host lo 00:39:05 valid_lft forever preferred_lft forever 00:39:05 inet6 ::1/128 scope host 00:39:05 valid_lft forever preferred_lft forever 00:39:05 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:39:05 link/ether fa:16:3e:86:60:06 brd ff:ff:ff:ff:ff:ff 00:39:05 inet 10.30.122.112/23 brd 10.30.123.255 scope global dynamic eth0 00:39:05 valid_lft 85568sec preferred_lft 85568sec 00:39:05 inet6 fe80::f816:3eff:fe86:6006/64 scope link 00:39:05 valid_lft forever preferred_lft forever 00:39:05 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:39:05 link/ether 02:42:db:1c:37:da brd ff:ff:ff:ff:ff:ff 00:39:05 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:39:05 valid_lft forever preferred_lft forever 00:39:05 inet6 fe80::42:dbff:fe1c:37da/64 scope link 00:39:05 valid_lft forever preferred_lft forever 00:39:05 00:39:05 00:39:05 ---> sar -b -r -n DEV: 00:39:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/01/21 _x86_64_ (2 CPU) 00:39:05 00:39:05 00:25:03 LINUX RESTART (2 CPU) 00:39:05 00:39:05 00:26:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:39:05 00:27:01 3.51 0.03 3.48 0.00 1.07 111.58 0.00 00:39:05 00:28:01 0.38 0.00 0.38 0.00 0.00 5.95 0.00 00:39:05 00:29:01 0.33 0.00 0.33 0.00 0.00 4.88 0.00 00:39:05 00:30:01 0.17 0.00 0.17 0.00 0.00 1.75 0.00 00:39:05 00:31:01 0.27 0.00 0.27 0.00 0.00 3.66 0.00 00:39:05 00:32:01 0.38 0.00 0.38 0.00 0.00 5.81 0.00 00:39:05 00:33:01 0.13 0.00 0.13 0.00 0.00 2.28 0.00 00:39:05 00:34:01 0.27 0.00 0.27 0.00 0.00 3.35 0.00 00:39:05 00:35:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 00:39:05 00:36:01 0.23 0.00 0.23 0.00 0.00 3.20 0.00 00:39:05 00:37:01 0.22 0.00 0.22 0.00 0.00 2.97 0.00 00:39:05 00:38:01 73.91 0.03 73.87 0.00 3.73 26831.51 0.00 00:39:05 Average: 6.67 0.01 6.67 0.00 0.40 2248.94 0.00 00:39:05 00:39:05 00:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:05 00:27:01 5478852 0 790692 9.87 2620 1736776 1224492 13.52 559612 1572808 16 00:39:05 00:28:01 5481084 0 788452 9.84 2620 1736784 1205772 13.31 560828 1569740 12 00:39:05 00:29:01 5479292 0 790240 9.87 2620 1736788 1205772 13.31 562260 1569736 8 00:39:05 00:30:01 5478176 0 791352 9.88 2620 1736792 1205964 13.31 562624 1570440 8 00:39:05 00:31:01 5478192 0 791328 9.88 2620 1736800 1205988 13.31 556440 1576928 8 00:39:05 00:32:01 5476884 0 792636 9.90 2620 1736800 1206048 13.32 557852 1576928 20 00:39:05 00:33:01 5469988 0 799524 9.98 2620 1736808 1205772 13.31 564748 1576928 16 00:39:05 00:34:01 5468844 0 800664 10.00 2620 1736812 1205772 13.31 565588 1576928 8 00:39:05 00:35:01 5468020 0 801484 10.01 2620 1736816 1205928 13.31 568240 1575080 8 00:39:05 00:36:01 5467372 0 802128 10.02 2620 1736820 1206036 13.32 568968 1575080 20 00:39:05 00:37:01 5467128 0 802372 10.02 2620 1736820 1206036 13.32 576556 1567432 8 00:39:05 00:38:01 4521704 0 1027824 12.83 2620 2456792 1481244 16.35 787308 2211056 1120 00:39:05 Average: 5394628 0 814891 10.17 2620 1796801 1230402 13.58 582585 1626590 104 00:39:05 00:39:05 00:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:05 00:27:01 eth0 0.13 0.15 0.01 0.04 0.00 0.00 0.00 0.00 00:39:05 00:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:28:01 eth0 0.13 0.15 0.01 0.01 0.00 0.00 0.00 0.00 00:39:05 00:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:29:01 eth0 1.02 0.07 0.09 0.01 0.00 0.00 0.00 0.00 00:39:05 00:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:30:01 eth0 1.68 0.37 0.39 0.20 0.00 0.00 0.00 0.00 00:39:05 00:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:31:01 eth0 1.52 0.38 0.49 0.27 0.00 0.00 0.00 0.00 00:39:05 00:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:32:01 eth0 0.95 0.58 0.57 0.37 0.00 0.00 0.00 0.00 00:39:05 00:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:33:01 eth0 0.67 0.10 0.05 0.04 0.00 0.00 0.00 0.00 00:39:05 00:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:34:01 eth0 0.90 0.07 0.08 0.01 0.00 0.00 0.00 0.00 00:39:05 00:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:35:01 eth0 1.57 0.30 0.35 0.20 0.00 0.00 0.00 0.00 00:39:05 00:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:36:01 eth0 1.57 0.67 0.72 0.46 0.00 0.00 0.00 0.00 00:39:05 00:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:37:01 eth0 1.07 0.45 0.36 0.21 0.00 0.00 0.00 0.00 00:39:05 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:38:01 eth0 423.23 392.39 4102.65 34.09 0.00 0.00 0.00 0.00 00:39:05 00:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 00:38:01 vethf8254b6 22.38 20.65 2.54 21.79 0.00 0.00 0.00 0.00 00:39:05 00:38:01 docker0 22.38 20.57 2.23 21.79 0.00 0.00 0.00 0.00 00:39:05 Average: eth0 36.21 32.98 342.24 2.99 0.00 0.00 0.00 0.00 00:39:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:05 Average: vethf8254b6 1.87 1.72 0.21 1.82 0.00 0.00 0.00 0.00 00:39:05 Average: docker0 1.87 1.71 0.19 1.82 0.00 0.00 0.00 0.00 00:39:05 00:39:05 00:39:05 ---> sar -P ALL: 00:39:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/01/21 _x86_64_ (2 CPU) 00:39:05 00:39:05 00:25:03 LINUX RESTART (2 CPU) 00:39:05 00:39:05 00:26:01 CPU %user %nice %system %iowait %steal %idle 00:39:05 00:27:01 all 0.16 0.00 0.06 0.00 0.03 99.76 00:39:05 00:27:01 0 0.23 0.00 0.05 0.00 0.02 99.70 00:39:05 00:27:01 1 0.08 0.00 0.07 0.00 0.03 99.82 00:39:05 00:28:01 all 0.11 0.00 0.05 0.00 0.02 99.82 00:39:05 00:28:01 0 0.15 0.00 0.05 0.00 0.02 99.78 00:39:05 00:28:01 1 0.07 0.00 0.05 0.00 0.02 99.87 00:39:05 00:29:01 all 0.09 0.00 0.05 0.00 0.03 99.83 00:39:05 00:29:01 0 0.15 0.00 0.03 0.00 0.03 99.78 00:39:05 00:29:01 1 0.03 0.00 0.07 0.00 0.02 99.88 00:39:05 00:30:01 all 0.13 0.00 0.05 0.00 0.03 99.79 00:39:05 00:30:01 0 0.20 0.00 0.05 0.00 0.03 99.72 00:39:05 00:30:01 1 0.05 0.00 0.05 0.00 0.03 99.87 00:39:05 00:31:01 all 0.10 0.00 0.06 0.00 0.03 99.82 00:39:05 00:31:01 0 0.13 0.00 0.07 0.00 0.02 99.78 00:39:05 00:31:01 1 0.07 0.00 0.05 0.00 0.03 99.85 00:39:05 00:32:01 all 0.11 0.00 0.03 0.00 0.02 99.84 00:39:05 00:32:01 0 0.17 0.00 0.02 0.00 0.00 99.82 00:39:05 00:32:01 1 0.05 0.00 0.05 0.00 0.03 99.87 00:39:05 00:33:01 all 0.13 0.00 0.06 0.00 0.03 99.78 00:39:05 00:33:01 0 0.22 0.00 0.08 0.00 0.03 99.67 00:39:05 00:33:01 1 0.05 0.00 0.03 0.00 0.02 99.90 00:39:05 00:34:01 all 0.08 0.00 0.04 0.00 0.03 99.86 00:39:05 00:34:01 0 0.12 0.00 0.03 0.00 0.02 99.83 00:39:05 00:34:01 1 0.03 0.00 0.05 0.00 0.03 99.88 00:39:05 00:35:01 all 0.13 0.00 0.03 0.00 0.02 99.82 00:39:05 00:35:01 0 0.17 0.00 0.02 0.00 0.00 99.82 00:39:05 00:35:01 1 0.08 0.00 0.05 0.00 0.03 99.83 00:39:05 00:36:01 all 0.13 0.00 0.05 0.00 0.03 99.80 00:39:05 00:36:01 0 0.12 0.00 0.05 0.00 0.02 99.82 00:39:05 00:36:01 1 0.13 0.00 0.05 0.00 0.03 99.78 00:39:05 00:37:01 all 0.12 0.00 0.03 0.00 0.03 99.83 00:39:05 00:37:01 0 0.05 0.00 0.03 0.00 0.03 99.88 00:39:05 00:37:01 1 0.18 0.00 0.02 0.00 0.02 99.78 00:39:05 00:39:05 00:37:01 CPU %user %nice %system %iowait %steal %idle 00:39:05 00:38:01 all 8.73 0.00 3.55 1.09 0.04 86.60 00:39:05 00:38:01 0 8.83 0.00 3.50 1.51 0.05 86.11 00:39:05 00:38:01 1 8.62 0.00 3.59 0.67 0.03 87.09 00:39:05 Average: all 0.82 0.00 0.33 0.09 0.03 98.74 00:39:05 Average: 0 0.86 0.00 0.33 0.12 0.02 98.67 00:39:05 Average: 1 0.77 0.00 0.34 0.05 0.03 98.81 00:39:05 00:39:05 00:39:05