Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9115b354f2e5107c826695c25359030946cf7655 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6344447713910149639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh37310944483544996.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7779563661413901198.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1254434305850820901.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2774345411656496975.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1888 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh1251971068998894254.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9115b354f2e5107c826695c25359030946cf7655 (main) > 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 9115b354f2e5107c826695c25359030946cf7655 # timeout=10 Commit message: "Merge pull request #305 from lenny-intel/pr-template" > git rev-list --no-walk 9a27036180558304fa11dd6cdc5ae194000bace2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:42:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:42:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:42:45 ========================================================= 05:42:45 EdgeX Global Pipelines Version Info 05:42:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:42:46 ------------------- 05:42:46 stable info: 05:42:46 ------------------- 05:42:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:46 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 05:42:46 Message: update stable to v1.0.206 05:42:47 ------------------- 05:42:47 experimental info: 05:42:47 ------------------- 05:42:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:47 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 05:42:47 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:42:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9115b354f2e5107c826695c25359030946cf7655 [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9115b35 [Pipeline] echo 05:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:42:48 provisioning config files... 05:42:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4453731391032011497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:48 ---> docker-login.sh 05:42:48 nexus3.edgexfoundry.org:10001 05:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:49 Configure a credential helper to remove this warning. See 05:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:49 05:42:49 Login Succeeded 05:42:49 nexus3.edgexfoundry.org:10002 05:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:49 Configure a credential helper to remove this warning. See 05:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:49 05:42:49 Login Succeeded 05:42:49 nexus3.edgexfoundry.org:10003 05:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:49 Configure a credential helper to remove this warning. See 05:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:49 05:42:49 Login Succeeded 05:42:49 nexus3.edgexfoundry.org:10004 05:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:49 Configure a credential helper to remove this warning. See 05:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:49 05:42:49 Login Succeeded 05:42:49 docker.io 05:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:49 Configure a credential helper to remove this warning. See 05:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:49 05:42:49 Login Succeeded 05:42:49 ---> docker-login.sh ends [Pipeline] } 05:42:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:42:50 + git log --format=format:%s -1 9115b354f2e5107c826695c25359030946cf7655 [Pipeline] echo 05:42:50 GIT_COMMIT: 9115b354f2e5107c826695c25359030946cf7655, Commit Message: Merge pull request #305 from lenny-intel/pr-template [Pipeline] echo 05:42:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:42:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:42:51 05:42:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:42:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:42:51 latest: Pulling from edgex-devops/git-semver 05:42:51 31603596830f: Pulling fs layer 05:42:51 04fac38145f0: Pulling fs layer 05:42:51 701f6daf10bf: Pulling fs layer 05:42:51 24f72da36158: Pulling fs layer 05:42:51 24f72da36158: Waiting 05:42:51 04fac38145f0: Verifying Checksum 05:42:51 04fac38145f0: Download complete 05:42:51 31603596830f: Verifying Checksum 05:42:51 31603596830f: Download complete 05:42:51 24f72da36158: Verifying Checksum 05:42:51 24f72da36158: Download complete 05:42:51 701f6daf10bf: Verifying Checksum 05:42:51 701f6daf10bf: Download complete 05:42:51 31603596830f: Pull complete 05:42:52 04fac38145f0: Pull complete 05:42:52 701f6daf10bf: Pull complete 05:42:52 24f72da36158: Pull complete 05:42:52 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 05:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:42:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:42:52 prd-centos7-docker-4c-2g-1888 does not seem to be running inside a container 05:42:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 05:42:53 $ docker top e9da1a2e1f631a83ba9e6b5baa7ec52ac3fc2ec0cfe6b3bbd82834fd2ed59543 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:53 [ssh-agent] Looking for ssh-agent implementation... 05:42:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:53 $ docker exec e9da1a2e1f631a83ba9e6b5baa7ec52ac3fc2ec0cfe6b3bbd82834fd2ed59543 ssh-agent 05:42:53 SSH_AUTH_SOCK=/tmp/ssh-TQQlOpuHYMM8/agent.13 05:42:53 SSH_AGENT_PID=19 05:42:53 Running ssh-add (command line suppressed) 05:42:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5214948137267346616.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5214948137267346616.key) 05:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:54 + git tag --points-at HEAD [Pipeline] } 05:42:54 $ docker exec --env ******** --env ******** e9da1a2e1f631a83ba9e6b5baa7ec52ac3fc2ec0cfe6b3bbd82834fd2ed59543 ssh-agent -k 05:42:54 unset SSH_AUTH_SOCK; 05:42:54 unset SSH_AGENT_PID; 05:42:54 echo Agent pid 19 killed; 05:42:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:42:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:54 [ssh-agent] Looking for ssh-agent implementation... 05:42:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:54 $ docker exec e9da1a2e1f631a83ba9e6b5baa7ec52ac3fc2ec0cfe6b3bbd82834fd2ed59543 ssh-agent 05:42:54 SSH_AUTH_SOCK=/tmp/ssh-gW5KiJHZmM9v/agent.52 05:42:54 SSH_AGENT_PID=58 05:42:54 Running ssh-add (command line suppressed) 05:42:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_797141932640177581.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_797141932640177581.key) 05:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:55 + git semver init 05:42:55 # -> Open(): unable to determine branch for HEAD 05:42:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 05:42:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 05:42:55 # $SEMVER_REMOTE_NAME = origin 05:42:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:42:55 # $SEMVER_USER_NAME = edgex-jenkins 05:42:55 # $SEMVER_BRANCH = main 05:42:55 # $SEMVER_TEMP = /tmp/semver-545651531 05:42:55 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 05:42:55 # '/tmp/semver-545651531' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 05:42:55 # -> Force: false 05:42:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 05:42:55 $ docker exec --env ******** --env ******** e9da1a2e1f631a83ba9e6b5baa7ec52ac3fc2ec0cfe6b3bbd82834fd2ed59543 ssh-agent -k 05:42:55 unset SSH_AUTH_SOCK; 05:42:55 unset SSH_AGENT_PID; 05:42:55 echo Agent pid 58 killed; 05:42:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:42:56 + git semver [Pipeline] } 05:42:56 $ docker stop --time=1 e9da1a2e1f631a83ba9e6b5baa7ec52ac3fc2ec0cfe6b3bbd82834fd2ed59543 05:42:57 $ docker rm -f e9da1a2e1f631a83ba9e6b5baa7ec52ac3fc2ec0cfe6b3bbd82834fd2ed59543 [Pipeline] // withDockerContainer [Pipeline] sh 05:42:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:42:58 Stashed 1 file(s) [Pipeline] echo 05:42:58 [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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 05:43:13 Still waiting to schedule task 05:43:13 ‘prd-centos7-blackbox-4c-2g-465’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-1022’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-436’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-458’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-478’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-522’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-524’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-732’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-775’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-798’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-builder-2c-1g-941’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-centos7-docker-4c-2g-1891’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-1892’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-1893’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-444’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-445’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-504’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-603’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-826’ is offline 05:43:13 ‘prd-centos7-docker-4c-2g-829’ is offline 05:43:13 ‘prd-centos7-docker-8c-8g-1881’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1884’ doesn’t have label ‘centos7-docker-4c-2g’ 05:43:13 Still waiting to schedule task 05:43:13 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1884’ is offline 05:43:20 Running on prd-centos7-docker-4c-2g-1891 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 05:43:20 Running in /w/workspace/device-mqtt-go/11 [Pipeline] { [Pipeline] checkout 05:43:20 Selected Git installation does not exist. Using Default 05:43:20 The recommended git tool is: NONE 05:43:24 using credential edgex-jenkins-ssh 05:43:24 Cloning the remote Git repository 05:43:24 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:43:24 > git init /w/workspace/device-mqtt-go/11 # timeout=10 05:43:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:43:24 > git --version # timeout=10 05:43:24 > git --version # 'git version 2.24.4' 05:43:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:24 [INFO] Currently running in a labeled security context 05:43:24 [INFO] Currently SELinux is 'enforcing' on the host 05:43:24 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/11@tmp/jenkins-gitclient-ssh7674457942456822466.key 05:43:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:24 Avoid second fetch 05:43:24 Checking out Revision 9115b354f2e5107c826695c25359030946cf7655 (main) 05:43:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:43:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:24 > git config core.sparsecheckout # timeout=10 05:43:24 > git checkout -f 9115b354f2e5107c826695c25359030946cf7655 # timeout=10 05:43:28 Commit message: "Merge pull request #305 from lenny-intel/pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:29 provisioning config files... 05:43:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/11@tmp/config7667341318810759133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:29 ---> docker-login.sh 05:43:29 nexus3.edgexfoundry.org:10001 05:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:29 Configure a credential helper to remove this warning. See 05:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:29 05:43:29 Login Succeeded 05:43:29 nexus3.edgexfoundry.org:10002 05:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:29 Configure a credential helper to remove this warning. See 05:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:29 05:43:29 Login Succeeded 05:43:29 nexus3.edgexfoundry.org:10003 05:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:30 Configure a credential helper to remove this warning. See 05:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:30 05:43:30 Login Succeeded 05:43:30 nexus3.edgexfoundry.org:10004 05:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:30 Configure a credential helper to remove this warning. See 05:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:30 05:43:30 Login Succeeded 05:43:30 docker.io 05:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:30 Configure a credential helper to remove this warning. See 05:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:30 05:43:30 Login Succeeded 05:43:30 ---> docker-login.sh ends [Pipeline] } 05:43:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:30 ========================================================= 05:43:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:43:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:43:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 05:43:31 Sending build context to Docker daemon 642.6kB 05:43:31 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 05:43:31 Step 2/12 : FROM ${BASE} AS builder 05:43:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:31 540db60ca938: Pulling fs layer 05:43:31 adcc1eea9eea: Pulling fs layer 05:43:31 4c4ab2625f07: Pulling fs layer 05:43:31 db62176df00c: Pulling fs layer 05:43:31 3b30891b0d05: Pulling fs layer 05:43:31 06b49ca38bd5: Pulling fs layer 05:43:31 c788192a36de: Pulling fs layer 05:43:31 a77e37c0d609: Pulling fs layer 05:43:31 c3185cebc471: Pulling fs layer 05:43:31 db62176df00c: Waiting 05:43:31 3b30891b0d05: Waiting 05:43:31 06b49ca38bd5: Waiting 05:43:31 c788192a36de: Waiting 05:43:31 a77e37c0d609: Waiting 05:43:31 c3185cebc471: Waiting 05:43:31 4c4ab2625f07: Download complete 05:43:31 adcc1eea9eea: Verifying Checksum 05:43:31 adcc1eea9eea: Download complete 05:43:31 3b30891b0d05: Verifying Checksum 05:43:31 3b30891b0d05: Download complete 05:43:31 06b49ca38bd5: Verifying Checksum 05:43:31 06b49ca38bd5: Download complete 05:43:31 c788192a36de: Verifying Checksum 05:43:31 c788192a36de: Download complete 05:43:31 540db60ca938: Verifying Checksum 05:43:32 a77e37c0d609: Verifying Checksum 05:43:32 a77e37c0d609: Download complete 05:43:32 540db60ca938: Pull complete 05:43:32 adcc1eea9eea: Pull complete 05:43:32 4c4ab2625f07: Pull complete 05:43:32 c3185cebc471: Verifying Checksum 05:43:32 c3185cebc471: Download complete 05:43:33 db62176df00c: Verifying Checksum 05:43:33 db62176df00c: Download complete 05:43:37 db62176df00c: Pull complete 05:43:37 3b30891b0d05: Pull complete 05:43:37 06b49ca38bd5: Pull complete 05:43:37 c788192a36de: Pull complete 05:43:37 a77e37c0d609: Pull complete 05:43:40 c3185cebc471: Pull complete 05:43:40 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 05:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:43:40 ---> 031687cdd783 05:43:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:43:43 ---> Running in c7719b4db2b8 05:43:43 Removing intermediate container c7719b4db2b8 05:43:43 ---> 6ad3af30144a 05:43:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:43:43 ---> Running in 308ed3a8196d 05:43:43 Removing intermediate container 308ed3a8196d 05:43:43 ---> f2bd7ab480d5 05:43:43 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:43 ---> Running in 58f865f9902f 05:43:43 Removing intermediate container 58f865f9902f 05:43:43 ---> f46b9b93de09 05:43:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:43:43 ---> Running in 099948c13ef5 05:43:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:43:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:43:50 (1/3) Installing openssh-keygen (8.4_p1-r3) 05:43:50 (2/3) Installing libedit (20191231.3.1-r1) 05:43:50 (3/3) Installing openssh-client (8.4_p1-r3) 05:43:52 Executing busybox-1.32.1-r6.trigger 05:43:52 OK: 223 MiB in 55 packages 05:43:52 Removing intermediate container 099948c13ef5 05:43:52 ---> 04b8e33d23d8 05:43:52 Step 7/12 : WORKDIR /device-mqtt-go 05:43:52 ---> Running in 874f997f7ba6 05:43:52 Removing intermediate container 874f997f7ba6 05:43:52 ---> e1927d9ccaa4 05:43:52 Step 8/12 : COPY . . 05:43:52 ---> 0bd95ee17897 05:43:52 Step 9/12 : RUN go mod tidy 05:43:53 ---> Running in 548d61149d7d 05:43:53 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 05:43:53 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 05:43:54 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 05:43:54 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 05:43:54 go: downloading github.com/google/uuid v1.3.0 05:43:54 go: downloading github.com/spf13/cast v1.4.1 05:43:54 go: downloading github.com/stretchr/testify v1.7.0 05:43:54 go: downloading github.com/gorilla/websocket v1.4.2 05:43:54 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 05:43:54 go: downloading github.com/gorilla/mux v1.8.0 05:43:54 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 05:43:54 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 05:43:54 go: downloading github.com/go-kit/kit v0.9.0 05:43:54 go: downloading github.com/go-playground/validator/v10 v10.6.1 05:43:54 go: downloading github.com/davecgh/go-spew v1.1.1 05:43:54 go: downloading github.com/pmezard/go-difflib v1.0.0 05:43:54 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 05:43:54 go: downloading github.com/OneOfOne/xxhash v1.2.8 05:43:54 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 05:43:54 go: downloading github.com/pelletier/go-toml v1.9.2 05:43:54 go: downloading gopkg.in/yaml.v2 v2.4.0 05:43:54 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 05:43:54 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 05:43:54 go: downloading github.com/go-logfmt/logfmt v0.4.0 05:43:54 go: downloading github.com/go-stack/stack v1.8.0 05:43:54 go: downloading github.com/go-playground/universal-translator v0.17.0 05:43:54 go: downloading github.com/leodido/go-urn v1.2.0 05:43:54 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 05:43:54 go: downloading golang.org/x/text v0.3.2 05:43:54 go: downloading github.com/go-playground/assert/v2 v2.0.1 05:43:54 go: downloading github.com/go-playground/locales v0.13.0 05:43:55 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 05:43:55 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 05:43:55 go: downloading github.com/hashicorp/consul/api v1.8.1 05:43:55 go: downloading github.com/stretchr/objx v0.1.0 05:43:55 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:43:55 go: downloading github.com/x448/float16 v0.8.4 05:43:55 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 05:43:55 go: downloading github.com/go-redis/redis/v7 v7.3.0 05:43:55 go: downloading github.com/pebbe/zmq4 v1.2.7 05:43:55 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:43:55 go: downloading github.com/kr/pretty v0.2.0 05:43:55 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:43:55 go: downloading github.com/hashicorp/go-hclog v0.12.0 05:43:55 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:43:55 go: downloading github.com/hashicorp/serf v0.9.5 05:43:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:43:55 go: downloading github.com/hashicorp/consul/sdk v0.7.0 05:43:56 go: downloading github.com/hashicorp/go-uuid v1.0.1 05:43:56 go: downloading github.com/onsi/ginkgo v1.10.1 05:43:56 go: downloading github.com/onsi/gomega v1.7.0 05:43:56 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:43:56 go: downloading github.com/mitchellh/copystructure v1.0.0 05:43:56 go: downloading github.com/kr/text v0.1.0 05:43:56 go: downloading github.com/fatih/color v1.9.0 05:43:56 go: downloading github.com/mattn/go-colorable v0.1.6 05:43:56 go: downloading github.com/mattn/go-isatty v0.0.12 05:43:56 go: downloading github.com/mitchellh/go-homedir v1.1.0 05:43:56 go: downloading github.com/pkg/errors v0.8.1 05:43:56 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:43:56 go: downloading github.com/hashicorp/go-msgpack v0.5.3 05:43:56 go: downloading github.com/hashicorp/memberlist v0.2.2 05:43:56 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:43:56 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 05:43:56 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:43:56 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:43:56 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:43:56 go: downloading github.com/hashicorp/go-multierror v1.1.0 05:43:56 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 05:43:56 go: downloading github.com/miekg/dns v1.1.26 05:43:56 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:43:56 go: downloading github.com/hpcloud/tail v1.0.0 05:43:56 go: downloading github.com/hashicorp/golang-lru v0.5.0 05:43:56 go: downloading github.com/hashicorp/errwrap v1.0.0 05:43:56 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 05:43:56 go: downloading gopkg.in/fsnotify.v1 v1.4.7 05:44:01 Removing intermediate container 548d61149d7d 05:44:01 ---> 1612fdb4658f 05:44:01 Step 10/12 : RUN go mod download 05:44:01 ---> Running in 5e741af11088 05:44:03 Removing intermediate container 5e741af11088 05:44:03 ---> 4153d6160c24 05:44:03 Step 11/12 : ARG MAKE='make build' 05:44:03 ---> Running in 10cd9e637c4a 05:44:03 Removing intermediate container 10cd9e637c4a 05:44:03 ---> b802e0ba9d1b 05:44:03 Step 12/12 : RUN $MAKE 05:44:03 ---> Running in bae6875e98e8 05:44:03 noop 05:44:04 Removing intermediate container bae6875e98e8 05:44:04 ---> cdd46b9022b0 05:44:04 Successfully built cdd46b9022b0 05:44:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:44:04 + docker inspect -f . ci-base-image-x86_64 05:44:04 . [Pipeline] withDockerContainer 05:44:04 prd-centos7-docker-4c-2g-1891 does not seem to be running inside a container 05:44:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:05 $ docker top 3159e032a1aae6fe43cb500b28a1af4e54e314afc675325a26a672077c4e78ca -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:05 + go version 05:44:05 go version go1.16.6 linux/amd64 [Pipeline] } 05:44:05 $ docker stop --time=1 3159e032a1aae6fe43cb500b28a1af4e54e314afc675325a26a672077c4e78ca 05:44:06 $ docker rm -f 3159e032a1aae6fe43cb500b28a1af4e54e314afc675325a26a672077c4e78ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:07 + docker inspect -f . ci-base-image-x86_64 05:44:07 . [Pipeline] withDockerContainer 05:44:07 prd-centos7-docker-4c-2g-1891 does not seem to be running inside a container 05:44:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:07 $ docker top 2be96c868707c741647c6f4a50a35f55a6f02a6b043a5893c237b63dc197ee5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:44:08 + go mod tidy [Pipeline] sh 05:44:08 + make test 05:44:08 go mod tidy 05:44:08 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:44:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:44:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:44:27 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.4% of statements 05:44:27 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:44:27 GCO_ENABLED=1 GO111MODULE=on go vet ./... 05:44:31 gofmt -l . 05:44:31 ["`gofmt -l .`" = ""] 05:44:31 ./bin/test-attribution-txt.sh [Pipeline] } 05:44:32 $ docker stop --time=1 2be96c868707c741647c6f4a50a35f55a6f02a6b043a5893c237b63dc197ee5d 05:44:33 $ docker rm -f 2be96c868707c741647c6f4a50a35f55a6f02a6b043a5893c237b63dc197ee5d [Pipeline] // withDockerContainer [Pipeline] sh 05:44:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:44:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:44:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:44:36 + ls -al . 05:44:36 total 120 05:44:36 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 5 05:44 . 05:44:36 drwxrwxr-x. 4 jenkins jenkins 30 Oct 5 05:43 .. 05:44:36 -rw-rw-r--. 1 jenkins jenkins 6985 Oct 5 05:43 Attribution.txt 05:44:36 drwxrwxr-x. 2 jenkins jenkins 60 Oct 5 05:43 bin 05:44:36 -rw-rw-r--. 1 jenkins jenkins 7447 Oct 5 05:43 CHANGELOG.md 05:44:36 drwxrwxr-x. 3 jenkins jenkins 32 Oct 5 05:43 cmd 05:44:36 -rw-r--r--. 1 jenkins jenkins 17284 Oct 5 05:44 coverage.out 05:44:36 -rw-rw-r--. 1 jenkins jenkins 1877 Oct 5 05:43 Dockerfile 05:44:36 -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 05:43 .dockerignore 05:44:36 drwxrwxr-x. 8 jenkins jenkins 162 Oct 5 05:43 .git 05:44:36 drwxrwxr-x. 2 jenkins jenkins 103 Oct 5 05:43 .github 05:44:36 -rw-rw-r--. 1 jenkins jenkins 336 Oct 5 05:43 .gitignore 05:44:36 -rw-rw-r--. 1 jenkins jenkins 367 Oct 5 05:43 go.mod 05:44:36 -rw-r--r--. 1 jenkins jenkins 20655 Oct 5 05:44 go.sum 05:44:36 -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 05:43 GOVERNANCE.md 05:44:36 drwxrwxr-x. 3 jenkins jenkins 20 Oct 5 05:43 internal 05:44:36 -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 05:43 Jenkinsfile 05:44:36 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 5 05:43 LICENSE 05:44:36 -rw-rw-r--. 1 jenkins jenkins 907 Oct 5 05:43 Makefile 05:44:36 drwxrwxr-x. 2 jenkins jenkins 23 Oct 5 05:43 mock 05:44:36 -rw-rw-r--. 1 jenkins jenkins 620 Oct 5 05:43 OWNERS.md 05:44:36 -rw-rw-r--. 1 jenkins jenkins 2211 Oct 5 05:43 README.md 05:44:36 drwxrwxr-x. 4 jenkins jenkins 71 Oct 5 05:43 snap 05:44:36 -rw-rw-r--. 1 jenkins jenkins 11 Oct 5 05:42 VERSION 05:44:36 -rw-rw-r--. 1 jenkins jenkins 227 Oct 5 05:43 version.go [Pipeline] isUnix [Pipeline] sh 05:44:36 + 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=9115b354f2e5107c826695c25359030946cf7655 --label arch=amd64 --label version=2.0.1-dev.9 . 05:44:36 Sending build context to Docker daemon 660.5kB 05:44:36 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 05:44:36 Step 2/24 : FROM ${BASE} AS builder 05:44:36 ---> cdd46b9022b0 05:44:36 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:44:36 ---> Running in 35f6ca148592 05:44:36 Removing intermediate container 35f6ca148592 05:44:36 ---> c1f1eba4c090 05:44:36 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 05:44:36 ---> Running in a249dcbbf3bd 05:44:36 Removing intermediate container a249dcbbf3bd 05:44:36 ---> 5f3a648631ce 05:44:36 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:36 ---> Running in 8131807a4e63 05:44:37 Removing intermediate container 8131807a4e63 05:44:37 ---> 9b370d40dd5c 05:44:37 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:37 ---> Running in 4d38f65814c0 05:44:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:44:38 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:44:38 OK: 223 MiB in 55 packages 05:44:38 Removing intermediate container 4d38f65814c0 05:44:38 ---> 0275214e4f9d 05:44:38 Step 7/24 : WORKDIR /device-mqtt-go 05:44:38 ---> Running in fad1c3252235 05:44:38 Removing intermediate container fad1c3252235 05:44:38 ---> c81721026dbd 05:44:38 Step 8/24 : COPY . . 05:44:38 ---> bb288fa76bed 05:44:38 Step 9/24 : RUN go mod tidy 05:44:38 ---> Running in ff225a579ced 05:44:39 Removing intermediate container ff225a579ced 05:44:39 ---> 9a12ac72ac82 05:44:39 Step 10/24 : RUN go mod download 05:44:39 ---> Running in 6b23d231b570 05:44:40 Removing intermediate container 6b23d231b570 05:44:40 ---> 0a1ba331f82f 05:44:40 Step 11/24 : ARG MAKE='make build' 05:44:40 ---> Running in bf638e9c88ef 05:44:40 Removing intermediate container bf638e9c88ef 05:44:40 ---> 28a8b0dd21f1 05:44:40 Step 12/24 : RUN $MAKE 05:44:40 ---> Running in 95f541375268 05:44:40 go mod tidy 05:44:40 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.9" -o cmd/device-mqtt ./cmd 05:44:53 Removing intermediate container 95f541375268 05:44:53 ---> 93424854a98c 05:44:53 Step 13/24 : FROM alpine:3.14 05:44:53 3.14: Pulling from library/alpine 05:44:53 a0d0a0d46f8b: Pulling fs layer 05:44:53 a0d0a0d46f8b: Verifying Checksum 05:44:53 a0d0a0d46f8b: Download complete 05:44:53 a0d0a0d46f8b: Pull complete 05:44:53 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 05:44:53 Status: Downloaded newer image for alpine:3.14 05:44:53 ---> 14119a10abf4 05:44:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:44:53 ---> Running in d90b4f478554 05:44:53 Removing intermediate container d90b4f478554 05:44:53 ---> 4ca4c914d6c3 05:44:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:44:53 ---> Running in 6f0ad4619bb2 05:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:44:53 (1/6) Installing dumb-init (1.2.5-r1) 05:44:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:44:53 (3/6) Installing libsodium (1.0.18-r0) 05:44:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:44:53 (5/6) Installing libzmq (4.3.4-r0) 05:44:53 (6/6) Installing zeromq (4.3.4-r0) 05:44:53 Executing busybox-1.33.1-r3.trigger 05:44:53 OK: 8 MiB in 20 packages 05:44:53 Removing intermediate container 6f0ad4619bb2 05:44:53 ---> d0d9bbe113a1 05:44:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 05:44:54 ---> 4ee78cc08305 05:44:54 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 05:44:54 ---> 53b834b7caba 05:44:54 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:44:54 ---> fe16d3bb3e7b 05:44:54 Step 19/24 : EXPOSE 59982 05:44:54 ---> Running in 4c6aa10486b0 05:44:54 Removing intermediate container 4c6aa10486b0 05:44:54 ---> 799b3f793d32 05:44:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 05:44:54 ---> Running in 741fb987920b 05:44:54 Removing intermediate container 741fb987920b 05:44:54 ---> c63ef396a55a 05:44:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:44:54 ---> Running in 23e012079874 05:44:54 Removing intermediate container 23e012079874 05:44:54 ---> 41620ca691b5 05:44:54 Step 22/24 : LABEL arch=amd64 05:44:54 ---> Running in d2d9ec13f24b 05:44:54 Removing intermediate container d2d9ec13f24b 05:44:54 ---> d580e42be97b 05:44:54 Step 23/24 : LABEL git_sha=9115b354f2e5107c826695c25359030946cf7655 05:44:54 ---> Running in d531ad2ab7eb 05:44:54 Removing intermediate container d531ad2ab7eb 05:44:54 ---> 24e23362d149 05:44:54 Step 24/24 : LABEL version=2.0.1-dev.9 05:44:54 ---> Running in d53f3be2fb2f 05:44:54 Removing intermediate container d53f3be2fb2f 05:44:54 ---> 643cccd75d73 05:44:54 [Warning] One or more build-args [ARCH] were not consumed 05:44:54 Successfully built 643cccd75d73 05:44:54 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:55 provisioning config files... 05:44:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/11@tmp/config2401693522827607559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:55 ---> docker-login.sh 05:44:55 nexus3.edgexfoundry.org:10001 05:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:55 Configure a credential helper to remove this warning. See 05:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:55 05:44:55 Login Succeeded 05:44:55 nexus3.edgexfoundry.org:10002 05:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:55 Configure a credential helper to remove this warning. See 05:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:55 05:44:55 Login Succeeded 05:44:55 nexus3.edgexfoundry.org:10003 05:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:55 Configure a credential helper to remove this warning. See 05:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:55 05:44:55 Login Succeeded 05:44:55 nexus3.edgexfoundry.org:10004 05:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:56 Configure a credential helper to remove this warning. See 05:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:56 05:44:56 Login Succeeded 05:44:56 docker.io 05:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:56 Configure a credential helper to remove this warning. See 05:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:56 05:44:56 Login Succeeded 05:44:56 ---> docker-login.sh ends [Pipeline] } 05:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:56 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 05:44:56 9115b354f2e5107c826695c25359030946cf7655 05:44:56 latest 05:44:56 2.0.1-dev.9 05:44:56 9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 05:44:56 main 05:44:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9115b354f2e5107c826695c25359030946cf7655 [Pipeline] isUnix [Pipeline] sh 05:44:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9115b354f2e5107c826695c25359030946cf7655 05:44:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:44:57 ba3f7f19794b: Preparing 05:44:57 ff36a817fc15: Preparing 05:44:57 1a40dd9688eb: Preparing 05:44:57 7c9dbec26087: Preparing 05:44:57 e2eb06d8af82: Preparing 05:44:57 e2eb06d8af82: Layer already exists 05:44:57 ba3f7f19794b: Pushed 05:44:57 ff36a817fc15: Pushed 05:44:57 7c9dbec26087: Pushed 05:44:58 1a40dd9688eb: Pushed 05:44:58 9115b354f2e5107c826695c25359030946cf7655: digest: sha256:6407cb4dd380c8beffc7a45b5e7c6779611128fb45c3f83814aa1a54c4c78c1b size: 1366 [Pipeline] isUnix [Pipeline] sh 05:44:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 05:44:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:44:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:44:59 ba3f7f19794b: Preparing 05:44:59 ff36a817fc15: Preparing 05:44:59 1a40dd9688eb: Preparing 05:44:59 7c9dbec26087: Preparing 05:44:59 e2eb06d8af82: Preparing 05:44:59 7c9dbec26087: Layer already exists 05:44:59 ba3f7f19794b: Layer already exists 05:44:59 e2eb06d8af82: Layer already exists 05:44:59 ff36a817fc15: Layer already exists 05:44:59 1a40dd9688eb: Layer already exists 05:44:59 latest: digest: sha256:6407cb4dd380c8beffc7a45b5e7c6779611128fb45c3f83814aa1a54c4c78c1b size: 1366 [Pipeline] isUnix [Pipeline] sh 05:44:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 05:44:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.9 05:44:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:44:59 ba3f7f19794b: Preparing 05:44:59 ff36a817fc15: Preparing 05:44:59 1a40dd9688eb: Preparing 05:44:59 7c9dbec26087: Preparing 05:44:59 e2eb06d8af82: Preparing 05:44:59 1a40dd9688eb: Layer already exists 05:44:59 ba3f7f19794b: Layer already exists 05:44:59 ff36a817fc15: Layer already exists 05:44:59 e2eb06d8af82: Layer already exists 05:44:59 7c9dbec26087: Layer already exists 05:44:59 2.0.1-dev.9: digest: sha256:6407cb4dd380c8beffc7a45b5e7c6779611128fb45c3f83814aa1a54c4c78c1b size: 1366 [Pipeline] isUnix [Pipeline] sh 05:45:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 05:45:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 05:45:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:45:00 ba3f7f19794b: Preparing 05:45:00 ff36a817fc15: Preparing 05:45:00 1a40dd9688eb: Preparing 05:45:00 7c9dbec26087: Preparing 05:45:00 e2eb06d8af82: Preparing 05:45:00 ff36a817fc15: Layer already exists 05:45:00 1a40dd9688eb: Layer already exists 05:45:00 ba3f7f19794b: Layer already exists 05:45:00 7c9dbec26087: Layer already exists 05:45:00 e2eb06d8af82: Layer already exists 05:45:00 9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9: digest: sha256:6407cb4dd380c8beffc7a45b5e7c6779611128fb45c3f83814aa1a54c4c78c1b size: 1366 [Pipeline] isUnix [Pipeline] sh 05:45:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 05:45:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 05:45:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:45:01 ba3f7f19794b: Preparing 05:45:01 ff36a817fc15: Preparing 05:45:01 1a40dd9688eb: Preparing 05:45:01 7c9dbec26087: Preparing 05:45:01 e2eb06d8af82: Preparing 05:45:01 ba3f7f19794b: Layer already exists 05:45:01 7c9dbec26087: Layer already exists 05:45:01 1a40dd9688eb: Layer already exists 05:45:01 e2eb06d8af82: Layer already exists 05:45:01 ff36a817fc15: Layer already exists 05:45:01 main: digest: sha256:6407cb4dd380c8beffc7a45b5e7c6779611128fb45c3f83814aa1a54c4c78c1b size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:45:01 ===================================================== [Pipeline] echo 05:45:01 taggedImages: 05:45:01 - nexus3.edgexfoundry.org:10004/device-mqtt:9115b354f2e5107c826695c25359030946cf7655 05:45:01 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:45:01 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.9 05:45:01 - nexus3.edgexfoundry.org:10004/device-mqtt:9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 05:45:01 - nexus3.edgexfoundry.org:10004/device-mqtt:main [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:45:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:01 05:45:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:45:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:02 latest: Pulling from edgex-lftools-log-publisher 05:45:02 b4d181a07f80: Pulling fs layer 05:45:02 a1111a8f2ec3: Pulling fs layer 05:45:02 ed53099fbce6: Pulling fs layer 05:45:02 dc539afda2c1: Pulling fs layer 05:45:02 77bc0d833cb6: Pulling fs layer 05:45:02 9065ff56babe: Pulling fs layer 05:45:02 d287ab97295c: Pulling fs layer 05:45:02 dc539afda2c1: Waiting 05:45:02 77bc0d833cb6: Waiting 05:45:02 9065ff56babe: Waiting 05:45:02 d287ab97295c: Waiting 05:45:02 a1111a8f2ec3: Verifying Checksum 05:45:02 a1111a8f2ec3: Download complete 05:45:02 dc539afda2c1: Verifying Checksum 05:45:02 dc539afda2c1: Download complete 05:45:03 ed53099fbce6: Verifying Checksum 05:45:03 ed53099fbce6: Download complete 05:45:03 9065ff56babe: Verifying Checksum 05:45:03 9065ff56babe: Download complete 05:45:03 b4d181a07f80: Verifying Checksum 05:45:03 b4d181a07f80: Download complete 05:45:03 77bc0d833cb6: Verifying Checksum 05:45:03 77bc0d833cb6: Download complete 05:45:04 d287ab97295c: Verifying Checksum 05:45:04 d287ab97295c: Download complete 05:45:04 b4d181a07f80: Pull complete 05:45:04 a1111a8f2ec3: Pull complete 05:45:05 ed53099fbce6: Pull complete 05:45:05 dc539afda2c1: Pull complete 05:45:05 77bc0d833cb6: Pull complete 05:45:05 9065ff56babe: Pull complete 05:45:11 d287ab97295c: Pull complete 05:45:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:45:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:45:11 prd-centos7-docker-4c-2g-1891 does not seem to be running inside a container 05:45:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:14 $ docker top 4422353351a5920be2a21154e147e6a18fdfd16cedea7c53ce5afcd04c8ec5dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:14 ---> job-cost.sh 05:45:14 lf-activate-venv: SKIPPING 05:45:14 INFO: No Stack... 05:45:15 INFO: Retrieving Pricing Info for: v3-standard-2 05:45:15 INFO: Archiving Costs [Pipeline] sh 05:45:16 + cut -d, -f6 05:45:16 + cat /w/workspace/device-mqtt-go/11/archives/cost.csv [Pipeline] lock 05:45:16 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] 05:45:16 Resource [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] did not exist. Created. 05:45:16 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:16 + echo total: 0.05999999865889549 [Pipeline] stash 05:45:16 Stashed 1 file(s) [Pipeline] } 05:45:16 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:16 $ docker stop --time=1 4422353351a5920be2a21154e147e6a18fdfd16cedea7c53ce5afcd04c8ec5dc 05:45:17 $ docker rm -f 4422353351a5920be2a21154e147e6a18fdfd16cedea7c53ce5afcd04c8ec5dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:47:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1920 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 05:47:40 Running in /w/workspace/device-mqtt-go/11 [Pipeline] { [Pipeline] checkout 05:47:41 Selected Git installation does not exist. Using Default 05:47:41 The recommended git tool is: NONE 05:47:48 using credential edgex-jenkins-ssh 05:47:48 Cloning the remote Git repository 05:47:50 Avoid second fetch 05:47:50 Checking out Revision 9115b354f2e5107c826695c25359030946cf7655 (main) 05:47:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:47:49 > git init /w/workspace/device-mqtt-go/11 # timeout=10 05:47:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:47:49 > git --version # timeout=10 05:47:49 > git --version # 'git version 2.17.1' 05:47:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:47:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:50 > git config core.sparsecheckout # timeout=10 05:47:50 > git checkout -f 9115b354f2e5107c826695c25359030946cf7655 # timeout=10 05:47:54 Commit message: "Merge pull request #305 from lenny-intel/pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:55 provisioning config files... 05:47:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/11@tmp/config7622010341241354141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:55 ---> docker-login.sh 05:47:55 nexus3.edgexfoundry.org:10001 05:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:57 Configure a credential helper to remove this warning. See 05:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:57 05:47:57 Login Succeeded 05:47:57 nexus3.edgexfoundry.org:10002 05:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:58 Configure a credential helper to remove this warning. See 05:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:58 05:47:58 Login Succeeded 05:47:58 nexus3.edgexfoundry.org:10003 05:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:58 Configure a credential helper to remove this warning. See 05:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:58 05:47:58 Login Succeeded 05:47:58 nexus3.edgexfoundry.org:10004 05:47:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:59 Configure a credential helper to remove this warning. See 05:47:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:59 05:47:59 Login Succeeded 05:47:59 docker.io 05:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:00 Configure a credential helper to remove this warning. See 05:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:00 05:48:00 Login Succeeded 05:48:00 ---> docker-login.sh ends [Pipeline] } 05:48:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:00 ========================================================= 05:48:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:48:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:48:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 05:48:01 Sending build context to Docker daemon 642kB 05:48:02 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 05:48:02 Step 2/12 : FROM ${BASE} AS builder 05:48:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:48:02 595b0fe564bb: Pulling fs layer 05:48:02 24495759ef45: Pulling fs layer 05:48:02 d148012ef14d: Pulling fs layer 05:48:02 e90a11edd702: Pulling fs layer 05:48:02 d77568369979: Pulling fs layer 05:48:02 fc1c9f9a7f3b: Pulling fs layer 05:48:02 170f2ba95c9a: Pulling fs layer 05:48:02 97ac5df62f85: Pulling fs layer 05:48:02 fc1c9f9a7f3b: Waiting 05:48:02 e90a11edd702: Waiting 05:48:02 170f2ba95c9a: Waiting 05:48:02 d77568369979: Waiting 05:48:02 97ac5df62f85: Waiting 05:48:02 d148012ef14d: Verifying Checksum 05:48:02 d148012ef14d: Download complete 05:48:02 24495759ef45: Verifying Checksum 05:48:02 24495759ef45: Download complete 05:48:02 d77568369979: Verifying Checksum 05:48:02 d77568369979: Download complete 05:48:02 fc1c9f9a7f3b: Verifying Checksum 05:48:02 fc1c9f9a7f3b: Download complete 05:48:02 595b0fe564bb: Verifying Checksum 05:48:02 595b0fe564bb: Download complete 05:48:02 170f2ba95c9a: Verifying Checksum 05:48:02 170f2ba95c9a: Download complete 05:48:03 595b0fe564bb: Pull complete 05:48:04 24495759ef45: Pull complete 05:48:05 d148012ef14d: Pull complete 05:48:05 97ac5df62f85: Verifying Checksum 05:48:05 97ac5df62f85: Download complete 05:48:05 e90a11edd702: Verifying Checksum 05:48:05 e90a11edd702: Download complete 05:48:17 e90a11edd702: Pull complete 05:48:17 d77568369979: Pull complete 05:48:17 fc1c9f9a7f3b: Pull complete 05:48:17 170f2ba95c9a: Pull complete 05:48:22 97ac5df62f85: Pull complete 05:48:22 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 05:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:48:22 ---> 04bc70af865f 05:48:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:48:27 ---> Running in 250add118e2c 05:48:27 Removing intermediate container 250add118e2c 05:48:27 ---> aae6be9f3a9a 05:48:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:48:27 ---> Running in e1f5bd2d044c 05:48:28 Removing intermediate container e1f5bd2d044c 05:48:28 ---> 9eaab5b2d596 05:48:28 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:28 ---> Running in f67902231c4c 05:48:30 Removing intermediate container f67902231c4c 05:48:30 ---> 34ce2042bd1d 05:48:30 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:48:30 ---> Running in af063e1a6ec7 05:48:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:48:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:48:33 (1/3) Installing openssh-keygen (8.4_p1-r3) 05:48:33 (2/3) Installing libedit (20191231.3.1-r1) 05:48:33 (3/3) Installing openssh-client (8.4_p1-r3) 05:48:34 Executing busybox-1.32.1-r6.trigger 05:48:34 OK: 222 MiB in 55 packages 05:48:35 Removing intermediate container af063e1a6ec7 05:48:35 ---> 7cf5d44500f7 05:48:35 Step 7/12 : WORKDIR /device-mqtt-go 05:48:35 ---> Running in e9a4bc7e09c5 05:48:36 Removing intermediate container e9a4bc7e09c5 05:48:36 ---> a51b8cb3b591 05:48:36 Step 8/12 : COPY . . 05:48:37 ---> fecab387bff7 05:48:37 Step 9/12 : RUN go mod tidy 05:48:37 ---> Running in cbd947d5f4c3 05:48:40 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 05:48:40 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 05:48:40 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 05:48:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 05:48:40 go: downloading github.com/google/uuid v1.3.0 05:48:40 go: downloading github.com/spf13/cast v1.4.1 05:48:40 go: downloading github.com/stretchr/testify v1.7.0 05:48:40 go: downloading github.com/gorilla/websocket v1.4.2 05:48:40 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 05:48:40 go: downloading github.com/gorilla/mux v1.8.0 05:48:40 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 05:48:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 05:48:41 go: downloading github.com/go-playground/validator/v10 v10.6.1 05:48:41 go: downloading github.com/go-kit/kit v0.9.0 05:48:41 go: downloading github.com/davecgh/go-spew v1.1.1 05:48:41 go: downloading github.com/pmezard/go-difflib v1.0.0 05:48:41 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 05:48:41 go: downloading github.com/OneOfOne/xxhash v1.2.8 05:48:41 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 05:48:41 go: downloading github.com/pelletier/go-toml v1.9.2 05:48:41 go: downloading gopkg.in/yaml.v2 v2.4.0 05:48:41 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 05:48:41 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 05:48:41 go: downloading github.com/go-playground/universal-translator v0.17.0 05:48:41 go: downloading github.com/leodido/go-urn v1.2.0 05:48:41 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 05:48:41 go: downloading golang.org/x/text v0.3.2 05:48:41 go: downloading github.com/go-playground/assert/v2 v2.0.1 05:48:41 go: downloading github.com/go-playground/locales v0.13.0 05:48:44 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 05:48:44 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 05:48:44 go: downloading github.com/go-logfmt/logfmt v0.4.0 05:48:44 go: downloading github.com/go-stack/stack v1.8.0 05:48:44 go: downloading github.com/hashicorp/consul/api v1.8.1 05:48:44 go: downloading github.com/stretchr/objx v0.1.0 05:48:44 go: downloading github.com/x448/float16 v0.8.4 05:48:44 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 05:48:44 go: downloading github.com/go-redis/redis/v7 v7.3.0 05:48:44 go: downloading github.com/pebbe/zmq4 v1.2.7 05:48:44 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:48:45 go: downloading github.com/kr/pretty v0.2.0 05:48:45 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:48:45 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:48:45 go: downloading github.com/hashicorp/go-hclog v0.12.0 05:48:45 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:48:45 go: downloading github.com/hashicorp/serf v0.9.5 05:48:45 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:48:45 go: downloading github.com/hashicorp/consul/sdk v0.7.0 05:48:45 go: downloading github.com/hashicorp/go-uuid v1.0.1 05:48:45 go: downloading github.com/kr/text v0.1.0 05:48:45 go: downloading github.com/onsi/ginkgo v1.10.1 05:48:45 go: downloading github.com/onsi/gomega v1.7.0 05:48:45 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:48:45 go: downloading github.com/mitchellh/copystructure v1.0.0 05:48:45 go: downloading github.com/fatih/color v1.9.0 05:48:45 go: downloading github.com/mattn/go-colorable v0.1.6 05:48:45 go: downloading github.com/mattn/go-isatty v0.0.12 05:48:45 go: downloading github.com/mitchellh/go-homedir v1.1.0 05:48:45 go: downloading github.com/pkg/errors v0.8.1 05:48:45 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:48:45 go: downloading github.com/hashicorp/go-msgpack v0.5.3 05:48:45 go: downloading github.com/hashicorp/memberlist v0.2.2 05:48:45 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:48:45 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 05:48:45 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:48:45 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:48:45 go: downloading github.com/hpcloud/tail v1.0.0 05:48:45 go: downloading github.com/hashicorp/golang-lru v0.5.0 05:48:45 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:48:45 go: downloading github.com/hashicorp/go-multierror v1.1.0 05:48:45 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 05:48:45 go: downloading github.com/miekg/dns v1.1.26 05:48:45 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:48:45 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 05:48:45 go: downloading github.com/hashicorp/errwrap v1.0.0 05:48:46 go: downloading gopkg.in/fsnotify.v1 v1.4.7 05:49:01 Removing intermediate container cbd947d5f4c3 05:49:01 ---> 861209721518 05:49:01 Step 10/12 : RUN go mod download 05:49:01 ---> Running in a41b3499abfc 05:49:11 Removing intermediate container a41b3499abfc 05:49:11 ---> d2a610373db7 05:49:11 Step 11/12 : ARG MAKE='make build' 05:49:11 ---> Running in af59a29d7743 05:49:11 Removing intermediate container af59a29d7743 05:49:11 ---> 2d9840c73a51 05:49:11 Step 12/12 : RUN $MAKE 05:49:11 ---> Running in 61a27ba39499 05:49:12 noop 05:49:13 Removing intermediate container 61a27ba39499 05:49:13 ---> 66edecc29982 05:49:13 Successfully built 66edecc29982 05:49:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:49:14 + docker inspect -f . ci-base-image-arm64 05:49:14 . [Pipeline] withDockerContainer 05:49:14 prd-ubuntu18.04-docker-arm64-4c-16g-1920 does not seem to be running inside a container 05:49:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:49:16 $ docker top e8d1eb4acb59f9a21746e948f5895833b9bdf15559e52a267b4baa9b194dde66 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:17 + go version 05:49:17 go version go1.16.6 linux/arm64 [Pipeline] } 05:49:17 $ docker stop --time=1 e8d1eb4acb59f9a21746e948f5895833b9bdf15559e52a267b4baa9b194dde66 05:49:19 $ docker rm -f e8d1eb4acb59f9a21746e948f5895833b9bdf15559e52a267b4baa9b194dde66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:20 + docker inspect -f . ci-base-image-arm64 05:49:20 . [Pipeline] withDockerContainer 05:49:20 prd-ubuntu18.04-docker-arm64-4c-16g-1920 does not seem to be running inside a container 05:49:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:49:22 $ docker top 9c16ae7e68e4d2fb9332b74de7dc3e114b7e163c6186965ec9e04d18d654d2a8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:49:23 + go mod tidy [Pipeline] sh 05:49:24 + make test 05:49:24 go mod tidy 05:49:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:49:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:50:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:50:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 22.4% of statements 05:50:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:50:23 GCO_ENABLED=1 GO111MODULE=on go vet ./... 05:50:50 gofmt -l . 05:50:50 ["`gofmt -l .`" = ""] 05:50:50 ./bin/test-attribution-txt.sh [Pipeline] } 05:50:50 $ docker stop --time=1 9c16ae7e68e4d2fb9332b74de7dc3e114b7e163c6186965ec9e04d18d654d2a8 05:50:52 $ docker rm -f 9c16ae7e68e4d2fb9332b74de7dc3e114b7e163c6186965ec9e04d18d654d2a8 [Pipeline] // withDockerContainer [Pipeline] sh 05:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:50:53 Warning: overwriting stash ‘coverage-report’ 05:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:55 + ls -al . 05:50:55 total 152 05:50:55 drwxrwxr-x 9 jenkins jenkins 4096 Oct 5 05:50 . 05:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:47 .. 05:50:55 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 05:47 .dockerignore 05:50:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 05:47 .git 05:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:47 .github 05:50:55 -rw-rw-r-- 1 jenkins jenkins 336 Oct 5 05:47 .gitignore 05:50:55 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 5 05:47 Attribution.txt 05:50:55 -rw-rw-r-- 1 jenkins jenkins 7447 Oct 5 05:47 CHANGELOG.md 05:50:55 -rw-rw-r-- 1 jenkins jenkins 1877 Oct 5 05:47 Dockerfile 05:50:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 05:47 GOVERNANCE.md 05:50:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 05:47 Jenkinsfile 05:50:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 05:47 LICENSE 05:50:55 -rw-rw-r-- 1 jenkins jenkins 907 Oct 5 05:47 Makefile 05:50:55 -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 05:47 OWNERS.md 05:50:55 -rw-rw-r-- 1 jenkins jenkins 2211 Oct 5 05:47 README.md 05:50:55 -rw-rw-r-- 1 jenkins jenkins 11 Oct 5 05:42 VERSION 05:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:47 bin 05:50:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:47 cmd 05:50:55 -rw-r--r-- 1 jenkins jenkins 17284 Oct 5 05:50 coverage.out 05:50:55 -rw-rw-r-- 1 jenkins jenkins 367 Oct 5 05:47 go.mod 05:50:55 -rw-r--r-- 1 jenkins jenkins 20655 Oct 5 05:49 go.sum 05:50:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:47 internal 05:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:47 mock 05:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:47 snap 05:50:55 -rw-rw-r-- 1 jenkins jenkins 227 Oct 5 05:47 version.go [Pipeline] isUnix [Pipeline] sh 05:50:55 + 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=9115b354f2e5107c826695c25359030946cf7655 --label arch=arm64 --label version=2.0.1-dev.9 . 05:50:55 Sending build context to Docker daemon 660kB 05:50:56 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 05:50:56 Step 2/24 : FROM ${BASE} AS builder 05:50:56 ---> 66edecc29982 05:50:56 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:50:56 ---> Running in 1c0c1cd9eba0 05:50:56 Removing intermediate container 1c0c1cd9eba0 05:50:56 ---> ba3a42e3cf6f 05:50:56 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 05:50:56 ---> Running in 8482470e968d 05:50:57 Removing intermediate container 8482470e968d 05:50:57 ---> b89fa3edb8e3 05:50:57 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:57 ---> Running in b56d324aceb3 05:51:00 Removing intermediate container b56d324aceb3 05:51:00 ---> cdd32863c747 05:51:00 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:51:00 ---> Running in fe5d3713297b 05:51:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:51:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:51:03 OK: 222 MiB in 55 packages 05:51:04 Removing intermediate container fe5d3713297b 05:51:04 ---> 456f8a68fa1d 05:51:04 Step 7/24 : WORKDIR /device-mqtt-go 05:51:04 ---> Running in ddd07b93a8fc 05:51:04 Removing intermediate container ddd07b93a8fc 05:51:04 ---> 06606287e8e2 05:51:04 Step 8/24 : COPY . . 05:51:05 ---> 4466839c5904 05:51:05 Step 9/24 : RUN go mod tidy 05:51:05 ---> Running in e5041d6f2e40 05:51:09 Removing intermediate container e5041d6f2e40 05:51:09 ---> 7637e5d9673b 05:51:09 Step 10/24 : RUN go mod download 05:51:09 ---> Running in 659d2c4c4c07 05:51:11 Removing intermediate container 659d2c4c4c07 05:51:11 ---> 4c1efef25339 05:51:11 Step 11/24 : ARG MAKE='make build' 05:51:11 ---> Running in d449925f38aa 05:51:12 Removing intermediate container d449925f38aa 05:51:12 ---> a778d0d5829b 05:51:12 Step 12/24 : RUN $MAKE 05:51:12 ---> Running in e3b7adf3e10f 05:51:13 go mod tidy 05:51:13 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.9" -o cmd/device-mqtt ./cmd 05:51:53 Removing intermediate container e3b7adf3e10f 05:51:53 ---> 2d25dfff01b0 05:51:53 Step 13/24 : FROM alpine:3.14 05:51:53 3.14: Pulling from library/alpine 05:51:53 552d1f2373af: Pulling fs layer 05:51:53 552d1f2373af: Verifying Checksum 05:51:53 552d1f2373af: Download complete 05:51:53 552d1f2373af: Pull complete 05:51:53 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 05:51:53 Status: Downloaded newer image for alpine:3.14 05:51:53 ---> bb3de5531c18 05:51:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:51:53 ---> Running in e42a3cedb3fc 05:51:53 Removing intermediate container e42a3cedb3fc 05:51:53 ---> 31b9deae6a9d 05:51:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:51:53 ---> Running in 95467f67b53e 05:51:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:51:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:51:56 (1/6) Installing dumb-init (1.2.5-r1) 05:51:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:51:56 (3/6) Installing libsodium (1.0.18-r0) 05:51:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:51:56 (5/6) Installing libzmq (4.3.4-r0) 05:51:56 (6/6) Installing zeromq (4.3.4-r0) 05:51:56 Executing busybox-1.33.1-r3.trigger 05:51:56 OK: 8 MiB in 20 packages 05:51:57 Removing intermediate container 95467f67b53e 05:51:57 ---> 7765db64bf8e 05:51:57 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 05:51:58 ---> ad8faa34e70f 05:51:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 05:51:59 ---> 7192ca11ecd7 05:51:59 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:52:00 ---> dad9aff3d322 05:52:00 Step 19/24 : EXPOSE 59982 05:52:00 ---> Running in 6f2590082a76 05:52:01 Removing intermediate container 6f2590082a76 05:52:01 ---> 8c25597a92d8 05:52:01 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 05:52:01 ---> Running in 43ab01453aa1 05:52:01 Removing intermediate container 43ab01453aa1 05:52:01 ---> 789a0ed62bd5 05:52:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:52:01 ---> Running in 5cd84231a76e 05:52:02 Removing intermediate container 5cd84231a76e 05:52:02 ---> c92f8cec012b 05:52:02 Step 22/24 : LABEL arch=arm64 05:52:02 ---> Running in 14cb94fa8bff 05:52:02 Removing intermediate container 14cb94fa8bff 05:52:02 ---> 8d5eb5cbc6f7 05:52:02 Step 23/24 : LABEL git_sha=9115b354f2e5107c826695c25359030946cf7655 05:52:03 ---> Running in 620ad991d44d 05:52:03 Removing intermediate container 620ad991d44d 05:52:03 ---> 851da7044251 05:52:03 Step 24/24 : LABEL version=2.0.1-dev.9 05:52:03 ---> Running in a432f72cfca2 05:52:04 Removing intermediate container a432f72cfca2 05:52:04 ---> a94032c4629a 05:52:04 [Warning] One or more build-args [ARCH] were not consumed 05:52:04 Successfully built a94032c4629a 05:52:04 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 05:52:04 provisioning config files... 05:52:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/11@tmp/config6976795995116018574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:05 ---> docker-login.sh 05:52:05 nexus3.edgexfoundry.org:10001 05:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:05 Configure a credential helper to remove this warning. See 05:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:05 05:52:05 Login Succeeded 05:52:05 nexus3.edgexfoundry.org:10002 05:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:06 Configure a credential helper to remove this warning. See 05:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:06 05:52:06 Login Succeeded 05:52:06 nexus3.edgexfoundry.org:10003 05:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:06 Configure a credential helper to remove this warning. See 05:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:06 05:52:06 Login Succeeded 05:52:06 nexus3.edgexfoundry.org:10004 05:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:07 Configure a credential helper to remove this warning. See 05:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:07 05:52:07 Login Succeeded 05:52:07 docker.io 05:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:08 Configure a credential helper to remove this warning. See 05:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:08 05:52:08 Login Succeeded 05:52:08 ---> docker-login.sh ends [Pipeline] } 05:52:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:52:08 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 05:52:08 9115b354f2e5107c826695c25359030946cf7655 05:52:08 latest 05:52:08 2.0.1-dev.9 05:52:08 9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 05:52:08 main 05:52:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9115b354f2e5107c826695c25359030946cf7655 [Pipeline] isUnix [Pipeline] sh 05:52:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9115b354f2e5107c826695c25359030946cf7655 05:52:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:52:09 5c7f9d862681: Preparing 05:52:09 090b8f47addc: Preparing 05:52:09 714d13d2da97: Preparing 05:52:09 86a2126bbe9e: Preparing 05:52:09 ee420dfed78a: Preparing 05:52:09 ee420dfed78a: Layer already exists 05:52:09 090b8f47addc: Pushed 05:52:09 5c7f9d862681: Pushed 05:52:10 86a2126bbe9e: Pushed 05:52:12 714d13d2da97: Pushed 05:52:12 9115b354f2e5107c826695c25359030946cf7655: digest: sha256:006022b29236d16d6f65dfb2a5db175537c25ddd7f5dd8ca886193ffd0638790 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:52:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:52:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:52:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:52:13 5c7f9d862681: Preparing 05:52:13 090b8f47addc: Preparing 05:52:13 714d13d2da97: Preparing 05:52:13 86a2126bbe9e: Preparing 05:52:13 ee420dfed78a: Preparing 05:52:13 86a2126bbe9e: Layer already exists 05:52:13 ee420dfed78a: Layer already exists 05:52:13 5c7f9d862681: Layer already exists 05:52:13 714d13d2da97: Layer already exists 05:52:13 090b8f47addc: Layer already exists 05:52:13 latest: digest: sha256:006022b29236d16d6f65dfb2a5db175537c25ddd7f5dd8ca886193ffd0638790 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:52:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 05:52:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.9 05:52:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:52:14 5c7f9d862681: Preparing 05:52:14 090b8f47addc: Preparing 05:52:14 714d13d2da97: Preparing 05:52:14 86a2126bbe9e: Preparing 05:52:14 ee420dfed78a: Preparing 05:52:14 714d13d2da97: Layer already exists 05:52:14 5c7f9d862681: Layer already exists 05:52:14 090b8f47addc: Layer already exists 05:52:14 ee420dfed78a: Layer already exists 05:52:14 86a2126bbe9e: Layer already exists 05:52:14 2.0.1-dev.9: digest: sha256:006022b29236d16d6f65dfb2a5db175537c25ddd7f5dd8ca886193ffd0638790 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:52:15 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 05:52:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 05:52:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:52:15 5c7f9d862681: Preparing 05:52:15 090b8f47addc: Preparing 05:52:15 714d13d2da97: Preparing 05:52:15 86a2126bbe9e: Preparing 05:52:15 ee420dfed78a: Preparing 05:52:15 090b8f47addc: Layer already exists 05:52:15 714d13d2da97: Layer already exists 05:52:15 ee420dfed78a: Layer already exists 05:52:15 86a2126bbe9e: Layer already exists 05:52:15 5c7f9d862681: Layer already exists 05:52:15 9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9: digest: sha256:006022b29236d16d6f65dfb2a5db175537c25ddd7f5dd8ca886193ffd0638790 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:52:16 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 05:52:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 05:52:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:52:16 5c7f9d862681: Preparing 05:52:16 090b8f47addc: Preparing 05:52:16 714d13d2da97: Preparing 05:52:16 86a2126bbe9e: Preparing 05:52:16 ee420dfed78a: Preparing 05:52:16 5c7f9d862681: Layer already exists 05:52:16 ee420dfed78a: Layer already exists 05:52:16 090b8f47addc: Layer already exists 05:52:16 86a2126bbe9e: Layer already exists 05:52:16 714d13d2da97: Layer already exists 05:52:16 main: digest: sha256:006022b29236d16d6f65dfb2a5db175537c25ddd7f5dd8ca886193ffd0638790 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:52:17 ===================================================== [Pipeline] echo 05:52:17 taggedImages: 05:52:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9115b354f2e5107c826695c25359030946cf7655 05:52:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:52:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.9 05:52:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9115b354f2e5107c826695c25359030946cf7655-2.0.1-dev.9 05:52:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:17 05:52:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:18 arm64: Pulling from edgex-lftools-log-publisher 05:52:18 448f6bf000e3: Pulling fs layer 05:52:18 f757da607395: Pulling fs layer 05:52:18 05883995daec: Pulling fs layer 05:52:18 8603b9c90790: Pulling fs layer 05:52:18 1560dd03e051: Pulling fs layer 05:52:18 27f5ce0e4adf: Pulling fs layer 05:52:18 c2d8d7efcc4b: Pulling fs layer 05:52:18 1560dd03e051: Waiting 05:52:18 27f5ce0e4adf: Waiting 05:52:18 8603b9c90790: Waiting 05:52:18 f757da607395: Verifying Checksum 05:52:18 f757da607395: Download complete 05:52:18 8603b9c90790: Download complete 05:52:19 1560dd03e051: Verifying Checksum 05:52:19 1560dd03e051: Download complete 05:52:19 05883995daec: Verifying Checksum 05:52:19 05883995daec: Download complete 05:52:19 27f5ce0e4adf: Verifying Checksum 05:52:19 27f5ce0e4adf: Download complete 05:52:19 448f6bf000e3: Download complete 05:52:22 c2d8d7efcc4b: Verifying Checksum 05:52:23 448f6bf000e3: Pull complete 05:52:23 f757da607395: Pull complete 05:52:25 05883995daec: Pull complete 05:52:25 8603b9c90790: Pull complete 05:52:26 1560dd03e051: Pull complete 05:52:26 27f5ce0e4adf: Pull complete 05:52:42 c2d8d7efcc4b: Pull complete 05:52:42 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:52:42 prd-ubuntu18.04-docker-arm64-4c-16g-1920 does not seem to be running inside a container 05:52:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/11 -v /w/workspace/device-mqtt-go/11:/w/workspace/device-mqtt-go/11:rw,z -v /w/workspace/device-mqtt-go/11@tmp:/w/workspace/device-mqtt-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:52:47 $ docker top 2f8d50779f8bf0354aac1b59d3449fa1ad501acfd6d9e6d62584f79af82e40bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:48 ---> job-cost.sh 05:52:48 lf-activate-venv: SKIPPING 05:52:48 INFO: No Stack... 05:52:48 INFO: Retrieving Pricing Info for: v3-standard-4 05:52:49 INFO: Archiving Costs [Pipeline] sh 05:52:49 + cat /w/workspace/device-mqtt-go/11/archives/cost.csv 05:52:49 + cut -d, -f6 [Pipeline] lock 05:52:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] 05:52:49 Resource [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] did not exist. Created. 05:52:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:52:50 /w/workspace/device-mqtt-go/11@tmp/durable-174ccba8/script.sh: 1: /w/workspace/device-mqtt-go/11@tmp/durable-174ccba8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:52:51 + echo total: 0.10999999940395355 [Pipeline] stash 05:52:51 Warning: overwriting stash ‘stack-cost’ 05:52:51 Stashed 1 file(s) [Pipeline] } 05:52:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 05:52:51 $ docker stop --time=1 2f8d50779f8bf0354aac1b59d3449fa1ad501acfd6d9e6d62584f79af82e40bf 05:52:53 $ docker rm -f 2f8d50779f8bf0354aac1b59d3449fa1ad501acfd6d9e6d62584f79af82e40bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 05:52:54 provisioning config files... 05:52:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4701697092774644715tmp [Pipeline] { [Pipeline] sh 05:52:54 + set +x 05:52:54 + bash -s -- 05:52:54 + curl -s https://codecov.io/bash 05:52:54 05:52:54 _____ _ 05:52:54 / ____| | | 05:52:54 | | ___ __| | ___ ___ _____ __ 05:52:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:52:54 | |___| (_) | (_| | __/ (_| (_) \ V / 05:52:54 \_____\___/ \__,_|\___|\___\___/ \_/ 05:52:54 Bash-1.0.6 05:52:54 05:52:54 05:52:54 ==> git version 2.24.4 found 05:52:54 ==> 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 05:52:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:52:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:52:54 ==> Jenkins CI detected. 05:52:54 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 05:52:54 project root: . 05:52:54 --> token set from env 05:52:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:52:54 ==> Running gcov in . (disable via -X gcov) 05:52:54 ==> Python coveragepy not found 05:52:54 ==> Searching for coverage reports in: 05:52:54 + . 05:52:54 -> Found 1 reports 05:52:54 ==> Detecting git/mercurial file structure 05:52:54 ==> Reading reports 05:52:54 + ./coverage.out bytes=17284 05:52:54 ==> Appending adjustments 05:52:54 https://docs.codecov.io/docs/fixing-reports 05:52:54 + Found adjustments 05:52:54 ==> Gzipping contents 05:52:54 4.0K /tmp/codecov.vNxf7n.gz 05:52:54 ==> Uploading reports 05:52:54 url: https://codecov.io 05:52:54 query: branch=main&commit=9115b354f2e5107c826695c25359030946cf7655&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:52:54 -> Pinging Codecov 05:52:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=9115b354f2e5107c826695c25359030946cf7655&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:52:55 -> Uploading to 05:52:55 https://storage.googleapis.com/codecov/v4/raw/2021-10-05/7D719EC7BBE17E464838252E33014C33/9115b354f2e5107c826695c25359030946cf7655/5aee1e7e-0759-41bc-b97a-2265a3f843fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T055255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=34d83dd4579a12c150d168691ede467c3fc8fd63a54d7808635b69389c34b79e 05:52:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:55 Dload Upload Total Spent Left Speed 05:52:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3161 0 0 100 3161 0 9735 --:--:-- --:--:-- --:--:-- 9756 05:52:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9115b354f2e5107c826695c25359030946cf7655 [Pipeline] } 05:52:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:52:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:52:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:52:56 05:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:52:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:52:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:52:56 188c0c94c7c5: Pulling fs layer 05:52:56 0ef7d3d256c8: Pulling fs layer 05:52:56 de9db76c5a1d: Pulling fs layer 05:52:56 0eba1c9be4d2: Pulling fs layer 05:52:56 0d57e429df01: Pulling fs layer 05:52:56 4e4be7b47b0d: Pulling fs layer 05:52:56 e1f770b5df2f: Pulling fs layer 05:52:56 85a0685a4137: Pulling fs layer 05:52:56 0eba1c9be4d2: Waiting 05:52:56 0d57e429df01: Waiting 05:52:56 4e4be7b47b0d: Waiting 05:52:56 e1f770b5df2f: Waiting 05:52:56 85a0685a4137: Waiting 05:52:56 de9db76c5a1d: Verifying Checksum 05:52:56 de9db76c5a1d: Download complete 05:52:56 0ef7d3d256c8: Verifying Checksum 05:52:56 0ef7d3d256c8: Download complete 05:52:56 0d57e429df01: Download complete 05:52:56 4e4be7b47b0d: Verifying Checksum 05:52:56 4e4be7b47b0d: Download complete 05:52:56 188c0c94c7c5: Verifying Checksum 05:52:56 188c0c94c7c5: Download complete 05:52:56 188c0c94c7c5: Pull complete 05:52:57 0ef7d3d256c8: Pull complete 05:52:57 de9db76c5a1d: Pull complete 05:52:57 e1f770b5df2f: Verifying Checksum 05:52:57 e1f770b5df2f: Download complete 05:52:57 0eba1c9be4d2: Verifying Checksum 05:52:57 0eba1c9be4d2: Download complete 05:52:58 85a0685a4137: Verifying Checksum 05:52:58 85a0685a4137: Download complete 05:53:01 0eba1c9be4d2: Pull complete 05:53:01 0d57e429df01: Pull complete 05:53:01 4e4be7b47b0d: Pull complete 05:53:02 e1f770b5df2f: Pull complete 05:53:06 85a0685a4137: Pull complete 05:53:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:53:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:53:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:53:06 prd-centos7-docker-4c-2g-1888 does not seem to be running inside a container 05:53:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:53:09 $ docker top 78c1d56726a905b1fdad29c32e89f3a9cd1978f3fbd25e41c5553ad8ae1ad990 -eo pid,comm [Pipeline] { [Pipeline] echo 05:53:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:53:09 + set -o pipefail 05:53:09 + snyk monitor '--org=edgex-jenkins' 05:53:14 05:53:14 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 05:53:14 05:53:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/c534476d-764a-4d0c-86a9-6de1cce40410 05:53:14 05:53:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:53:14 05:53:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:53:14 05:53:14 05:53:14 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 05:53:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:53:14 $ docker stop --time=1 78c1d56726a905b1fdad29c32e89f3a9cd1978f3fbd25e41c5553ad8ae1ad990 05:53:16 $ docker rm -f 78c1d56726a905b1fdad29c32e89f3a9cd1978f3fbd25e41c5553ad8ae1ad990 [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 05:53:18 + git log --format=format:%s -1 9115b354f2e5107c826695c25359030946cf7655 [Pipeline] isUnix [Pipeline] sh 05:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:18 . [Pipeline] withDockerContainer 05:53:18 prd-centos7-docker-4c-2g-1888 does not seem to be running inside a container 05:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:18 $ docker top d7b170381fca3bb5f17921b3d6a558cfe36a83637419edcdb0d0b22e800a1875 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:18 [ssh-agent] Looking for ssh-agent implementation... 05:53:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:19 $ docker exec d7b170381fca3bb5f17921b3d6a558cfe36a83637419edcdb0d0b22e800a1875 ssh-agent 05:53:19 SSH_AUTH_SOCK=/tmp/ssh-0ISDCU3gM2FB/agent.13 05:53:19 SSH_AGENT_PID=21 05:53:19 Running ssh-add (command line suppressed) 05:53:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8635120951016452274.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8635120951016452274.key) 05:53:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:19 + git semver tag 05:53:19 # -> Open(): unable to determine branch for HEAD 05:53:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 05:53:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 05:53:19 # $SEMVER_REMOTE_NAME = origin 05:53:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:19 # $SEMVER_USER_NAME = edgex-jenkins 05:53:19 # $SEMVER_BRANCH = main 05:53:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:53:19 # 9115b354f2e5107c826695c25359030946cf7655 HEAD 05:53:19 # -> Force: false 05:53:19 # 628ebc08babb80e16db43ae3204d0433d00f15e9 refs/tags/v2.0.1-dev.9 [Pipeline] } 05:53:19 $ docker exec --env ******** --env ******** d7b170381fca3bb5f17921b3d6a558cfe36a83637419edcdb0d0b22e800a1875 ssh-agent -k 05:53:19 unset SSH_AUTH_SOCK; 05:53:19 unset SSH_AGENT_PID; 05:53:19 echo Agent pid 21 killed; 05:53:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:20 + git semver [Pipeline] } 05:53:20 $ docker stop --time=1 d7b170381fca3bb5f17921b3d6a558cfe36a83637419edcdb0d0b22e800a1875 05:53:21 $ docker rm -f d7b170381fca3bb5f17921b3d6a558cfe36a83637419edcdb0d0b22e800a1875 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:53:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:53:21 05:53:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:53:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:53:22 0.23.1-centos7: Pulling from edgex-lftools 05:53:22 ab5ef0e58194: Pulling fs layer 05:53:22 9712f1f96733: Pulling fs layer 05:53:22 63f879dbbcfc: Pulling fs layer 05:53:22 0d9ebad4ef96: Pulling fs layer 05:53:22 e9a5061849ea: Pulling fs layer 05:53:22 d747dcd14b5f: Pulling fs layer 05:53:22 2de7ff778b66: Pulling fs layer 05:53:22 e9a5061849ea: Waiting 05:53:22 d747dcd14b5f: Waiting 05:53:22 2de7ff778b66: Waiting 05:53:22 0d9ebad4ef96: Waiting 05:53:22 9712f1f96733: Download complete 05:53:22 63f879dbbcfc: Verifying Checksum 05:53:22 63f879dbbcfc: Download complete 05:53:23 e9a5061849ea: Verifying Checksum 05:53:23 e9a5061849ea: Download complete 05:53:23 ab5ef0e58194: Verifying Checksum 05:53:23 ab5ef0e58194: Download complete 05:53:23 d747dcd14b5f: Verifying Checksum 05:53:23 d747dcd14b5f: Download complete 05:53:23 2de7ff778b66: Verifying Checksum 05:53:23 2de7ff778b66: Download complete 05:53:23 0d9ebad4ef96: Verifying Checksum 05:53:23 0d9ebad4ef96: Download complete 05:53:26 ab5ef0e58194: Pull complete 05:53:26 9712f1f96733: Pull complete 05:53:27 63f879dbbcfc: Pull complete 05:53:31 0d9ebad4ef96: Pull complete 05:53:31 e9a5061849ea: Pull complete 05:53:31 d747dcd14b5f: Pull complete 05:53:33 2de7ff778b66: Pull complete 05:53:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:53:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:53:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:53:33 prd-centos7-docker-4c-2g-1888 does not seem to be running inside a container 05:53:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:53:36 $ docker top ed4b760eee31c08153e8c9f5506485eb25100b0e2dc1c28880dcae82ef10ebaf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:53:36 provisioning config files... 05:53:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7791483057082076501tmp 05:53:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1055623058401235251tmp 05:53:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9098068211888961269tmp [Pipeline] { [Pipeline] echo 05:53:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:53:37 ---> sigul-configuration.sh 05:53:37 gpg: directory `/root/.gnupg' created 05:53:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:53:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:53:37 gpg: keyring `/root/.gnupg/secring.gpg' created 05:53:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:53:37 gpg: CAST5 encrypted data 05:53:37 gpg: encrypted with 1 passphrase 05:53:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:53:37 + mkdir /home/jenkins 05:53:37 + mkdir /home/jenkins/sigul [Pipeline] sh 05:53:37 + 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 05:53:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:53:38 ---> sigul-install.sh 05:53:38 Sigul already installed; skipping installation. [Pipeline] sh 05:53:38 + git tag --list 05:53:38 0.7.1 05:53:38 v1.0.0 05:53:38 v1.1.0 05:53:38 v1.1.1 05:53:38 v1.2.2 05:53:38 v1.3.0 05:53:38 v1.3.1 05:53:38 v2.0.0 05:53:38 v2.0.1-dev.1 05:53:38 v2.0.1-dev.2 05:53:38 v2.0.1-dev.3 05:53:38 v2.0.1-dev.4 05:53:38 v2.0.1-dev.5 05:53:38 v2.0.1-dev.6 05:53:38 v2.0.1-dev.7 05:53:38 v2.0.1-dev.8 05:53:38 v2.0.1-dev.9 [Pipeline] sh 05:53:38 + lftools sign git-tag v2.0.1-dev.9 05:53:39 Signing Git tag with Sigul... 05:53:39 Signing v2.0.1-dev.9 [Pipeline] echo 05:53:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:53:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:53:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:53:40 $ docker stop --time=1 ed4b760eee31c08153e8c9f5506485eb25100b0e2dc1c28880dcae82ef10ebaf 05:53:41 $ docker rm -f ed4b760eee31c08153e8c9f5506485eb25100b0e2dc1c28880dcae82ef10ebaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:53:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:42 . [Pipeline] withDockerContainer 05:53:42 prd-centos7-docker-4c-2g-1888 does not seem to be running inside a container 05:53:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:42 $ docker top a58a4c2a664d752dcf5741046573e79b69df53412fefc013b5c7a68c6231047a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:42 [ssh-agent] Looking for ssh-agent implementation... 05:53:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:42 $ docker exec a58a4c2a664d752dcf5741046573e79b69df53412fefc013b5c7a68c6231047a ssh-agent 05:53:42 SSH_AUTH_SOCK=/tmp/ssh-fTMFqziP73ky/agent.14 05:53:42 SSH_AGENT_PID=20 05:53:42 Running ssh-add (command line suppressed) 05:53:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2814693807384335796.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2814693807384335796.key) 05:53:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:43 + git semver bump pre 05:53:43 # -> Open(): unable to determine branch for HEAD 05:53:43 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 05:53:43 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 05:53:43 # $SEMVER_REMOTE_NAME = origin 05:53:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:43 # $SEMVER_USER_NAME = edgex-jenkins 05:53:43 # $SEMVER_BRANCH = main 05:53:43 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:53:43 2.0.1-dev.10 [Pipeline] } 05:53:43 $ docker exec --env ******** --env ******** a58a4c2a664d752dcf5741046573e79b69df53412fefc013b5c7a68c6231047a ssh-agent -k 05:53:43 unset SSH_AUTH_SOCK; 05:53:43 unset SSH_AGENT_PID; 05:53:43 echo Agent pid 20 killed; 05:53:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:43 + git semver [Pipeline] } 05:53:43 $ docker stop --time=1 a58a4c2a664d752dcf5741046573e79b69df53412fefc013b5c7a68c6231047a 05:53:45 $ docker rm -f a58a4c2a664d752dcf5741046573e79b69df53412fefc013b5c7a68c6231047a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:53:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:45 . [Pipeline] withDockerContainer 05:53:45 prd-centos7-docker-4c-2g-1888 does not seem to be running inside a container 05:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:46 $ docker top 8d0b6a1b5668c0ff05f4b8ba3e4f1ebbe8ef9d364dffca72a0fd7f71522a8bbc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:46 [ssh-agent] Looking for ssh-agent implementation... 05:53:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:46 $ docker exec 8d0b6a1b5668c0ff05f4b8ba3e4f1ebbe8ef9d364dffca72a0fd7f71522a8bbc ssh-agent 05:53:46 SSH_AUTH_SOCK=/tmp/ssh-Jqk77JVHeqo7/agent.13 05:53:46 SSH_AGENT_PID=19 05:53:46 Running ssh-add (command line suppressed) 05:53:46 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_895427886832619221.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_895427886832619221.key) 05:53:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:47 + git semver push 05:53:47 # -> Open(): unable to determine branch for HEAD 05:53:47 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 05:53:47 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 05:53:47 # $SEMVER_REMOTE_NAME = origin 05:53:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:47 # $SEMVER_USER_NAME = edgex-jenkins 05:53:47 # $SEMVER_BRANCH = main 05:53:47 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 05:53:48 $ docker exec --env ******** --env ******** 8d0b6a1b5668c0ff05f4b8ba3e4f1ebbe8ef9d364dffca72a0fd7f71522a8bbc ssh-agent -k 05:53:48 unset SSH_AUTH_SOCK; 05:53:48 unset SSH_AGENT_PID; 05:53:48 echo Agent pid 19 killed; 05:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:49 + git semver [Pipeline] } 05:53:49 $ docker stop --time=1 8d0b6a1b5668c0ff05f4b8ba3e4f1ebbe8ef9d364dffca72a0fd7f71522a8bbc 05:53:50 $ docker rm -f 8d0b6a1b5668c0ff05f4b8ba3e4f1ebbe8ef9d364dffca72a0fd7f71522a8bbc [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] sh 05:53:53 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:53:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:54 ---> package-listing.sh 05:53:54 ++ facter osfamily 05:53:54 ++ tr '[:upper:]' '[:lower:]' 05:53:54 + OS_FAMILY=redhat 05:53:54 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 05:53:54 + START_PACKAGES=/tmp/packages_start.txt 05:53:54 + END_PACKAGES=/tmp/packages_end.txt 05:53:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:54 + PACKAGES=/tmp/packages_start.txt 05:53:54 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 05:53:54 + PACKAGES=/tmp/packages_end.txt 05:53:54 + case "${OS_FAMILY}" in 05:53:54 + sort 05:53:54 + rpm -qa 05:53:55 + '[' -f /tmp/packages_start.txt ']' 05:53:55 + '[' -f /tmp/packages_end.txt ']' 05:53:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:55 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 05:53:55 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 05:53:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 05:53:55 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:53:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:53:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:56 05:53:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:53:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:56 latest: Pulling from edgex-lftools-log-publisher 05:53:56 b4d181a07f80: Pulling fs layer 05:53:56 a1111a8f2ec3: Pulling fs layer 05:53:56 ed53099fbce6: Pulling fs layer 05:53:56 dc539afda2c1: Pulling fs layer 05:53:56 77bc0d833cb6: Pulling fs layer 05:53:56 9065ff56babe: Pulling fs layer 05:53:56 d287ab97295c: Pulling fs layer 05:53:56 dc539afda2c1: Waiting 05:53:56 77bc0d833cb6: Waiting 05:53:56 9065ff56babe: Waiting 05:53:56 d287ab97295c: Waiting 05:53:56 a1111a8f2ec3: Verifying Checksum 05:53:56 a1111a8f2ec3: Download complete 05:53:56 dc539afda2c1: Verifying Checksum 05:53:56 dc539afda2c1: Download complete 05:53:56 ed53099fbce6: Verifying Checksum 05:53:56 ed53099fbce6: Download complete 05:53:56 9065ff56babe: Verifying Checksum 05:53:56 9065ff56babe: Download complete 05:53:56 77bc0d833cb6: Verifying Checksum 05:53:56 77bc0d833cb6: Download complete 05:53:57 b4d181a07f80: Verifying Checksum 05:53:57 b4d181a07f80: Download complete 05:53:58 d287ab97295c: Verifying Checksum 05:53:58 d287ab97295c: Download complete 05:53:58 b4d181a07f80: Pull complete 05:53:58 a1111a8f2ec3: Pull complete 05:53:59 ed53099fbce6: Pull complete 05:53:59 dc539afda2c1: Pull complete 05:53:59 77bc0d833cb6: Pull complete 05:53:59 9065ff56babe: Pull complete 05:54:05 d287ab97295c: Pull complete 05:54:05 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:54:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:54:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:54:05 prd-centos7-docker-4c-2g-1888 does not seem to be running inside a container 05:54:05 $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:54:08 $ docker top 4d51712d518668803a2b0fd98680e7881afc5067b02c1c76d7968af4d8d2da13 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:08 + touch /tmp/pre-build-complete [Pipeline] sh 05:54:08 + mkdir -p /var/log/sysstat [Pipeline] sh 05:54:09 + ls /var/log/sa-host 05:54:09 + sadf -c /var/log/sa-host/sa05 05:54:09 file_magic: OK 05:54:09 HZ: Using current value: 100 05:54:09 file_header: OK 05:54:09 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 05:54:09 Statistics: 05:54:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:09 File successfully converted to sysstat format version 12.0.3 05:54:09 + sadf -c /var/log/sa-host/sa30 05:54:09 file_magic: OK 05:54:09 HZ: Using current value: 100 05:54:09 file_header: OK 05:54:09 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 05:54:09 Statistics: 05:54:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:09 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:09 provisioning config files... 05:54:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2419102807115766828tmp [Pipeline] { [Pipeline] echo 05:54:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:10 ---> create-netrc.sh [Pipeline] } 05:54:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:54:10 ---> python-tools-install.sh [Pipeline] echo 05:54:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:54:10 ---> sudo-logs.sh 05:54:10 Archiving 'sudo' log.. 05:54:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1888.novalocal: Name or service not known 05:54:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1888.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:54:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:11 ---> job-cost.sh 05:54:11 lf-activate-venv: SKIPPING 05:54:11 DEBUG: total: 0.10999999940395355 05:54:11 INFO: Retrieving Stack Cost... 05:54:11 INFO: Retrieving Pricing Info for: v3-standard-2 05:54:11 INFO: Archiving Costs [Pipeline] echo 05:54:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:12 ---> logs-deploy.sh 05:54:12 lf-activate-venv: SKIPPING 05:54:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/11 05:54:12 INFO: archiving workspace using pattern(s): 05:54:12 Archives upload complete. 05:54:13 INFO: archiving logs to Nexus 05:54:13 ---> uname -a: 05:54:13 Linux prd-centos7-docker-4c-2g-1888.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 05:54:13 05:54:13 05:54:13 ---> lscpu: 05:54:13 Architecture: x86_64 05:54:13 CPU op-mode(s): 32-bit, 64-bit 05:54:13 Byte Order: Little Endian 05:54:13 Address sizes: 40 bits physical, 48 bits virtual 05:54:13 CPU(s): 2 05:54:13 On-line CPU(s) list: 0,1 05:54:13 Thread(s) per core: 1 05:54:13 Core(s) per socket: 1 05:54:13 Socket(s): 2 05:54:13 NUMA node(s): 1 05:54:13 Vendor ID: AuthenticAMD 05:54:13 CPU family: 23 05:54:13 Model: 49 05:54:13 Model name: AMD EPYC-Rome Processor 05:54:13 Stepping: 0 05:54:13 CPU MHz: 2799.996 05:54:13 BogoMIPS: 5599.99 05:54:13 Virtualization: AMD-V 05:54:13 Hypervisor vendor: KVM 05:54:13 Virtualization type: full 05:54:13 L1d cache: 32K 05:54:13 L1i cache: 32K 05:54:13 L2 cache: 512K 05:54:13 L3 cache: 16384K 05:54:13 NUMA node0 CPU(s): 0,1 05:54:13 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 05:54:13 05:54:13 05:54:13 ---> nproc: 05:54:13 2 05:54:13 05:54:13 05:54:13 ---> df -h: 05:54:13 Filesystem Size Used Avail Use% Mounted on 05:54:13 overlay 40G 9.0G 32G 23% / 05:54:13 tmpfs 64M 0 64M 0% /dev 05:54:13 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 05:54:13 shm 64M 0 64M 0% /dev/shm 05:54:13 /dev/vda1 40G 9.0G 32G 23% /facter-os 05:54:13 05:54:13 05:54:13 ---> sar -b -r -n DEV: 05:54:13 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 05:54:13 05:54:13 05:42:07 LINUX RESTART (2 CPU) 05:54:13 05:54:13 05:43:01 tps rtps wtps bread/s bwrtn/s 05:54:13 05:44:01 3.27 0.02 3.25 0.53 95.55 05:54:13 05:45:01 0.45 0.00 0.45 0.00 6.86 05:54:13 05:46:01 0.28 0.00 0.28 0.00 2.61 05:54:13 05:47:02 0.25 0.00 0.25 0.00 3.86 05:54:13 05:48:01 0.24 0.00 0.24 0.00 3.08 05:54:13 05:49:01 0.25 0.00 0.25 0.00 3.36 05:54:13 05:50:01 0.22 0.00 0.22 0.00 3.35 05:54:13 05:51:01 0.25 0.00 0.25 0.00 2.58 05:54:13 05:52:01 0.27 0.00 0.27 0.00 3.35 05:54:13 05:53:01 2.93 0.03 2.90 3.73 116.67 05:54:13 05:54:01 208.13 0.12 208.01 10.52 54295.00 05:54:13 Average: 19.72 0.02 19.71 1.35 4967.31 05:54:13 05:54:13 05:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:54:13 05:44:01 5679356 0 623504 7.79 2620 1703460 1455880 16.07 561180 1529896 12 05:54:13 05:45:01 5680616 0 622240 7.77 2620 1703464 1419900 15.68 560128 1530288 8 05:54:13 05:46:01 5681960 0 620896 7.75 2620 1703464 1420092 15.68 558392 1530288 20 05:54:13 05:47:02 5683256 0 619588 7.74 2620 1703476 1419900 15.68 556680 1531068 12 05:54:13 05:48:01 5683148 0 619692 7.74 2620 1703480 1420152 15.68 557912 1531064 8 05:54:13 05:49:01 5683724 0 619112 7.73 2620 1703484 1419900 15.68 556524 1531080 8 05:54:13 05:50:01 5682464 0 620368 7.75 2620 1703488 1419900 15.68 557460 1531080 8 05:54:13 05:51:01 5682628 0 620196 7.74 2620 1703496 1419900 15.68 557612 1531084 8 05:54:13 05:52:01 5682776 0 619992 7.74 2620 1703552 1419900 15.68 557508 1531096 20 05:54:13 05:53:01 4994720 0 756640 9.45 2620 2254960 1783552 19.69 809952 1918924 551244 05:54:13 05:54:01 3502360 0 1080536 13.49 2620 3423424 1914836 21.14 1173104 2843420 397028 05:54:13 Average: 5421546 0 674797 8.43 2620 1909977 1501265 16.57 636950 1685390 86216 05:54:13 05:54:13 05:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:54:13 05:44:01 eth0 1.68 0.95 0.82 0.62 0.00 0.00 0.00 0.00 05:54:13 05:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:45:01 eth0 0.22 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:54:13 05:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:46:01 eth0 1.77 0.40 0.35 0.21 0.00 0.00 0.00 0.00 05:54:13 05:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:47:02 eth0 1.10 0.03 0.11 0.00 0.00 0.00 0.00 0.00 05:54:13 05:47:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:47:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:48:01 eth0 1.34 0.78 0.69 0.44 0.00 0.00 0.00 0.00 05:54:13 05:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:49:01 eth0 0.27 0.08 0.01 0.04 0.00 0.00 0.00 0.00 05:54:13 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:50:01 eth0 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:54:13 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:51:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:54:13 05:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:52:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:54:13 05:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:53:01 eth0 307.03 226.01 4064.47 18.89 0.00 0.00 0.00 0.00 05:54:13 05:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:54:01 eth0 680.10 513.79 6253.27 143.47 0.00 0.00 0.00 0.00 05:54:13 05:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 05:54:01 docker0 76.61 90.14 6.39 387.86 0.00 0.00 0.00 0.00 05:54:13 Average: eth0 90.54 67.62 939.95 14.91 0.00 0.00 0.00 0.00 05:54:13 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:13 Average: docker0 6.98 8.21 0.58 35.33 0.00 0.00 0.00 0.00 05:54:13 05:54:13 05:54:13 ---> sar -P ALL: 05:54:13 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 05:54:13 05:54:13 05:42:07 LINUX RESTART (2 CPU) 05:54:13 05:54:13 05:43:01 CPU %user %nice %system %iowait %steal %idle 05:54:13 05:44:01 all 0.33 0.00 0.07 0.00 0.03 99.58 05:54:13 05:44:01 0 0.12 0.00 0.07 0.00 0.03 99.78 05:54:13 05:44:01 1 0.53 0.00 0.07 0.00 0.02 99.38 05:54:13 05:45:01 all 0.17 0.00 0.05 0.00 0.02 99.77 05:54:13 05:45:01 0 0.05 0.00 0.07 0.00 0.02 99.87 05:54:13 05:45:01 1 0.28 0.00 0.03 0.00 0.02 99.67 05:54:13 05:46:01 all 0.08 0.00 0.04 0.00 0.03 99.86 05:54:13 05:46:01 0 0.07 0.00 0.05 0.00 0.03 99.85 05:54:13 05:46:01 1 0.08 0.00 0.03 0.00 0.02 99.87 05:54:13 05:47:02 all 0.08 0.00 0.03 0.00 0.02 99.87 05:54:13 05:47:02 0 0.12 0.00 0.03 0.00 0.03 99.82 05:54:13 05:47:02 1 0.05 0.00 0.02 0.00 0.00 99.93 05:54:13 05:48:01 all 0.14 0.00 0.06 0.00 0.03 99.77 05:54:13 05:48:01 0 0.26 0.00 0.09 0.00 0.03 99.63 05:54:13 05:48:01 1 0.03 0.00 0.03 0.00 0.02 99.92 05:54:13 05:49:01 all 0.19 0.00 0.03 0.00 0.03 99.76 05:54:13 05:49:01 0 0.33 0.00 0.02 0.00 0.02 99.63 05:54:13 05:49:01 1 0.05 0.00 0.03 0.00 0.03 99.88 05:54:13 05:50:01 all 0.21 0.00 0.03 0.00 0.01 99.75 05:54:13 05:50:01 0 0.33 0.00 0.02 0.00 0.00 99.65 05:54:13 05:50:01 1 0.08 0.00 0.05 0.00 0.02 99.85 05:54:13 05:51:01 all 0.20 0.00 0.06 0.00 0.02 99.72 05:54:13 05:51:01 0 0.32 0.00 0.03 0.00 0.02 99.63 05:54:13 05:51:01 1 0.08 0.00 0.08 0.00 0.02 99.82 05:54:13 05:52:01 all 0.16 0.00 0.04 0.00 0.03 99.77 05:54:13 05:52:01 0 0.27 0.00 0.05 0.00 0.02 99.67 05:54:13 05:52:01 1 0.05 0.00 0.03 0.00 0.03 99.88 05:54:13 05:53:01 all 4.49 0.00 1.77 0.02 0.03 93.70 05:54:13 05:53:01 0 4.70 0.00 2.01 0.00 0.03 93.25 05:54:13 05:53:01 1 4.29 0.00 1.53 0.03 0.02 94.13 05:54:13 05:54:01 all 26.31 0.00 10.74 2.79 0.10 60.07 05:54:13 05:54:01 0 27.27 0.00 11.16 2.48 0.11 58.99 05:54:13 05:54:01 1 25.35 0.00 10.32 3.09 0.09 61.15 05:54:13 05:54:13 Average: CPU %user %nice %system %iowait %steal %idle 05:54:13 Average: all 2.82 0.00 1.13 0.24 0.03 95.78 05:54:13 Average: 0 2.95 0.00 1.18 0.21 0.03 95.62 05:54:13 Average: 1 2.70 0.00 1.07 0.27 0.02 95.94 05:54:13 05:54:13 05:54:13