Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 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-ssh2333566748739297724.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh3853665887925941707.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh764956839291755342.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh5968783539864401504.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-ssh8288174361708873264.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 on ‘prd-centos7-docker-4c-2g-232’ Running on prd-centos7-docker-4c-2g-235 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b (master) Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh7285821235706117997.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 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b # timeout=10 Commit message: "fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269)" > git rev-list --no-walk 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:17:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:17:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:17:58 ========================================================= 16:17:58 EdgeX Global Pipelines Version Info 16:17:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:17:59 ------------------- 16:17:59 stable info: 16:17:59 ------------------- 16:17:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:17:59 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 16:17:59 Message: update stable to v1.0.194 16:18:00 ------------------- 16:18:00 experimental info: 16:18:00 ------------------- 16:18:00 Commited By: **** collab-it+edgex@linuxfoundation.org 16:18:00 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 16:18:00 Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:18:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a33ad5 [Pipeline] echo 16:18:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:18:01 provisioning config files... 16:18:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1090168026516541026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:01 ---> docker-login.sh 16:18:01 nexus3.edgexfoundry.org:10001 16:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:02 Configure a credential helper to remove this warning. See 16:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:02 16:18:02 Login Succeeded 16:18:02 nexus3.edgexfoundry.org:10002 16:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:02 Configure a credential helper to remove this warning. See 16:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:02 16:18:02 Login Succeeded 16:18:02 nexus3.edgexfoundry.org:10003 16:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:03 Configure a credential helper to remove this warning. See 16:18:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:03 16:18:03 Login Succeeded 16:18:03 nexus3.edgexfoundry.org:10004 16:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:03 Configure a credential helper to remove this warning. See 16:18:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:03 16:18:03 Login Succeeded 16:18:03 docker.io 16:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:03 Configure a credential helper to remove this warning. See 16:18:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:03 16:18:03 Login Succeeded 16:18:03 ---> docker-login.sh ends [Pipeline] } 16:18:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:04 + git log --format=format:%s -1 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] echo 16:18:04 GIT_COMMIT: 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b, Commit Message: fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269) [Pipeline] echo 16:18:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:18:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:18:04 16:18:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:18:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:18:05 latest: Pulling from edgex-devops/git-semver 16:18:05 31603596830f: Pulling fs layer 16:18:05 54011a49482f: Pulling fs layer 16:18:05 a6820b24f6d8: Pulling fs layer 16:18:05 f581987b2513: Pulling fs layer 16:18:05 f581987b2513: Waiting 16:18:05 54011a49482f: Verifying Checksum 16:18:05 54011a49482f: Download complete 16:18:05 31603596830f: Verifying Checksum 16:18:05 31603596830f: Download complete 16:18:05 a6820b24f6d8: Verifying Checksum 16:18:05 a6820b24f6d8: Download complete 16:18:05 f581987b2513: Verifying Checksum 16:18:05 f581987b2513: Download complete 16:18:05 31603596830f: Pull complete 16:18:05 54011a49482f: Pull complete 16:18:06 a6820b24f6d8: Pull complete 16:18:06 f581987b2513: Pull complete 16:18:06 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 16:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:18:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:18:06 prd-centos7-docker-4c-2g-235 does not seem to be running inside a container 16:18:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:18:08 $ docker top 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:18:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:18:08 [ssh-agent] Looking for ssh-agent implementation... 16:18:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:18:08 $ docker exec 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent 16:18:08 SSH_AUTH_SOCK=/tmp/ssh-kFLotFNEYeBm/agent.14 16:18:08 SSH_AGENT_PID=21 16:18:08 Running ssh-add (command line suppressed) 16:18:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_308801141139400172.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_308801141139400172.key) 16:18:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:18:09 + git tag --points-at HEAD [Pipeline] } 16:18:09 $ docker exec --env ******** --env ******** 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent -k 16:18:09 unset SSH_AUTH_SOCK; 16:18:09 unset SSH_AGENT_PID; 16:18:09 echo Agent pid 21 killed; 16:18:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:18:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:18:09 [ssh-agent] Looking for ssh-agent implementation... 16:18:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:18:09 $ docker exec 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent 16:18:09 SSH_AUTH_SOCK=/tmp/ssh-P349FoP6qv1G/agent.55 16:18:09 SSH_AGENT_PID=61 16:18:09 Running ssh-add (command line suppressed) 16:18:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8785941412365467469.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8785941412365467469.key) 16:18:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:18:10 + git semver init 16:18:10 # -> Open(): unable to determine branch for HEAD 16:18:10 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:18:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:18:10 # $SEMVER_REMOTE_NAME = origin 16:18:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:18:10 # $SEMVER_USER_NAME = edgex-jenkins 16:18:10 # $SEMVER_BRANCH = master 16:18:10 # $SEMVER_TEMP = /tmp/semver-404754001 16:18:10 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 16:18:10 # '/tmp/semver-404754001' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 16:18:10 # -> Force: false 16:18:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 16:18:10 $ docker exec --env ******** --env ******** 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent -k 16:18:10 unset SSH_AUTH_SOCK; 16:18:10 unset SSH_AGENT_PID; 16:18:10 echo Agent pid 61 killed; 16:18:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:18:11 + git semver [Pipeline] } 16:18:11 $ docker stop --time=1 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 16:18:12 $ docker rm -f 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 [Pipeline] // withDockerContainer [Pipeline] sh 16:18:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:18:13 Stashed 1 file(s) [Pipeline] echo 16:18:13 [edgeXSemver]: initialized semver on version 1.3.2-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:18:28 Still waiting to schedule task 16:18:28 ‘prd-centos7-builder-2c-1g-144’ doesn’t have label ‘centos7-docker-4c-2g’ 16:18:28 ‘prd-centos7-docker-4c-2g-237’ is offline 16:18:28 Still waiting to schedule task 16:18:28 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-233’ 16:18:45 Running on prd-centos7-docker-4c-2g-237 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 16:18:45 Running in /w/workspace/device-mqtt-go/52 [Pipeline] { [Pipeline] checkout 16:18:45 Selected Git installation does not exist. Using Default 16:18:45 The recommended git tool is: NONE 16:18:47 using credential edgex-jenkins-ssh 16:18:47 Cloning the remote Git repository 16:18:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:18:48 Avoid second fetch 16:18:48 Checking out Revision 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b (master) 16:18:47 > git init /w/workspace/device-mqtt-go/52 # timeout=10 16:18:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:18:47 > git --version # timeout=10 16:18:47 > git --version # 'git version 2.24.4' 16:18:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:47 [INFO] Currently running in a labeled security context 16:18:47 [INFO] Currently SELinux is 'enforcing' on the host 16:18:47 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/52@tmp/jenkins-gitclient-ssh6063492900996838536.key 16:18:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:18:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:48 > git config core.sparsecheckout # timeout=10 16:18:48 > git checkout -f 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b # timeout=10 16:18:51 Commit message: "fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:18:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:18:53 + sudo service docker restart 16:18:53 + true 16:18:53 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:11 provisioning config files... 16:19:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config2696671855997900860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:11 ---> docker-login.sh 16:19:11 nexus3.edgexfoundry.org:10001 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 nexus3.edgexfoundry.org:10002 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 nexus3.edgexfoundry.org:10003 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 nexus3.edgexfoundry.org:10004 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 docker.io 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 ---> docker-login.sh ends [Pipeline] } 16:19:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:13 ========================================================= 16:19:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:19:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:19:13 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 16:19:13 Sending build context to Docker daemon 595.5kB 16:19:13 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:19:13 Step 2/8 : FROM ${BASE} 16:19:13 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:19:13 540db60ca938: Pulling fs layer 16:19:13 adcc1eea9eea: Pulling fs layer 16:19:13 4c4ab2625f07: Pulling fs layer 16:19:13 0510c868ecb4: Pulling fs layer 16:19:13 afea3b2eda06: Pulling fs layer 16:19:13 7809a108b3ef: Pulling fs layer 16:19:13 f706445af74f: Pulling fs layer 16:19:13 0510c868ecb4: Waiting 16:19:13 afea3b2eda06: Waiting 16:19:13 7809a108b3ef: Waiting 16:19:13 f706445af74f: Waiting 16:19:13 4c4ab2625f07: Download complete 16:19:13 adcc1eea9eea: Verifying Checksum 16:19:13 adcc1eea9eea: Download complete 16:19:13 afea3b2eda06: Verifying Checksum 16:19:13 afea3b2eda06: Download complete 16:19:13 7809a108b3ef: Verifying Checksum 16:19:13 7809a108b3ef: Download complete 16:19:13 540db60ca938: Verifying Checksum 16:19:13 540db60ca938: Download complete 16:19:13 540db60ca938: Pull complete 16:19:13 adcc1eea9eea: Pull complete 16:19:14 4c4ab2625f07: Pull complete 16:19:15 f706445af74f: Verifying Checksum 16:19:15 f706445af74f: Download complete 16:19:16 0510c868ecb4: Verifying Checksum 16:19:16 0510c868ecb4: Download complete 16:19:19 0510c868ecb4: Pull complete 16:19:19 afea3b2eda06: Pull complete 16:19:19 7809a108b3ef: Pull complete 16:19:20 f706445af74f: Pull complete 16:19:20 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 16:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:19:20 ---> b068be0155e3 16:19:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:19:25 ---> Running in 24b215331fe4 16:19:25 Removing intermediate container 24b215331fe4 16:19:25 ---> 9feba6eae1b0 16:19:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:19:25 ---> Running in f3cf445d7385 16:19:26 Removing intermediate container f3cf445d7385 16:19:26 ---> d3f35b4b57b8 16:19:26 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:19:26 ---> Running in 4896ddd2a744 16:19:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:19:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:19:27 (1/13) Installing libc-dev (0.7.2-r3) 16:19:27 (2/13) Installing libsodium (1.0.18-r0) 16:19:28 (3/13) Installing pkgconf (1.7.3-r0) 16:19:28 (4/13) Installing libsodium-dev (1.0.18-r0) 16:19:28 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:19:28 (6/13) Installing libedit (20191231.3.1-r1) 16:19:28 (7/13) Installing openssh-client (8.4_p1-r3) 16:19:28 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:19:28 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:19:28 (10/13) Installing openssh-server (8.4_p1-r3) 16:19:28 (11/13) Installing openssh (8.4_p1-r3) 16:19:29 (12/13) Installing libzmq (4.3.3-r1) 16:19:29 (13/13) Installing zeromq-dev (4.3.3-r1) 16:19:29 Executing busybox-1.32.1-r6.trigger 16:19:29 OK: 156 MiB in 53 packages 16:19:29 Removing intermediate container 4896ddd2a744 16:19:29 ---> 4a80ea543526 16:19:29 Step 6/8 : WORKDIR /device-mqtt-go 16:19:29 ---> Running in 6e1ed91a7573 16:19:29 Removing intermediate container 6e1ed91a7573 16:19:29 ---> 1f7f81589ddf 16:19:29 Step 7/8 : COPY . . 16:19:29 ---> 55f4a75304bd 16:19:29 Step 8/8 : RUN go mod download 16:19:30 ---> Running in fdb8df86faa4 16:19:42 Removing intermediate container fdb8df86faa4 16:19:42 ---> 3662968942d8 16:19:42 Successfully built 3662968942d8 16:19:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:19:42 + docker inspect -f . ci-base-image-x86_64 16:19:42 . [Pipeline] withDockerContainer 16:19:42 prd-centos7-docker-4c-2g-237 does not seem to be running inside a container 16:19:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:19:43 $ docker top 389473046cdae98f1e4bdc008120566e6b0e3b03fe825661ce7df35dc86cc68a -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:43 + go version 16:19:43 go version go1.16.3 linux/amd64 [Pipeline] } 16:19:43 $ docker stop --time=1 389473046cdae98f1e4bdc008120566e6b0e3b03fe825661ce7df35dc86cc68a 16:19:44 $ docker rm -f 389473046cdae98f1e4bdc008120566e6b0e3b03fe825661ce7df35dc86cc68a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:19:45 + docker inspect -f . ci-base-image-x86_64 16:19:45 . [Pipeline] withDockerContainer 16:19:45 prd-centos7-docker-4c-2g-237 does not seem to be running inside a container 16:19:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:19:45 $ docker top f68f00fc5767264240e250ce667c952b6b0cd8b19a5806e833dce6dc81f98f41 -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:46 + go mod tidy [Pipeline] sh 16:19:46 + make test 16:19:46 go mod tidy 16:19:46 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:19:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:20:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:20:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.6% of statements 16:20:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:20:03 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:20:10 gofmt -l . 16:20:10 ["`gofmt -l .`" = ""] 16:20:10 ./bin/test-attribution-txt.sh [Pipeline] } 16:20:10 $ docker stop --time=1 f68f00fc5767264240e250ce667c952b6b0cd8b19a5806e833dce6dc81f98f41 16:20:12 $ docker rm -f f68f00fc5767264240e250ce667c952b6b0cd8b19a5806e833dce6dc81f98f41 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:14 + ls -al . 16:20:14 total 108 16:20:14 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 10 16:20 . 16:20:14 drwxrwxr-x. 4 jenkins jenkins 30 Jun 10 16:18 .. 16:20:14 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 10 16:18 Attribution.txt 16:20:14 drwxrwxr-x. 2 jenkins jenkins 60 Jun 10 16:18 bin 16:20:14 drwxrwxr-x. 3 jenkins jenkins 32 Jun 10 16:18 cmd 16:20:14 -rw-r--r--. 1 jenkins jenkins 19967 Jun 10 16:20 coverage.out 16:20:14 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 10 16:18 Dockerfile 16:20:14 -rw-rw-r--. 1 jenkins jenkins 994 Jun 10 16:18 Dockerfile.build 16:20:14 -rw-rw-r--. 1 jenkins jenkins 140 Jun 10 16:18 .dockerignore 16:20:14 drwxrwxr-x. 8 jenkins jenkins 162 Jun 10 16:18 .git 16:20:14 drwxrwxr-x. 2 jenkins jenkins 103 Jun 10 16:18 .github 16:20:14 -rw-rw-r--. 1 jenkins jenkins 336 Jun 10 16:18 .gitignore 16:20:14 -rw-rw-r--. 1 jenkins jenkins 409 Jun 10 16:18 go.mod 16:20:14 -rw-r--r--. 1 jenkins jenkins 20960 Jun 10 16:19 go.sum 16:20:14 drwxrwxr-x. 3 jenkins jenkins 20 Jun 10 16:18 internal 16:20:14 -rw-rw-r--. 1 jenkins jenkins 677 Jun 10 16:18 Jenkinsfile 16:20:14 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 10 16:18 LICENSE 16:20:14 -rw-rw-r--. 1 jenkins jenkins 907 Jun 10 16:18 Makefile 16:20:14 drwxrwxr-x. 2 jenkins jenkins 23 Jun 10 16:18 mock 16:20:14 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 10 16:18 README.md 16:20:14 drwxrwxr-x. 4 jenkins jenkins 71 Jun 10 16:18 snap 16:20:14 -rw-rw-r--. 1 jenkins jenkins 12 Jun 10 16:18 VERSION 16:20:14 -rw-rw-r--. 1 jenkins jenkins 227 Jun 10 16:18 version.go [Pipeline] isUnix [Pipeline] sh 16:20:14 + 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=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b --label arch=amd64 --label version=1.3.2-dev.20 . 16:20:14 Sending build context to Docker daemon 615.9kB 16:20:14 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 16:20:14 Step 2/24 : FROM ${BASE} AS builder 16:20:14 ---> 3662968942d8 16:20:14 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:20:14 ---> Running in c6e3bfcabf92 16:20:14 Removing intermediate container c6e3bfcabf92 16:20:14 ---> 0634eab72cb5 16:20:14 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:20:14 ---> Running in a41bb1400520 16:20:15 Removing intermediate container a41bb1400520 16:20:15 ---> e81882a4634f 16:20:15 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:20:15 ---> Running in 60b4d27e237d 16:20:15 Removing intermediate container 60b4d27e237d 16:20:15 ---> ad41b9a7cd91 16:20:15 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:15 ---> Running in ee4b9c3f0ffc 16:20:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:20:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:20:17 OK: 156 MiB in 53 packages 16:20:17 Removing intermediate container ee4b9c3f0ffc 16:20:17 ---> ea33e0e7c70e 16:20:17 Step 7/24 : WORKDIR /device-mqtt-go 16:20:17 ---> Running in e9144829ecd4 16:20:17 Removing intermediate container e9144829ecd4 16:20:17 ---> 6ed4e8bda6e5 16:20:17 Step 8/24 : COPY . . 16:20:17 ---> 6c90aa54485e 16:20:17 Step 9/24 : RUN go mod tidy 16:20:17 ---> Running in e4eff873e8fe 16:20:18 Removing intermediate container e4eff873e8fe 16:20:18 ---> 30f93d408bab 16:20:18 Step 10/24 : RUN go mod download 16:20:18 ---> Running in 0a46636489f8 16:20:18 Removing intermediate container 0a46636489f8 16:20:18 ---> 57a94d566158 16:20:18 Step 11/24 : ARG MAKE='make build' 16:20:18 ---> Running in e5282c5a6bbf 16:20:18 Removing intermediate container e5282c5a6bbf 16:20:18 ---> b5929fca291f 16:20:18 Step 12/24 : RUN $MAKE 16:20:18 ---> Running in dd73e9f81550 16:20:19 go mod tidy 16:20:19 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.20" -o cmd/device-mqtt ./cmd 16:20:31 Removing intermediate container dd73e9f81550 16:20:31 ---> 1e6c68f591b8 16:20:31 Step 13/24 : FROM alpine:3.12 16:20:31 3.12: Pulling from library/alpine 16:20:31 339de151aab4: Pulling fs layer 16:20:31 339de151aab4: Verifying Checksum 16:20:31 339de151aab4: Download complete 16:20:31 339de151aab4: Pull complete 16:20:31 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 16:20:31 Status: Downloaded newer image for alpine:3.12 16:20:31 ---> 13621d1b12d4 16:20:31 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:20:31 ---> Running in 3ce21c826bca 16:20:31 Removing intermediate container 3ce21c826bca 16:20:31 ---> dcba0cf54d88 16:20:31 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:20:31 ---> Running in bb7bd716c431 16:20:32 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:20:32 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:20:32 (1/6) Installing dumb-init (1.2.2-r1) 16:20:32 (2/6) Installing libgcc (9.3.0-r2) 16:20:32 (3/6) Installing libsodium (1.0.18-r0) 16:20:32 (4/6) Installing libstdc++ (9.3.0-r2) 16:20:32 (5/6) Installing libzmq (4.3.3-r0) 16:20:32 (6/6) Installing zeromq (4.3.3-r0) 16:20:32 Executing busybox-1.31.1-r20.trigger 16:20:32 OK: 8 MiB in 20 packages 16:20:32 Removing intermediate container bb7bd716c431 16:20:32 ---> fe5579ff65d4 16:20:32 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:20:32 ---> e72e53b4b614 16:20:32 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:20:32 ---> 6f2f32b95711 16:20:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:20:33 ---> 5064112fd357 16:20:33 Step 19/24 : EXPOSE 59982 16:20:33 ---> Running in b59547a8307c 16:20:33 Removing intermediate container b59547a8307c 16:20:33 ---> 62c4ebede37a 16:20:33 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:20:33 ---> Running in c031dc813773 16:20:33 Removing intermediate container c031dc813773 16:20:33 ---> 4bc7bc903213 16:20:33 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:20:33 ---> Running in 07ff7dc2fe04 16:20:33 Removing intermediate container 07ff7dc2fe04 16:20:33 ---> 653f9af52362 16:20:33 Step 22/24 : LABEL arch=amd64 16:20:33 ---> Running in c184040115ff 16:20:33 Removing intermediate container c184040115ff 16:20:33 ---> c30f68b7c540 16:20:33 Step 23/24 : LABEL git_sha=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:20:33 ---> Running in 558e48b4a500 16:20:33 Removing intermediate container 558e48b4a500 16:20:33 ---> 32cfa5e59642 16:20:33 Step 24/24 : LABEL version=1.3.2-dev.20 16:20:33 ---> Running in a292b22245e2 16:20:33 Removing intermediate container a292b22245e2 16:20:33 ---> 0cd7af736f48 16:20:33 [Warning] One or more build-args [ARCH] were not consumed 16:20:33 Successfully built 0cd7af736f48 16:20:33 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:34 provisioning config files... 16:20:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config1720489341455936569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:34 ---> docker-login.sh 16:20:34 nexus3.edgexfoundry.org:10001 16:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:34 Configure a credential helper to remove this warning. See 16:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:34 16:20:34 Login Succeeded 16:20:34 nexus3.edgexfoundry.org:10002 16:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:34 Configure a credential helper to remove this warning. See 16:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:34 16:20:34 Login Succeeded 16:20:34 nexus3.edgexfoundry.org:10003 16:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:34 Configure a credential helper to remove this warning. See 16:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:34 16:20:34 Login Succeeded 16:20:34 nexus3.edgexfoundry.org:10004 16:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:34 Configure a credential helper to remove this warning. See 16:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:34 16:20:34 Login Succeeded 16:20:34 docker.io 16:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:35 Configure a credential helper to remove this warning. See 16:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:35 16:20:35 Login Succeeded 16:20:35 ---> docker-login.sh ends [Pipeline] } 16:20:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:20:35 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 16:20:35 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:20:35 latest 16:20:35 1.3.2-dev.20 16:20:35 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 16:20:35 master 16:20:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:20:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] isUnix [Pipeline] sh 16:20:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:20:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:20:35 ec93592f797a: Preparing 16:20:35 0ec962e41afe: Preparing 16:20:35 48f39c0099df: Preparing 16:20:35 6c6e021b5b6e: Preparing 16:20:35 32f366d666a5: Preparing 16:20:35 32f366d666a5: Layer already exists 16:20:36 0ec962e41afe: Pushed 16:20:36 6c6e021b5b6e: Pushed 16:20:36 ec93592f797a: Pushed 16:20:37 48f39c0099df: Pushed 16:20:37 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh 16:20:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 16:20:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 16:20:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:20:38 ec93592f797a: Preparing 16:20:38 0ec962e41afe: Preparing 16:20:38 48f39c0099df: Preparing 16:20:38 6c6e021b5b6e: Preparing 16:20:38 32f366d666a5: Preparing 16:20:38 48f39c0099df: Layer already exists 16:20:38 ec93592f797a: Layer already exists 16:20:38 32f366d666a5: Layer already exists 16:20:38 0ec962e41afe: Layer already exists 16:20:38 6c6e021b5b6e: Layer already exists 16:20:38 latest: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh 16:20:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh 16:20:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.20 16:20:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:20:38 ec93592f797a: Preparing 16:20:38 0ec962e41afe: Preparing 16:20:38 48f39c0099df: Preparing 16:20:38 6c6e021b5b6e: Preparing 16:20:38 32f366d666a5: Preparing 16:20:38 ec93592f797a: Layer already exists 16:20:38 6c6e021b5b6e: Layer already exists 16:20:38 0ec962e41afe: Layer already exists 16:20:38 48f39c0099df: Layer already exists 16:20:38 32f366d666a5: Layer already exists 16:20:38 1.3.2-dev.20: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh 16:20:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh 16:20:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 16:20:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:20:39 ec93592f797a: Preparing 16:20:39 0ec962e41afe: Preparing 16:20:39 48f39c0099df: Preparing 16:20:39 6c6e021b5b6e: Preparing 16:20:39 32f366d666a5: Preparing 16:20:39 0ec962e41afe: Layer already exists 16:20:39 ec93592f797a: Layer already exists 16:20:39 48f39c0099df: Layer already exists 16:20:39 6c6e021b5b6e: Layer already exists 16:20:39 32f366d666a5: Layer already exists 16:20:39 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh 16:20:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 16:20:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 16:20:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 16:20:39 ec93592f797a: Preparing 16:20:39 0ec962e41afe: Preparing 16:20:39 48f39c0099df: Preparing 16:20:39 6c6e021b5b6e: Preparing 16:20:39 32f366d666a5: Preparing 16:20:39 48f39c0099df: Layer already exists 16:20:39 6c6e021b5b6e: Layer already exists 16:20:39 0ec962e41afe: Layer already exists 16:20:39 32f366d666a5: Layer already exists 16:20:39 ec93592f797a: Layer already exists 16:20:39 master: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:20:40 ===================================================== [Pipeline] echo 16:20:40 taggedImages: 16:20:40 - nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:20:40 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 16:20:40 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.20 16:20:40 - nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 16:20:40 - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 16:20:40 ---> job-cost.sh 16:20:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7Pah 16:20:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:21:03 lf-activate-venv(): INFO: Adding /tmp/venv-7Pah/bin to PATH 16:21:03 INFO: No Stack... 16:21:03 INFO: Retrieving Pricing Info for: v3-standard-2 16:21:03 INFO: Archiving Costs [Pipeline] sh 16:21:04 + cut -d, -f6 16:21:04 + cat /w/workspace/device-mqtt-go/52/archives/cost.csv [Pipeline] lock 16:21:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] 16:21:04 Resource [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] did not exist. Created. 16:21:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:04 + echo total: 0.05999999865889549 [Pipeline] stash 16:21:04 Stashed 1 file(s) [Pipeline] } 16:21:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:21:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-238 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 16:21:15 Running in /w/workspace/device-mqtt-go/52 [Pipeline] { [Pipeline] checkout 16:21:15 Selected Git installation does not exist. Using Default 16:21:15 The recommended git tool is: NONE 16:21:21 using credential edgex-jenkins-ssh 16:21:21 Cloning the remote Git repository 16:21:21 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:21:21 > git init /w/workspace/device-mqtt-go/52 # timeout=10 16:21:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:21:21 > git --version # timeout=10 16:21:21 > git --version # 'git version 2.17.1' 16:21:21 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:22 Avoid second fetch 16:21:22 Checking out Revision 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b (master) 16:21:22 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:21:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:22 > git config core.sparsecheckout # timeout=10 16:21:22 > git checkout -f 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b # timeout=10 16:21:27 Commit message: "fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:21:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:21:29 + sudo service docker restart 16:21:29 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:47 provisioning config files... 16:21:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config5086215242235747749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:48 ---> docker-login.sh 16:21:48 nexus3.edgexfoundry.org:10001 16:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:49 Configure a credential helper to remove this warning. See 16:21:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:49 16:21:49 Login Succeeded 16:21:49 nexus3.edgexfoundry.org:10002 16:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:50 Configure a credential helper to remove this warning. See 16:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:50 16:21:50 Login Succeeded 16:21:50 nexus3.edgexfoundry.org:10003 16:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:50 Configure a credential helper to remove this warning. See 16:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:50 16:21:50 Login Succeeded 16:21:50 nexus3.edgexfoundry.org:10004 16:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:50 Configure a credential helper to remove this warning. See 16:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:50 16:21:50 Login Succeeded 16:21:50 docker.io 16:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:51 Configure a credential helper to remove this warning. See 16:21:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:51 16:21:51 Login Succeeded 16:21:51 ---> docker-login.sh ends [Pipeline] } 16:21:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:52 ========================================================= 16:21:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:21:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:21:52 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 16:21:52 Sending build context to Docker daemon 594.4kB 16:21:53 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:21:53 Step 2/8 : FROM ${BASE} 16:21:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:21:53 595b0fe564bb: Pulling fs layer 16:21:53 3088b5b3c5c0: Pulling fs layer 16:21:53 5b7225fbf94c: Pulling fs layer 16:21:53 ba82ee9f976e: Pulling fs layer 16:21:53 506bd15cee9f: Pulling fs layer 16:21:53 75a0a4a0db45: Pulling fs layer 16:21:53 618dc40b7e24: Pulling fs layer 16:21:53 506bd15cee9f: Waiting 16:21:53 ba82ee9f976e: Waiting 16:21:53 75a0a4a0db45: Waiting 16:21:53 618dc40b7e24: Waiting 16:21:53 5b7225fbf94c: Verifying Checksum 16:21:53 5b7225fbf94c: Download complete 16:21:53 3088b5b3c5c0: Verifying Checksum 16:21:53 3088b5b3c5c0: Download complete 16:21:53 506bd15cee9f: Verifying Checksum 16:21:53 506bd15cee9f: Download complete 16:21:53 75a0a4a0db45: Verifying Checksum 16:21:53 75a0a4a0db45: Download complete 16:21:53 595b0fe564bb: Verifying Checksum 16:21:53 595b0fe564bb: Download complete 16:21:53 595b0fe564bb: Pull complete 16:21:54 3088b5b3c5c0: Pull complete 16:21:54 5b7225fbf94c: Pull complete 16:21:55 618dc40b7e24: Verifying Checksum 16:21:55 618dc40b7e24: Download complete 16:21:56 ba82ee9f976e: Verifying Checksum 16:21:56 ba82ee9f976e: Download complete 16:22:06 ba82ee9f976e: Pull complete 16:22:06 506bd15cee9f: Pull complete 16:22:06 75a0a4a0db45: Pull complete 16:22:10 618dc40b7e24: Pull complete 16:22:10 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 16:22:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:22:10 ---> a36622ca3599 16:22:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:22:12 ---> Running in 86d9b58f2324 16:22:12 Removing intermediate container 86d9b58f2324 16:22:12 ---> 59671beb7699 16:22:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:22:13 ---> Running in e55a7af65da9 16:22:15 Removing intermediate container e55a7af65da9 16:22:15 ---> 5185d659d9f7 16:22:15 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:22:15 ---> Running in 6fbd0cff0287 16:22:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:22:18 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:22:18 (1/13) Installing libc-dev (0.7.2-r3) 16:22:19 (2/13) Installing libsodium (1.0.18-r0) 16:22:19 (3/13) Installing pkgconf (1.7.3-r0) 16:22:19 (4/13) Installing libsodium-dev (1.0.18-r0) 16:22:19 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:22:19 (6/13) Installing libedit (20191231.3.1-r1) 16:22:19 (7/13) Installing openssh-client (8.4_p1-r3) 16:22:20 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:22:20 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:22:20 (10/13) Installing openssh-server (8.4_p1-r3) 16:22:20 (11/13) Installing openssh (8.4_p1-r3) 16:22:20 (12/13) Installing libzmq (4.3.3-r1) 16:22:20 (13/13) Installing zeromq-dev (4.3.3-r1) 16:22:20 Executing busybox-1.32.1-r6.trigger 16:22:20 OK: 145 MiB in 53 packages 16:22:22 Removing intermediate container 6fbd0cff0287 16:22:22 ---> 545df82ae874 16:22:22 Step 6/8 : WORKDIR /device-mqtt-go 16:22:22 ---> Running in 8d01bcb12e4c 16:22:22 Removing intermediate container 8d01bcb12e4c 16:22:22 ---> de38a41ee58b 16:22:22 Step 7/8 : COPY . . 16:22:24 ---> d2e451dda016 16:22:24 Step 8/8 : RUN go mod download 16:22:24 ---> Running in 9d5fbb2bf487 16:22:50 Removing intermediate container 9d5fbb2bf487 16:22:50 ---> a9935e663bd9 16:22:50 Successfully built a9935e663bd9 16:22:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:22:51 + docker inspect -f . ci-base-image-arm64 16:22:51 . [Pipeline] withDockerContainer 16:22:51 prd-ubuntu18.04-docker-arm64-4c-16g-238 does not seem to be running inside a container 16:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:22:53 $ docker top 4f9bc1302d9962c6eb6ce2b599d47aececf3f21e68a100af544c11e33ce504cc -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:54 + go version 16:22:54 go version go1.16.5 linux/arm64 [Pipeline] } 16:22:54 $ docker stop --time=1 4f9bc1302d9962c6eb6ce2b599d47aececf3f21e68a100af544c11e33ce504cc 16:22:56 $ docker rm -f 4f9bc1302d9962c6eb6ce2b599d47aececf3f21e68a100af544c11e33ce504cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:22:56 + docker inspect -f . ci-base-image-arm64 16:22:56 . [Pipeline] withDockerContainer 16:22:57 prd-ubuntu18.04-docker-arm64-4c-16g-238 does not seem to be running inside a container 16:22:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:22:58 $ docker top fdea0c7ae7685d025b3ba9cdda6a19edd4a40d87004a6fff42473e99d646de71 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:59 + go mod tidy [Pipeline] sh 16:23:01 + make test 16:23:01 go mod tidy 16:23:01 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:23:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:23:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:23:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.6% of statements 16:23:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:23:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:24:26 gofmt -l . 16:24:26 ["`gofmt -l .`" = ""] 16:24:26 ./bin/test-attribution-txt.sh [Pipeline] } 16:24:28 $ docker stop --time=1 fdea0c7ae7685d025b3ba9cdda6a19edd4a40d87004a6fff42473e99d646de71 16:24:30 $ docker rm -f fdea0c7ae7685d025b3ba9cdda6a19edd4a40d87004a6fff42473e99d646de71 [Pipeline] // withDockerContainer [Pipeline] sh 16:24:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:24:31 Warning: overwriting stash ‘coverage-report’ 16:24:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:24:32 + ls -al . 16:24:32 total 140 16:24:32 drwxrwxr-x 9 jenkins jenkins 4096 Jun 10 16:24 . 16:24:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 16:21 .. 16:24:32 -rw-rw-r-- 1 jenkins jenkins 140 Jun 10 16:21 .dockerignore 16:24:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 16:21 .git 16:24:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:21 .github 16:24:32 -rw-rw-r-- 1 jenkins jenkins 336 Jun 10 16:21 .gitignore 16:24:32 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 10 16:21 Attribution.txt 16:24:32 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 10 16:21 Dockerfile 16:24:32 -rw-rw-r-- 1 jenkins jenkins 994 Jun 10 16:21 Dockerfile.build 16:24:32 -rw-rw-r-- 1 jenkins jenkins 677 Jun 10 16:21 Jenkinsfile 16:24:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 10 16:21 LICENSE 16:24:32 -rw-rw-r-- 1 jenkins jenkins 907 Jun 10 16:21 Makefile 16:24:32 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 10 16:21 README.md 16:24:32 -rw-rw-r-- 1 jenkins jenkins 12 Jun 10 16:18 VERSION 16:24:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:21 bin 16:24:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:21 cmd 16:24:32 -rw-r--r-- 1 jenkins jenkins 19967 Jun 10 16:23 coverage.out 16:24:32 -rw-rw-r-- 1 jenkins jenkins 409 Jun 10 16:21 go.mod 16:24:32 -rw-r--r-- 1 jenkins jenkins 20960 Jun 10 16:23 go.sum 16:24:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:21 internal 16:24:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:21 mock 16:24:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 16:21 snap 16:24:32 -rw-rw-r-- 1 jenkins jenkins 227 Jun 10 16:21 version.go [Pipeline] isUnix [Pipeline] sh 16:24:32 + 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=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b --label arch=arm64 --label version=1.3.2-dev.20 . 16:24:33 Sending build context to Docker daemon 614.9kB 16:24:33 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 16:24:33 Step 2/24 : FROM ${BASE} AS builder 16:24:33 ---> a9935e663bd9 16:24:33 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:24:33 ---> Running in 1675269bc3b8 16:24:33 Removing intermediate container 1675269bc3b8 16:24:33 ---> 0422a1889afa 16:24:33 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:24:34 ---> Running in 079a2217d211 16:24:34 Removing intermediate container 079a2217d211 16:24:34 ---> 30f919950653 16:24:34 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:24:34 ---> Running in e8d4cb614c24 16:24:36 Removing intermediate container e8d4cb614c24 16:24:36 ---> 56d4a2eafc42 16:24:36 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:24:36 ---> Running in 3b554964b620 16:24:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:24:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:24:39 OK: 145 MiB in 53 packages 16:24:40 Removing intermediate container 3b554964b620 16:24:40 ---> 7ac42f081d4e 16:24:40 Step 7/24 : WORKDIR /device-mqtt-go 16:24:40 ---> Running in 5624d6df4b78 16:24:41 Removing intermediate container 5624d6df4b78 16:24:41 ---> aff4e3c1fb59 16:24:41 Step 8/24 : COPY . . 16:24:43 ---> a6fbdd61f2e7 16:24:43 Step 9/24 : RUN go mod tidy 16:24:43 ---> Running in 35f92cca7e2c 16:24:45 Removing intermediate container 35f92cca7e2c 16:24:45 ---> fb83ad9a4fac 16:24:45 Step 10/24 : RUN go mod download 16:24:45 ---> Running in 212db3bd2e5e 16:24:48 Removing intermediate container 212db3bd2e5e 16:24:48 ---> 9912d939d59a 16:24:48 Step 11/24 : ARG MAKE='make build' 16:24:48 ---> Running in d2b7892fac1d 16:24:48 Removing intermediate container d2b7892fac1d 16:24:48 ---> e03454f1dfac 16:24:48 Step 12/24 : RUN $MAKE 16:24:49 ---> Running in 990e06272ecd 16:24:50 go mod tidy 16:24:50 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.20" -o cmd/device-mqtt ./cmd 16:25:29 Removing intermediate container 990e06272ecd 16:25:29 ---> c224ef38536f 16:25:29 Step 13/24 : FROM alpine:3.12 16:25:29 3.12: Pulling from library/alpine 16:25:29 d2f70382dc9a: Pulling fs layer 16:25:29 d2f70382dc9a: Verifying Checksum 16:25:29 d2f70382dc9a: Download complete 16:25:29 d2f70382dc9a: Pull complete 16:25:29 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 16:25:29 Status: Downloaded newer image for alpine:3.12 16:25:29 ---> 9852663dfa18 16:25:29 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:25:29 ---> Running in 9e1bdd248739 16:25:29 Removing intermediate container 9e1bdd248739 16:25:29 ---> 7d92d69ce910 16:25:29 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:25:29 ---> Running in 5bbddaa0697d 16:25:30 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:25:30 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:25:31 (1/6) Installing dumb-init (1.2.2-r1) 16:25:31 (2/6) Installing libgcc (9.3.0-r2) 16:25:31 (3/6) Installing libsodium (1.0.18-r0) 16:25:31 (4/6) Installing libstdc++ (9.3.0-r2) 16:25:31 (5/6) Installing libzmq (4.3.3-r0) 16:25:31 (6/6) Installing zeromq (4.3.3-r0) 16:25:31 Executing busybox-1.31.1-r20.trigger 16:25:31 OK: 8 MiB in 20 packages 16:25:32 Removing intermediate container 5bbddaa0697d 16:25:32 ---> 7881933f4eb0 16:25:32 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:25:33 ---> e3202ccde7fa 16:25:33 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:25:34 ---> 4cede8b39136 16:25:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:25:35 ---> abada10f4038 16:25:35 Step 19/24 : EXPOSE 59982 16:25:35 ---> Running in c23733ec8d6c 16:25:36 Removing intermediate container c23733ec8d6c 16:25:36 ---> 2eb88278f43d 16:25:36 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:25:36 ---> Running in 9ffee256d023 16:25:36 Removing intermediate container 9ffee256d023 16:25:36 ---> abde08a6e97c 16:25:36 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:25:36 ---> Running in 2ff485091ed7 16:25:37 Removing intermediate container 2ff485091ed7 16:25:37 ---> c657f66ea0b0 16:25:37 Step 22/24 : LABEL arch=arm64 16:25:37 ---> Running in 553ca1e4abea 16:25:38 Removing intermediate container 553ca1e4abea 16:25:38 ---> 52ff1023940b 16:25:38 Step 23/24 : LABEL git_sha=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:25:38 ---> Running in b454596da0f6 16:25:38 Removing intermediate container b454596da0f6 16:25:38 ---> d8db06422176 16:25:38 Step 24/24 : LABEL version=1.3.2-dev.20 16:25:38 ---> Running in 47e6aa5563bd 16:25:39 Removing intermediate container 47e6aa5563bd 16:25:39 ---> f23995c6eec2 16:25:39 [Warning] One or more build-args [ARCH] were not consumed 16:25:39 Successfully built f23995c6eec2 16:25:39 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:39 provisioning config files... 16:25:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config5730354604532747887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:39 ---> docker-login.sh 16:25:39 nexus3.edgexfoundry.org:10001 16:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:40 Configure a credential helper to remove this warning. See 16:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:40 16:25:40 Login Succeeded 16:25:40 nexus3.edgexfoundry.org:10002 16:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:41 Configure a credential helper to remove this warning. See 16:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:41 16:25:41 Login Succeeded 16:25:41 nexus3.edgexfoundry.org:10003 16:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:41 Configure a credential helper to remove this warning. See 16:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:41 16:25:41 Login Succeeded 16:25:41 nexus3.edgexfoundry.org:10004 16:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:42 Configure a credential helper to remove this warning. See 16:25:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:42 16:25:42 Login Succeeded 16:25:42 docker.io 16:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:43 Configure a credential helper to remove this warning. See 16:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:43 16:25:43 Login Succeeded 16:25:43 ---> docker-login.sh ends [Pipeline] } 16:25:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:25:43 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 16:25:43 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:25:43 latest 16:25:43 1.3.2-dev.20 16:25:43 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 16:25:43 master 16:25:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:25:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] isUnix [Pipeline] sh 16:25:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:25:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:25:43 cd1370218bb0: Preparing 16:25:43 7b653fcaa090: Preparing 16:25:43 9714003263e4: Preparing 16:25:43 13956301a305: Preparing 16:25:43 3fbe34a1663b: Preparing 16:25:44 3fbe34a1663b: Layer already exists 16:25:44 cd1370218bb0: Pushed 16:25:44 7b653fcaa090: Pushed 16:25:45 13956301a305: Pushed 16:25:46 9714003263e4: Pushed 16:25:46 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh 16:25:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:25:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:25:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:25:47 cd1370218bb0: Preparing 16:25:47 7b653fcaa090: Preparing 16:25:47 9714003263e4: Preparing 16:25:47 13956301a305: Preparing 16:25:47 3fbe34a1663b: Preparing 16:25:47 3fbe34a1663b: Layer already exists 16:25:47 9714003263e4: Layer already exists 16:25:47 cd1370218bb0: Layer already exists 16:25:47 7b653fcaa090: Layer already exists 16:25:47 13956301a305: Layer already exists 16:25:47 latest: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh 16:25:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh 16:25:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.20 16:25:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:25:48 cd1370218bb0: Preparing 16:25:48 7b653fcaa090: Preparing 16:25:48 9714003263e4: Preparing 16:25:48 13956301a305: Preparing 16:25:48 3fbe34a1663b: Preparing 16:25:48 cd1370218bb0: Layer already exists 16:25:48 3fbe34a1663b: Layer already exists 16:25:48 7b653fcaa090: Layer already exists 16:25:48 9714003263e4: Layer already exists 16:25:48 13956301a305: Layer already exists 16:25:48 1.3.2-dev.20: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh 16:25:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh 16:25:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 16:25:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:25:49 cd1370218bb0: Preparing 16:25:49 7b653fcaa090: Preparing 16:25:49 9714003263e4: Preparing 16:25:49 13956301a305: Preparing 16:25:49 3fbe34a1663b: Preparing 16:25:49 7b653fcaa090: Layer already exists 16:25:49 cd1370218bb0: Layer already exists 16:25:49 3fbe34a1663b: Layer already exists 16:25:49 13956301a305: Layer already exists 16:25:49 9714003263e4: Layer already exists 16:25:49 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh 16:25:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 16:25:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 16:25:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:25:50 cd1370218bb0: Preparing 16:25:50 7b653fcaa090: Preparing 16:25:50 9714003263e4: Preparing 16:25:50 13956301a305: Preparing 16:25:50 3fbe34a1663b: Preparing 16:25:50 3fbe34a1663b: Layer already exists 16:25:50 7b653fcaa090: Layer already exists 16:25:50 13956301a305: Layer already exists 16:25:50 cd1370218bb0: Layer already exists 16:25:50 9714003263e4: Layer already exists 16:25:50 master: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:25:50 ===================================================== [Pipeline] echo 16:25:50 taggedImages: 16:25:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 16:25:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:25:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.20 16:25:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 16:25:50 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 16:25:51 ---> job-cost.sh 16:25:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5kmk 16:26:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:27:52 lf-activate-venv(): INFO: Adding /tmp/venv-5kmk/bin to PATH 16:27:52 INFO: No Stack... 16:27:53 INFO: Retrieving Pricing Info for: v2-standard-4 16:27:54 INFO: Archiving Costs [Pipeline] sh 16:27:54 + cut -d, -f6 16:27:54 + cat /w/workspace/device-mqtt-go/52/archives/cost.csv [Pipeline] lock 16:27:55 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] 16:27:55 Resource [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] did not exist. Created. 16:27:55 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:27:55 /w/workspace/device-mqtt-go/52@tmp/durable-a95041d1/script.sh: 1: /w/workspace/device-mqtt-go/52@tmp/durable-a95041d1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:27:56 + echo total: 0.18000000715255737 [Pipeline] stash 16:27:56 Warning: overwriting stash ‘stack-cost’ 16:27:56 Stashed 1 file(s) [Pipeline] } 16:27:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:27:57 provisioning config files... 16:27:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1231624238898310359tmp [Pipeline] { [Pipeline] sh 16:27:57 + set +x 16:27:57 + curl -s https://codecov.io/bash 16:27:57 + bash -s -- 16:27:57 16:27:57 _____ _ 16:27:57 / ____| | | 16:27:57 | | ___ __| | ___ ___ _____ __ 16:27:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:27:57 | |___| (_) | (_| | __/ (_| (_) \ V / 16:27:57 \_____\___/ \__,_|\___|\___\___/ \_/ 16:27:57 Bash-1.0.3 16:27:57 16:27:57 16:27:57 ==> git version 2.24.4 found 16:27:57 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 16:27:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:27:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:27:57 ==> Jenkins CI detected. 16:27:57 project root: . 16:27:57 --> token set from env 16:27:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:27:57 ==> Running gcov in . (disable via -X gcov) 16:27:57 ==> Python coveragepy not found 16:27:57 ==> Searching for coverage reports in: 16:27:57 + . 16:27:57 -> Found 1 reports 16:27:57 ==> Detecting git/mercurial file structure 16:27:57 ==> Reading reports 16:27:58 + ./coverage.out bytes=19967 16:27:58 ==> Appending adjustments 16:27:58 https://docs.codecov.io/docs/fixing-reports 16:27:58 + Found adjustments 16:27:58 ==> Gzipping contents 16:27:58 4.0K /tmp/codecov.B4MJI0.gz 16:27:58 ==> Uploading reports 16:27:58 url: https://codecov.io 16:27:58 query: branch=master&commit=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:27:58 -> Pinging Codecov 16:27:58 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:27:58 -> Uploading to 16:27:58 https://storage.googleapis.com/codecov/v4/raw/2021-06-10/7D719EC7BBE17E464838252E33014C33/9a33ad598db671ad3c0e320f1f5a4ec002be7f7b/cd43c751-88a9-435a-a61d-306e474ca132.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T162758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3d259753058473a94fd3073111babf3ffa4912dc8c5c0839e6a3d7de93d0d9e 16:27:58 % Total % Received % Xferd Average Speed Time Time Time Current 16:27:58 Dload Upload Total Spent Left Speed 16:27:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3452 0 0 100 3452 0 10717 --:--:-- --:--:-- --:--:-- 10753 16:27:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] } 16:27:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:27:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:27:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:27:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:27:59 16:27:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:28:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:28:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:28:00 188c0c94c7c5: Pulling fs layer 16:28:00 0ef7d3d256c8: Pulling fs layer 16:28:00 de9db76c5a1d: Pulling fs layer 16:28:00 0eba1c9be4d2: Pulling fs layer 16:28:00 0d57e429df01: Pulling fs layer 16:28:00 4e4be7b47b0d: Pulling fs layer 16:28:00 e1f770b5df2f: Pulling fs layer 16:28:00 85a0685a4137: Pulling fs layer 16:28:00 0d57e429df01: Waiting 16:28:00 4e4be7b47b0d: Waiting 16:28:00 e1f770b5df2f: Waiting 16:28:00 85a0685a4137: Waiting 16:28:00 0eba1c9be4d2: Waiting 16:28:00 de9db76c5a1d: Verifying Checksum 16:28:00 de9db76c5a1d: Download complete 16:28:00 0ef7d3d256c8: Verifying Checksum 16:28:00 0ef7d3d256c8: Download complete 16:28:00 0d57e429df01: Verifying Checksum 16:28:00 0d57e429df01: Download complete 16:28:00 4e4be7b47b0d: Verifying Checksum 16:28:00 4e4be7b47b0d: Download complete 16:28:00 188c0c94c7c5: Verifying Checksum 16:28:00 188c0c94c7c5: Download complete 16:28:00 188c0c94c7c5: Pull complete 16:28:00 0ef7d3d256c8: Pull complete 16:28:00 de9db76c5a1d: Pull complete 16:28:02 e1f770b5df2f: Verifying Checksum 16:28:02 e1f770b5df2f: Download complete 16:28:07 0eba1c9be4d2: Verifying Checksum 16:28:07 0eba1c9be4d2: Download complete 16:28:07 85a0685a4137: Verifying Checksum 16:28:07 85a0685a4137: Download complete 16:28:09 0eba1c9be4d2: Pull complete 16:28:10 0d57e429df01: Pull complete 16:28:10 4e4be7b47b0d: Pull complete 16:28:10 e1f770b5df2f: Pull complete 16:28:16 85a0685a4137: Pull complete 16:28:16 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:28:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:28:16 prd-centos7-docker-4c-2g-235 does not seem to be running inside a container 16:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:28:17 $ docker top 9b671d9723fa6eaad80543f6e5ea7491713cc7111d09b11723fc3e405f63294a -eo pid,comm [Pipeline] { [Pipeline] echo 16:28:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:28:18 + set -o pipefail 16:28:18 + snyk monitor '--org=edgex-jenkins' 16:28:25 16:28:25 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 16:28:25 16:28:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/6bde9999-dba0-4246-8f98-677e32606b3a 16:28:25 16:28:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:28:25 16:28:25 [Pipeline] } 16:28:25 $ docker stop --time=1 9b671d9723fa6eaad80543f6e5ea7491713cc7111d09b11723fc3e405f63294a 16:28:27 $ docker rm -f 9b671d9723fa6eaad80543f6e5ea7491713cc7111d09b11723fc3e405f63294a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:28:28 + git log --format=format:%s -1 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] isUnix [Pipeline] sh 16:28:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:28:29 . [Pipeline] withDockerContainer 16:28:29 prd-centos7-docker-4c-2g-235 does not seem to be running inside a container 16:28: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:28:29 $ docker top 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:28:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:30 [ssh-agent] Looking for ssh-agent implementation... 16:28:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:30 $ docker exec 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 ssh-agent 16:28:30 SSH_AUTH_SOCK=/tmp/ssh-WM5xh17fm4En/agent.13 16:28:30 SSH_AGENT_PID=20 16:28:30 Running ssh-add (command line suppressed) 16:28:30 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_326147146207587015.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_326147146207587015.key) 16:28:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:30 + git semver tag 16:28:30 # -> Open(): unable to determine branch for HEAD 16:28:30 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:28:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:28:30 # $SEMVER_REMOTE_NAME = origin 16:28:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:28:30 # $SEMVER_USER_NAME = edgex-jenkins 16:28:30 # $SEMVER_BRANCH = master 16:28:30 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 16:28:30 # 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b HEAD 16:28:30 # -> Force: false 16:28:30 # 09e46b6e6051779ca51722b50d211c1fb0128e65 refs/tags/v1.3.2-dev.20 [Pipeline] } 16:28:30 $ docker exec --env ******** --env ******** 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 ssh-agent -k 16:28:31 unset SSH_AUTH_SOCK; 16:28:31 unset SSH_AGENT_PID; 16:28:31 echo Agent pid 20 killed; 16:28:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:28:31 + git semver [Pipeline] } 16:28:31 $ docker stop --time=1 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 16:28:32 $ docker rm -f 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:28:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:28:33 16:28:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:28:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:28:33 0.23.1-centos7: Pulling from edgex-lftools 16:28:33 ab5ef0e58194: Pulling fs layer 16:28:33 9712f1f96733: Pulling fs layer 16:28:33 63f879dbbcfc: Pulling fs layer 16:28:33 0d9ebad4ef96: Pulling fs layer 16:28:33 e9a5061849ea: Pulling fs layer 16:28:33 d747dcd14b5f: Pulling fs layer 16:28:33 2de7ff778b66: Pulling fs layer 16:28:33 0d9ebad4ef96: Waiting 16:28:33 e9a5061849ea: Waiting 16:28:33 d747dcd14b5f: Waiting 16:28:33 2de7ff778b66: Waiting 16:28:33 9712f1f96733: Verifying Checksum 16:28:33 9712f1f96733: Download complete 16:28:36 63f879dbbcfc: Verifying Checksum 16:28:36 63f879dbbcfc: Download complete 16:28:36 e9a5061849ea: Verifying Checksum 16:28:36 e9a5061849ea: Download complete 16:28:36 d747dcd14b5f: Download complete 16:28:37 2de7ff778b66: Verifying Checksum 16:28:37 2de7ff778b66: Download complete 16:28:38 0d9ebad4ef96: Verifying Checksum 16:28:38 0d9ebad4ef96: Download complete 16:28:38 ab5ef0e58194: Verifying Checksum 16:28:38 ab5ef0e58194: Download complete 16:28:42 ab5ef0e58194: Pull complete 16:28:42 9712f1f96733: Pull complete 16:28:42 63f879dbbcfc: Pull complete 16:28:46 0d9ebad4ef96: Pull complete 16:28:46 e9a5061849ea: Pull complete 16:28:46 d747dcd14b5f: Pull complete 16:28:47 2de7ff778b66: Pull complete 16:28:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:28:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:28:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:28:47 prd-centos7-docker-4c-2g-235 does not seem to be running inside a container 16:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:28:51 $ docker top 7cb575195431bc506717f66539aaa520cb7324e721866a74cb3766069204e1a0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:28:51 provisioning config files... 16:28:51 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2208329232953678753tmp 16:28:51 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6186845094381986806tmp 16:28:51 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1672550176819538479tmp [Pipeline] { [Pipeline] echo 16:28:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:28:52 ---> sigul-configuration.sh 16:28:52 gpg: directory `/root/.gnupg' created 16:28:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:28:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:28:52 gpg: keyring `/root/.gnupg/secring.gpg' created 16:28:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:28:52 gpg: CAST5 encrypted data 16:28:52 gpg: encrypted with 1 passphrase 16:28:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:28:52 + mkdir /home/jenkins 16:28:52 + mkdir /home/jenkins/sigul [Pipeline] sh 16:28:52 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:28:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:28:53 ---> sigul-install.sh 16:28:57 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:28:57 + git tag --list 16:28:57 0.7.1 16:28:57 v1.0.0 16:28:57 v1.1.0 16:28:57 v1.1.1 16:28:57 v1.2.2 16:28:57 v1.3.0 16:28:57 v1.3.1 16:28:57 v1.3.1-dev.1 16:28:57 v1.3.1-dev.2 16:28:57 v1.3.1-dev.3 16:28:57 v1.3.1-dev.4 16:28:57 v1.3.2-dev.1 16:28:57 v1.3.2-dev.10 16:28:57 v1.3.2-dev.11 16:28:57 v1.3.2-dev.12 16:28:57 v1.3.2-dev.13 16:28:57 v1.3.2-dev.14 16:28:57 v1.3.2-dev.15 16:28:57 v1.3.2-dev.16 16:28:57 v1.3.2-dev.17 16:28:57 v1.3.2-dev.18 16:28:57 v1.3.2-dev.19 16:28:57 v1.3.2-dev.2 16:28:57 v1.3.2-dev.20 16:28:57 v1.3.2-dev.3 16:28:57 v1.3.2-dev.4 16:28:57 v1.3.2-dev.5 16:28:57 v1.3.2-dev.6 16:28:57 v1.3.2-dev.7 16:28:57 v1.3.2-dev.8 16:28:57 v1.3.2-dev.9 [Pipeline] sh 16:28:58 + lftools sign git-tag v1.3.2-dev.20 16:28:58 Signing Git tag with Sigul... 16:28:58 Signing v1.3.2-dev.20 [Pipeline] echo 16:28:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:29:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:29:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:29:00 $ docker stop --time=1 7cb575195431bc506717f66539aaa520cb7324e721866a74cb3766069204e1a0 16:29:01 $ docker rm -f 7cb575195431bc506717f66539aaa520cb7324e721866a74cb3766069204e1a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:02 . [Pipeline] withDockerContainer 16:29:02 prd-centos7-docker-4c-2g-235 does not seem to be running inside a container 16:29:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:29:03 $ docker top f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:03 [ssh-agent] Looking for ssh-agent implementation... 16:29:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:03 $ docker exec f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 ssh-agent 16:29:03 SSH_AUTH_SOCK=/tmp/ssh-a5S4MKwzkujX/agent.14 16:29:03 SSH_AGENT_PID=21 16:29:03 Running ssh-add (command line suppressed) 16:29:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4033816324915626792.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4033816324915626792.key) 16:29:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:04 + git semver bump pre 16:29:04 # -> Open(): unable to determine branch for HEAD 16:29:04 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:29:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:29:04 # $SEMVER_REMOTE_NAME = origin 16:29:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:29:04 # $SEMVER_USER_NAME = edgex-jenkins 16:29:04 # $SEMVER_BRANCH = master 16:29:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 16:29:04 1.3.2-dev.21 [Pipeline] } 16:29:04 $ docker exec --env ******** --env ******** f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 ssh-agent -k 16:29:04 unset SSH_AUTH_SOCK; 16:29:04 unset SSH_AGENT_PID; 16:29:04 echo Agent pid 21 killed; 16:29:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:04 + git semver [Pipeline] } 16:29:04 $ docker stop --time=1 f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 16:29:06 $ docker rm -f f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:06 . [Pipeline] withDockerContainer 16:29:06 prd-centos7-docker-4c-2g-235 does not seem to be running inside a container 16:29:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:29:07 $ docker top a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:07 [ssh-agent] Looking for ssh-agent implementation... 16:29:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:07 $ docker exec a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f ssh-agent 16:29:07 SSH_AUTH_SOCK=/tmp/ssh-mAR92mRSLEyR/agent.14 16:29:07 SSH_AGENT_PID=21 16:29:07 Running ssh-add (command line suppressed) 16:29:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2633820119733962835.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2633820119733962835.key) 16:29:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:08 + git semver push 16:29:08 # -> Open(): unable to determine branch for HEAD 16:29:08 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 16:29:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 16:29:08 # $SEMVER_REMOTE_NAME = origin 16:29:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:29:08 # $SEMVER_USER_NAME = edgex-jenkins 16:29:08 # $SEMVER_BRANCH = master 16:29:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 16:29:14 $ docker exec --env ******** --env ******** a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f ssh-agent -k 16:29:14 unset SSH_AUTH_SOCK; 16:29:14 unset SSH_AGENT_PID; 16:29:14 echo Agent pid 21 killed; 16:29:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:14 + git semver [Pipeline] } 16:29:14 $ docker stop --time=1 a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f 16:29:15 $ docker rm -f a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:29:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:29:17 ---> package-listing.sh 16:29:17 ++ facter osfamily 16:29:17 ++ tr '[:upper:]' '[:lower:]' 16:29:17 + OS_FAMILY=redhat 16:29:17 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 16:29:17 + START_PACKAGES=/tmp/packages_start.txt 16:29:17 + END_PACKAGES=/tmp/packages_end.txt 16:29:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:29:17 + PACKAGES=/tmp/packages_start.txt 16:29:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 16:29:17 + PACKAGES=/tmp/packages_end.txt 16:29:17 + case "${OS_FAMILY}" in 16:29:17 + rpm -qa 16:29:17 + sort 16:29:18 + '[' -f /tmp/packages_start.txt ']' 16:29:18 + '[' -f /tmp/packages_end.txt ']' 16:29:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:29:18 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 16:29:18 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 16:29:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 16:29:18 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:29:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:29:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:29:19 16:29:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:29:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:29:19 alpine: Pulling from edgex-lftools-log-publisher 16:29:19 df20fa9351a1: Pulling fs layer 16:29:19 36b3adc4ff6f: Pulling fs layer 16:29:19 8ad3a11d3b57: Pulling fs layer 16:29:19 46f8f816bc3b: Pulling fs layer 16:29:19 93b61091891f: Pulling fs layer 16:29:19 93b9cdb0e59b: Pulling fs layer 16:29:19 5e14af77c1be: Pulling fs layer 16:29:19 01666e4c0597: Pulling fs layer 16:29:19 aa168da1d23b: Pulling fs layer 16:29:19 46f8f816bc3b: Waiting 16:29:19 93b61091891f: Waiting 16:29:19 93b9cdb0e59b: Waiting 16:29:19 5e14af77c1be: Waiting 16:29:19 01666e4c0597: Waiting 16:29:19 aa168da1d23b: Waiting 16:29:20 36b3adc4ff6f: Verifying Checksum 16:29:20 36b3adc4ff6f: Download complete 16:29:20 46f8f816bc3b: Verifying Checksum 16:29:20 46f8f816bc3b: Download complete 16:29:20 df20fa9351a1: Verifying Checksum 16:29:20 df20fa9351a1: Download complete 16:29:20 93b9cdb0e59b: Verifying Checksum 16:29:20 93b9cdb0e59b: Download complete 16:29:20 5e14af77c1be: Verifying Checksum 16:29:20 5e14af77c1be: Download complete 16:29:20 01666e4c0597: Verifying Checksum 16:29:20 01666e4c0597: Download complete 16:29:20 df20fa9351a1: Pull complete 16:29:20 8ad3a11d3b57: Verifying Checksum 16:29:20 8ad3a11d3b57: Download complete 16:29:20 36b3adc4ff6f: Pull complete 16:29:20 93b61091891f: Verifying Checksum 16:29:20 93b61091891f: Download complete 16:29:21 8ad3a11d3b57: Pull complete 16:29:21 46f8f816bc3b: Pull complete 16:29:21 93b61091891f: Pull complete 16:29:21 93b9cdb0e59b: Pull complete 16:29:21 5e14af77c1be: Pull complete 16:29:21 01666e4c0597: Pull complete 16:29:24 aa168da1d23b: Verifying Checksum 16:29:24 aa168da1d23b: Download complete 16:29:29 aa168da1d23b: Pull complete 16:29:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:29:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:29:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:29:29 prd-centos7-docker-4c-2g-235 does not seem to be running inside a container 16:29:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:29:37 $ docker top 17466beea9a68aa3e77ba5d95c4bb02778b6b7029005f9e6820c797ac9447f29 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:37 + touch /tmp/pre-build-complete [Pipeline] sh 16:29:38 + mkdir -p /var/log/sa [Pipeline] sh 16:29:39 + ls /var/log/sa-host 16:29:39 + sadf -c /var/log/sa-host/sa05 16:29:39 file_magic: OK 16:29:39 HZ: Using current value: 100 16:29:39 file_header: OK 16:29:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:29:39 Statistics: 16:29:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:29:39 File successfully converted to sysstat format version 12.2.1 16:29:39 + sadf -c /var/log/sa-host/sa10 16:29:39 file_magic: OK 16:29:39 HZ: Using current value: 100 16:29:39 file_header: OK 16:29:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:29:39 Statistics: 16:29:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:29:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:39 provisioning config files... 16:29:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config47209889166795129tmp [Pipeline] { [Pipeline] echo 16:29:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:29:39 ---> create-netrc.sh [Pipeline] } 16:29:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:29:40 ---> python-tools-install.sh [Pipeline] echo 16:29:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:29:40 ---> sudo-logs.sh 16:29:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:29:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:29:41 ---> job-cost.sh 16:29:41 lf-activate-venv: SKIPPING 16:29:41 DEBUG: total: 0.18000000715255737 16:29:41 INFO: Retrieving Stack Cost... 16:29:42 INFO: Retrieving Pricing Info for: v3-standard-2 16:29:42 INFO: Archiving Costs [Pipeline] echo 16:29:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:29:42 ---> logs-deploy.sh 16:29:42 lf-activate-venv: SKIPPING 16:29:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/52 16:29:42 INFO: archiving workspace using pattern(s): 16:29:44 Archives upload complete. 16:29:44 INFO: archiving logs to Nexus 16:29:44 ---> uname -a: 16:29:44 Linux prd-centos7-docker-4c-2g-235.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 16:29:44 16:29:44 16:29:44 ---> lscpu: 16:29:44 Architecture: x86_64 16:29:44 CPU op-mode(s): 32-bit, 64-bit 16:29:44 Byte Order: Little Endian 16:29:44 Address sizes: 40 bits physical, 48 bits virtual 16:29:44 CPU(s): 2 16:29:44 On-line CPU(s) list: 0,1 16:29:44 Thread(s) per core: 1 16:29:44 Core(s) per socket: 1 16:29:44 Socket(s): 2 16:29:44 NUMA node(s): 1 16:29:44 Vendor ID: AuthenticAMD 16:29:44 CPU family: 23 16:29:44 Model: 49 16:29:44 Model name: AMD EPYC-Rome Processor 16:29:44 Stepping: 0 16:29:44 CPU MHz: 2799.998 16:29:44 BogoMIPS: 5599.99 16:29:44 Virtualization: AMD-V 16:29:44 Hypervisor vendor: KVM 16:29:44 Virtualization type: full 16:29:44 L1d cache: 64 KiB 16:29:44 L1i cache: 64 KiB 16:29:44 L2 cache: 1 MiB 16:29:44 L3 cache: 32 MiB 16:29:44 NUMA node0 CPU(s): 0,1 16:29:44 Vulnerability Itlb multihit: Not affected 16:29:44 Vulnerability L1tf: Not affected 16:29:44 Vulnerability Mds: Not affected 16:29:44 Vulnerability Meltdown: Not affected 16:29:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:29:44 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:29:44 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:29:44 Vulnerability Srbds: Not affected 16:29:44 Vulnerability Tsx async abort: Not affected 16:29:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 16:29:44 16:29:44 16:29:44 ---> nproc: 16:29:44 2 16:29:44 16:29:44 16:29:44 ---> df -h: 16:29:44 Filesystem Size Used Available Use% Mounted on 16:29:44 overlay 40.0G 8.9G 31.1G 22% / 16:29:44 tmpfs 64.0M 0 64.0M 0% /dev 16:29:44 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 16:29:44 shm 64.0M 0 64.0M 0% /dev/shm 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 16:29:44 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 16:29:44 16:29:44 16:29:44 ---> free -m: 16:29:44 total used free shared buff/cache available 16:29:44 Mem: 7821 1288 3148 0 3384 6450 16:29:44 Swap: 1023 0 1023 16:29:44 16:29:44 16:29:44 ---> ip addr: 16:29:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:29:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:29:44 inet 127.0.0.1/8 scope host lo 16:29:44 valid_lft forever preferred_lft forever 16:29:44 inet6 ::1/128 scope host 16:29:44 valid_lft forever preferred_lft forever 16:29:44 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:29:44 link/ether fa:16:3e:7e:cb:c2 brd ff:ff:ff:ff:ff:ff 16:29:44 inet 10.30.123.231/23 brd 10.30.123.255 scope global dynamic eth0 16:29:44 valid_lft 85649sec preferred_lft 85649sec 16:29:44 inet6 fe80::f816:3eff:fe7e:cbc2/64 scope link 16:29:44 valid_lft forever preferred_lft forever 16:29:44 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:29:44 link/ether 02:42:22:1d:8b:3a brd ff:ff:ff:ff:ff:ff 16:29:44 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:29:44 valid_lft forever preferred_lft forever 16:29:44 inet6 fe80::42:22ff:fe1d:8b3a/64 scope link 16:29:44 valid_lft forever preferred_lft forever 16:29:44 16:29:44 16:29:44 ---> sar -b -r -n DEV: 16:29:44 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/10/21 _x86_64_ (2 CPU) 16:29:44 16:29:44 16:17:02 LINUX RESTART (2 CPU) 16:29:44 16:29:44 16:18:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:29:44 16:19:01 22.63 1.63 21.01 0.00 1078.99 3136.35 0.00 16:29:44 16:20:01 0.73 0.00 0.73 0.00 0.00 13.77 0.00 16:29:44 16:21:01 0.25 0.00 0.25 0.00 0.00 2.56 0.00 16:29:44 16:22:01 0.15 0.00 0.15 0.00 0.00 1.88 0.00 16:29:44 16:23:01 0.32 0.00 0.32 0.00 0.00 4.35 0.00 16:29:44 16:24:01 0.25 0.00 0.25 0.00 0.00 3.36 0.00 16:29:44 16:25:01 0.27 0.00 0.27 0.00 0.00 3.65 0.00 16:29:44 16:26:01 0.25 0.00 0.25 0.00 0.00 3.25 0.00 16:29:44 16:27:01 0.18 0.00 0.18 0.00 0.00 2.02 0.00 16:29:44 16:28:01 1.63 0.03 1.60 0.00 3.73 28.11 0.00 16:29:44 16:29:01 207.86 0.00 207.86 0.00 0.00 57699.85 0.00 16:29:44 Average: 21.33 0.15 21.18 0.00 96.98 5542.27 0.00 16:29:44 16:29:44 16:18:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:29:44 16:19:01 5454492 0 815228 10.18 2620 1736600 1293656 14.28 584268 1571040 20 16:29:44 16:20:01 5468028 0 801684 10.01 2620 1736608 1207504 13.33 575556 1568396 16 16:29:44 16:21:01 5467956 0 801756 10.01 2620 1736608 1207504 13.33 573132 1571036 8 16:29:44 16:22:01 5465256 0 804448 10.04 2620 1736616 1207744 13.33 576188 1571036 8 16:29:44 16:23:01 5464864 0 804836 10.05 2620 1736620 1207768 13.33 570268 1577036 16 16:29:44 16:24:01 5464776 0 804920 10.05 2620 1736624 1207732 13.33 570108 1577036 12 16:29:44 16:25:01 5465072 0 804616 10.05 2620 1736632 1207504 13.33 569940 1577036 16 16:29:44 16:26:01 5453296 0 816388 10.19 2620 1736636 1207504 13.33 581672 1577036 8 16:29:44 16:27:01 5453612 0 816068 10.19 2620 1736640 1207504 13.33 583588 1575092 8 16:29:44 16:28:01 5383828 0 862284 10.77 2620 1760208 1396320 15.42 629272 1594628 23200 16:29:44 16:29:01 3589172 0 1230372 15.36 2620 3186776 1638176 18.09 1039112 2738456 32 16:29:44 Average: 5284577 0 851145 10.63 2620 1870597 1271720 14.04 623009 1681621 2122 16:29:44 16:29:44 16:18:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:29:44 16:19:01 eth0 76.50 58.88 345.67 14.22 0.00 0.00 0.00 0.00 16:29:44 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:19:01 docker0 2.49 1.69 0.56 5.59 0.00 0.00 0.00 0.00 16:29:44 16:20:01 eth0 0.58 0.08 0.04 0.07 0.00 0.00 0.00 0.00 16:29:44 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:21:01 eth0 0.38 0.08 0.04 0.01 0.00 0.00 0.00 0.00 16:29:44 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:22:01 eth0 1.65 0.30 0.37 0.20 0.00 0.00 0.00 0.00 16:29:44 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:23:01 eth0 1.03 0.53 0.61 0.45 0.00 0.00 0.00 0.00 16:29:44 16:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:24:01 eth0 0.13 0.10 0.06 0.01 0.00 0.00 0.00 0.00 16:29:44 16:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:25:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:29:44 16:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:26:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:29:44 16:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:27:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:29:44 16:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:28:01 eth0 45.55 39.32 341.65 5.20 0.00 0.00 0.00 0.00 16:29:44 16:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:29:01 eth0 853.00 776.56 7622.06 144.02 0.00 0.00 0.00 0.00 16:29:44 16:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 16:29:01 docker0 98.75 109.09 7.21 654.74 0.00 0.00 0.00 0.00 16:29:44 Average: eth0 89.07 79.71 756.44 14.93 0.00 0.00 0.00 0.00 16:29:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:29:44 Average: docker0 9.22 10.09 0.71 60.14 0.00 0.00 0.00 0.00 16:29:44 16:29:44 16:29:44 ---> sar -P ALL: 16:29:44 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/10/21 _x86_64_ (2 CPU) 16:29:44 16:29:44 16:17:02 LINUX RESTART (2 CPU) 16:29:44 16:29:44 16:18:02 CPU %user %nice %system %iowait %steal %idle 16:29:44 16:19:01 all 3.30 0.00 1.88 0.99 0.04 93.79 16:29:44 16:19:01 0 3.53 0.00 2.01 0.98 0.05 93.43 16:29:44 16:19:01 1 3.07 0.00 1.75 1.01 0.03 94.14 16:29:44 16:20:01 all 0.09 0.00 0.05 0.00 0.02 99.84 16:29:44 16:20:01 0 0.07 0.00 0.05 0.00 0.02 99.87 16:29:44 16:20:01 1 0.12 0.00 0.05 0.00 0.02 99.82 16:29:44 16:21:01 all 0.10 0.00 0.03 0.00 0.03 99.84 16:29:44 16:21:01 0 0.13 0.00 0.03 0.00 0.02 99.82 16:29:44 16:21:01 1 0.07 0.00 0.02 0.00 0.05 99.87 16:29:44 16:22:01 all 0.09 0.00 0.03 0.00 0.03 99.85 16:29:44 16:22:01 0 0.13 0.00 0.03 0.00 0.02 99.82 16:29:44 16:22:01 1 0.05 0.00 0.03 0.00 0.03 99.88 16:29:44 16:23:01 all 0.12 0.00 0.04 0.00 0.04 99.80 16:29:44 16:23:01 0 0.18 0.00 0.05 0.00 0.03 99.73 16:29:44 16:23:01 1 0.05 0.00 0.03 0.00 0.05 99.87 16:29:44 16:24:01 all 0.05 0.00 0.04 0.00 0.03 99.87 16:29:44 16:24:01 0 0.08 0.00 0.05 0.00 0.03 99.83 16:29:44 16:24:01 1 0.02 0.00 0.03 0.00 0.03 99.92 16:29:44 16:25:01 all 0.12 0.00 0.03 0.00 0.02 99.84 16:29:44 16:25:01 0 0.18 0.00 0.02 0.00 0.02 99.78 16:29:44 16:25:01 1 0.05 0.00 0.03 0.00 0.02 99.90 16:29:44 16:26:01 all 0.08 0.00 0.03 0.00 0.03 99.86 16:29:44 16:26:01 0 0.15 0.00 0.03 0.00 0.03 99.78 16:29:44 16:26:01 1 0.02 0.00 0.02 0.00 0.03 99.93 16:29:44 16:27:01 all 0.09 0.00 0.03 0.00 0.03 99.86 16:29:44 16:27:01 0 0.13 0.00 0.02 0.00 0.02 99.83 16:29:44 16:27:01 1 0.05 0.00 0.03 0.00 0.03 99.88 16:29:44 16:28:01 all 0.82 0.00 0.59 0.03 0.03 98.54 16:29:44 16:28:01 0 1.06 0.00 0.70 0.02 0.00 98.22 16:29:44 16:28:01 1 0.59 0.00 0.48 0.03 0.05 98.85 16:29:44 16:29:01 all 25.77 0.00 11.80 2.89 0.10 59.44 16:29:44 16:29:01 0 24.05 0.00 11.88 2.68 0.11 61.28 16:29:44 16:29:01 1 27.49 0.00 11.72 3.10 0.09 57.60 16:29:44 16:29:44 Average: CPU %user %nice %system %iowait %steal %idle 16:29:44 Average: all 2.64 0.00 1.25 0.34 0.04 95.74 16:29:44 Average: 0 2.56 0.00 1.28 0.32 0.03 95.81 16:29:44 Average: 1 2.71 0.00 1.22 0.36 0.04 95.67 16:29:44 16:29:44 16:29:44