Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8213f845ea67c9453cf231674cfbc44c6f8bb876 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-ssh5787013721740368068.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-ssh3625612014622705935.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-ssh4479845227998769140.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-ssh2220291150330842126.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh372270187028741278.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-315’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1825’ is offline ‘prd-centos7-docker-4c-2g-748’ is offline ‘prd-centos7-docker-4c-2g-753’ is offline ‘prd-centos7-docker-4c-2g-756’ is offline ‘prd-ubuntu18.04-docker-8c-8g-754’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-756 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 8213f845ea67c9453cf231674cfbc44c6f8bb876 (master) Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh1934421243794394464.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8213f845ea67c9453cf231674cfbc44c6f8bb876 # timeout=10 Commit message: "fix: Change "."s in profile name to "-"s (#284)" > git rev-list --no-walk 056bd704d3623abf2b20958f9f164b21c1ba151c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:55:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:55:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:55:32 ========================================================= 16:55:32 EdgeX Global Pipelines Version Info 16:55:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:55:34 ------------------- 16:55:34 stable info: 16:55:34 ------------------- 16:55:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:55:34 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:55:34 Message: update stable to v1.0.195 16:55:34 ------------------- 16:55:34 experimental info: 16:55:34 ------------------- 16:55:34 Commited By: **** collab-it+edgex@linuxfoundation.org 16:55:34 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 16:55:34 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:55:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:55:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:55:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:55:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8213f84 [Pipeline] echo 16:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:35 provisioning config files... 16:55:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1450826337230054773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:36 ---> docker-login.sh 16:55:36 nexus3.edgexfoundry.org:10001 16:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:36 Configure a credential helper to remove this warning. See 16:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:36 16:55:36 Login Succeeded 16:55:36 nexus3.edgexfoundry.org:10002 16:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:36 Configure a credential helper to remove this warning. See 16:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:36 16:55:36 Login Succeeded 16:55:36 nexus3.edgexfoundry.org:10003 16:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:36 Configure a credential helper to remove this warning. See 16:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:36 16:55:36 Login Succeeded 16:55:36 nexus3.edgexfoundry.org:10004 16:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:36 Configure a credential helper to remove this warning. See 16:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:36 16:55:36 Login Succeeded 16:55:36 docker.io 16:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:37 Configure a credential helper to remove this warning. See 16:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:37 16:55:37 Login Succeeded 16:55:37 ---> docker-login.sh ends [Pipeline] } 16:55:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:55:38 + git log --format=format:%s -1 8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] echo 16:55:38 GIT_COMMIT: 8213f845ea67c9453cf231674cfbc44c6f8bb876, Commit Message: fix: Change "."s in profile name to "-"s (#284) [Pipeline] echo 16:55:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:55:38 16:55:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:55:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:55:39 latest: Pulling from edgex-devops/git-semver 16:55:39 31603596830f: Pulling fs layer 16:55:39 54011a49482f: Pulling fs layer 16:55:39 a6820b24f6d8: Pulling fs layer 16:55:39 f581987b2513: Pulling fs layer 16:55:39 f581987b2513: Waiting 16:55:39 54011a49482f: Verifying Checksum 16:55:39 54011a49482f: Download complete 16:55:39 31603596830f: Verifying Checksum 16:55:39 31603596830f: Download complete 16:55:39 a6820b24f6d8: Verifying Checksum 16:55:39 a6820b24f6d8: Download complete 16:55:39 f581987b2513: Verifying Checksum 16:55:39 f581987b2513: Download complete 16:55:39 31603596830f: Pull complete 16:55:39 54011a49482f: Pull complete 16:55:40 a6820b24f6d8: Pull complete 16:55:40 f581987b2513: Pull complete 16:55:40 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 16:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:55:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:55:40 prd-centos7-docker-4c-2g-756 does not seem to be running inside a container 16:55: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:55:41 $ docker top 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:55:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:55:42 [ssh-agent] Looking for ssh-agent implementation... 16:55:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:55:42 $ docker exec 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent 16:55:42 SSH_AUTH_SOCK=/tmp/ssh-ge8HPNHGlBd7/agent.15 16:55:42 SSH_AGENT_PID=22 16:55:42 Running ssh-add (command line suppressed) 16:55:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5975886824623373696.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5975886824623373696.key) 16:55:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:55:42 + git tag --points-at HEAD [Pipeline] } 16:55:42 $ docker exec --env ******** --env ******** 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent -k 16:55:42 unset SSH_AUTH_SOCK; 16:55:42 unset SSH_AGENT_PID; 16:55:42 echo Agent pid 22 killed; 16:55:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:55:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:55:42 [ssh-agent] Looking for ssh-agent implementation... 16:55:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:55:43 $ docker exec 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent 16:55:43 SSH_AUTH_SOCK=/tmp/ssh-nCdBiWwpeDRI/agent.54 16:55:43 SSH_AGENT_PID=60 16:55:43 Running ssh-add (command line suppressed) 16:55:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6739725995932259155.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6739725995932259155.key) 16:55:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:55:43 + git semver init 16:55:43 # -> Open(): unable to determine branch for HEAD 16:55:43 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:55:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:55:43 # $SEMVER_REMOTE_NAME = origin 16:55:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:55:43 # $SEMVER_USER_NAME = edgex-jenkins 16:55:43 # $SEMVER_BRANCH = master 16:55:43 # $SEMVER_TEMP = /tmp/semver-150856039 16:55:43 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 16:55:44 # '/tmp/semver-150856039' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 16:55:44 # -> Force: false 16:55:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 16:55:44 $ docker exec --env ******** --env ******** 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent -k 16:55:44 unset SSH_AUTH_SOCK; 16:55:44 unset SSH_AGENT_PID; 16:55:44 echo Agent pid 60 killed; 16:55:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:55:44 + git semver [Pipeline] } 16:55:44 $ docker stop --time=1 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 16:55:45 $ docker rm -f 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 [Pipeline] // withDockerContainer [Pipeline] sh 16:55:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:55:46 Stashed 1 file(s) [Pipeline] echo 16:55:46 [edgeXSemver]: initialized semver on version 1.3.2-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:56:01 Still waiting to schedule task 16:56:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:56:01 Still waiting to schedule task 16:56:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:58:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-757 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 16:58:00 Running in /w/workspace/device-mqtt-go/57 [Pipeline] { [Pipeline] checkout 16:58:00 Selected Git installation does not exist. Using Default 16:58:00 The recommended git tool is: NONE 16:58:05 Running on prd-centos7-docker-4c-2g-759 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 16:58:05 Running in /w/workspace/device-mqtt-go/57 [Pipeline] { [Pipeline] checkout 16:58:05 Selected Git installation does not exist. Using Default 16:58:05 The recommended git tool is: NONE 16:58:05 using credential edgex-jenkins-ssh 16:58:06 Cloning the remote Git repository 16:58:06 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:58:06 > git init /w/workspace/device-mqtt-go/57 # timeout=10 16:58:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:58:06 > git --version # timeout=10 16:58:06 > git --version # 'git version 2.17.1' 16:58:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:07 Avoid second fetch 16:58:07 Checking out Revision 8213f845ea67c9453cf231674cfbc44c6f8bb876 (master) 16:58:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:58:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:07 > git config core.sparsecheckout # timeout=10 16:58:07 > git checkout -f 8213f845ea67c9453cf231674cfbc44c6f8bb876 # timeout=10 16:58:08 using credential edgex-jenkins-ssh 16:58:08 Cloning the remote Git repository 16:58:08 Avoid second fetch 16:58:08 Checking out Revision 8213f845ea67c9453cf231674cfbc44c6f8bb876 (master) 16:58:07 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:58:08 > git init /w/workspace/device-mqtt-go/57 # timeout=10 16:58:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:58:08 > git --version # timeout=10 16:58:08 > git --version # 'git version 2.24.4' 16:58:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:08 [INFO] Currently running in a labeled security context 16:58:08 [INFO] Currently SELinux is 'enforcing' on the host 16:58:08 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/57@tmp/jenkins-gitclient-ssh220880904748854206.key 16:58:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:58:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:08 > git config core.sparsecheckout # timeout=10 16:58:08 > git checkout -f 8213f845ea67c9453cf231674cfbc44c6f8bb876 # timeout=10 16:58:11 Commit message: "fix: Change "."s in profile name to "-"s (#284)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:12 Commit message: "fix: Change "."s in profile name to "-"s (#284)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 16:58:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] sh 16:58:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:58:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:58:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:58:13 + sudo service docker restart+ 16:58:13 true 16:58:14 + sudo service docker restart 16:58:14 + true 16:58:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:58:32 provisioning config files... 16:58:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config6601643636904194395tmp [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] configFileProvider 16:58:32 provisioning config files... [Pipeline] libraryResource [Pipeline] sh 16:58:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config4908648547642086420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:32 ---> docker-login.sh 16:58:32 nexus3.edgexfoundry.org:10001 16:58:32 ---> docker-login.sh 16:58:32 nexus3.edgexfoundry.org:10001 16:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:33 Configure a credential helper to remove this warning. See 16:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:33 16:58:33 Login Succeeded 16:58:33 nexus3.edgexfoundry.org:10002 16:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:33 Configure a credential helper to remove this warning. See 16:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:33 16:58:33 Login Succeeded 16:58:33 nexus3.edgexfoundry.org:10003 16:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:33 Configure a credential helper to remove this warning. See 16:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:33 16:58:33 Login Succeeded 16:58:33 nexus3.edgexfoundry.org:10004 16:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:33 Configure a credential helper to remove this warning. See 16:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:33 16:58:33 Login Succeeded 16:58:33 docker.io 16:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:33 Configure a credential helper to remove this warning. See 16:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:33 16:58:33 Login Succeeded 16:58:33 nexus3.edgexfoundry.org:10002 16:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:34 Configure a credential helper to remove this warning. See 16:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:34 16:58:34 Login Succeeded 16:58:34 ---> docker-login.sh ends [Pipeline] } 16:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 16:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] unstash [Pipeline] echo 16:58:34 ========================================================= 16:58:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:58:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:34 Configure a credential helper to remove this warning. See 16:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:34 16:58:34 Login Succeeded 16:58:34 nexus3.edgexfoundry.org:10003 16:58:34 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 16:58:34 Sending build context to Docker daemon 616.4kB 16:58:34 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:58:34 Step 2/8 : FROM ${BASE} 16:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:58:35 540db60ca938: Pulling fs layer 16:58:35 adcc1eea9eea: Pulling fs layer 16:58:35 4c4ab2625f07: Pulling fs layer 16:58:35 0510c868ecb4: Pulling fs layer 16:58:35 afea3b2eda06: Pulling fs layer 16:58:35 7809a108b3ef: Pulling fs layer 16:58:35 f706445af74f: Pulling fs layer 16:58:35 afea3b2eda06: Waiting 16:58:35 7809a108b3ef: Waiting 16:58:35 f706445af74f: Waiting 16:58:35 0510c868ecb4: Waiting 16:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:35 Configure a credential helper to remove this warning. See 16:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:35 16:58:35 Login Succeeded 16:58:35 nexus3.edgexfoundry.org:10004 16:58:35 4c4ab2625f07: Verifying Checksum 16:58:35 4c4ab2625f07: Download complete 16:58:35 adcc1eea9eea: Verifying Checksum 16:58:35 adcc1eea9eea: Download complete 16:58:35 afea3b2eda06: Verifying Checksum 16:58:35 afea3b2eda06: Download complete 16:58:35 7809a108b3ef: Verifying Checksum 16:58:35 7809a108b3ef: Download complete 16:58:35 540db60ca938: Verifying Checksum 16:58:35 540db60ca938: Download complete 16:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:35 540db60ca938: Pull complete 16:58:35 adcc1eea9eea: Pull complete 16:58:35 4c4ab2625f07: Pull complete 16:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:36 Configure a credential helper to remove this warning. See 16:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:36 16:58:36 Login Succeeded 16:58:36 docker.io 16:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:36 Configure a credential helper to remove this warning. See 16:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:36 16:58:36 Login Succeeded 16:58:37 ---> docker-login.sh ends [Pipeline] } 16:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:58:37 ========================================================= 16:58:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:58:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:58:37 f706445af74f: Verifying Checksum 16:58:37 f706445af74f: Download complete 16:58:37 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 16:58:38 Sending build context to Docker daemon 615.4kB 16:58:38 0510c868ecb4: Verifying Checksum 16:58:38 0510c868ecb4: Download complete 16:58:38 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:58:38 Step 2/8 : FROM ${BASE} 16:58:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:58:38 595b0fe564bb: Pulling fs layer 16:58:38 3088b5b3c5c0: Pulling fs layer 16:58:38 5b7225fbf94c: Pulling fs layer 16:58:38 ba82ee9f976e: Pulling fs layer 16:58:38 506bd15cee9f: Pulling fs layer 16:58:38 75a0a4a0db45: Pulling fs layer 16:58:38 618dc40b7e24: Pulling fs layer 16:58:38 ba82ee9f976e: Waiting 16:58:38 506bd15cee9f: Waiting 16:58:38 75a0a4a0db45: Waiting 16:58:38 618dc40b7e24: Waiting 16:58:38 5b7225fbf94c: Download complete 16:58:38 3088b5b3c5c0: Verifying Checksum 16:58:38 3088b5b3c5c0: Download complete 16:58:38 506bd15cee9f: Download complete 16:58:38 75a0a4a0db45: Download complete 16:58:38 595b0fe564bb: Verifying Checksum 16:58:38 595b0fe564bb: Download complete 16:58:39 595b0fe564bb: Pull complete 16:58:39 3088b5b3c5c0: Pull complete 16:58:40 5b7225fbf94c: Pull complete 16:58:40 618dc40b7e24: Verifying Checksum 16:58:40 618dc40b7e24: Download complete 16:58:41 0510c868ecb4: Pull complete 16:58:41 afea3b2eda06: Pull complete 16:58:41 7809a108b3ef: Pull complete 16:58:41 ba82ee9f976e: Verifying Checksum 16:58:41 ba82ee9f976e: Download complete 16:58:43 f706445af74f: Pull complete 16:58:43 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 16:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:58:43 ---> b068be0155e3 16:58:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:58:46 ---> Running in 2aca9f9ab32b 16:58:46 Removing intermediate container 2aca9f9ab32b 16:58:46 ---> 4d9438be6c47 16:58:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:58:46 ---> Running in 4b51a0a7a5ee 16:58:46 Removing intermediate container 4b51a0a7a5ee 16:58:46 ---> 398b277d0f15 16:58:46 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:58:47 ---> Running in 1550facfb303 16:58:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:58:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:58:48 (1/13) Installing libc-dev (0.7.2-r3) 16:58:49 (2/13) Installing libsodium (1.0.18-r0) 16:58:49 (3/13) Installing pkgconf (1.7.3-r0) 16:58:49 (4/13) Installing libsodium-dev (1.0.18-r0) 16:58:49 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:58:49 (6/13) Installing libedit (20191231.3.1-r1) 16:58:49 (7/13) Installing openssh-client (8.4_p1-r3) 16:58:49 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:58:49 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:58:49 (10/13) Installing openssh-server (8.4_p1-r3) 16:58:50 (11/13) Installing openssh (8.4_p1-r3) 16:58:50 (12/13) Installing libzmq (4.3.3-r1) 16:58:50 (13/13) Installing zeromq-dev (4.3.3-r1) 16:58:50 Executing busybox-1.32.1-r6.trigger 16:58:50 OK: 156 MiB in 53 packages 16:58:50 Removing intermediate container 1550facfb303 16:58:50 ---> f5c86333dc89 16:58:50 Step 6/8 : WORKDIR /device-mqtt-go 16:58:50 ---> Running in 59cc5a28959d 16:58:51 Removing intermediate container 59cc5a28959d 16:58:51 ---> db03165fce8c 16:58:51 Step 7/8 : COPY . . 16:58:51 ---> 3e8e110bdd3f 16:58:51 Step 8/8 : RUN go mod download 16:58:51 ---> Running in f823807c90ab 16:58:52 ba82ee9f976e: Pull complete 16:58:52 506bd15cee9f: Pull complete 16:58:52 75a0a4a0db45: Pull complete 16:58:56 618dc40b7e24: Pull complete 16:58:56 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 16:58:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:58:56 ---> a36622ca3599 16:58:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:58:58 ---> Running in 8c3c054798b0 16:58:58 Removing intermediate container 8c3c054798b0 16:58:58 ---> 78c483abb201 16:58:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:58:58 ---> Running in 4ec5b6f49daf 16:59:01 Removing intermediate container 4ec5b6f49daf 16:59:01 ---> 107a5aea77aa 16:59:01 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:59:01 ---> Running in 80cbf7d90477 16:59:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:59:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:59:03 Removing intermediate container f823807c90ab 16:59:03 ---> d49b59c9dabb 16:59:03 Successfully built d49b59c9dabb 16:59:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:59:03 + docker inspect -f . ci-base-image-x86_64 16:59:03 . [Pipeline] withDockerContainer 16:59:04 prd-centos7-docker-4c-2g-759 does not seem to be running inside a container 16:59:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:59:04 $ docker top f137c723479d1e0c3db67185fa37c4d1e7f2e655343781ff4e5cc75395a4ca3d -eo pid,comm 16:59:04 (1/13) Installing libc-dev (0.7.2-r3) 16:59:04 (2/13) Installing libsodium (1.0.18-r0) 16:59:04 (3/13) Installing pkgconf (1.7.3-r0) 16:59:04 (4/13) Installing libsodium-dev (1.0.18-r0) [Pipeline] { [Pipeline] sh 16:59:04 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:59:04 (6/13) Installing libedit (20191231.3.1-r1) 16:59:04 (7/13) Installing openssh-client (8.4_p1-r3) 16:59:04 + go version 16:59:04 go version go1.16.3 linux/amd64 [Pipeline] } 16:59:04 $ docker stop --time=1 f137c723479d1e0c3db67185fa37c4d1e7f2e655343781ff4e5cc75395a4ca3d 16:59:05 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:59:05 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:59:05 (10/13) Installing openssh-server (8.4_p1-r3) 16:59:05 (11/13) Installing openssh (8.4_p1-r3) 16:59:05 (12/13) Installing libzmq (4.3.3-r1) 16:59:05 (13/13) Installing zeromq-dev (4.3.3-r1) 16:59:05 Executing busybox-1.32.1-r6.trigger 16:59:05 OK: 145 MiB in 53 packages 16:59:06 $ docker rm -f f137c723479d1e0c3db67185fa37c4d1e7f2e655343781ff4e5cc75395a4ca3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:59:06 + docker inspect -f . ci-base-image-x86_64 16:59:06 . [Pipeline] withDockerContainer 16:59:06 prd-centos7-docker-4c-2g-759 does not seem to be running inside a container 16:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:59:07 $ docker top 5494918feeba385b4a0b2a7e78e28bc789c1ebb10215e948c0df885bb6ebd262 -eo pid,comm 16:59:07 Removing intermediate container 80cbf7d90477 16:59:07 ---> b52399b98946 16:59:07 Step 6/8 : WORKDIR /device-mqtt-go 16:59:07 ---> Running in cc7965979865 [Pipeline] { [Pipeline] sh 16:59:07 + go mod tidy 16:59:07 Removing intermediate container cc7965979865 16:59:07 ---> fa04ff67773b 16:59:07 Step 7/8 : COPY . . [Pipeline] sh 16:59:08 + make test 16:59:08 go mod tidy 16:59:08 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:59:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:59:08 ---> 307ee9f342dc 16:59:08 Step 8/8 : RUN go mod download 16:59:09 ---> Running in 374e61d01774 16:59:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:59:27 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 24.2% of statements 16:59:27 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:59:27 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:59:33 gofmt -l . 16:59:33 ["`gofmt -l .`" = ""] 16:59:33 ./bin/test-attribution-txt.sh [Pipeline] } 16:59:34 $ docker stop --time=1 5494918feeba385b4a0b2a7e78e28bc789c1ebb10215e948c0df885bb6ebd262 16:59:35 $ docker rm -f 5494918feeba385b4a0b2a7e78e28bc789c1ebb10215e948c0df885bb6ebd262 16:59:36 Removing intermediate container 374e61d01774 16:59:36 ---> 5a01257102b0 16:59:36 Successfully built 5a01257102b0 16:59:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 16:59:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:59:36 + docker inspect -f . ci-base-image-arm64 16:59:36 . [Pipeline] withDockerContainer 16:59:36 Stashed 1 file(s) 16:59:36 prd-ubuntu18.04-docker-arm64-4c-16g-757 does not seem to be running inside a container 16:59:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:59:38 $ docker top 03f1ffa822e278e8f8779826583fc90c0ac8e18107f8ab62879b73842e04a422 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 16:59:39 + go version 16:59:39 go version go1.16.5 linux/arm64 [Pipeline] } 16:59:41 $ docker stop --time=1 03f1ffa822e278e8f8779826583fc90c0ac8e18107f8ab62879b73842e04a422 16:59:43 $ docker rm -f 03f1ffa822e278e8f8779826583fc90c0ac8e18107f8ab62879b73842e04a422 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:59:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:59:44 + docker inspect -f . ci-base-image-arm64 16:59:44 . [Pipeline] withDockerContainer 16:59:44 + ls -al . 16:59:44 total 108 16:59:44 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 22 16:59 . 16:59:44 drwxrwxr-x. 4 jenkins jenkins 30 Jun 22 16:58 .. 16:59:44 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 22 16:58 Attribution.txt 16:59:44 drwxrwxr-x. 2 jenkins jenkins 60 Jun 22 16:58 bin 16:59:44 drwxrwxr-x. 3 jenkins jenkins 32 Jun 22 16:58 cmd 16:59:44 -rw-r--r--. 1 jenkins jenkins 16501 Jun 22 16:59 coverage.out 16:59:44 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 22 16:58 Dockerfile 16:59:44 -rw-rw-r--. 1 jenkins jenkins 994 Jun 22 16:58 Dockerfile.build 16:59:44 -rw-rw-r--. 1 jenkins jenkins 140 Jun 22 16:58 .dockerignore 16:59:44 drwxrwxr-x. 8 jenkins jenkins 162 Jun 22 16:58 .git 16:59:44 drwxrwxr-x. 2 jenkins jenkins 103 Jun 22 16:58 .github 16:59:44 -rw-rw-r--. 1 jenkins jenkins 336 Jun 22 16:58 .gitignore 16:59:44 -rw-rw-r--. 1 jenkins jenkins 410 Jun 22 16:58 go.mod 16:59:44 -rw-r--r--. 1 jenkins jenkins 20873 Jun 22 16:59 go.sum 16:59:44 drwxrwxr-x. 3 jenkins jenkins 20 Jun 22 16:58 internal 16:59:44 -rw-rw-r--. 1 jenkins jenkins 677 Jun 22 16:58 Jenkinsfile 16:59:44 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 22 16:58 LICENSE 16:59:44 -rw-rw-r--. 1 jenkins jenkins 907 Jun 22 16:58 Makefile 16:59:44 drwxrwxr-x. 2 jenkins jenkins 23 Jun 22 16:58 mock 16:59:44 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 22 16:58 README.md 16:59:44 drwxrwxr-x. 4 jenkins jenkins 71 Jun 22 16:58 snap 16:59:44 -rw-rw-r--. 1 jenkins jenkins 12 Jun 22 16:55 VERSION 16:59:44 -rw-rw-r--. 1 jenkins jenkins 227 Jun 22 16:58 version.go 16:59:44 prd-ubuntu18.04-docker-arm64-4c-16g-757 does not seem to be running inside a container 16:59:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:59:46 $ docker top 4365c9600ad56fbc2c5f43fe2c13f4e66e5b65da4fea1cda7e80bb7ff1fd641e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 16:59:46 + 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=8213f845ea67c9453cf231674cfbc44c6f8bb876 --label arch=amd64 --label version=1.3.2-dev.25 . 16:59:46 Sending build context to Docker daemon 633.9kB 16:59:46 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 16:59:46 Step 2/24 : FROM ${BASE} AS builder 16:59:46 ---> d49b59c9dabb 16:59:46 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:59:46 ---> Running in 497675637d8a 16:59:46 Removing intermediate container 497675637d8a 16:59:46 ---> acb15da1bec8 16:59:46 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:59:46 ---> Running in c1314e247924 16:59:46 Removing intermediate container c1314e247924 16:59:46 ---> d055a50c19fb 16:59:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:59:47 + go mod tidy 16:59:47 ---> Running in 62b5f37aebf5 16:59:47 Removing intermediate container 62b5f37aebf5 16:59:47 ---> 878f2a572725 16:59:47 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [Pipeline] sh 16:59:47 ---> Running in 7d5958f54f56 16:59:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:59:48 + make test 16:59:48 go mod tidy 16:59:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:59:48 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:59:49 OK: 156 MiB in 53 packages 16:59:49 Removing intermediate container 7d5958f54f56 16:59:49 ---> 72d6eb2db6c2 16:59:49 Step 7/24 : WORKDIR /device-mqtt-go 16:59:49 ---> Running in b429d44b7cf4 16:59:49 Removing intermediate container b429d44b7cf4 16:59:49 ---> 3d4f5b058987 16:59:49 Step 8/24 : COPY . . 16:59:49 ---> 4eaf1c705a23 16:59:49 Step 9/24 : RUN go mod tidy 16:59:49 ---> Running in 20b4aab82605 16:59:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:59:50 Removing intermediate container 20b4aab82605 16:59:50 ---> aed11f06477b 16:59:50 Step 10/24 : RUN go mod download 16:59:50 ---> Running in 4aa5ee5d92e0 16:59:51 Removing intermediate container 4aa5ee5d92e0 16:59:51 ---> 75d7c0a976f8 16:59:51 Step 11/24 : ARG MAKE='make build' 16:59:51 ---> Running in d7840288666a 16:59:51 Removing intermediate container d7840288666a 16:59:51 ---> ce4772f45ac0 16:59:51 Step 12/24 : RUN $MAKE 16:59:51 ---> Running in e32d39f4146f 16:59:51 go mod tidy 16:59:51 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.25" -o cmd/device-mqtt ./cmd 17:00:03 Removing intermediate container e32d39f4146f 17:00:03 ---> bb03b505d951 17:00:03 Step 13/24 : FROM alpine:3.12 17:00:04 3.12: Pulling from library/alpine 17:00:04 339de151aab4: Pulling fs layer 17:00:04 339de151aab4: Verifying Checksum 17:00:04 339de151aab4: Download complete 17:00:04 339de151aab4: Pull complete 17:00:04 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 17:00:04 Status: Downloaded newer image for alpine:3.12 17:00:04 ---> 13621d1b12d4 17:00:04 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:00:04 ---> Running in b58ddde9e3f9 17:00:04 Removing intermediate container b58ddde9e3f9 17:00:04 ---> 522577b572bf 17:00:04 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:00:04 ---> Running in baf8644e4f27 17:00:05 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:00:05 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:00:05 (1/6) Installing dumb-init (1.2.2-r1) 17:00:05 (2/6) Installing libgcc (9.3.0-r2) 17:00:05 (3/6) Installing libsodium (1.0.18-r0) 17:00:05 (4/6) Installing libstdc++ (9.3.0-r2) 17:00:05 (5/6) Installing libzmq (4.3.3-r0) 17:00:05 (6/6) Installing zeromq (4.3.3-r0) 17:00:05 Executing busybox-1.31.1-r20.trigger 17:00:05 OK: 8 MiB in 20 packages 17:00:05 Removing intermediate container baf8644e4f27 17:00:05 ---> ec28e7d74043 17:00:05 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:00:06 ---> f1f1e2009037 17:00:06 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:00:06 ---> 21e3612c689d 17:00:06 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:00:06 ---> 66083c07a226 17:00:06 Step 19/24 : EXPOSE 59982 17:00:06 ---> Running in f9f7aa217d2f 17:00:06 Removing intermediate container f9f7aa217d2f 17:00:06 ---> 730d599d428a 17:00:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:00:06 ---> Running in 0cc631282193 17:00:06 Removing intermediate container 0cc631282193 17:00:06 ---> ff59f6c3f18f 17:00:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:00:06 ---> Running in ce0e261cbab3 17:00:06 Removing intermediate container ce0e261cbab3 17:00:06 ---> 88a2ea06e3e5 17:00:06 Step 22/24 : LABEL arch=amd64 17:00:06 ---> Running in 2219b21f511c 17:00:06 Removing intermediate container 2219b21f511c 17:00:06 ---> 9ca02477eea2 17:00:06 Step 23/24 : LABEL git_sha=8213f845ea67c9453cf231674cfbc44c6f8bb876 17:00:07 ---> Running in d8788607bae1 17:00:07 Removing intermediate container d8788607bae1 17:00:07 ---> e0ee3cfa2c3c 17:00:07 Step 24/24 : LABEL version=1.3.2-dev.25 17:00:07 ---> Running in 6d879a54a8d8 17:00:07 Removing intermediate container 6d879a54a8d8 17:00:07 ---> eac45b52c48c 17:00:07 [Warning] One or more build-args [ARCH] were not consumed 17:00:07 Successfully built eac45b52c48c 17:00:07 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:07 provisioning config files... 17:00:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config548054645962070926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:07 ---> docker-login.sh 17:00:07 nexus3.edgexfoundry.org:10001 17:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:07 Configure a credential helper to remove this warning. See 17:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:07 17:00:07 Login Succeeded 17:00:07 nexus3.edgexfoundry.org:10002 17:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:08 Configure a credential helper to remove this warning. See 17:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:08 17:00:08 Login Succeeded 17:00:08 nexus3.edgexfoundry.org:10003 17:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:08 Configure a credential helper to remove this warning. See 17:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:08 17:00:08 Login Succeeded 17:00:08 nexus3.edgexfoundry.org:10004 17:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:08 Configure a credential helper to remove this warning. See 17:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:08 17:00:08 Login Succeeded 17:00:08 docker.io 17:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:08 Configure a credential helper to remove this warning. See 17:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:08 17:00:08 Login Succeeded 17:00:08 ---> docker-login.sh ends [Pipeline] } 17:00:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:00:08 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 17:00:08 8213f845ea67c9453cf231674cfbc44c6f8bb876 17:00:08 latest 17:00:08 1.3.2-dev.25 17:00:08 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 17:00:08 master 17:00:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:00:09 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] isUnix [Pipeline] sh 17:00:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876 17:00:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:00:09 fbcf4f239262: Preparing 17:00:09 6b772c74c91f: Preparing 17:00:09 f137fbb050ab: Preparing 17:00:09 04995b0b3c59: Preparing 17:00:09 32f366d666a5: Preparing 17:00:09 32f366d666a5: Layer already exists 17:00:10 04995b0b3c59: Pushed 17:00:10 fbcf4f239262: Pushed 17:00:10 6b772c74c91f: Pushed 17:00:11 f137fbb050ab: Pushed 17:00:11 8213f845ea67c9453cf231674cfbc44c6f8bb876: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:00:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 17:00:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:00:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:00:11 fbcf4f239262: Preparing 17:00:11 6b772c74c91f: Preparing 17:00:11 f137fbb050ab: Preparing 17:00:11 04995b0b3c59: Preparing 17:00:11 32f366d666a5: Preparing 17:00:11 f137fbb050ab: Layer already exists 17:00:11 6b772c74c91f: Layer already exists 17:00:11 32f366d666a5: Layer already exists 17:00:11 04995b0b3c59: Layer already exists 17:00:11 fbcf4f239262: Layer already exists 17:00:12 latest: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:00:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 17:00:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.25 17:00:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:00:12 fbcf4f239262: Preparing 17:00:12 6b772c74c91f: Preparing 17:00:12 f137fbb050ab: Preparing 17:00:12 04995b0b3c59: Preparing 17:00:12 32f366d666a5: Preparing 17:00:12 f137fbb050ab: Layer already exists 17:00:12 04995b0b3c59: Layer already exists 17:00:12 32f366d666a5: Layer already exists 17:00:12 fbcf4f239262: Layer already exists 17:00:12 6b772c74c91f: Layer already exists 17:00:12 1.3.2-dev.25: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:00:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 17:00:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 17:00:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:00:13 fbcf4f239262: Preparing 17:00:13 6b772c74c91f: Preparing 17:00:13 f137fbb050ab: Preparing 17:00:13 04995b0b3c59: Preparing 17:00:13 32f366d666a5: Preparing 17:00:13 04995b0b3c59: Layer already exists 17:00:13 32f366d666a5: Layer already exists 17:00:13 6b772c74c91f: Layer already exists 17:00:13 f137fbb050ab: Layer already exists 17:00:13 fbcf4f239262: Layer already exists 17:00:13 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:00:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 17:00:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 17:00:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:00:14 fbcf4f239262: Preparing 17:00:14 6b772c74c91f: Preparing 17:00:14 f137fbb050ab: Preparing 17:00:14 04995b0b3c59: Preparing 17:00:14 32f366d666a5: Preparing 17:00:14 04995b0b3c59: Layer already exists 17:00:14 6b772c74c91f: Layer already exists 17:00:14 32f366d666a5: Layer already exists 17:00:14 f137fbb050ab: Layer already exists 17:00:14 fbcf4f239262: Layer already exists 17:00:14 master: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:00:14 ===================================================== [Pipeline] echo 17:00:14 taggedImages: 17:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876 17:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.25 17:00:14 - nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 17:00:14 - 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 17:00:15 ---> job-cost.sh 17:00:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WSla 17:00:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:00:37 lf-activate-venv(): INFO: Adding /tmp/venv-WSla/bin to PATH 17:00:37 INFO: No Stack... 17:00:37 INFO: Retrieving Pricing Info for: v3-standard-2 17:00:38 INFO: Archiving Costs [Pipeline] sh 17:00:38 + cat /w/workspace/device-mqtt-go/57/archives/cost.csv 17:00:38 + cut -d, -f6 [Pipeline] lock 17:00:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] 17:00:38 Resource [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] did not exist. Created. 17:00:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:00:39 + echo total: 0.05999999865889549 [Pipeline] stash 17:00:39 Stashed 1 file(s) [Pipeline] } 17:00:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:00:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:00:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 24.2% of statements 17:00:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:00:46 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:01:13 gofmt -l . 17:01:13 ["`gofmt -l .`" = ""] 17:01:13 ./bin/test-attribution-txt.sh [Pipeline] } 17:01:13 $ docker stop --time=1 4365c9600ad56fbc2c5f43fe2c13f4e66e5b65da4fea1cda7e80bb7ff1fd641e 17:01:15 $ docker rm -f 4365c9600ad56fbc2c5f43fe2c13f4e66e5b65da4fea1cda7e80bb7ff1fd641e [Pipeline] // withDockerContainer [Pipeline] sh 17:01:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:01:16 Warning: overwriting stash ‘coverage-report’ 17:01:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:01:18 + ls -al . 17:01:18 total 140 17:01:18 drwxrwxr-x 9 jenkins jenkins 4096 Jun 22 17:01 . 17:01:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 16:58 .. 17:01:18 -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 16:58 .dockerignore 17:01:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 16:58 .git 17:01:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:58 .github 17:01:18 -rw-rw-r-- 1 jenkins jenkins 336 Jun 22 16:58 .gitignore 17:01:18 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 22 16:58 Attribution.txt 17:01:18 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 22 16:58 Dockerfile 17:01:18 -rw-rw-r-- 1 jenkins jenkins 994 Jun 22 16:58 Dockerfile.build 17:01:18 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 16:58 Jenkinsfile 17:01:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 22 16:58 LICENSE 17:01:18 -rw-rw-r-- 1 jenkins jenkins 907 Jun 22 16:58 Makefile 17:01:18 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 22 16:58 README.md 17:01:18 -rw-rw-r-- 1 jenkins jenkins 12 Jun 22 16:55 VERSION 17:01:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:58 bin 17:01:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 16:58 cmd 17:01:18 -rw-r--r-- 1 jenkins jenkins 16501 Jun 22 17:00 coverage.out 17:01:18 -rw-rw-r-- 1 jenkins jenkins 410 Jun 22 16:58 go.mod 17:01:18 -rw-r--r-- 1 jenkins jenkins 20873 Jun 22 16:59 go.sum 17:01:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 16:58 internal 17:01:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:58 mock 17:01:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 16:58 snap 17:01:18 -rw-rw-r-- 1 jenkins jenkins 227 Jun 22 16:58 version.go [Pipeline] isUnix [Pipeline] sh 17:01:18 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8213f845ea67c9453cf231674cfbc44c6f8bb876 --label arch=arm64 --label version=1.3.2-dev.25 . 17:01:18 Sending build context to Docker daemon 632.8kB 17:01:18 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 17:01:18 Step 2/24 : FROM ${BASE} AS builder 17:01:18 ---> 5a01257102b0 17:01:18 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:01:18 ---> Running in 27f4d0b27bd0 17:01:19 Removing intermediate container 27f4d0b27bd0 17:01:19 ---> dcf9a5e6d7e5 17:01:19 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 17:01:19 ---> Running in 3d0269a707aa 17:01:20 Removing intermediate container 3d0269a707aa 17:01:20 ---> b319dff1da86 17:01:20 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:01:20 ---> Running in deeecd3d38f3 17:01:22 Removing intermediate container deeecd3d38f3 17:01:22 ---> d94c7bca18eb 17:01:22 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:01:22 ---> Running in a07f79d5bede 17:01:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:01:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:01:25 OK: 145 MiB in 53 packages 17:01:26 Removing intermediate container a07f79d5bede 17:01:26 ---> c2859d3d8b0e 17:01:26 Step 7/24 : WORKDIR /device-mqtt-go 17:01:27 ---> Running in 12ddda6ba7b8 17:01:27 Removing intermediate container 12ddda6ba7b8 17:01:27 ---> 31188aaeda3a 17:01:27 Step 8/24 : COPY . . 17:01:28 ---> 26fbbd15b3fc 17:01:28 Step 9/24 : RUN go mod tidy 17:01:28 ---> Running in ffb4edf4993c 17:01:31 Removing intermediate container ffb4edf4993c 17:01:31 ---> 091be4747428 17:01:31 Step 10/24 : RUN go mod download 17:01:31 ---> Running in e4abab5ad1aa 17:01:34 Removing intermediate container e4abab5ad1aa 17:01:34 ---> d3ee61ebfd7d 17:01:34 Step 11/24 : ARG MAKE='make build' 17:01:34 ---> Running in eca5e0c6716f 17:01:34 Removing intermediate container eca5e0c6716f 17:01:34 ---> 66d741bd7443 17:01:34 Step 12/24 : RUN $MAKE 17:01:34 ---> Running in 2a79ceb26a6b 17:01:35 go mod tidy 17:01:36 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.25" -o cmd/device-mqtt ./cmd 17:02:15 Removing intermediate container 2a79ceb26a6b 17:02:15 ---> 1a8a679e9da5 17:02:15 Step 13/24 : FROM alpine:3.12 17:02:15 3.12: Pulling from library/alpine 17:02:15 d2f70382dc9a: Pulling fs layer 17:02:15 d2f70382dc9a: Download complete 17:02:15 d2f70382dc9a: Pull complete 17:02:15 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 17:02:15 Status: Downloaded newer image for alpine:3.12 17:02:15 ---> c4fd0aeabfcf 17:02:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:02:15 ---> Running in b3072b372176 17:02:15 Removing intermediate container b3072b372176 17:02:15 ---> 14d779a086f2 17:02:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:02:15 ---> Running in a5abefd138bd 17:02:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:02:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:02:15 (1/6) Installing dumb-init (1.2.2-r1) 17:02:15 (2/6) Installing libgcc (9.3.0-r2) 17:02:15 (3/6) Installing libsodium (1.0.18-r0) 17:02:15 (4/6) Installing libstdc++ (9.3.0-r2) 17:02:15 (5/6) Installing libzmq (4.3.3-r0) 17:02:15 (6/6) Installing zeromq (4.3.3-r0) 17:02:15 Executing busybox-1.31.1-r20.trigger 17:02:15 OK: 8 MiB in 20 packages 17:02:16 Removing intermediate container a5abefd138bd 17:02:16 ---> 021cd4a9df3a 17:02:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:02:18 ---> 6d52f62f0411 17:02:18 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:02:18 ---> 432e1acf59c2 17:02:18 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:02:19 ---> c3e0a11368ba 17:02:19 Step 19/24 : EXPOSE 59982 17:02:19 ---> Running in 208176eaae53 17:02:19 Removing intermediate container 208176eaae53 17:02:19 ---> 4a48805c2c89 17:02:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:02:20 ---> Running in 61873494f8c3 17:02:20 Removing intermediate container 61873494f8c3 17:02:20 ---> a48964d507ae 17:02:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:02:20 ---> Running in b440bdd41b9c 17:02:21 Removing intermediate container b440bdd41b9c 17:02:21 ---> d67f7cec8898 17:02:21 Step 22/24 : LABEL arch=arm64 17:02:21 ---> Running in b12bf96b3284 17:02:21 Removing intermediate container b12bf96b3284 17:02:21 ---> a9b4638a135f 17:02:21 Step 23/24 : LABEL git_sha=8213f845ea67c9453cf231674cfbc44c6f8bb876 17:02:21 ---> Running in 7bf597151156 17:02:22 Removing intermediate container 7bf597151156 17:02:22 ---> ea9ccac7c655 17:02:22 Step 24/24 : LABEL version=1.3.2-dev.25 17:02:22 ---> Running in 33c3742bb6d1 17:02:23 Removing intermediate container 33c3742bb6d1 17:02:23 ---> 75852dc63629 17:02:23 [Warning] One or more build-args [ARCH] were not consumed 17:02:23 Successfully built 75852dc63629 17:02:23 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 17:02:23 provisioning config files... 17:02:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config1127678546787260051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:23 ---> docker-login.sh 17:02:23 nexus3.edgexfoundry.org:10001 17:02:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:24 Configure a credential helper to remove this warning. See 17:02:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:24 17:02:24 Login Succeeded 17:02:24 nexus3.edgexfoundry.org:10002 17:02:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:24 Configure a credential helper to remove this warning. See 17:02:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:24 17:02:24 Login Succeeded 17:02:24 nexus3.edgexfoundry.org:10003 17:02:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:25 Configure a credential helper to remove this warning. See 17:02:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:25 17:02:25 Login Succeeded 17:02:25 nexus3.edgexfoundry.org:10004 17:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:26 Configure a credential helper to remove this warning. See 17:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:26 17:02:26 Login Succeeded 17:02:26 docker.io 17:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:26 Configure a credential helper to remove this warning. See 17:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:26 17:02:26 Login Succeeded 17:02:26 ---> docker-login.sh ends [Pipeline] } 17:02:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:02:27 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 17:02:27 8213f845ea67c9453cf231674cfbc44c6f8bb876 17:02:27 latest 17:02:27 1.3.2-dev.25 17:02:27 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 17:02:27 master 17:02:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:02:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] isUnix [Pipeline] sh 17:02:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876 17:02:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:02:27 2f69aefb93e5: Preparing 17:02:27 82aa0d77e3df: Preparing 17:02:27 49a756ccb6f2: Preparing 17:02:27 eb2d3cc5f55e: Preparing 17:02:27 3fbe34a1663b: Preparing 17:02:28 3fbe34a1663b: Layer already exists 17:02:28 2f69aefb93e5: Pushed 17:02:28 82aa0d77e3df: Pushed 17:02:28 eb2d3cc5f55e: Pushed 17:02:31 49a756ccb6f2: Pushed 17:02:31 8213f845ea67c9453cf231674cfbc44c6f8bb876: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:02:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:02:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 17:02:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:02:31 2f69aefb93e5: Preparing 17:02:31 82aa0d77e3df: Preparing 17:02:31 49a756ccb6f2: Preparing 17:02:31 eb2d3cc5f55e: Preparing 17:02:31 3fbe34a1663b: Preparing 17:02:31 2f69aefb93e5: Layer already exists 17:02:31 82aa0d77e3df: Layer already exists 17:02:31 eb2d3cc5f55e: Layer already exists 17:02:31 49a756ccb6f2: Layer already exists 17:02:32 3fbe34a1663b: Layer already exists 17:02:32 latest: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:02:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 17:02:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.25 17:02:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:02:32 2f69aefb93e5: Preparing 17:02:32 82aa0d77e3df: Preparing 17:02:32 49a756ccb6f2: Preparing 17:02:32 eb2d3cc5f55e: Preparing 17:02:32 3fbe34a1663b: Preparing 17:02:33 eb2d3cc5f55e: Layer already exists 17:02:33 2f69aefb93e5: Layer already exists 17:02:33 49a756ccb6f2: Layer already exists 17:02:33 82aa0d77e3df: Layer already exists 17:02:33 3fbe34a1663b: Layer already exists 17:02:33 1.3.2-dev.25: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:02:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 17:02:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 17:02:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:02:33 2f69aefb93e5: Preparing 17:02:33 82aa0d77e3df: Preparing 17:02:33 49a756ccb6f2: Preparing 17:02:33 eb2d3cc5f55e: Preparing 17:02:33 3fbe34a1663b: Preparing 17:02:33 82aa0d77e3df: Layer already exists 17:02:33 2f69aefb93e5: Layer already exists 17:02:33 eb2d3cc5f55e: Layer already exists 17:02:33 49a756ccb6f2: Layer already exists 17:02:34 3fbe34a1663b: Layer already exists 17:02:34 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh 17:02:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 17:02:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 17:02:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:02:34 2f69aefb93e5: Preparing 17:02:34 82aa0d77e3df: Preparing 17:02:34 49a756ccb6f2: Preparing 17:02:34 eb2d3cc5f55e: Preparing 17:02:34 3fbe34a1663b: Preparing 17:02:34 82aa0d77e3df: Layer already exists 17:02:34 eb2d3cc5f55e: Layer already exists 17:02:34 3fbe34a1663b: Layer already exists 17:02:34 2f69aefb93e5: Layer already exists 17:02:34 49a756ccb6f2: Layer already exists 17:02:35 master: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:02:35 ===================================================== [Pipeline] echo 17:02:35 taggedImages: 17:02:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876 17:02:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 17:02:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.25 17:02:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 17:02:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 17:02:35 ---> job-cost.sh 17:02:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KgX7 17:03:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:04:36 lf-activate-venv(): INFO: Adding /tmp/venv-KgX7/bin to PATH 17:04:36 INFO: No Stack... 17:04:37 INFO: Retrieving Pricing Info for: v2-standard-4 17:04:37 INFO: Archiving Costs [Pipeline] sh 17:04:37 + cat /w/workspace/device-mqtt-go/57/archives/cost.csv 17:04:37 + cut -d, -f6 [Pipeline] lock 17:04:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] 17:04:37 Resource [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] did not exist. Created. 17:04:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:04:38 /w/workspace/device-mqtt-go/57@tmp/durable-8aaab291/script.sh: 1: /w/workspace/device-mqtt-go/57@tmp/durable-8aaab291/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:04:38 + echo total: 0.18000000715255737 [Pipeline] stash 17:04:38 Warning: overwriting stash ‘stack-cost’ 17:04:38 Stashed 1 file(s) [Pipeline] } 17:04:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-57-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 17:04:39 provisioning config files... 17:04:39 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2385552274701158689tmp [Pipeline] { [Pipeline] sh 17:04:39 + set +x 17:04:39 + bash -s -- 17:04:39 + curl -s https://codecov.io/bash 17:04:39 17:04:39 _____ _ 17:04:39 / ____| | | 17:04:39 | | ___ __| | ___ ___ _____ __ 17:04:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:04:39 | |___| (_) | (_| | __/ (_| (_) \ V / 17:04:39 \_____\___/ \__,_|\___|\___\___/ \_/ 17:04:39 Bash-1.0.3 17:04:39 17:04:39 17:04:39 ==> git version 2.24.4 found 17:04:39 ==> 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 17:04:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:04:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:04:39 ==> Jenkins CI detected. 17:04:39 project root: . 17:04:39 --> token set from env 17:04:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:04:39 ==> Running gcov in . (disable via -X gcov) 17:04:39 ==> Python coveragepy not found 17:04:39 ==> Searching for coverage reports in: 17:04:39 + . 17:04:39 -> Found 1 reports 17:04:39 ==> Detecting git/mercurial file structure 17:04:39 ==> Reading reports 17:04:39 + ./coverage.out bytes=16501 17:04:39 ==> Appending adjustments 17:04:39 https://docs.codecov.io/docs/fixing-reports 17:04:39 + Found adjustments 17:04:39 ==> Gzipping contents 17:04:39 4.0K /tmp/codecov.TMgXyC.gz 17:04:39 ==> Uploading reports 17:04:39 url: https://codecov.io 17:04:39 query: branch=master&commit=8213f845ea67c9453cf231674cfbc44c6f8bb876&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:04:39 -> Pinging Codecov 17:04:39 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=8213f845ea67c9453cf231674cfbc44c6f8bb876&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:04:40 -> Uploading to 17:04:40 https://storage.googleapis.com/codecov/v4/raw/2021-06-22/7D719EC7BBE17E464838252E33014C33/8213f845ea67c9453cf231674cfbc44c6f8bb876/1fe82a64-fbc4-4abe-b4ef-89d3dc9c58c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210622T170440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8047de01367df0f04220182d4dbf8fae4ec459ee6ff41cd5ea9b0147e0eb267d 17:04:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:04:40 Dload Upload Total Spent Left Speed 17:04:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3053 0 0 100 3053 0 7776 --:--:-- --:--:-- --:--:-- 7788 17:04:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] } 17:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:04:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:04:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:04:42 17:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 17:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:04:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:04:42 188c0c94c7c5: Pulling fs layer 17:04:42 0ef7d3d256c8: Pulling fs layer 17:04:42 de9db76c5a1d: Pulling fs layer 17:04:42 0eba1c9be4d2: Pulling fs layer 17:04:42 0d57e429df01: Pulling fs layer 17:04:42 4e4be7b47b0d: Pulling fs layer 17:04:42 e1f770b5df2f: Pulling fs layer 17:04:42 85a0685a4137: Pulling fs layer 17:04:42 0eba1c9be4d2: Waiting 17:04:42 0d57e429df01: Waiting 17:04:42 4e4be7b47b0d: Waiting 17:04:42 e1f770b5df2f: Waiting 17:04:42 85a0685a4137: Waiting 17:04:42 de9db76c5a1d: Verifying Checksum 17:04:42 de9db76c5a1d: Download complete 17:04:42 0ef7d3d256c8: Verifying Checksum 17:04:42 0ef7d3d256c8: Download complete 17:04:42 188c0c94c7c5: Verifying Checksum 17:04:42 188c0c94c7c5: Download complete 17:04:42 0d57e429df01: Verifying Checksum 17:04:42 0d57e429df01: Download complete 17:04:42 4e4be7b47b0d: Verifying Checksum 17:04:42 4e4be7b47b0d: Download complete 17:04:42 188c0c94c7c5: Pull complete 17:04:43 0ef7d3d256c8: Pull complete 17:04:43 de9db76c5a1d: Pull complete 17:04:44 e1f770b5df2f: Verifying Checksum 17:04:44 e1f770b5df2f: Download complete 17:04:45 0eba1c9be4d2: Verifying Checksum 17:04:45 0eba1c9be4d2: Download complete 17:04:46 85a0685a4137: Verifying Checksum 17:04:46 85a0685a4137: Download complete 17:04:49 0eba1c9be4d2: Pull complete 17:04:49 0d57e429df01: Pull complete 17:04:49 4e4be7b47b0d: Pull complete 17:04:49 e1f770b5df2f: Pull complete 17:04:54 85a0685a4137: Pull complete 17:04:54 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 17:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:04:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 17:04:54 prd-centos7-docker-4c-2g-756 does not seem to be running inside a container 17:04:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:04:55 $ docker top 306f353a77c3eb172f616ba043ec809180d7fa9127f352e77f7daa44b719ef7c -eo pid,comm [Pipeline] { [Pipeline] echo 17:04:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 17:04:56 + set -o pipefail 17:04:56 + snyk monitor '--org=edgex-jenkins' 17:05:01 17:05:01 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 17:05:01 17:05:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/8460409f-1660-42df-b271-8fcc181e291c 17:05:01 17:05:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:05:01 17:05:01 [Pipeline] } 17:05:01 $ docker stop --time=1 306f353a77c3eb172f616ba043ec809180d7fa9127f352e77f7daa44b719ef7c 17:05:03 $ docker rm -f 306f353a77c3eb172f616ba043ec809180d7fa9127f352e77f7daa44b719ef7c [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 17:05:05 + git log --format=format:%s -1 8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] isUnix [Pipeline] sh 17:05:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:05:05 . [Pipeline] withDockerContainer 17:05:05 prd-centos7-docker-4c-2g-756 does not seem to be running inside a container 17:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:05:05 $ docker top bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:06 [ssh-agent] Looking for ssh-agent implementation... 17:05:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:06 $ docker exec bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 ssh-agent 17:05:06 SSH_AUTH_SOCK=/tmp/ssh-Nsr5wcLd0f11/agent.13 17:05:06 SSH_AGENT_PID=19 17:05:06 Running ssh-add (command line suppressed) 17:05:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8012204779875394207.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8012204779875394207.key) 17:05:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:06 + git semver tag 17:05:06 # -> Open(): unable to determine branch for HEAD 17:05:06 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 17:05:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 17:05:06 # $SEMVER_REMOTE_NAME = origin 17:05:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:05:06 # $SEMVER_USER_NAME = edgex-jenkins 17:05:06 # $SEMVER_BRANCH = master 17:05:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 17:05:06 # 8213f845ea67c9453cf231674cfbc44c6f8bb876 HEAD 17:05:06 # -> Force: false 17:05:06 # 51104492461fbf7d1bf4481259848da759b37626 refs/tags/v1.3.2-dev.25 [Pipeline] } 17:05:06 $ docker exec --env ******** --env ******** bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 ssh-agent -k 17:05:06 unset SSH_AUTH_SOCK; 17:05:06 unset SSH_AGENT_PID; 17:05:06 echo Agent pid 19 killed; 17:05:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:07 + git semver [Pipeline] } 17:05:07 $ docker stop --time=1 bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 17:05:08 $ docker rm -f bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:05:08 17:05:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:05:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:05:09 0.23.1-centos7: Pulling from edgex-lftools 17:05:09 ab5ef0e58194: Pulling fs layer 17:05:09 9712f1f96733: Pulling fs layer 17:05:09 63f879dbbcfc: Pulling fs layer 17:05:09 0d9ebad4ef96: Pulling fs layer 17:05:09 e9a5061849ea: Pulling fs layer 17:05:09 d747dcd14b5f: Pulling fs layer 17:05:09 2de7ff778b66: Pulling fs layer 17:05:09 0d9ebad4ef96: Waiting 17:05:09 e9a5061849ea: Waiting 17:05:09 d747dcd14b5f: Waiting 17:05:09 2de7ff778b66: Waiting 17:05:09 9712f1f96733: Verifying Checksum 17:05:09 9712f1f96733: Download complete 17:05:10 63f879dbbcfc: Verifying Checksum 17:05:10 63f879dbbcfc: Download complete 17:05:10 e9a5061849ea: Verifying Checksum 17:05:10 e9a5061849ea: Download complete 17:05:10 d747dcd14b5f: Verifying Checksum 17:05:10 d747dcd14b5f: Download complete 17:05:11 2de7ff778b66: Verifying Checksum 17:05:11 2de7ff778b66: Download complete 17:05:11 0d9ebad4ef96: Verifying Checksum 17:05:11 0d9ebad4ef96: Download complete 17:05:11 ab5ef0e58194: Verifying Checksum 17:05:11 ab5ef0e58194: Download complete 17:05:13 ab5ef0e58194: Pull complete 17:05:13 9712f1f96733: Pull complete 17:05:14 63f879dbbcfc: Pull complete 17:05:17 0d9ebad4ef96: Pull complete 17:05:18 e9a5061849ea: Pull complete 17:05:18 d747dcd14b5f: Pull complete 17:05:19 2de7ff778b66: Pull complete 17:05:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:05:19 prd-centos7-docker-4c-2g-756 does not seem to be running inside a container 17:05:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:05:23 $ docker top 495c18d01f27c5ebf7d895eb1e2a8ed4c6ba1629413a979509d4efc3f910b31b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:05:23 provisioning config files... 17:05:23 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3468004816307551409tmp 17:05:23 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7870012537844269839tmp 17:05:23 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config298893908974926896tmp [Pipeline] { [Pipeline] echo 17:05:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:05:23 ---> sigul-configuration.sh 17:05:23 gpg: directory `/root/.gnupg' created 17:05:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:05:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:05:23 gpg: keyring `/root/.gnupg/secring.gpg' created 17:05:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:05:23 gpg: CAST5 encrypted data 17:05:23 gpg: encrypted with 1 passphrase 17:05:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:05:23 + mkdir /home/jenkins 17:05:23 + mkdir /home/jenkins/sigul [Pipeline] sh 17:05:24 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:05:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:05:24 ---> sigul-install.sh 17:05:28 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 17:05:29 + git tag --list 17:05:29 0.7.1 17:05:29 v1.0.0 17:05:29 v1.1.0 17:05:29 v1.1.1 17:05:29 v1.2.2 17:05:29 v1.3.0 17:05:29 v1.3.1 17:05:29 v1.3.1-dev.1 17:05:29 v1.3.1-dev.2 17:05:29 v1.3.1-dev.3 17:05:29 v1.3.1-dev.4 17:05:29 v1.3.2-dev.1 17:05:29 v1.3.2-dev.10 17:05:29 v1.3.2-dev.11 17:05:29 v1.3.2-dev.12 17:05:29 v1.3.2-dev.13 17:05:29 v1.3.2-dev.14 17:05:29 v1.3.2-dev.15 17:05:29 v1.3.2-dev.16 17:05:29 v1.3.2-dev.17 17:05:29 v1.3.2-dev.18 17:05:29 v1.3.2-dev.19 17:05:29 v1.3.2-dev.2 17:05:29 v1.3.2-dev.20 17:05:29 v1.3.2-dev.21 17:05:29 v1.3.2-dev.22 17:05:29 v1.3.2-dev.23 17:05:29 v1.3.2-dev.24 17:05:29 v1.3.2-dev.25 17:05:29 v1.3.2-dev.3 17:05:29 v1.3.2-dev.4 17:05:29 v1.3.2-dev.5 17:05:29 v1.3.2-dev.6 17:05:29 v1.3.2-dev.7 17:05:29 v1.3.2-dev.8 17:05:29 v1.3.2-dev.9 [Pipeline] sh 17:05:29 + lftools sign git-tag v1.3.2-dev.25 17:05:29 Signing Git tag with Sigul... 17:05:29 Signing v1.3.2-dev.25 [Pipeline] echo 17:05:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:05:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:05:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:05:31 $ docker stop --time=1 495c18d01f27c5ebf7d895eb1e2a8ed4c6ba1629413a979509d4efc3f910b31b 17:05:32 $ docker rm -f 495c18d01f27c5ebf7d895eb1e2a8ed4c6ba1629413a979509d4efc3f910b31b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 17:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:05:33 . [Pipeline] withDockerContainer 17:05:33 prd-centos7-docker-4c-2g-756 does not seem to be running inside a container 17:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:05:33 $ docker top 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:34 [ssh-agent] Looking for ssh-agent implementation... 17:05:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:34 $ docker exec 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 ssh-agent 17:05:34 SSH_AUTH_SOCK=/tmp/ssh-jjVelnMTQJOc/agent.14 17:05:34 SSH_AGENT_PID=20 17:05:34 Running ssh-add (command line suppressed) 17:05:34 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4619062740135104740.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4619062740135104740.key) 17:05:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:34 + git semver bump pre 17:05:34 # -> Open(): unable to determine branch for HEAD 17:05:34 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 17:05:34 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 17:05:34 # $SEMVER_REMOTE_NAME = origin 17:05:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:05:34 # $SEMVER_USER_NAME = edgex-jenkins 17:05:34 # $SEMVER_BRANCH = master 17:05:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 17:05:34 1.3.2-dev.26 [Pipeline] } 17:05:34 $ docker exec --env ******** --env ******** 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 ssh-agent -k 17:05:34 unset SSH_AUTH_SOCK; 17:05:34 unset SSH_AGENT_PID; 17:05:34 echo Agent pid 20 killed; 17:05:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:35 + git semver [Pipeline] } 17:05:35 $ docker stop --time=1 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 17:05:36 $ docker rm -f 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:05:36 . [Pipeline] withDockerContainer 17:05:36 prd-centos7-docker-4c-2g-756 does not seem to be running inside a container 17:05:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:05:37 $ docker top f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:37 [ssh-agent] Looking for ssh-agent implementation... 17:05:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:37 $ docker exec f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f ssh-agent 17:05:37 SSH_AUTH_SOCK=/tmp/ssh-i4P8vZgwBmky/agent.14 17:05:37 SSH_AGENT_PID=20 17:05:37 Running ssh-add (command line suppressed) 17:05:37 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8177168341988610786.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8177168341988610786.key) 17:05:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:38 + git semver push 17:05:38 # -> Open(): unable to determine branch for HEAD 17:05:38 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 17:05:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 17:05:38 # $SEMVER_REMOTE_NAME = origin 17:05:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:05:38 # $SEMVER_USER_NAME = edgex-jenkins 17:05:38 # $SEMVER_BRANCH = master 17:05:38 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 17:05:42 $ docker exec --env ******** --env ******** f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f ssh-agent -k 17:05:42 unset SSH_AUTH_SOCK; 17:05:42 unset SSH_AGENT_PID; 17:05:42 echo Agent pid 20 killed; 17:05:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:42 + git semver [Pipeline] } 17:05:42 $ docker stop --time=1 f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f 17:05:43 $ docker rm -f f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f [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 17:05:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:05:45 ---> package-listing.sh 17:05:45 ++ facter osfamily 17:05:45 ++ tr '[:upper:]' '[:lower:]' 17:05:45 + OS_FAMILY=redhat 17:05:45 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 17:05:45 + START_PACKAGES=/tmp/packages_start.txt 17:05:45 + END_PACKAGES=/tmp/packages_end.txt 17:05:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:05:45 + PACKAGES=/tmp/packages_start.txt 17:05:45 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 17:05:45 + PACKAGES=/tmp/packages_end.txt 17:05:45 + case "${OS_FAMILY}" in 17:05:45 + sort 17:05:45 + rpm -qa 17:05:46 + '[' -f /tmp/packages_start.txt ']' 17:05:46 + '[' -f /tmp/packages_end.txt ']' 17:05:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:05:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 17:05:46 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 17:05: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 17:05: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 17:05:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:05:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:05:47 17:05:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:05:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:05:47 alpine: Pulling from edgex-lftools-log-publisher 17:05:47 df20fa9351a1: Pulling fs layer 17:05:47 36b3adc4ff6f: Pulling fs layer 17:05:47 8ad3a11d3b57: Pulling fs layer 17:05:47 46f8f816bc3b: Pulling fs layer 17:05:47 93b61091891f: Pulling fs layer 17:05:47 93b9cdb0e59b: Pulling fs layer 17:05:47 5e14af77c1be: Pulling fs layer 17:05:47 01666e4c0597: Pulling fs layer 17:05:47 aa168da1d23b: Pulling fs layer 17:05:47 46f8f816bc3b: Waiting 17:05:47 93b61091891f: Waiting 17:05:47 93b9cdb0e59b: Waiting 17:05:47 5e14af77c1be: Waiting 17:05:47 01666e4c0597: Waiting 17:05:47 aa168da1d23b: Waiting 17:05:47 36b3adc4ff6f: Download complete 17:05:47 46f8f816bc3b: Verifying Checksum 17:05:47 46f8f816bc3b: Download complete 17:05:47 df20fa9351a1: Verifying Checksum 17:05:47 df20fa9351a1: Download complete 17:05:47 93b9cdb0e59b: Verifying Checksum 17:05:47 93b9cdb0e59b: Download complete 17:05:47 5e14af77c1be: Verifying Checksum 17:05:47 5e14af77c1be: Download complete 17:05:47 93b61091891f: Verifying Checksum 17:05:47 93b61091891f: Download complete 17:05:47 01666e4c0597: Verifying Checksum 17:05:47 01666e4c0597: Download complete 17:05:47 df20fa9351a1: Pull complete 17:05:47 8ad3a11d3b57: Verifying Checksum 17:05:47 8ad3a11d3b57: Download complete 17:05:48 36b3adc4ff6f: Pull complete 17:05:48 8ad3a11d3b57: Pull complete 17:05:48 46f8f816bc3b: Pull complete 17:05:49 93b61091891f: Pull complete 17:05:49 93b9cdb0e59b: Pull complete 17:05:49 5e14af77c1be: Pull complete 17:05:49 01666e4c0597: Pull complete 17:05:49 aa168da1d23b: Verifying Checksum 17:05:49 aa168da1d23b: Download complete 17:05:53 aa168da1d23b: Pull complete 17:05:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:05:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:05:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:05:53 prd-centos7-docker-4c-2g-756 does not seem to be running inside a container 17:05:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:05:56 $ docker top f2349a4ff3fe04044614262835e70cecf24397f485c77b64281309275fb3b915 -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:56 + touch /tmp/pre-build-complete [Pipeline] sh 17:05:57 + mkdir -p /var/log/sa [Pipeline] sh 17:05:57 + ls /var/log/sa-host 17:05:57 + sadf -c /var/log/sa-host/sa05 17:05:57 file_magic: OK 17:05:57 HZ: Using current value: 100 17:05:57 file_header: OK 17:05: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 17:05:57 Statistics: 17:05:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:05:57 File successfully converted to sysstat format version 12.2.1 17:05:57 + sadf -c /var/log/sa-host/sa22 17:05:57 file_magic: OK 17:05:57 HZ: Using current value: 100 17:05:57 file_header: OK 17:05: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 17:05:57 Statistics: 17:05:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:05:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:06:01 provisioning config files... 17:06:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2927350110224843709tmp [Pipeline] { [Pipeline] echo 17:06:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:06:01 ---> create-netrc.sh [Pipeline] } 17:06:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:06:01 ---> python-tools-install.sh [Pipeline] echo 17:06:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:06:02 ---> sudo-logs.sh 17:06:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:06:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:06:02 ---> job-cost.sh 17:06:02 lf-activate-venv: SKIPPING 17:06:02 DEBUG: total: 0.18000000715255737 17:06:02 INFO: Retrieving Stack Cost... 17:06:03 INFO: Retrieving Pricing Info for: v3-standard-2 17:06:03 INFO: Archiving Costs [Pipeline] echo 17:06:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:06:04 ---> logs-deploy.sh 17:06:04 lf-activate-venv: SKIPPING 17:06:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/57 17:06:04 INFO: archiving workspace using pattern(s): 17:06:04 Archives upload complete. 17:06:04 INFO: archiving logs to Nexus 17:06:05 ---> uname -a: 17:06:05 Linux prd-centos7-docker-4c-2g-756.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 17:06:05 17:06:05 17:06:05 ---> lscpu: 17:06:05 Architecture: x86_64 17:06:05 CPU op-mode(s): 32-bit, 64-bit 17:06:05 Byte Order: Little Endian 17:06:05 Address sizes: 40 bits physical, 48 bits virtual 17:06:05 CPU(s): 2 17:06:05 On-line CPU(s) list: 0,1 17:06:05 Thread(s) per core: 1 17:06:05 Core(s) per socket: 1 17:06:05 Socket(s): 2 17:06:05 NUMA node(s): 1 17:06:05 Vendor ID: AuthenticAMD 17:06:05 CPU family: 23 17:06:05 Model: 49 17:06:05 Model name: AMD EPYC-Rome Processor 17:06:05 Stepping: 0 17:06:05 CPU MHz: 2800.000 17:06:05 BogoMIPS: 5600.00 17:06:05 Virtualization: AMD-V 17:06:05 Hypervisor vendor: KVM 17:06:05 Virtualization type: full 17:06:05 L1d cache: 64 KiB 17:06:05 L1i cache: 64 KiB 17:06:05 L2 cache: 1 MiB 17:06:05 L3 cache: 32 MiB 17:06:05 NUMA node0 CPU(s): 0,1 17:06:05 Vulnerability Itlb multihit: Not affected 17:06:05 Vulnerability L1tf: Not affected 17:06:05 Vulnerability Mds: Not affected 17:06:05 Vulnerability Meltdown: Not affected 17:06:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:06:05 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:06:05 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:06:05 Vulnerability Srbds: Not affected 17:06:05 Vulnerability Tsx async abort: Not affected 17:06: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 17:06:05 17:06:05 17:06:05 ---> nproc: 17:06:05 2 17:06:05 17:06:05 17:06:05 ---> df -h: 17:06:05 Filesystem Size Used Available Use% Mounted on 17:06:05 overlay 40.0G 8.9G 31.1G 22% / 17:06:05 tmpfs 64.0M 0 64.0M 0% /dev 17:06:05 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 17:06:05 shm 64.0M 0 64.0M 0% /dev/shm 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 17:06:05 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 17:06:05 17:06:05 17:06:05 ---> free -m: 17:06:05 total used free shared buff/cache available 17:06:05 Mem: 7821 1165 3271 0 3384 6574 17:06:05 Swap: 1023 0 1023 17:06:05 17:06:05 17:06:05 ---> ip addr: 17:06:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:06:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:06:05 inet 127.0.0.1/8 scope host lo 17:06:05 valid_lft forever preferred_lft forever 17:06:05 inet6 ::1/128 scope host 17:06:05 valid_lft forever preferred_lft forever 17:06:05 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:06:05 link/ether fa:16:3e:bb:2b:d8 brd ff:ff:ff:ff:ff:ff 17:06:05 inet 10.30.122.112/23 brd 10.30.123.255 scope global dynamic eth0 17:06:05 valid_lft 85735sec preferred_lft 85735sec 17:06:05 inet6 fe80::f816:3eff:febb:2bd8/64 scope link 17:06:05 valid_lft forever preferred_lft forever 17:06:05 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:06:05 link/ether 02:42:d1:54:e4:cf brd ff:ff:ff:ff:ff:ff 17:06:05 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:06:05 valid_lft forever preferred_lft forever 17:06:05 inet6 fe80::42:d1ff:fe54:e4cf/64 scope link 17:06:05 valid_lft forever preferred_lft forever 17:06:05 17:06:05 17:06:05 ---> sar -b -r -n DEV: 17:06:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/22/21 _x86_64_ (2 CPU) 17:06:05 17:06:05 16:54:49 LINUX RESTART (2 CPU) 17:06:05 17:06:05 16:56:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:06:05 16:57:01 1.76 0.00 1.76 0.00 0.00 37.58 0.00 17:06:05 16:58:01 0.37 0.00 0.37 0.00 0.00 6.11 0.00 17:06:05 16:59:01 0.30 0.00 0.30 0.00 0.00 3.65 0.00 17:06:05 17:00:01 0.20 0.00 0.20 0.00 0.00 2.58 0.00 17:06:05 17:01:01 0.32 0.02 0.30 0.00 0.13 4.80 0.00 17:06:05 17:02:01 0.48 0.10 0.38 0.00 1.73 5.81 0.00 17:06:05 17:03:01 0.23 0.00 0.23 0.00 0.00 3.80 0.00 17:06:05 17:04:01 0.20 0.00 0.20 0.00 0.00 1.80 0.00 17:06:05 17:05:01 90.14 0.05 90.09 0.00 4.00 27991.87 0.00 17:06:05 Average: 10.46 0.02 10.44 0.00 0.65 3123.61 0.00 17:06:05 17:06:05 16:56:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:06:05 16:57:01 5479660 0 789984 9.86 2620 1736676 1196832 13.21 556320 1575556 16 17:06:05 16:58:01 5476408 0 793228 9.90 2620 1736684 1197072 13.22 560580 1574444 8 17:06:05 16:59:01 5475172 0 794464 9.92 2620 1736684 1197132 13.22 561992 1574440 8 17:06:05 17:00:01 5476712 0 792920 9.90 2620 1736688 1196832 13.21 559460 1575224 8 17:06:05 17:01:01 5473812 0 795812 9.94 2620 1736696 1199464 13.24 559292 1578208 8 17:06:05 17:02:01 5474072 0 795424 9.93 2620 1736824 1197592 13.22 559256 1578268 24 17:06:05 17:03:01 5474564 0 794928 9.93 2620 1736828 1197340 13.22 559220 1578268 8 17:06:05 17:04:01 5467412 0 802072 10.01 2620 1736836 1197340 13.22 565884 1578272 8 17:06:05 17:05:01 4399392 0 1026720 12.82 2620 2580208 1489544 16.45 801168 2287192 102284 17:06:05 Average: 5355245 0 820617 10.25 2620 1830458 1229905 13.58 587019 1655541 11375 17:06:05 17:06:05 16:56:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:06:05 16:57:01 eth0 1.49 0.08 0.12 0.01 0.00 0.00 0.00 0.00 17:06:05 16:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 16:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 16:58:01 eth0 1.05 0.35 0.32 0.20 0.00 0.00 0.00 0.00 17:06:05 16:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 16:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 16:59:01 eth0 0.92 0.52 0.53 0.39 0.00 0.00 0.00 0.00 17:06:05 16:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 16:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:00:01 eth0 0.83 0.08 0.07 0.01 0.00 0.00 0.00 0.00 17:06:05 17:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:01:01 eth0 1.20 0.57 0.49 0.28 0.00 0.00 0.00 0.00 17:06:05 17:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:02:01 eth0 0.52 0.30 0.27 0.20 0.00 0.00 0.00 0.00 17:06:05 17:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:03:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:06:05 17:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:04:01 eth0 0.57 0.07 0.06 0.01 0.00 0.00 0.00 0.00 17:06:05 17:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:05:01 eth0 518.65 471.22 4479.29 69.12 0.00 0.00 0.00 0.00 17:06:05 17:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 17:05:01 veth9a6d031 65.57 69.59 6.23 393.97 0.00 0.00 0.00 0.00 17:06:05 17:05:01 docker0 65.57 69.47 5.33 393.96 0.00 0.00 0.00 0.00 17:06:05 Average: eth0 58.48 52.69 498.89 7.82 0.00 0.00 0.00 0.00 17:06:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:05 Average: veth9a6d031 7.30 7.75 0.69 43.86 0.00 0.00 0.00 0.00 17:06:05 Average: docker0 7.30 7.73 0.59 43.86 0.00 0.00 0.00 0.00 17:06:05 17:06:05 17:06:05 ---> sar -P ALL: 17:06:05 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/22/21 _x86_64_ (2 CPU) 17:06:05 17:06:05 16:54:49 LINUX RESTART (2 CPU) 17:06:05 17:06:05 16:56:02 CPU %user %nice %system %iowait %steal %idle 17:06:05 16:57:01 all 0.14 0.00 0.03 0.00 0.03 99.79 17:06:05 16:57:01 0 0.22 0.00 0.03 0.00 0.02 99.73 17:06:05 16:57:01 1 0.07 0.00 0.03 0.00 0.05 99.85 17:06:05 16:58:01 all 0.12 0.00 0.04 0.00 0.03 99.82 17:06:05 16:58:01 0 0.18 0.00 0.05 0.00 0.02 99.75 17:06:05 16:58:01 1 0.05 0.00 0.03 0.00 0.03 99.88 17:06:05 16:59:01 all 0.11 0.00 0.02 0.00 0.04 99.83 17:06:05 16:59:01 0 0.18 0.00 0.02 0.00 0.05 99.75 17:06:05 16:59:01 1 0.03 0.00 0.02 0.00 0.03 99.92 17:06:05 17:00:01 all 0.11 0.00 0.03 0.00 0.03 99.83 17:06:05 17:00:01 0 0.20 0.00 0.03 0.00 0.03 99.73 17:06:05 17:00:01 1 0.02 0.00 0.02 0.00 0.03 99.93 17:06:05 17:01:01 all 0.16 0.00 0.04 0.00 0.03 99.77 17:06:05 17:01:01 0 0.28 0.00 0.05 0.00 0.03 99.63 17:06:05 17:01:01 1 0.03 0.00 0.03 0.00 0.02 99.92 17:06:05 17:02:01 all 0.18 0.00 0.03 0.00 0.03 99.77 17:06:05 17:02:01 0 0.25 0.00 0.02 0.00 0.02 99.72 17:06:05 17:02:01 1 0.10 0.00 0.05 0.00 0.03 99.82 17:06:05 17:03:01 all 0.15 0.00 0.05 0.00 0.03 99.77 17:06:05 17:03:01 0 0.23 0.00 0.05 0.00 0.02 99.70 17:06:05 17:03:01 1 0.07 0.00 0.05 0.00 0.03 99.85 17:06:05 17:04:01 all 0.13 0.00 0.03 0.00 0.02 99.82 17:06:05 17:04:01 0 0.23 0.00 0.03 0.00 0.02 99.72 17:06:05 17:04:01 1 0.02 0.00 0.03 0.00 0.02 99.93 17:06:05 17:05:01 all 11.07 0.00 4.42 1.89 0.06 82.56 17:06:05 17:05:01 0 11.56 0.00 4.42 1.27 0.07 82.67 17:06:05 17:05:01 1 10.58 0.00 4.43 2.50 0.05 82.44 17:06:05 Average: all 1.33 0.00 0.51 0.21 0.03 97.93 17:06:05 Average: 0 1.45 0.00 0.51 0.14 0.03 97.87 17:06:05 Average: 1 1.20 0.00 0.51 0.27 0.03 97.99 17:06:05 17:06:05 17:06:05