Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 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-ssh7514403973938075745.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-ssh2626259137751401317.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-ssh1110763779701980995.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-ssh1030092416447339086.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-ssh4795369632589774381.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-443 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Avoid second fetch Checking out Revision 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 (master) Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh7159303957109828133.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 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 # timeout=10 Commit message: "Merge pull request #268 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.3.5" > git rev-list --no-walk d35fec13df66dc1861fe13888b1fd266694d2b98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:39:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:39:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:39:56 ========================================================= 03:39:56 EdgeX Global Pipelines Version Info 03:39:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:39:57 ------------------- 03:39:57 stable info: 03:39:57 ------------------- 03:39:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:39:57 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 03:39:57 Message: update stable to v1.0.195 03:39:58 ------------------- 03:39:58 experimental info: 03:39:58 ------------------- 03:39:58 Commited By: **** collab-it+edgex@linuxfoundation.org 03:39:58 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 03:39:58 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d8aa52 [Pipeline] echo 03:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:39:59 provisioning config files... 03:39:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7929109364074921056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:59 ---> docker-login.sh 03:39:59 nexus3.edgexfoundry.org:10001 03:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:00 Configure a credential helper to remove this warning. See 03:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:00 03:40:00 Login Succeeded 03:40:00 nexus3.edgexfoundry.org:10002 03:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:00 Configure a credential helper to remove this warning. See 03:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:00 03:40:00 Login Succeeded 03:40:00 nexus3.edgexfoundry.org:10003 03:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:00 Configure a credential helper to remove this warning. See 03:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:00 03:40:00 Login Succeeded 03:40:00 nexus3.edgexfoundry.org:10004 03:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:00 Configure a credential helper to remove this warning. See 03:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:00 03:40:00 Login Succeeded 03:40:00 docker.io 03:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:00 Configure a credential helper to remove this warning. See 03:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:00 03:40:00 Login Succeeded 03:40:00 ---> docker-login.sh ends [Pipeline] } 03:40:00 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 03:40:01 + git log --format=format:%s -1 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 [Pipeline] echo 03:40:01 GIT_COMMIT: 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0, Commit Message: Merge pull request #268 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.3.5 [Pipeline] echo 03:40:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:40:02 03:40:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:40:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:40:02 latest: Pulling from edgex-devops/git-semver 03:40:02 31603596830f: Pulling fs layer 03:40:02 54011a49482f: Pulling fs layer 03:40:02 a6820b24f6d8: Pulling fs layer 03:40:02 f581987b2513: Pulling fs layer 03:40:02 f581987b2513: Waiting 03:40:02 54011a49482f: Download complete 03:40:02 31603596830f: Verifying Checksum 03:40:02 31603596830f: Download complete 03:40:02 f581987b2513: Verifying Checksum 03:40:02 f581987b2513: Download complete 03:40:02 a6820b24f6d8: Verifying Checksum 03:40:02 a6820b24f6d8: Download complete 03:40:02 31603596830f: Pull complete 03:40:02 54011a49482f: Pull complete 03:40:03 a6820b24f6d8: Pull complete 03:40:03 f581987b2513: Pull complete 03:40:03 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 03:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:40:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:40:03 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 03:40:03 $ 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 03:40:04 $ docker top cd0bdd158442b5ed09486f6071a0a9084d6eee37df573db1cd181d5cd409fccb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:40:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:40:05 [ssh-agent] Looking for ssh-agent implementation... 03:40:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:40:05 $ docker exec cd0bdd158442b5ed09486f6071a0a9084d6eee37df573db1cd181d5cd409fccb ssh-agent 03:40:05 SSH_AUTH_SOCK=/tmp/ssh-w3m3au3tt3Xz/agent.14 03:40:05 SSH_AGENT_PID=20 03:40:05 Running ssh-add (command line suppressed) 03:40:05 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7905697342270005704.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7905697342270005704.key) 03:40:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:05 + git tag --points-at HEAD [Pipeline] } 03:40:05 $ docker exec --env ******** --env ******** cd0bdd158442b5ed09486f6071a0a9084d6eee37df573db1cd181d5cd409fccb ssh-agent -k 03:40:05 unset SSH_AUTH_SOCK; 03:40:05 unset SSH_AGENT_PID; 03:40:05 echo Agent pid 20 killed; 03:40:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:40:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:40:05 [ssh-agent] Looking for ssh-agent implementation... 03:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:40:06 $ docker exec cd0bdd158442b5ed09486f6071a0a9084d6eee37df573db1cd181d5cd409fccb ssh-agent 03:40:06 SSH_AUTH_SOCK=/tmp/ssh-Z3rIjF3KkcfY/agent.55 03:40:06 SSH_AGENT_PID=61 03:40:06 Running ssh-add (command line suppressed) 03:40:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_652340063708623821.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_652340063708623821.key) 03:40:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:06 + git semver init 03:40:06 # -> Open(): unable to determine branch for HEAD 03:40:06 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 03:40:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 03:40:06 # $SEMVER_REMOTE_NAME = origin 03:40:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:40:06 # $SEMVER_USER_NAME = edgex-jenkins 03:40:06 # $SEMVER_BRANCH = master 03:40:06 # $SEMVER_TEMP = /tmp/semver-116833602 03:40:06 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:40:06 # '/tmp/semver-116833602' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 03:40:06 # -> Force: false 03:40:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 03:40:06 $ docker exec --env ******** --env ******** cd0bdd158442b5ed09486f6071a0a9084d6eee37df573db1cd181d5cd409fccb ssh-agent -k 03:40:06 unset SSH_AUTH_SOCK; 03:40:06 unset SSH_AGENT_PID; 03:40:06 echo Agent pid 61 killed; 03:40:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:40:07 + git semver [Pipeline] } 03:40:07 $ docker stop --time=1 cd0bdd158442b5ed09486f6071a0a9084d6eee37df573db1cd181d5cd409fccb 03:40:08 $ docker rm -f cd0bdd158442b5ed09486f6071a0a9084d6eee37df573db1cd181d5cd409fccb [Pipeline] // withDockerContainer [Pipeline] sh 03:40:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:40:09 Stashed 1 file(s) [Pipeline] echo 03:40:09 [edgeXSemver]: initialized semver on version 1.3.2-dev.22 [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 03:40:24 Still waiting to schedule task 03:40:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:40:24 Still waiting to schedule task 03:40:24 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:42:42 Running on prd-centos7-docker-4c-2g-449 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 03:42:42 Running in /w/workspace/device-mqtt-go/54 [Pipeline] { [Pipeline] checkout 03:42:42 Selected Git installation does not exist. Using Default 03:42:42 The recommended git tool is: NONE 03:42:44 using credential edgex-jenkins-ssh 03:42:44 Cloning the remote Git repository 03:42:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:42:44 > git init /w/workspace/device-mqtt-go/54 # timeout=10 03:42:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:42:44 > git --version # timeout=10 03:42:44 > git --version # 'git version 2.24.4' 03:42:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:44 [INFO] Currently running in a labeled security context 03:42:44 [INFO] Currently SELinux is 'enforcing' on the host 03:42:44 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/54@tmp/jenkins-gitclient-ssh2204180919254853814.key 03:42:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:45 Avoid second fetch 03:42:45 Checking out Revision 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 (master) 03:42:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:42:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:45 > git config core.sparsecheckout # timeout=10 03:42:45 > git checkout -f 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 # timeout=10 03:42:49 Commit message: "Merge pull request #268 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.3.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:42:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:42:50 + true 03:42:50 + sudo service docker restart 03:42:50 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:09 provisioning config files... 03:43:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/54@tmp/config5071961122311786622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:09 ---> docker-login.sh 03:43:09 nexus3.edgexfoundry.org:10001 03:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:09 Configure a credential helper to remove this warning. See 03:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:09 03:43:09 Login Succeeded 03:43:09 nexus3.edgexfoundry.org:10002 03:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:09 Configure a credential helper to remove this warning. See 03:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:09 03:43:09 Login Succeeded 03:43:09 nexus3.edgexfoundry.org:10003 03:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:09 Configure a credential helper to remove this warning. See 03:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:09 03:43:09 Login Succeeded 03:43:09 nexus3.edgexfoundry.org:10004 03:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:10 Configure a credential helper to remove this warning. See 03:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:10 03:43:10 Login Succeeded 03:43:10 docker.io 03:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:10 Configure a credential helper to remove this warning. See 03:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:10 03:43:10 Login Succeeded 03:43:10 ---> docker-login.sh ends [Pipeline] } 03:43:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:43:10 ========================================================= 03:43:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:43:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:43:10 + 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 . 03:43:10 Sending build context to Docker daemon 603.1kB 03:43:10 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:43:10 Step 2/8 : FROM ${BASE} 03:43:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:43:11 540db60ca938: Pulling fs layer 03:43:11 adcc1eea9eea: Pulling fs layer 03:43:11 4c4ab2625f07: Pulling fs layer 03:43:11 0510c868ecb4: Pulling fs layer 03:43:11 afea3b2eda06: Pulling fs layer 03:43:11 7809a108b3ef: Pulling fs layer 03:43:11 f706445af74f: Pulling fs layer 03:43:11 afea3b2eda06: Waiting 03:43:11 7809a108b3ef: Waiting 03:43:11 f706445af74f: Waiting 03:43:11 0510c868ecb4: Waiting 03:43:11 4c4ab2625f07: Verifying Checksum 03:43:11 4c4ab2625f07: Download complete 03:43:11 adcc1eea9eea: Verifying Checksum 03:43:11 adcc1eea9eea: Download complete 03:43:11 afea3b2eda06: Verifying Checksum 03:43:11 afea3b2eda06: Download complete 03:43:11 540db60ca938: Verifying Checksum 03:43:11 540db60ca938: Download complete 03:43:11 540db60ca938: Pull complete 03:43:11 adcc1eea9eea: Pull complete 03:43:11 4c4ab2625f07: Pull complete 03:43:12 7809a108b3ef: Verifying Checksum 03:43:12 7809a108b3ef: Download complete 03:43:12 f706445af74f: Verifying Checksum 03:43:12 f706445af74f: Download complete 03:43:13 0510c868ecb4: Verifying Checksum 03:43:13 0510c868ecb4: Download complete 03:43:16 0510c868ecb4: Pull complete 03:43:16 afea3b2eda06: Pull complete 03:43:16 7809a108b3ef: Pull complete 03:43:18 f706445af74f: Pull complete 03:43:18 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 03:43:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:43:18 ---> b068be0155e3 03:43:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 03:43:22 ---> Running in 388fcfa41869 03:43:22 Removing intermediate container 388fcfa41869 03:43:22 ---> 9f67accd862f 03:43:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:43:22 ---> Running in 231be531355f 03:43:22 Removing intermediate container 231be531355f 03:43:22 ---> f2755f5e3837 03:43:22 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:43:22 ---> Running in 17a617cf835d 03:43:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:43:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-448 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 03:43:23 Running in /w/workspace/device-mqtt-go/54 [Pipeline] { [Pipeline] checkout 03:43:23 Selected Git installation does not exist. Using Default 03:43:23 The recommended git tool is: NONE 03:43:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:43:24 (1/13) Installing libc-dev (0.7.2-r3) 03:43:24 (2/13) Installing libsodium (1.0.18-r0) 03:43:24 (3/13) Installing pkgconf (1.7.3-r0) 03:43:24 (4/13) Installing libsodium-dev (1.0.18-r0) 03:43:24 (5/13) Installing openssh-keygen (8.4_p1-r3) 03:43:24 (6/13) Installing libedit (20191231.3.1-r1) 03:43:24 (7/13) Installing openssh-client (8.4_p1-r3) 03:43:25 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 03:43:25 (9/13) Installing openssh-server-common (8.4_p1-r3) 03:43:25 (10/13) Installing openssh-server (8.4_p1-r3) 03:43:25 (11/13) Installing openssh (8.4_p1-r3) 03:43:25 (12/13) Installing libzmq (4.3.3-r1) 03:43:25 (13/13) Installing zeromq-dev (4.3.3-r1) 03:43:25 Executing busybox-1.32.1-r6.trigger 03:43:25 OK: 156 MiB in 53 packages 03:43:26 Removing intermediate container 17a617cf835d 03:43:26 ---> de84bcc06539 03:43:26 Step 6/8 : WORKDIR /device-mqtt-go 03:43:26 ---> Running in 6b20739ba724 03:43:26 Removing intermediate container 6b20739ba724 03:43:26 ---> 8b7994eff579 03:43:26 Step 7/8 : COPY . . 03:43:26 ---> a7e3eff56d32 03:43:26 Step 8/8 : RUN go mod download 03:43:26 ---> Running in a4ac3b63fc12 03:43:29 using credential edgex-jenkins-ssh 03:43:29 Cloning the remote Git repository 03:43:29 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:43:29 > git init /w/workspace/device-mqtt-go/54 # timeout=10 03:43:29 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:43:29 > git --version # timeout=10 03:43:29 > git --version # 'git version 2.17.1' 03:43:29 using GIT_SSH to set credentials SSH Credentials for GitHub 03:43:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:43:30 Avoid second fetch 03:43:30 Checking out Revision 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 (master) 03:43:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:43:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:43:30 > git config core.sparsecheckout # timeout=10 03:43:30 > git checkout -f 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 # timeout=10 03:43:34 Commit message: "Merge pull request #268 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.3.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:43:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:43:36 + sudo service docker+ restart 03:43:36 true 03:43:39 Removing intermediate container a4ac3b63fc12 03:43:39 ---> 865ce62283e3 03:43:39 Successfully built 865ce62283e3 03:43:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:43:39 + docker inspect -f . ci-base-image-x86_64 03:43:39 . [Pipeline] withDockerContainer 03:43:39 prd-centos7-docker-4c-2g-449 does not seem to be running inside a container 03:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/54 -v /w/workspace/device-mqtt-go/54:/w/workspace/device-mqtt-go/54:rw,z -v /w/workspace/device-mqtt-go/54@tmp:/w/workspace/device-mqtt-go/54@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 03:43:39 $ docker top fb393d2e953927f2d1d08dc19b3986e1dcc3b9f8263f5b49f5eb098d5328a6c0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:40 + go version 03:43:40 go version go1.16.3 linux/amd64 [Pipeline] } 03:43:40 $ docker stop --time=1 fb393d2e953927f2d1d08dc19b3986e1dcc3b9f8263f5b49f5eb098d5328a6c0 03:43:41 $ docker rm -f fb393d2e953927f2d1d08dc19b3986e1dcc3b9f8263f5b49f5eb098d5328a6c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:43:42 + docker inspect -f . ci-base-image-x86_64 03:43:42 . [Pipeline] withDockerContainer 03:43:42 prd-centos7-docker-4c-2g-449 does not seem to be running inside a container 03:43:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/54 -v /w/workspace/device-mqtt-go/54:/w/workspace/device-mqtt-go/54:rw,z -v /w/workspace/device-mqtt-go/54@tmp:/w/workspace/device-mqtt-go/54@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 03:43:42 $ docker top af4e1389384e3825fe2a187c4d5689ff4e12831cd8c16f7643d117455ba39194 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:43 + go mod tidy [Pipeline] sh 03:43:43 + make test 03:43:43 go mod tidy 03:43:43 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:43:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:55 provisioning config files... 03:43:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/54@tmp/config3000388068712674162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:55 ---> docker-login.sh 03:43:55 nexus3.edgexfoundry.org:10001 03:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:56 Configure a credential helper to remove this warning. See 03:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:56 03:43:56 Login Succeeded 03:43:56 nexus3.edgexfoundry.org:10002 03:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:57 Configure a credential helper to remove this warning. See 03:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:57 03:43:57 Login Succeeded 03:43:57 nexus3.edgexfoundry.org:10003 03:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:57 Configure a credential helper to remove this warning. See 03:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:57 03:43:57 Login Succeeded 03:43:57 nexus3.edgexfoundry.org:10004 03:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:58 Configure a credential helper to remove this warning. See 03:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:58 03:43:58 Login Succeeded 03:43:58 docker.io 03:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:59 Configure a credential helper to remove this warning. See 03:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:59 03:43:59 Login Succeeded 03:43:59 ---> docker-login.sh ends [Pipeline] } 03:43:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:43:59 ========================================================= 03:43:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:43:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:44:00 + 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 . 03:44:00 Sending build context to Docker daemon 602.1kB 03:44:00 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:44:00 Step 2/8 : FROM ${BASE} 03:44:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:44:00 595b0fe564bb: Pulling fs layer 03:44:00 3088b5b3c5c0: Pulling fs layer 03:44:00 5b7225fbf94c: Pulling fs layer 03:44:00 ba82ee9f976e: Pulling fs layer 03:44:00 506bd15cee9f: Pulling fs layer 03:44:00 75a0a4a0db45: Pulling fs layer 03:44:00 618dc40b7e24: Pulling fs layer 03:44:00 ba82ee9f976e: Waiting 03:44:00 506bd15cee9f: Waiting 03:44:00 75a0a4a0db45: Waiting 03:44:00 618dc40b7e24: Waiting 03:44:00 5b7225fbf94c: Download complete 03:44:00 3088b5b3c5c0: Verifying Checksum 03:44:00 3088b5b3c5c0: Download complete 03:44:00 506bd15cee9f: Verifying Checksum 03:44:00 506bd15cee9f: Download complete 03:44:00 75a0a4a0db45: Download complete 03:44:00 595b0fe564bb: Verifying Checksum 03:44:00 595b0fe564bb: Download complete 03:44:01 595b0fe564bb: Pull complete 03:44:02 3088b5b3c5c0: Pull complete 03:44:02 5b7225fbf94c: Pull complete 03:44:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:44:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.0% of statements 03:44:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:44:02 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:44:03 618dc40b7e24: Verifying Checksum 03:44:03 618dc40b7e24: Download complete 03:44:04 ba82ee9f976e: Verifying Checksum 03:44:04 ba82ee9f976e: Download complete 03:44:07 gofmt -l . 03:44:07 ["`gofmt -l .`" = ""] 03:44:07 ./bin/test-attribution-txt.sh [Pipeline] } 03:44:08 $ docker stop --time=1 af4e1389384e3825fe2a187c4d5689ff4e12831cd8c16f7643d117455ba39194 03:44:09 $ docker rm -f af4e1389384e3825fe2a187c4d5689ff4e12831cd8c16f7643d117455ba39194 [Pipeline] // withDockerContainer [Pipeline] sh 03:44:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:44:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:44:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:44:13 + ls -al . 03:44:13 total 112 03:44:13 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 11 03:44 . 03:44:13 drwxrwxr-x. 4 jenkins jenkins 30 Jun 11 03:42 .. 03:44:13 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 11 03:42 Attribution.txt 03:44:13 drwxrwxr-x. 2 jenkins jenkins 60 Jun 11 03:42 bin 03:44:13 drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 03:42 cmd 03:44:13 -rw-r--r--. 1 jenkins jenkins 20788 Jun 11 03:44 coverage.out 03:44:13 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 11 03:42 Dockerfile 03:44:13 -rw-rw-r--. 1 jenkins jenkins 994 Jun 11 03:42 Dockerfile.build 03:44:13 -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 03:42 .dockerignore 03:44:13 drwxrwxr-x. 8 jenkins jenkins 162 Jun 11 03:42 .git 03:44:13 drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 03:42 .github 03:44:13 -rw-rw-r--. 1 jenkins jenkins 336 Jun 11 03:42 .gitignore 03:44:13 -rw-rw-r--. 1 jenkins jenkins 409 Jun 11 03:42 go.mod 03:44:13 -rw-r--r--. 1 jenkins jenkins 21058 Jun 11 03:43 go.sum 03:44:13 drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 03:42 internal 03:44:13 -rw-rw-r--. 1 jenkins jenkins 677 Jun 11 03:42 Jenkinsfile 03:44:13 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 03:42 LICENSE 03:44:13 -rw-rw-r--. 1 jenkins jenkins 907 Jun 11 03:42 Makefile 03:44:13 drwxrwxr-x. 2 jenkins jenkins 23 Jun 11 03:42 mock 03:44:13 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 11 03:42 README.md 03:44:13 drwxrwxr-x. 4 jenkins jenkins 71 Jun 11 03:42 snap 03:44:13 -rw-rw-r--. 1 jenkins jenkins 12 Jun 11 03:40 VERSION 03:44:13 -rw-rw-r--. 1 jenkins jenkins 227 Jun 11 03:42 version.go [Pipeline] isUnix [Pipeline] sh 03:44:13 + 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=5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 --label arch=amd64 --label version=1.3.2-dev.22 . 03:44:13 Sending build context to Docker daemon 624.6kB 03:44:13 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 03:44:13 Step 2/24 : FROM ${BASE} AS builder 03:44:13 ---> 865ce62283e3 03:44:13 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:44:13 ---> Running in 56e4a5c3a1f2 03:44:13 Removing intermediate container 56e4a5c3a1f2 03:44:13 ---> d413ea2d3bb0 03:44:13 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:44:13 ---> Running in 130fe676bfa0 03:44:13 Removing intermediate container 130fe676bfa0 03:44:13 ---> fc44a7ea524e 03:44:13 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:44:13 ---> Running in fcc3c86fcf25 03:44:14 Removing intermediate container fcc3c86fcf25 03:44:14 ---> ddd2b3bc279d 03:44:14 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:14 ---> Running in 952a8fdf2ff7 03:44:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:44:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:44:16 OK: 156 MiB in 53 packages 03:44:16 Removing intermediate container 952a8fdf2ff7 03:44:16 ---> 4bbbcc1e91da 03:44:16 Step 7/24 : WORKDIR /device-mqtt-go 03:44:16 ---> Running in b325416d4bef 03:44:16 Removing intermediate container b325416d4bef 03:44:16 ---> 507273dabaaa 03:44:16 Step 8/24 : COPY . . 03:44:16 ba82ee9f976e: Pull complete 03:44:16 506bd15cee9f: Pull complete 03:44:16 75a0a4a0db45: Pull complete 03:44:17 ---> 35a52ce3239d 03:44:17 Step 9/24 : RUN go mod tidy 03:44:17 ---> Running in 814208db0c63 03:44:17 Removing intermediate container 814208db0c63 03:44:17 ---> 5ceec769cd23 03:44:17 Step 10/24 : RUN go mod download 03:44:17 ---> Running in 437366bdba14 03:44:18 Removing intermediate container 437366bdba14 03:44:18 ---> db4eb1a00227 03:44:18 Step 11/24 : ARG MAKE='make build' 03:44:18 ---> Running in 346c6fa49cea 03:44:18 Removing intermediate container 346c6fa49cea 03:44:18 ---> 36f7ad5eabd2 03:44:18 Step 12/24 : RUN $MAKE 03:44:18 ---> Running in 6bb51bb2067b 03:44:18 go mod tidy 03:44:19 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.22" -o cmd/device-mqtt ./cmd 03:44:19 618dc40b7e24: Pull complete 03:44:19 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 03:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:44:19 ---> a36622ca3599 03:44:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 03:44:21 ---> Running in f1aa82846be3 03:44:21 Removing intermediate container f1aa82846be3 03:44:21 ---> a71d08785212 03:44:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:44:21 ---> Running in c856f712b895 03:44:24 Removing intermediate container c856f712b895 03:44:24 ---> 41d65efec07b 03:44:24 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:44:24 ---> Running in d91a293ddc69 03:44:25 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:44:26 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:44:27 (1/13) Installing libc-dev (0.7.2-r3) 03:44:27 (2/13) Installing libsodium (1.0.18-r0) 03:44:27 (3/13) Installing pkgconf (1.7.3-r0) 03:44:27 (4/13) Installing libsodium-dev (1.0.18-r0) 03:44:27 (5/13) Installing openssh-keygen (8.4_p1-r3) 03:44:27 (6/13) Installing libedit (20191231.3.1-r1) 03:44:27 (7/13) Installing openssh-client (8.4_p1-r3) 03:44:28 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 03:44:28 (9/13) Installing openssh-server-common (8.4_p1-r3) 03:44:28 (10/13) Installing openssh-server (8.4_p1-r3) 03:44:29 (11/13) Installing openssh (8.4_p1-r3) 03:44:29 (12/13) Installing libzmq (4.3.3-r1) 03:44:29 (13/13) Installing zeromq-dev (4.3.3-r1) 03:44:29 Executing busybox-1.32.1-r6.trigger 03:44:29 OK: 145 MiB in 53 packages 03:44:30 Removing intermediate container d91a293ddc69 03:44:30 ---> 44c2e3313a2c 03:44:30 Step 6/8 : WORKDIR /device-mqtt-go 03:44:31 ---> Running in 70e8cb59d277 03:44:31 Removing intermediate container 70e8cb59d277 03:44:31 ---> 5fef427ae2f6 03:44:31 Step 7/8 : COPY . . 03:44:32 ---> 0750cf7b3678 03:44:32 Step 8/8 : RUN go mod download 03:44:32 ---> Running in b712cd103675 03:44:34 Removing intermediate container 6bb51bb2067b 03:44:34 ---> daddae4bb5b2 03:44:34 Step 13/24 : FROM alpine:3.12 03:44:34 3.12: Pulling from library/alpine 03:44:34 339de151aab4: Pulling fs layer 03:44:34 339de151aab4: Download complete 03:44:34 339de151aab4: Pull complete 03:44:34 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:44:34 Status: Downloaded newer image for alpine:3.12 03:44:34 ---> 13621d1b12d4 03:44:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:44:34 ---> Running in 228dabc9c122 03:44:34 Removing intermediate container 228dabc9c122 03:44:34 ---> 6c80f6899036 03:44:34 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:44:34 ---> Running in 8b983a5c1491 03:44:34 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:44:34 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:44:34 (1/6) Installing dumb-init (1.2.2-r1) 03:44:34 (2/6) Installing libgcc (9.3.0-r2) 03:44:34 (3/6) Installing libsodium (1.0.18-r0) 03:44:34 (4/6) Installing libstdc++ (9.3.0-r2) 03:44:34 (5/6) Installing libzmq (4.3.3-r0) 03:44:34 (6/6) Installing zeromq (4.3.3-r0) 03:44:34 Executing busybox-1.31.1-r20.trigger 03:44:34 OK: 8 MiB in 20 packages 03:44:34 Removing intermediate container 8b983a5c1491 03:44:34 ---> ce0394dbb951 03:44:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:44:34 ---> 83a5ca47d200 03:44:34 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:44:34 ---> 137a77b7301a 03:44:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:44:35 ---> a4a20b917493 03:44:35 Step 19/24 : EXPOSE 59982 03:44:35 ---> Running in c4b402cd29cd 03:44:35 Removing intermediate container c4b402cd29cd 03:44:35 ---> e4f6335debdb 03:44:35 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:44:35 ---> Running in 841d5c3c7bbc 03:44:35 Removing intermediate container 841d5c3c7bbc 03:44:35 ---> 56e994a74340 03:44:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:44:35 ---> Running in 0432a851208c 03:44:35 Removing intermediate container 0432a851208c 03:44:35 ---> 5737c44dbf91 03:44:35 Step 22/24 : LABEL arch=amd64 03:44:35 ---> Running in 939aa239f2a0 03:44:35 Removing intermediate container 939aa239f2a0 03:44:35 ---> d84844d88983 03:44:35 Step 23/24 : LABEL git_sha=5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:44:35 ---> Running in ff72e9730760 03:44:35 Removing intermediate container ff72e9730760 03:44:35 ---> be5f2a6c92d3 03:44:35 Step 24/24 : LABEL version=1.3.2-dev.22 03:44:35 ---> Running in c6a958c3f8a0 03:44:35 Removing intermediate container c6a958c3f8a0 03:44:35 ---> c280b6437e38 03:44:35 [Warning] One or more build-args [ARCH] were not consumed 03:44:35 Successfully built c280b6437e38 03:44:35 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:35 provisioning config files... 03:44:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/54@tmp/config1811201884797756237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:36 ---> docker-login.sh 03:44:36 nexus3.edgexfoundry.org:10001 03:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:36 Configure a credential helper to remove this warning. See 03:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:36 03:44:36 Login Succeeded 03:44:36 nexus3.edgexfoundry.org:10002 03:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:36 Configure a credential helper to remove this warning. See 03:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:36 03:44:36 Login Succeeded 03:44:36 nexus3.edgexfoundry.org:10003 03:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:36 Configure a credential helper to remove this warning. See 03:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:36 03:44:36 Login Succeeded 03:44:36 nexus3.edgexfoundry.org:10004 03:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:36 Configure a credential helper to remove this warning. See 03:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:36 03:44:36 Login Succeeded 03:44:36 docker.io 03:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:36 Configure a credential helper to remove this warning. See 03:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:36 03:44:36 Login Succeeded 03:44:36 ---> docker-login.sh ends [Pipeline] } 03:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:44:37 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:44:37 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:44:37 latest 03:44:37 1.3.2-dev.22 03:44:37 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 03:44:37 master 03:44:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:44:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 [Pipeline] isUnix [Pipeline] sh 03:44:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:44:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:37 b0996b23ffdc: Preparing 03:44:37 9c778154f29c: Preparing 03:44:37 c464e1270da1: Preparing 03:44:37 66e239b1c104: Preparing 03:44:37 32f366d666a5: Preparing 03:44:37 32f366d666a5: Layer already exists 03:44:38 9c778154f29c: Pushed 03:44:38 b0996b23ffdc: Pushed 03:44:38 66e239b1c104: Pushed 03:44:39 c464e1270da1: Pushed 03:44:39 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0: digest: sha256:f324a1a14d3365f403c385edb014b752dd20a9dc59bcd0131682495afcf0624a size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 03:44:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:44:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:40 b0996b23ffdc: Preparing 03:44:40 9c778154f29c: Preparing 03:44:40 c464e1270da1: Preparing 03:44:40 66e239b1c104: Preparing 03:44:40 32f366d666a5: Preparing 03:44:40 9c778154f29c: Layer already exists 03:44:40 32f366d666a5: Layer already exists 03:44:40 b0996b23ffdc: Layer already exists 03:44:40 66e239b1c104: Layer already exists 03:44:40 c464e1270da1: Layer already exists 03:44:40 latest: digest: sha256:f324a1a14d3365f403c385edb014b752dd20a9dc59bcd0131682495afcf0624a size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.22 [Pipeline] isUnix [Pipeline] sh 03:44:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.22 03:44:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:40 b0996b23ffdc: Preparing 03:44:40 9c778154f29c: Preparing 03:44:40 c464e1270da1: Preparing 03:44:40 66e239b1c104: Preparing 03:44:40 32f366d666a5: Preparing 03:44:40 32f366d666a5: Layer already exists 03:44:40 c464e1270da1: Layer already exists 03:44:40 b0996b23ffdc: Layer already exists 03:44:40 66e239b1c104: Layer already exists 03:44:40 9c778154f29c: Layer already exists 03:44:40 1.3.2-dev.22: digest: sha256:f324a1a14d3365f403c385edb014b752dd20a9dc59bcd0131682495afcf0624a size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 [Pipeline] isUnix [Pipeline] sh 03:44:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 03:44:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:41 b0996b23ffdc: Preparing 03:44:41 9c778154f29c: Preparing 03:44:41 c464e1270da1: Preparing 03:44:41 66e239b1c104: Preparing 03:44:41 32f366d666a5: Preparing 03:44:41 32f366d666a5: Layer already exists 03:44:41 66e239b1c104: Layer already exists 03:44:41 b0996b23ffdc: Layer already exists 03:44:41 c464e1270da1: Layer already exists 03:44:41 9c778154f29c: Layer already exists 03:44:41 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22: digest: sha256:f324a1a14d3365f403c385edb014b752dd20a9dc59bcd0131682495afcf0624a size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 03:44:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 03:44:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:41 b0996b23ffdc: Preparing 03:44:41 9c778154f29c: Preparing 03:44:41 c464e1270da1: Preparing 03:44:41 66e239b1c104: Preparing 03:44:41 32f366d666a5: Preparing 03:44:41 66e239b1c104: Layer already exists 03:44:41 9c778154f29c: Layer already exists 03:44:41 32f366d666a5: Layer already exists 03:44:41 b0996b23ffdc: Layer already exists 03:44:41 c464e1270da1: Layer already exists 03:44:41 master: digest: sha256:f324a1a14d3365f403c385edb014b752dd20a9dc59bcd0131682495afcf0624a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:44:41 ===================================================== [Pipeline] echo 03:44:42 taggedImages: 03:44:42 - nexus3.edgexfoundry.org:10004/device-mqtt:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:44:42 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:44:42 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.22 03:44:42 - nexus3.edgexfoundry.org:10004/device-mqtt:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 03:44:42 - 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 03:44:42 ---> job-cost.sh 03:44:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YhQH 03:44:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:44:59 Removing intermediate container b712cd103675 03:44:59 ---> 988539f5d717 03:44:59 Successfully built 988539f5d717 03:44:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:45:00 + docker inspect -f . ci-base-image-arm64 03:45:00 . [Pipeline] withDockerContainer 03:45:00 prd-ubuntu18.04-docker-arm64-4c-16g-448 does not seem to be running inside a container 03:45:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/54 -v /w/workspace/device-mqtt-go/54:/w/workspace/device-mqtt-go/54:rw,z -v /w/workspace/device-mqtt-go/54@tmp:/w/workspace/device-mqtt-go/54@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 03:45:02 $ docker top cde1f9e5f1866e12da2728cda9aa4a82f605b08285ffe8af8ec26d9b59c7a3cb -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:03 + go version 03:45:03 go version go1.16.5 linux/arm64 [Pipeline] } 03:45:03 $ docker stop --time=1 cde1f9e5f1866e12da2728cda9aa4a82f605b08285ffe8af8ec26d9b59c7a3cb 03:45:05 $ docker rm -f cde1f9e5f1866e12da2728cda9aa4a82f605b08285ffe8af8ec26d9b59c7a3cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:45:06 + docker inspect -f . ci-base-image-arm64 03:45:06 . [Pipeline] withDockerContainer 03:45:06 prd-ubuntu18.04-docker-arm64-4c-16g-448 does not seem to be running inside a container 03:45:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/54 -v /w/workspace/device-mqtt-go/54:/w/workspace/device-mqtt-go/54:rw,z -v /w/workspace/device-mqtt-go/54@tmp:/w/workspace/device-mqtt-go/54@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 03:45:07 lf-activate-venv(): INFO: Adding /tmp/venv-YhQH/bin to PATH 03:45:07 INFO: No Stack... 03:45:08 $ docker top 308667e979e2f5e2e93a224699c5843123d52e0b8779475369bff25ec1271654 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:09 INFO: Retrieving Pricing Info for: v3-standard-2 03:45:09 + go mod tidy 03:45:09 INFO: Archiving Costs [Pipeline] sh 03:45:10 + cat /w/workspace/device-mqtt-go/54/archives/cost.csv 03:45:10 + cut -d, -f6 [Pipeline] sh [Pipeline] lock 03:45:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-54-stack-cost] 03:45:10 Resource [jenkins-edgexfoundry-device-mqtt-go-master-54-stack-cost] did not exist. Created. 03:45:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:45:10 + echo total: 0.05999999865889549 [Pipeline] stash 03:45:10 Stashed 1 file(s) [Pipeline] } 03:45:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-54-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 03:45:10 + make test 03:45:10 go mod tidy [Pipeline] // stage [Pipeline] } 03:45:11 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:45:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:46:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:46:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.053s coverage: 22.0% of statements 03:46:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:46:08 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:46:35 gofmt -l . 03:46:35 ["`gofmt -l .`" = ""] 03:46:35 ./bin/test-attribution-txt.sh [Pipeline] } 03:46:35 $ docker stop --time=1 308667e979e2f5e2e93a224699c5843123d52e0b8779475369bff25ec1271654 03:46:37 $ docker rm -f 308667e979e2f5e2e93a224699c5843123d52e0b8779475369bff25ec1271654 [Pipeline] // withDockerContainer [Pipeline] sh 03:46:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:46:38 Warning: overwriting stash ‘coverage-report’ 03:46:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:46:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:46:39 + ls -al . 03:46:39 total 144 03:46:39 drwxrwxr-x 9 jenkins jenkins 4096 Jun 11 03:46 . 03:46:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:43 .. 03:46:39 -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 03:43 .dockerignore 03:46:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 03:43 .git 03:46:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:43 .github 03:46:39 -rw-rw-r-- 1 jenkins jenkins 336 Jun 11 03:43 .gitignore 03:46:39 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 11 03:43 Attribution.txt 03:46:39 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 11 03:43 Dockerfile 03:46:39 -rw-rw-r-- 1 jenkins jenkins 994 Jun 11 03:43 Dockerfile.build 03:46:39 -rw-rw-r-- 1 jenkins jenkins 677 Jun 11 03:43 Jenkinsfile 03:46:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 03:43 LICENSE 03:46:39 -rw-rw-r-- 1 jenkins jenkins 907 Jun 11 03:43 Makefile 03:46:39 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 11 03:43 README.md 03:46:39 -rw-rw-r-- 1 jenkins jenkins 12 Jun 11 03:40 VERSION 03:46:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:43 bin 03:46:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:43 cmd 03:46:39 -rw-r--r-- 1 jenkins jenkins 20788 Jun 11 03:46 coverage.out 03:46:39 -rw-rw-r-- 1 jenkins jenkins 409 Jun 11 03:43 go.mod 03:46:39 -rw-r--r-- 1 jenkins jenkins 21058 Jun 11 03:45 go.sum 03:46:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:43 internal 03:46:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:43 mock 03:46:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:43 snap 03:46:39 -rw-rw-r-- 1 jenkins jenkins 227 Jun 11 03:43 version.go [Pipeline] isUnix [Pipeline] sh 03:46:40 + 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=5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 --label arch=arm64 --label version=1.3.2-dev.22 . 03:46:40 Sending build context to Docker daemon 623.6kB 03:46:40 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 03:46:40 Step 2/24 : FROM ${BASE} AS builder 03:46:40 ---> 988539f5d717 03:46:40 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:46:40 ---> Running in e2d7e2d4d47c 03:46:41 Removing intermediate container e2d7e2d4d47c 03:46:41 ---> 6a21cec6a62e 03:46:41 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:46:41 ---> Running in 7e31f67aef0b 03:46:42 Removing intermediate container 7e31f67aef0b 03:46:42 ---> 9a1eeb669ed5 03:46:42 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:46:42 ---> Running in 4e43c6bbbc83 03:46:44 Removing intermediate container 4e43c6bbbc83 03:46:44 ---> 81304bf7427e 03:46:44 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:46:44 ---> Running in 79c1d25d1603 03:46:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:46:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:46:47 OK: 145 MiB in 53 packages 03:46:48 Removing intermediate container 79c1d25d1603 03:46:48 ---> ec7a87512c8b 03:46:48 Step 7/24 : WORKDIR /device-mqtt-go 03:46:48 ---> Running in 295920acd647 03:46:49 Removing intermediate container 295920acd647 03:46:49 ---> 82abf212397e 03:46:49 Step 8/24 : COPY . . 03:46:50 ---> 18307e9a4b45 03:46:50 Step 9/24 : RUN go mod tidy 03:46:50 ---> Running in f1f561cf09eb 03:46:53 Removing intermediate container f1f561cf09eb 03:46:53 ---> 623ca009a70e 03:46:53 Step 10/24 : RUN go mod download 03:46:53 ---> Running in 66d4e636fb39 03:46:55 Removing intermediate container 66d4e636fb39 03:46:55 ---> 7e492d2136b7 03:46:55 Step 11/24 : ARG MAKE='make build' 03:46:55 ---> Running in e5d9870c4fb2 03:46:56 Removing intermediate container e5d9870c4fb2 03:46:56 ---> d895c45cf299 03:46:56 Step 12/24 : RUN $MAKE 03:46:56 ---> Running in 81812d9878d3 03:46:57 go mod tidy 03:46:58 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.22" -o cmd/device-mqtt ./cmd 03:47:37 Removing intermediate container 81812d9878d3 03:47:37 ---> 886a90a62ab7 03:47:37 Step 13/24 : FROM alpine:3.12 03:47:37 3.12: Pulling from library/alpine 03:47:37 d2f70382dc9a: Pulling fs layer 03:47:37 d2f70382dc9a: Download complete 03:47:37 d2f70382dc9a: Pull complete 03:47:37 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:47:37 Status: Downloaded newer image for alpine:3.12 03:47:37 ---> 9852663dfa18 03:47:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:47:37 ---> Running in 8449bca15a16 03:47:37 Removing intermediate container 8449bca15a16 03:47:37 ---> 3eca13276aaa 03:47:37 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:47:37 ---> Running in 6d112c9d040d 03:47:37 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:47:37 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:47:38 (1/6) Installing dumb-init (1.2.2-r1) 03:47:38 (2/6) Installing libgcc (9.3.0-r2) 03:47:38 (3/6) Installing libsodium (1.0.18-r0) 03:47:38 (4/6) Installing libstdc++ (9.3.0-r2) 03:47:38 (5/6) Installing libzmq (4.3.3-r0) 03:47:38 (6/6) Installing zeromq (4.3.3-r0) 03:47:38 Executing busybox-1.31.1-r20.trigger 03:47:38 OK: 8 MiB in 20 packages 03:47:39 Removing intermediate container 6d112c9d040d 03:47:39 ---> 060c1a357f71 03:47:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:47:40 ---> ffb055b10c3b 03:47:40 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:47:41 ---> f3335bc1f2bc 03:47:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:47:42 ---> 4294f558d422 03:47:42 Step 19/24 : EXPOSE 59982 03:47:42 ---> Running in f14f0fd489a1 03:47:43 Removing intermediate container f14f0fd489a1 03:47:43 ---> 38a720809582 03:47:43 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:47:43 ---> Running in b2ba996f1955 03:47:43 Removing intermediate container b2ba996f1955 03:47:43 ---> 58b46002e284 03:47:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:47:43 ---> Running in c8596febc8bd 03:47:44 Removing intermediate container c8596febc8bd 03:47:44 ---> 5ffa1be1863b 03:47:44 Step 22/24 : LABEL arch=arm64 03:47:44 ---> Running in 63b819516004 03:47:44 Removing intermediate container 63b819516004 03:47:44 ---> dae72a696975 03:47:44 Step 23/24 : LABEL git_sha=5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:47:44 ---> Running in cb7c0b6b4ff6 03:47:45 Removing intermediate container cb7c0b6b4ff6 03:47:45 ---> a984631d057f 03:47:45 Step 24/24 : LABEL version=1.3.2-dev.22 03:47:45 ---> Running in dd9f1cb0f70e 03:47:46 Removing intermediate container dd9f1cb0f70e 03:47:46 ---> 360a68c33634 03:47:46 [Warning] One or more build-args [ARCH] were not consumed 03:47:46 Successfully built 360a68c33634 03:47:46 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 03:47:46 provisioning config files... 03:47:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/54@tmp/config4202541481480825258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:46 ---> docker-login.sh 03:47:46 nexus3.edgexfoundry.org:10001 03:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:46 Configure a credential helper to remove this warning. See 03:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:46 03:47:46 Login Succeeded 03:47:46 nexus3.edgexfoundry.org:10002 03:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:47 Configure a credential helper to remove this warning. See 03:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:47 03:47:47 Login Succeeded 03:47:47 nexus3.edgexfoundry.org:10003 03:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:48 Configure a credential helper to remove this warning. See 03:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:48 03:47:48 Login Succeeded 03:47:48 nexus3.edgexfoundry.org:10004 03:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:48 Configure a credential helper to remove this warning. See 03:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:48 03:47:48 Login Succeeded 03:47:48 docker.io 03:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:47:49 Configure a credential helper to remove this warning. See 03:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:47:49 03:47:49 Login Succeeded 03:47:49 ---> docker-login.sh ends [Pipeline] } 03:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:47:49 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:47:49 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:47:49 latest 03:47:49 1.3.2-dev.22 03:47:49 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 03:47:49 master 03:47:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:47:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 [Pipeline] isUnix [Pipeline] sh 03:47:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:47:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:47:50 aecd78648969: Preparing 03:47:50 b189ef7cf112: Preparing 03:47:50 bb1ed9878af0: Preparing 03:47:50 f35f1f04a2f7: Preparing 03:47:50 3fbe34a1663b: Preparing 03:47:50 3fbe34a1663b: Layer already exists 03:47:50 aecd78648969: Pushed 03:47:50 b189ef7cf112: Pushed 03:47:51 f35f1f04a2f7: Pushed 03:47:53 bb1ed9878af0: Pushed 03:47:53 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0: digest: sha256:6f82a4a8f2a6d0d2e546e6941adc39e16066d50c4dfa96c71cf780860bb4f52e size: 1365 [Pipeline] isUnix [Pipeline] sh 03:47:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:47:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:47:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:47:54 aecd78648969: Preparing 03:47:54 b189ef7cf112: Preparing 03:47:54 bb1ed9878af0: Preparing 03:47:54 f35f1f04a2f7: Preparing 03:47:54 3fbe34a1663b: Preparing 03:47:54 3fbe34a1663b: Layer already exists 03:47:54 aecd78648969: Layer already exists 03:47:54 b189ef7cf112: Layer already exists 03:47:54 f35f1f04a2f7: Layer already exists 03:47:54 bb1ed9878af0: Layer already exists 03:47:54 latest: digest: sha256:6f82a4a8f2a6d0d2e546e6941adc39e16066d50c4dfa96c71cf780860bb4f52e size: 1365 [Pipeline] isUnix [Pipeline] sh 03:47:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.22 [Pipeline] isUnix [Pipeline] sh 03:47:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.22 03:47:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:47:55 aecd78648969: Preparing 03:47:55 b189ef7cf112: Preparing 03:47:55 bb1ed9878af0: Preparing 03:47:55 f35f1f04a2f7: Preparing 03:47:55 3fbe34a1663b: Preparing 03:47:55 f35f1f04a2f7: Layer already exists 03:47:55 aecd78648969: Layer already exists 03:47:55 bb1ed9878af0: Layer already exists 03:47:55 3fbe34a1663b: Layer already exists 03:47:55 b189ef7cf112: Layer already exists 03:47:55 1.3.2-dev.22: digest: sha256:6f82a4a8f2a6d0d2e546e6941adc39e16066d50c4dfa96c71cf780860bb4f52e size: 1365 [Pipeline] isUnix [Pipeline] sh 03:47:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 [Pipeline] isUnix [Pipeline] sh 03:47:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 03:47:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:47:56 aecd78648969: Preparing 03:47:56 b189ef7cf112: Preparing 03:47:56 bb1ed9878af0: Preparing 03:47:56 f35f1f04a2f7: Preparing 03:47:56 3fbe34a1663b: Preparing 03:47:56 b189ef7cf112: Layer already exists 03:47:56 aecd78648969: Layer already exists 03:47:56 bb1ed9878af0: Layer already exists 03:47:56 3fbe34a1663b: Layer already exists 03:47:56 f35f1f04a2f7: Layer already exists 03:47:56 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22: digest: sha256:6f82a4a8f2a6d0d2e546e6941adc39e16066d50c4dfa96c71cf780860bb4f52e size: 1365 [Pipeline] isUnix [Pipeline] sh 03:47:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 03:47:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 03:47:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:47:57 aecd78648969: Preparing 03:47:57 b189ef7cf112: Preparing 03:47:57 bb1ed9878af0: Preparing 03:47:57 f35f1f04a2f7: Preparing 03:47:57 3fbe34a1663b: Preparing 03:47:57 f35f1f04a2f7: Layer already exists 03:47:57 3fbe34a1663b: Layer already exists 03:47:57 bb1ed9878af0: Layer already exists 03:47:57 aecd78648969: Layer already exists 03:47:57 b189ef7cf112: Layer already exists 03:47:57 master: digest: sha256:6f82a4a8f2a6d0d2e546e6941adc39e16066d50c4dfa96c71cf780860bb4f52e size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:47:57 ===================================================== [Pipeline] echo 03:47:57 taggedImages: 03:47:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 03:47:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:47:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.22 03:47:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d8aa52d1e25508a3667e2ee886235de5ef8f7b0-1.3.2-dev.22 03:47:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 03:47:58 ---> job-cost.sh 03:47:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m0si 03:48:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:49:59 lf-activate-venv(): INFO: Adding /tmp/venv-m0si/bin to PATH 03:49:59 INFO: No Stack... 03:49:59 INFO: Retrieving Pricing Info for: v2-standard-4 03:49:59 INFO: Archiving Costs [Pipeline] sh 03:49:59 + + cat /w/workspace/device-mqtt-go/54/archives/cost.csvcut 03:49:59 -d, -f6 [Pipeline] lock 03:49:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-54-stack-cost] 03:49:59 Resource [jenkins-edgexfoundry-device-mqtt-go-master-54-stack-cost] did not exist. Created. 03:49:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:50:00 /w/workspace/device-mqtt-go/54@tmp/durable-cf58a7c8/script.sh: 1: /w/workspace/device-mqtt-go/54@tmp/durable-cf58a7c8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:50:00 + echo total: 0.18000000715255737 [Pipeline] stash 03:50:00 Warning: overwriting stash ‘stack-cost’ 03:50:00 Stashed 1 file(s) [Pipeline] } 03:50:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-54-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 03:50:01 provisioning config files... 03:50:01 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3018615330570865474tmp [Pipeline] { [Pipeline] sh 03:50:02 + set +x 03:50:02 + curl -s https://codecov.io/bash 03:50:02 + bash -s -- 03:50:02 03:50:02 _____ _ 03:50:02 / ____| | | 03:50:02 | | ___ __| | ___ ___ _____ __ 03:50:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:50:02 | |___| (_) | (_| | __/ (_| (_) \ V / 03:50:02 \_____\___/ \__,_|\___|\___\___/ \_/ 03:50:02 Bash-1.0.3 03:50:02 03:50:02 03:50:02 ==> git version 2.24.4 found 03:50:02 ==> 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 03:50:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:50:02 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:50:02 ==> Jenkins CI detected. 03:50:02 project root: . 03:50:02 --> token set from env 03:50:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:50:02 ==> Running gcov in . (disable via -X gcov) 03:50:02 ==> Python coveragepy not found 03:50:02 ==> Searching for coverage reports in: 03:50:02 + . 03:50:02 -> Found 1 reports 03:50:02 ==> Detecting git/mercurial file structure 03:50:02 ==> Reading reports 03:50:02 + ./coverage.out bytes=20788 03:50:02 ==> Appending adjustments 03:50:02 https://docs.codecov.io/docs/fixing-reports 03:50:02 + Found adjustments 03:50:02 ==> Gzipping contents 03:50:02 4.0K /tmp/codecov.Qb9Lam.gz 03:50:02 ==> Uploading reports 03:50:02 url: https://codecov.io 03:50:02 query: branch=master&commit=5d8aa52d1e25508a3667e2ee886235de5ef8f7b0&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:50:02 -> Pinging Codecov 03:50:02 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=5d8aa52d1e25508a3667e2ee886235de5ef8f7b0&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:50:02 -> Uploading to 03:50:02 https://storage.googleapis.com/codecov/v4/raw/2021-06-11/7D719EC7BBE17E464838252E33014C33/5d8aa52d1e25508a3667e2ee886235de5ef8f7b0/af43fa47-4cf3-4382-9a77-ebe18d593202.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T035002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=26ce282eba341b90d59599559975f221526cfd64da7126179657865a92950fa0 03:50:02 % Total % Received % Xferd Average Speed Time Time Time Current 03:50:02 Dload Upload Total Spent Left Speed 03:50:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3545 0 0 100 3545 0 10000 --:--:-- --:--:-- --:--:-- 10014 03:50:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 [Pipeline] } 03:50:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:50:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:50:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:50:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:50:04 03:50:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 03:50:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:50:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:50:04 188c0c94c7c5: Pulling fs layer 03:50:04 0ef7d3d256c8: Pulling fs layer 03:50:04 de9db76c5a1d: Pulling fs layer 03:50:04 0eba1c9be4d2: Pulling fs layer 03:50:04 0d57e429df01: Pulling fs layer 03:50:04 4e4be7b47b0d: Pulling fs layer 03:50:04 e1f770b5df2f: Pulling fs layer 03:50:04 85a0685a4137: Pulling fs layer 03:50:04 4e4be7b47b0d: Waiting 03:50:04 e1f770b5df2f: Waiting 03:50:04 85a0685a4137: Waiting 03:50:04 0eba1c9be4d2: Waiting 03:50:04 0d57e429df01: Waiting 03:50:04 de9db76c5a1d: Verifying Checksum 03:50:04 de9db76c5a1d: Download complete 03:50:05 0ef7d3d256c8: Verifying Checksum 03:50:05 0ef7d3d256c8: Download complete 03:50:05 0d57e429df01: Verifying Checksum 03:50:05 0d57e429df01: Download complete 03:50:05 4e4be7b47b0d: Verifying Checksum 03:50:05 4e4be7b47b0d: Download complete 03:50:05 188c0c94c7c5: Verifying Checksum 03:50:05 188c0c94c7c5: Download complete 03:50:05 188c0c94c7c5: Pull complete 03:50:05 0ef7d3d256c8: Pull complete 03:50:05 de9db76c5a1d: Pull complete 03:50:06 e1f770b5df2f: Verifying Checksum 03:50:06 e1f770b5df2f: Download complete 03:50:08 0eba1c9be4d2: Verifying Checksum 03:50:08 0eba1c9be4d2: Download complete 03:50:08 85a0685a4137: Verifying Checksum 03:50:08 85a0685a4137: Download complete 03:50:11 0eba1c9be4d2: Pull complete 03:50:11 0d57e429df01: Pull complete 03:50:11 4e4be7b47b0d: Pull complete 03:50:11 e1f770b5df2f: Pull complete 03:50:15 85a0685a4137: Pull complete 03:50:15 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 03:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:50:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 03:50:15 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 03:50:15 $ 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 03:50:19 $ docker top 90c043e851b36afd7cad1b408b537dd75ee5493fa20d4e815bdafd9f10f28c8c -eo pid,comm [Pipeline] { [Pipeline] echo 03:50:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 03:50:19 + set -o pipefail 03:50:19 + snyk monitor '--org=edgex-jenkins' 03:50:24 03:50:24 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 03:50:24 03:50:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/9a78f854-1d52-40d4-8a69-c67eda917bf6 03:50:24 03:50:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:50:24 03:50:24 [Pipeline] } 03:50:24 $ docker stop --time=1 90c043e851b36afd7cad1b408b537dd75ee5493fa20d4e815bdafd9f10f28c8c 03:50:27 $ docker rm -f 90c043e851b36afd7cad1b408b537dd75ee5493fa20d4e815bdafd9f10f28c8c [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 03:50:28 + git log --format=format:%s -1 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 [Pipeline] isUnix [Pipeline] sh 03:50:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:50:29 . [Pipeline] withDockerContainer 03:50:29 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 03:50:29 $ 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 03:50:29 $ docker top 722d26e7330e5ec8db424955f9a4c8aaff4ffbabd3b41db207ea451f726cfbfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:50:29 [ssh-agent] Looking for ssh-agent implementation... 03:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:50:29 $ docker exec 722d26e7330e5ec8db424955f9a4c8aaff4ffbabd3b41db207ea451f726cfbfe ssh-agent 03:50:30 SSH_AUTH_SOCK=/tmp/ssh-s97vjGNXGuWT/agent.13 03:50:30 SSH_AGENT_PID=19 03:50:30 Running ssh-add (command line suppressed) 03:50:30 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1476394653883829807.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1476394653883829807.key) 03:50:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:50:30 + git semver tag 03:50:30 # -> Open(): unable to determine branch for HEAD 03:50:30 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 03:50:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 03:50:30 # $SEMVER_REMOTE_NAME = origin 03:50:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:50:30 # $SEMVER_USER_NAME = edgex-jenkins 03:50:30 # $SEMVER_BRANCH = master 03:50:30 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 03:50:30 # 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 HEAD 03:50:30 # -> Force: false 03:50:30 # c45eea7cd356a309fd688e3196b14b6c3acda77f refs/tags/v1.3.2-dev.22 [Pipeline] } 03:50:30 $ docker exec --env ******** --env ******** 722d26e7330e5ec8db424955f9a4c8aaff4ffbabd3b41db207ea451f726cfbfe ssh-agent -k 03:50:30 unset SSH_AUTH_SOCK; 03:50:30 unset SSH_AGENT_PID; 03:50:30 echo Agent pid 19 killed; 03:50:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:50:30 + git semver [Pipeline] } 03:50:30 $ docker stop --time=1 722d26e7330e5ec8db424955f9a4c8aaff4ffbabd3b41db207ea451f726cfbfe 03:50:32 $ docker rm -f 722d26e7330e5ec8db424955f9a4c8aaff4ffbabd3b41db207ea451f726cfbfe [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:50:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:50:32 03:50:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:50:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:50:32 0.23.1-centos7: Pulling from edgex-lftools 03:50:32 ab5ef0e58194: Pulling fs layer 03:50:32 9712f1f96733: Pulling fs layer 03:50:32 63f879dbbcfc: Pulling fs layer 03:50:32 0d9ebad4ef96: Pulling fs layer 03:50:32 e9a5061849ea: Pulling fs layer 03:50:32 d747dcd14b5f: Pulling fs layer 03:50:32 2de7ff778b66: Pulling fs layer 03:50:32 0d9ebad4ef96: Waiting 03:50:32 e9a5061849ea: Waiting 03:50:32 d747dcd14b5f: Waiting 03:50:32 9712f1f96733: Verifying Checksum 03:50:32 9712f1f96733: Download complete 03:50:34 63f879dbbcfc: Verifying Checksum 03:50:34 63f879dbbcfc: Download complete 03:50:34 e9a5061849ea: Verifying Checksum 03:50:34 e9a5061849ea: Download complete 03:50:34 d747dcd14b5f: Verifying Checksum 03:50:34 d747dcd14b5f: Download complete 03:50:34 2de7ff778b66: Verifying Checksum 03:50:34 2de7ff778b66: Download complete 03:50:35 0d9ebad4ef96: Verifying Checksum 03:50:35 0d9ebad4ef96: Download complete 03:50:35 ab5ef0e58194: Verifying Checksum 03:50:35 ab5ef0e58194: Download complete 03:50:37 ab5ef0e58194: Pull complete 03:50:37 9712f1f96733: Pull complete 03:50:38 63f879dbbcfc: Pull complete 03:50:42 0d9ebad4ef96: Pull complete 03:50:42 e9a5061849ea: Pull complete 03:50:42 d747dcd14b5f: Pull complete 03:50:43 2de7ff778b66: Pull complete 03:50:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:50:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:50:43 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 03:50:43 $ 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 03:50:47 $ docker top 2ad7b1f757ff9f1f99d9cba6d10e18f51c27543328ea3eda7ad15a8223307dd8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:50:48 provisioning config files... 03:50:48 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3112913478545925851tmp 03:50:48 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4434731534841898803tmp 03:50:48 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6404661336490215149tmp [Pipeline] { [Pipeline] echo 03:50:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:50:48 ---> sigul-configuration.sh 03:50:48 gpg: directory `/root/.gnupg' created 03:50:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:50:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:50:48 gpg: keyring `/root/.gnupg/secring.gpg' created 03:50:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:50:48 gpg: CAST5 encrypted data 03:50:48 gpg: encrypted with 1 passphrase 03:50:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:50:48 + mkdir /home/jenkins 03:50:48 + mkdir /home/jenkins/sigul [Pipeline] sh 03:50:49 + 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 03:50:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:50:49 ---> sigul-install.sh 03:50:53 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 03:50:53 + git tag --list 03:50:53 0.7.1 03:50:53 v1.0.0 03:50:53 v1.1.0 03:50:53 v1.1.1 03:50:53 v1.2.2 03:50:53 v1.3.0 03:50:53 v1.3.1 03:50:53 v1.3.1-dev.1 03:50:53 v1.3.1-dev.2 03:50:53 v1.3.1-dev.3 03:50:53 v1.3.1-dev.4 03:50:53 v1.3.2-dev.1 03:50:53 v1.3.2-dev.10 03:50:53 v1.3.2-dev.11 03:50:53 v1.3.2-dev.12 03:50:53 v1.3.2-dev.13 03:50:53 v1.3.2-dev.14 03:50:53 v1.3.2-dev.15 03:50:53 v1.3.2-dev.16 03:50:53 v1.3.2-dev.17 03:50:53 v1.3.2-dev.18 03:50:53 v1.3.2-dev.19 03:50:53 v1.3.2-dev.2 03:50:53 v1.3.2-dev.20 03:50:53 v1.3.2-dev.21 03:50:53 v1.3.2-dev.22 03:50:53 v1.3.2-dev.3 03:50:53 v1.3.2-dev.4 03:50:53 v1.3.2-dev.5 03:50:53 v1.3.2-dev.6 03:50:53 v1.3.2-dev.7 03:50:53 v1.3.2-dev.8 03:50:53 v1.3.2-dev.9 [Pipeline] sh 03:50:54 + lftools sign git-tag v1.3.2-dev.22 03:50:54 Signing Git tag with Sigul... 03:50:54 Signing v1.3.2-dev.22 [Pipeline] echo 03:50:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:50:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:50:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:50:56 $ docker stop --time=1 2ad7b1f757ff9f1f99d9cba6d10e18f51c27543328ea3eda7ad15a8223307dd8 03:50:57 $ docker rm -f 2ad7b1f757ff9f1f99d9cba6d10e18f51c27543328ea3eda7ad15a8223307dd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 03:50:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:50:58 . [Pipeline] withDockerContainer 03:50:58 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 03:50:58 $ 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 03:50:58 $ docker top 1f3c098d4c2e2b6292cc752d29582b904ed3d29203ea39a518c8bca25f2bb1d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:50:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:50:58 [ssh-agent] Looking for ssh-agent implementation... 03:50:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:50:59 $ docker exec 1f3c098d4c2e2b6292cc752d29582b904ed3d29203ea39a518c8bca25f2bb1d9 ssh-agent 03:50:59 SSH_AUTH_SOCK=/tmp/ssh-Y2ESpeb7lUIN/agent.14 03:50:59 SSH_AGENT_PID=20 03:50:59 Running ssh-add (command line suppressed) 03:50:59 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_822850220602938526.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_822850220602938526.key) 03:50:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:50:59 + git semver bump pre 03:50:59 # -> Open(): unable to determine branch for HEAD 03:50:59 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 03:50:59 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 03:50:59 # $SEMVER_REMOTE_NAME = origin 03:50:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:50:59 # $SEMVER_USER_NAME = edgex-jenkins 03:50:59 # $SEMVER_BRANCH = master 03:50:59 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 03:50:59 1.3.2-dev.23 [Pipeline] } 03:50:59 $ docker exec --env ******** --env ******** 1f3c098d4c2e2b6292cc752d29582b904ed3d29203ea39a518c8bca25f2bb1d9 ssh-agent -k 03:50:59 unset SSH_AUTH_SOCK; 03:50:59 unset SSH_AGENT_PID; 03:50:59 echo Agent pid 20 killed; 03:50:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:51:00 + git semver [Pipeline] } 03:51:00 $ docker stop --time=1 1f3c098d4c2e2b6292cc752d29582b904ed3d29203ea39a518c8bca25f2bb1d9 03:51:01 $ docker rm -f 1f3c098d4c2e2b6292cc752d29582b904ed3d29203ea39a518c8bca25f2bb1d9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:51:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:51:01 . [Pipeline] withDockerContainer 03:51:01 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 03:51:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:51:02 $ docker top bdb926c3baa7b0fe2c1bceb3b76a3391997bf6f14bf91dfd410a7fe95de24fc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:51:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:51:02 [ssh-agent] Looking for ssh-agent implementation... 03:51:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:51:02 $ docker exec bdb926c3baa7b0fe2c1bceb3b76a3391997bf6f14bf91dfd410a7fe95de24fc0 ssh-agent 03:51:02 SSH_AUTH_SOCK=/tmp/ssh-QCTYwJY1sc1j/agent.13 03:51:02 SSH_AGENT_PID=20 03:51:02 Running ssh-add (command line suppressed) 03:51:02 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2499147054429743906.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2499147054429743906.key) 03:51:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:51:03 + git semver push 03:51:03 # -> Open(): unable to determine branch for HEAD 03:51:03 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 03:51:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 03:51:03 # $SEMVER_REMOTE_NAME = origin 03:51:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:51:03 # $SEMVER_USER_NAME = edgex-jenkins 03:51:03 # $SEMVER_BRANCH = master 03:51:03 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 03:51:08 $ docker exec --env ******** --env ******** bdb926c3baa7b0fe2c1bceb3b76a3391997bf6f14bf91dfd410a7fe95de24fc0 ssh-agent -k 03:51:08 unset SSH_AUTH_SOCK; 03:51:08 unset SSH_AGENT_PID; 03:51:08 echo Agent pid 20 killed; 03:51:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:51:08 + git semver [Pipeline] } 03:51:08 $ docker stop --time=1 bdb926c3baa7b0fe2c1bceb3b76a3391997bf6f14bf91dfd410a7fe95de24fc0 03:51:10 $ docker rm -f bdb926c3baa7b0fe2c1bceb3b76a3391997bf6f14bf91dfd410a7fe95de24fc0 [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 03:51:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:51:11 ---> package-listing.sh 03:51:11 ++ facter osfamily 03:51:11 ++ tr '[:upper:]' '[:lower:]' 03:51:12 + OS_FAMILY=redhat 03:51:12 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 03:51:12 + START_PACKAGES=/tmp/packages_start.txt 03:51:12 + END_PACKAGES=/tmp/packages_end.txt 03:51:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:51:12 + PACKAGES=/tmp/packages_start.txt 03:51:12 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 03:51:12 + PACKAGES=/tmp/packages_end.txt 03:51:12 + case "${OS_FAMILY}" in 03:51:12 + rpm -qa 03:51:12 + sort 03:51:12 + '[' -f /tmp/packages_start.txt ']' 03:51:12 + '[' -f /tmp/packages_end.txt ']' 03:51:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:51:12 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 03:51:12 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 03:51:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 03:51:12 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 03:51:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:51:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:51:13 03:51:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:51:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:51:14 alpine: Pulling from edgex-lftools-log-publisher 03:51:14 df20fa9351a1: Pulling fs layer 03:51:14 36b3adc4ff6f: Pulling fs layer 03:51:14 8ad3a11d3b57: Pulling fs layer 03:51:14 46f8f816bc3b: Pulling fs layer 03:51:14 93b61091891f: Pulling fs layer 03:51:14 93b9cdb0e59b: Pulling fs layer 03:51:14 5e14af77c1be: Pulling fs layer 03:51:14 01666e4c0597: Pulling fs layer 03:51:14 aa168da1d23b: Pulling fs layer 03:51:14 46f8f816bc3b: Waiting 03:51:14 93b61091891f: Waiting 03:51:14 93b9cdb0e59b: Waiting 03:51:14 5e14af77c1be: Waiting 03:51:14 01666e4c0597: Waiting 03:51:14 aa168da1d23b: Waiting 03:51:14 36b3adc4ff6f: Verifying Checksum 03:51:14 36b3adc4ff6f: Download complete 03:51:14 46f8f816bc3b: Verifying Checksum 03:51:14 46f8f816bc3b: Download complete 03:51:14 df20fa9351a1: Verifying Checksum 03:51:14 df20fa9351a1: Download complete 03:51:14 93b61091891f: Verifying Checksum 03:51:14 93b61091891f: Download complete 03:51:14 93b9cdb0e59b: Verifying Checksum 03:51:14 93b9cdb0e59b: Download complete 03:51:14 5e14af77c1be: Verifying Checksum 03:51:14 5e14af77c1be: Download complete 03:51:14 01666e4c0597: Verifying Checksum 03:51:14 01666e4c0597: Download complete 03:51:14 df20fa9351a1: Pull complete 03:51:14 8ad3a11d3b57: Verifying Checksum 03:51:14 8ad3a11d3b57: Download complete 03:51:14 36b3adc4ff6f: Pull complete 03:51:14 8ad3a11d3b57: Pull complete 03:51:15 46f8f816bc3b: Pull complete 03:51:15 93b61091891f: Pull complete 03:51:15 93b9cdb0e59b: Pull complete 03:51:15 5e14af77c1be: Pull complete 03:51:15 01666e4c0597: Pull complete 03:51:16 aa168da1d23b: Verifying Checksum 03:51:16 aa168da1d23b: Download complete 03:51:20 aa168da1d23b: Pull complete 03:51:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:51:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:51:20 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 03:51:20 $ 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 03:51:22 $ docker top 09c7c6de4ab87ce2f0b2e58ee127b0eb873f0955438c876135265d2ba7a464ec -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:23 + touch /tmp/pre-build-complete [Pipeline] sh 03:51:23 + mkdir -p /var/log/sa [Pipeline] sh 03:51:23 + ls /var/log/sa-host 03:51:23 + sadf -c /var/log/sa-host/sa05 03:51:23 file_magic: OK 03:51:23 HZ: Using current value: 100 03:51:23 file_header: OK 03:51:23 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 03:51:23 Statistics: 03:51:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:51:23 File successfully converted to sysstat format version 12.2.1 03:51:23 + sadf -c /var/log/sa-host/sa11 03:51:23 file_magic: OK 03:51:23 HZ: Using current value: 100 03:51:23 file_header: OK 03:51:23 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 03:51:23 Statistics: 03:51:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:51:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:51:24 provisioning config files... 03:51:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4689719837869381897tmp [Pipeline] { [Pipeline] echo 03:51:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:51:24 ---> create-netrc.sh [Pipeline] } 03:51:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:51:24 ---> python-tools-install.sh [Pipeline] echo 03:51:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:51:25 ---> sudo-logs.sh 03:51:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:51:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:51:25 ---> job-cost.sh 03:51:25 lf-activate-venv: SKIPPING 03:51:25 DEBUG: total: 0.18000000715255737 03:51:25 INFO: Retrieving Stack Cost... 03:51:26 INFO: Retrieving Pricing Info for: v3-standard-2 03:51:27 INFO: Archiving Costs [Pipeline] echo 03:51:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:51:27 ---> logs-deploy.sh 03:51:27 lf-activate-venv: SKIPPING 03:51:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/54 03:51:27 INFO: archiving workspace using pattern(s): 03:51:28 Archives upload complete. 03:51:28 INFO: archiving logs to Nexus 03:51:28 ---> uname -a: 03:51:28 Linux prd-centos7-docker-4c-2g-443.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 03:51:28 03:51:28 03:51:28 ---> lscpu: 03:51:28 Architecture: x86_64 03:51:28 CPU op-mode(s): 32-bit, 64-bit 03:51:28 Byte Order: Little Endian 03:51:28 Address sizes: 40 bits physical, 48 bits virtual 03:51:28 CPU(s): 2 03:51:28 On-line CPU(s) list: 0,1 03:51:28 Thread(s) per core: 1 03:51:28 Core(s) per socket: 1 03:51:28 Socket(s): 2 03:51:28 NUMA node(s): 1 03:51:28 Vendor ID: AuthenticAMD 03:51:28 CPU family: 23 03:51:28 Model: 49 03:51:28 Model name: AMD EPYC-Rome Processor 03:51:28 Stepping: 0 03:51:28 CPU MHz: 2799.998 03:51:28 BogoMIPS: 5599.99 03:51:28 Virtualization: AMD-V 03:51:28 Hypervisor vendor: KVM 03:51:28 Virtualization type: full 03:51:28 L1d cache: 64 KiB 03:51:28 L1i cache: 64 KiB 03:51:28 L2 cache: 1 MiB 03:51:28 L3 cache: 32 MiB 03:51:28 NUMA node0 CPU(s): 0,1 03:51:28 Vulnerability Itlb multihit: Not affected 03:51:28 Vulnerability L1tf: Not affected 03:51:28 Vulnerability Mds: Not affected 03:51:28 Vulnerability Meltdown: Not affected 03:51:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:51:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:51:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:51:28 Vulnerability Srbds: Not affected 03:51:28 Vulnerability Tsx async abort: Not affected 03:51:28 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 03:51:28 03:51:28 03:51:28 ---> nproc: 03:51:28 2 03:51:28 03:51:28 03:51:28 ---> df -h: 03:51:28 Filesystem Size Used Available Use% Mounted on 03:51:28 overlay 40.0G 8.9G 31.1G 22% / 03:51:28 tmpfs 64.0M 0 64.0M 0% /dev 03:51:28 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 03:51:28 shm 64.0M 0 64.0M 0% /dev/shm 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 03:51:28 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 03:51:28 03:51:28 03:51:28 ---> free -m: 03:51:28 total used free shared buff/cache available 03:51:28 Mem: 7821 1180 3255 0 3384 6558 03:51:28 Swap: 1023 0 1023 03:51:28 03:51:28 03:51:28 ---> ip addr: 03:51:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:51:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:51:28 inet 127.0.0.1/8 scope host lo 03:51:28 valid_lft forever preferred_lft forever 03:51:28 inet6 ::1/128 scope host 03:51:28 valid_lft forever preferred_lft forever 03:51:28 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:51:28 link/ether fa:16:3e:f3:f9:41 brd ff:ff:ff:ff:ff:ff 03:51:28 inet 10.30.122.73/23 brd 10.30.123.255 scope global dynamic eth0 03:51:28 valid_lft 85680sec preferred_lft 85680sec 03:51:28 inet6 fe80::f816:3eff:fef3:f941/64 scope link 03:51:28 valid_lft forever preferred_lft forever 03:51:28 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:51:28 link/ether 02:42:d8:3d:4b:77 brd ff:ff:ff:ff:ff:ff 03:51:28 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:51:28 valid_lft forever preferred_lft forever 03:51:28 inet6 fe80::42:d8ff:fe3d:4b77/64 scope link 03:51:28 valid_lft forever preferred_lft forever 03:51:28 03:51:28 03:51:28 ---> sar -b -r -n DEV: 03:51:28 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 03:51:28 03:51:28 03:39:19 LINUX RESTART (2 CPU) 03:51:28 03:51:28 03:40:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:51:28 03:41:01 18.19 0.62 17.57 0.00 351.63 2922.10 0.00 03:51:28 03:42:01 0.35 0.00 0.35 0.00 0.00 5.81 0.00 03:51:28 03:43:01 0.38 0.00 0.38 0.00 0.00 5.68 0.00 03:51:28 03:44:01 0.18 0.00 0.18 0.00 0.00 2.97 0.00 03:51:28 03:45:01 0.27 0.00 0.27 0.00 0.00 3.93 0.00 03:51:28 03:46:01 0.30 0.00 0.30 0.00 0.00 4.05 0.00 03:51:28 03:47:01 0.17 0.00 0.17 0.00 0.00 1.88 0.00 03:51:28 03:48:01 0.27 0.00 0.27 0.00 0.00 3.75 0.00 03:51:28 03:49:01 0.28 0.00 0.28 0.00 0.00 2.73 0.00 03:51:28 03:50:01 0.25 0.00 0.25 0.00 0.00 2.80 0.00 03:51:28 03:51:01 212.84 0.05 212.79 0.00 4.26 58547.41 0.00 03:51:28 Average: 21.24 0.06 21.18 0.00 32.36 5594.36 0.00 03:51:28 03:51:28 03:40:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:51:28 03:41:01 5462856 0 806840 10.07 2620 1736616 1273940 14.07 573972 1573592 20 03:51:28 03:42:01 5464468 0 805224 10.05 2620 1736620 1244256 13.74 572444 1573556 20 03:51:28 03:43:01 5460680 0 809008 10.10 2620 1736624 1283508 14.17 579672 1570076 20 03:51:28 03:44:01 5464676 0 805008 10.05 2620 1736628 1249940 13.80 575736 1570076 16 03:51:28 03:45:01 5469720 0 799956 9.99 2620 1736636 1201708 13.27 564092 1577940 16 03:51:28 03:46:01 5470152 0 799524 9.98 2620 1736636 1201624 13.27 565108 1576420 12 03:51:28 03:47:01 5470128 0 799540 9.98 2620 1736644 1201672 13.27 565432 1576420 12 03:51:28 03:48:01 5468604 0 801056 10.00 2620 1736652 1201932 13.27 573644 1569340 8 03:51:28 03:49:01 5470280 0 799376 9.98 2620 1736656 1201692 13.27 572400 1569344 8 03:51:28 03:50:01 5463640 0 806012 10.06 2620 1736660 1215308 13.42 577636 1569340 16 03:51:28 03:51:01 3839484 0 1108152 13.84 2620 3058676 1394144 15.39 839528 2696848 60 03:51:28 Average: 5318608 0 830881 10.37 2620 1856823 1242702 13.72 596333 1674814 19 03:51:28 03:51:28 03:40:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:51:28 03:41:01 eth0 65.27 50.00 337.25 11.86 0.00 0.00 0.00 0.00 03:51:28 03:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:41:01 docker0 2.55 2.03 0.56 5.67 0.00 0.00 0.00 0.00 03:51:28 03:42:01 eth0 5.83 3.15 3.65 8.38 0.00 0.00 0.00 0.00 03:51:28 03:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:43:01 eth0 2.82 1.57 0.69 13.08 0.00 0.00 0.00 0.00 03:51:28 03:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:44:01 eth0 0.60 0.37 0.28 0.43 0.00 0.00 0.00 0.00 03:51:28 03:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:45:01 eth0 0.27 0.18 0.09 0.15 0.00 0.00 0.00 0.00 03:51:28 03:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:46:01 eth0 0.62 0.08 0.06 0.01 0.00 0.00 0.00 0.00 03:51:28 03:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:47:01 eth0 0.85 0.17 0.13 0.01 0.00 0.00 0.00 0.00 03:51:28 03:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:48:01 eth0 0.90 0.53 0.53 0.39 0.00 0.00 0.00 0.00 03:51:28 03:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:49:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:51:28 03:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:50:01 eth0 1.87 1.25 1.61 0.59 0.00 0.00 0.00 0.00 03:51:28 03:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:51:01 eth0 886.45 805.51 7975.66 82.67 0.00 0.00 0.00 0.00 03:51:28 03:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 03:51:01 docker0 107.16 113.92 7.78 656.22 0.00 0.00 0.00 0.00 03:51:28 Average: eth0 87.83 78.49 756.79 10.69 0.00 0.00 0.00 0.00 03:51:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:51:28 Average: docker0 9.98 10.55 0.76 60.21 0.00 0.00 0.00 0.00 03:51:28 03:51:28 03:51:28 ---> sar -P ALL: 03:51:28 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 03:51:28 03:51:28 03:39:19 LINUX RESTART (2 CPU) 03:51:28 03:51:28 03:40:01 CPU %user %nice %system %iowait %steal %idle 03:51:28 03:41:01 all 2.54 0.00 1.25 0.40 0.04 95.77 03:51:28 03:41:01 0 2.49 0.00 1.26 0.32 0.03 95.90 03:51:28 03:41:01 1 2.60 0.00 1.23 0.47 0.05 95.65 03:51:28 03:42:01 all 0.20 0.00 0.06 0.01 0.02 99.72 03:51:28 03:42:01 0 0.13 0.00 0.07 0.00 0.02 99.78 03:51:28 03:42:01 1 0.27 0.00 0.05 0.02 0.02 99.65 03:51:28 03:43:01 all 0.14 0.00 0.05 0.01 0.03 99.77 03:51:28 03:43:01 0 0.17 0.00 0.03 0.00 0.02 99.78 03:51:28 03:43:01 1 0.12 0.00 0.07 0.02 0.03 99.77 03:51:28 03:44:01 all 0.10 0.00 0.03 0.00 0.03 99.85 03:51:28 03:44:01 0 0.10 0.00 0.02 0.00 0.03 99.85 03:51:28 03:44:01 1 0.10 0.00 0.03 0.00 0.02 99.85 03:51:28 03:45:01 all 0.13 0.00 0.04 0.00 0.02 99.81 03:51:28 03:45:01 0 0.23 0.00 0.03 0.00 0.02 99.72 03:51:28 03:45:01 1 0.03 0.00 0.05 0.00 0.02 99.90 03:51:28 03:46:01 all 0.13 0.00 0.03 0.00 0.02 99.82 03:51:28 03:46:01 0 0.08 0.00 0.03 0.00 0.02 99.87 03:51:28 03:46:01 1 0.17 0.00 0.03 0.00 0.02 99.78 03:51:28 03:47:01 all 0.09 0.00 0.03 0.00 0.02 99.87 03:51:28 03:47:01 0 0.03 0.00 0.02 0.00 0.02 99.93 03:51:28 03:47:01 1 0.15 0.00 0.03 0.00 0.02 99.80 03:51:28 03:48:01 all 0.08 0.00 0.04 0.00 0.03 99.86 03:51:28 03:48:01 0 0.10 0.00 0.05 0.00 0.02 99.83 03:51:28 03:48:01 1 0.05 0.00 0.03 0.00 0.03 99.88 03:51:28 03:49:01 all 0.12 0.00 0.03 0.01 0.02 99.82 03:51:28 03:49:01 0 0.18 0.00 0.02 0.02 0.02 99.77 03:51:28 03:49:01 1 0.05 0.00 0.05 0.00 0.02 99.88 03:51:28 03:50:01 all 0.13 0.00 0.08 0.00 0.02 99.77 03:51:28 03:50:01 0 0.13 0.00 0.03 0.00 0.00 99.83 03:51:28 03:50:01 1 0.13 0.00 0.12 0.00 0.03 99.72 03:51:28 03:51:01 all 24.10 0.00 10.66 4.40 0.09 60.75 03:51:28 03:51:01 0 23.04 0.00 10.62 4.13 0.09 62.13 03:51:28 03:51:01 1 25.16 0.00 10.71 4.66 0.09 59.38 03:51:28 03:51:28 Average: CPU %user %nice %system %iowait %steal %idle 03:51:28 Average: all 2.40 0.00 1.06 0.42 0.03 96.10 03:51:28 Average: 0 2.30 0.00 1.05 0.38 0.02 96.24 03:51:28 Average: 1 2.49 0.00 1.07 0.45 0.03 95.95 03:51:28 03:51:28 03:51:28