Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 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-ssh7370363274108720848.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh9160323326960941811.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh2647287182559980559.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh5378051735403265440.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-ssh7977096816435554974.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-440 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-ssh369251214427881703.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 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a (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 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a # timeout=10 Commit message: "feat: add UseMqttLevels capability to pass in metadata (#303)" > git rev-list --no-walk 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:20:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:20:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:20:57 ========================================================= 23:20:57 EdgeX Global Pipelines Version Info 23:20:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:20:59 ------------------- 23:20:59 stable info: 23:20:59 ------------------- 23:20:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:20:59 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:20:59 Message: update stable to v1.0.205 23:20:59 ------------------- 23:20:59 experimental info: 23:20:59 ------------------- 23:20:59 Commited By: **** collab-it+edgex@linuxfoundation.org 23:20:59 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:20:59 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:20:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:20:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:20:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:20:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:20:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:20:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7270bca [Pipeline] echo 23:21:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:00 provisioning config files... 23:21:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1644090904000078509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:01 ---> docker-login.sh 23:21:01 nexus3.edgexfoundry.org:10001 23:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:01 Configure a credential helper to remove this warning. See 23:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:01 23:21:01 Login Succeeded 23:21:01 nexus3.edgexfoundry.org:10002 23:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:01 Configure a credential helper to remove this warning. See 23:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:01 23:21:01 Login Succeeded 23:21:01 nexus3.edgexfoundry.org:10003 23:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:01 Configure a credential helper to remove this warning. See 23:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:01 23:21:01 Login Succeeded 23:21:01 nexus3.edgexfoundry.org:10004 23:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:01 Configure a credential helper to remove this warning. See 23:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:01 23:21:01 Login Succeeded 23:21:01 docker.io 23:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:02 Configure a credential helper to remove this warning. See 23:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:02 23:21:02 Login Succeeded 23:21:02 ---> docker-login.sh ends [Pipeline] } 23:21:02 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 23:21:02 + git log --format=format:%s -1 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a [Pipeline] echo 23:21:02 GIT_COMMIT: 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a, Commit Message: feat: add UseMqttLevels capability to pass in metadata (#303) [Pipeline] echo 23:21:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:21:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:03 23:21:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:21:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:03 latest: Pulling from edgex-devops/git-semver 23:21:03 31603596830f: Pulling fs layer 23:21:03 04fac38145f0: Pulling fs layer 23:21:03 701f6daf10bf: Pulling fs layer 23:21:03 24f72da36158: Pulling fs layer 23:21:03 24f72da36158: Waiting 23:21:03 04fac38145f0: Download complete 23:21:04 31603596830f: Verifying Checksum 23:21:04 31603596830f: Download complete 23:21:04 24f72da36158: Verifying Checksum 23:21:04 24f72da36158: Download complete 23:21:04 31603596830f: Pull complete 23:21:04 04fac38145f0: Pull complete 23:21:04 701f6daf10bf: Verifying Checksum 23:21:04 701f6daf10bf: Download complete 23:21:05 701f6daf10bf: Pull complete 23:21:05 24f72da36158: Pull complete 23:21:05 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:21:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:21:05 prd-centos7-docker-4c-2g-440 does not seem to be running inside a container 23:21:05 $ 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 23:21:06 $ docker top 277d2eff9604397983d655665cead639031ce343d69fa948bc0a00b36f282bf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:21:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:06 [ssh-agent] Looking for ssh-agent implementation... 23:21:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:06 $ docker exec 277d2eff9604397983d655665cead639031ce343d69fa948bc0a00b36f282bf7 ssh-agent 23:21:06 SSH_AUTH_SOCK=/tmp/ssh-jGaKAt7u2aei/agent.12 23:21:06 SSH_AGENT_PID=18 23:21:06 Running ssh-add (command line suppressed) 23:21:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1130718482494771610.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1130718482494771610.key) 23:21:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:07 + git tag --points-at HEAD [Pipeline] } 23:21:07 $ docker exec --env ******** --env ******** 277d2eff9604397983d655665cead639031ce343d69fa948bc0a00b36f282bf7 ssh-agent -k 23:21:07 unset SSH_AUTH_SOCK; 23:21:07 unset SSH_AGENT_PID; 23:21:07 echo Agent pid 18 killed; 23:21:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:21:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:07 [ssh-agent] Looking for ssh-agent implementation... 23:21:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:07 $ docker exec 277d2eff9604397983d655665cead639031ce343d69fa948bc0a00b36f282bf7 ssh-agent 23:21:07 SSH_AUTH_SOCK=/tmp/ssh-ZB84Tl8qHvE6/agent.52 23:21:07 SSH_AGENT_PID=59 23:21:07 Running ssh-add (command line suppressed) 23:21:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2414192485046463847.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2414192485046463847.key) 23:21:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:08 + git semver init 23:21:08 # -> Open(): unable to determine branch for HEAD 23:21:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:21:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:21:08 # $SEMVER_REMOTE_NAME = origin 23:21:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:21:08 # $SEMVER_USER_NAME = edgex-jenkins 23:21:08 # $SEMVER_BRANCH = main 23:21:08 # $SEMVER_TEMP = /tmp/semver-656568687 23:21:08 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:21:08 # '/tmp/semver-656568687' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 23:21:08 # -> Force: false 23:21:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 23:21:08 $ docker exec --env ******** --env ******** 277d2eff9604397983d655665cead639031ce343d69fa948bc0a00b36f282bf7 ssh-agent -k 23:21:08 unset SSH_AUTH_SOCK; 23:21:08 unset SSH_AGENT_PID; 23:21:08 echo Agent pid 59 killed; 23:21:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:09 + git semver [Pipeline] } 23:21:09 $ docker stop --time=1 277d2eff9604397983d655665cead639031ce343d69fa948bc0a00b36f282bf7 23:21:10 $ docker rm -f 277d2eff9604397983d655665cead639031ce343d69fa948bc0a00b36f282bf7 [Pipeline] // withDockerContainer [Pipeline] sh 23:21:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:11 Stashed 1 file(s) [Pipeline] echo 23:21:11 [edgeXSemver]: initialized semver on version 2.0.1-dev.7 [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 23:21:26 Still waiting to schedule task 23:21:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:21:26 Still waiting to schedule task 23:21:26 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-438’ 23:23:06 Running on prd-centos7-docker-4c-2g-443 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 23:23:06 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 23:23:06 Selected Git installation does not exist. Using Default 23:23:06 The recommended git tool is: NONE 23:23:09 using credential edgex-jenkins-ssh 23:23:09 Cloning the remote Git repository 23:23:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:23:09 > git init /w/workspace/device-mqtt-go/9 # timeout=10 23:23:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:23:09 > git --version # timeout=10 23:23:09 > git --version # 'git version 2.24.4' 23:23:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:09 [INFO] Currently running in a labeled security context 23:23:09 [INFO] Currently SELinux is 'enforcing' on the host 23:23:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/9@tmp/jenkins-gitclient-ssh6854636736783343242.key 23:23:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:10 Avoid second fetch 23:23:10 Checking out Revision 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a (main) 23:23:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:23:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:10 > git config core.sparsecheckout # timeout=10 23:23:10 > git checkout -f 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a # timeout=10 23:23:13 Commit message: "feat: add UseMqttLevels capability to pass in metadata (#303)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:14 provisioning config files... 23:23:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config4439391776419243205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:14 ---> docker-login.sh 23:23:14 nexus3.edgexfoundry.org:10001 23:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:14 Configure a credential helper to remove this warning. See 23:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:14 23:23:14 Login Succeeded 23:23:14 nexus3.edgexfoundry.org:10002 23:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:15 Configure a credential helper to remove this warning. See 23:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:15 23:23:15 Login Succeeded 23:23:15 nexus3.edgexfoundry.org:10003 23:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:15 Configure a credential helper to remove this warning. See 23:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:15 23:23:15 Login Succeeded 23:23:15 nexus3.edgexfoundry.org:10004 23:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:15 Configure a credential helper to remove this warning. See 23:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:15 23:23:15 Login Succeeded 23:23:15 docker.io 23:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:15 Configure a credential helper to remove this warning. See 23:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:15 23:23:15 Login Succeeded 23:23:15 ---> docker-login.sh ends [Pipeline] } 23:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:23:16 ========================================================= 23:23:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:23:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:23:16 + 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 . 23:23:16 Sending build context to Docker daemon 636.4kB 23:23:16 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 23:23:16 Step 2/12 : FROM ${BASE} AS builder 23:23:16 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:23:16 540db60ca938: Pulling fs layer 23:23:16 adcc1eea9eea: Pulling fs layer 23:23:16 4c4ab2625f07: Pulling fs layer 23:23:16 db62176df00c: Pulling fs layer 23:23:16 3b30891b0d05: Pulling fs layer 23:23:16 06b49ca38bd5: Pulling fs layer 23:23:16 c788192a36de: Pulling fs layer 23:23:16 a77e37c0d609: Pulling fs layer 23:23:16 c3185cebc471: Pulling fs layer 23:23:16 db62176df00c: Waiting 23:23:16 3b30891b0d05: Waiting 23:23:16 a77e37c0d609: Waiting 23:23:16 c3185cebc471: Waiting 23:23:16 06b49ca38bd5: Waiting 23:23:16 c788192a36de: Waiting 23:23:16 4c4ab2625f07: Verifying Checksum 23:23:16 4c4ab2625f07: Download complete 23:23:16 adcc1eea9eea: Verifying Checksum 23:23:16 adcc1eea9eea: Download complete 23:23:16 3b30891b0d05: Verifying Checksum 23:23:16 3b30891b0d05: Download complete 23:23:16 06b49ca38bd5: Verifying Checksum 23:23:16 06b49ca38bd5: Download complete 23:23:16 c788192a36de: Verifying Checksum 23:23:16 c788192a36de: Download complete 23:23:16 540db60ca938: Verifying Checksum 23:23:16 540db60ca938: Download complete 23:23:17 540db60ca938: Pull complete 23:23:17 adcc1eea9eea: Pull complete 23:23:17 a77e37c0d609: Verifying Checksum 23:23:17 a77e37c0d609: Download complete 23:23:17 4c4ab2625f07: Pull complete 23:23:20 c3185cebc471: Verifying Checksum 23:23:20 c3185cebc471: Download complete 23:23:20 db62176df00c: Verifying Checksum 23:23:20 db62176df00c: Download complete 23:23:24 db62176df00c: Pull complete 23:23:24 3b30891b0d05: Pull complete 23:23:24 06b49ca38bd5: Pull complete 23:23:24 c788192a36de: Pull complete 23:23:24 a77e37c0d609: Pull complete 23:23:26 c3185cebc471: Pull complete 23:23:26 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:23:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:23:26 ---> 031687cdd783 23:23:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:23:28 ---> Running in c66e42bf2579 23:23:28 Removing intermediate container c66e42bf2579 23:23:28 ---> c4fb6e0775f6 23:23:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:23:28 ---> Running in ebb81fa3a000 23:23:28 Removing intermediate container ebb81fa3a000 23:23:28 ---> a9799cb3086e 23:23:28 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:23:28 ---> Running in 76f341eae717 23:23:28 Removing intermediate container 76f341eae717 23:23:28 ---> fe4034ded3f1 23:23:28 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:28 ---> Running in cd7d28d4c9d3 23:23:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:23:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:23:31 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:23:31 (2/3) Installing libedit (20191231.3.1-r1) 23:23:31 (3/3) Installing openssh-client (8.4_p1-r3) 23:23:31 Executing busybox-1.32.1-r6.trigger 23:23:31 OK: 223 MiB in 55 packages 23:23:31 Removing intermediate container cd7d28d4c9d3 23:23:31 ---> 5532a1b4a50d 23:23:31 Step 7/12 : WORKDIR /device-mqtt-go 23:23:31 ---> Running in 9cc0f9c6bd08 23:23:32 Removing intermediate container 9cc0f9c6bd08 23:23:32 ---> 366fbf0fda79 23:23:32 Step 8/12 : COPY . . 23:23:32 ---> 318aacfb0437 23:23:32 Step 9/12 : RUN go mod tidy 23:23:32 ---> Running in 0a708d2ac936 23:23:34 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:23:34 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:23:34 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:23:34 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:23:34 go: downloading github.com/google/uuid v1.3.0 23:23:34 go: downloading github.com/spf13/cast v1.4.1 23:23:34 go: downloading github.com/stretchr/testify v1.7.0 23:23:34 go: downloading github.com/gorilla/websocket v1.4.2 23:23:34 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:23:34 go: downloading github.com/gorilla/mux v1.8.0 23:23:34 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:23:34 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:23:34 go: downloading github.com/go-kit/kit v0.9.0 23:23:34 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:23:34 go: downloading github.com/davecgh/go-spew v1.1.1 23:23:34 go: downloading github.com/pmezard/go-difflib v1.0.0 23:23:34 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:23:34 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:23:34 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:23:34 go: downloading github.com/pelletier/go-toml v1.9.2 23:23:34 go: downloading gopkg.in/yaml.v2 v2.4.0 23:23:34 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:23:34 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:23:34 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:23:34 go: downloading github.com/go-stack/stack v1.8.0 23:23:34 go: downloading github.com/go-playground/universal-translator v0.17.0 23:23:34 go: downloading github.com/leodido/go-urn v1.2.0 23:23:34 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:23:34 go: downloading golang.org/x/text v0.3.2 23:23:34 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:23:34 go: downloading github.com/go-playground/locales v0.13.0 23:23:35 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:23:35 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:23:35 go: downloading github.com/hashicorp/consul/api v1.8.1 23:23:35 go: downloading github.com/stretchr/objx v0.1.0 23:23:35 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:23:35 go: downloading github.com/x448/float16 v0.8.4 23:23:35 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:23:35 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:23:35 go: downloading github.com/pebbe/zmq4 v1.2.7 23:23:35 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:23:35 go: downloading github.com/kr/pretty v0.2.0 23:23:35 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:23:35 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:23:35 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:23:36 go: downloading github.com/hashicorp/serf v0.9.5 23:23:36 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:23:36 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:23:36 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:23:36 go: downloading github.com/onsi/ginkgo v1.10.1 23:23:36 go: downloading github.com/onsi/gomega v1.7.0 23:23:36 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:23:36 go: downloading github.com/mitchellh/copystructure v1.0.0 23:23:36 go: downloading github.com/kr/text v0.1.0 23:23:36 go: downloading github.com/fatih/color v1.9.0 23:23:36 go: downloading github.com/mattn/go-colorable v0.1.6 23:23:36 go: downloading github.com/mattn/go-isatty v0.0.12 23:23:36 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:23:36 go: downloading github.com/pkg/errors v0.8.1 23:23:36 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:23:36 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:23:36 go: downloading github.com/hashicorp/memberlist v0.2.2 23:23:36 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:23:36 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:23:36 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:23:36 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:23:36 go: downloading github.com/hpcloud/tail v1.0.0 23:23:36 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:23:36 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:23:36 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:23:36 go: downloading github.com/miekg/dns v1.1.26 23:23:36 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:23:36 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:23:36 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:23:36 go: downloading github.com/hashicorp/errwrap v1.0.0 23:23:36 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:23:41 Removing intermediate container 0a708d2ac936 23:23:41 ---> c2be8cc0ae16 23:23:41 Step 10/12 : RUN go mod download 23:23:41 ---> Running in 56bba6f856ea 23:23:45 Removing intermediate container 56bba6f856ea 23:23:45 ---> 637542de1ce6 23:23:45 Step 11/12 : ARG MAKE='make build' 23:23:45 ---> Running in 690a8fd4bf53 23:23:45 Removing intermediate container 690a8fd4bf53 23:23:45 ---> 4f28fb4e1f1a 23:23:45 Step 12/12 : RUN $MAKE 23:23:45 ---> Running in 2d42abb757df 23:23:45 noop 23:23:45 Removing intermediate container 2d42abb757df 23:23:45 ---> cdf3dc55d9d9 23:23:45 Successfully built cdf3dc55d9d9 23:23:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:23:45 + docker inspect -f . ci-base-image-x86_64 23:23:45 . [Pipeline] withDockerContainer 23:23:45 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 23:23:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:23:46 $ docker top 94573189394a90f7c48237444388c349e3b740203d9b110cc73313a09a612b80 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:46 + go version 23:23:46 go version go1.16.6 linux/amd64 [Pipeline] } 23:23:46 $ docker stop --time=1 94573189394a90f7c48237444388c349e3b740203d9b110cc73313a09a612b80 23:23:48 $ docker rm -f 94573189394a90f7c48237444388c349e3b740203d9b110cc73313a09a612b80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:23:48 + docker inspect -f . ci-base-image-x86_64 23:23:48 . [Pipeline] withDockerContainer 23:23:48 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 23:23:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:23:49 $ docker top 970bb5d8c3cad763b2a23364c5bf8ffc272bc8770606ad84abbc8eb0c7f33317 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:23:49 + go mod tidy [Pipeline] sh 23:23:50 + make test 23:23:50 go mod tidy 23:23:50 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:23:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements 23:24:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:06 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:24:13 gofmt -l . 23:24:13 ["`gofmt -l .`" = ""] 23:24:13 ./bin/test-attribution-txt.sh [Pipeline] } 23:24:13 $ docker stop --time=1 970bb5d8c3cad763b2a23364c5bf8ffc272bc8770606ad84abbc8eb0c7f33317 23:24:14 $ docker rm -f 970bb5d8c3cad763b2a23364c5bf8ffc272bc8770606ad84abbc8eb0c7f33317 [Pipeline] // withDockerContainer [Pipeline] sh 23:24:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:24:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:24:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:24:18 + ls -al . 23:24:18 total 120 23:24:18 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 16 23:24 . 23:24:18 drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 23:23 .. 23:24:18 -rw-rw-r--. 1 jenkins jenkins 6985 Sep 16 23:23 Attribution.txt 23:24:18 drwxrwxr-x. 2 jenkins jenkins 60 Sep 16 23:23 bin 23:24:18 -rw-rw-r--. 1 jenkins jenkins 7447 Sep 16 23:23 CHANGELOG.md 23:24:18 drwxrwxr-x. 3 jenkins jenkins 32 Sep 16 23:23 cmd 23:24:18 -rw-r--r--. 1 jenkins jenkins 17284 Sep 16 23:24 coverage.out 23:24:18 -rw-rw-r--. 1 jenkins jenkins 1877 Sep 16 23:23 Dockerfile 23:24:18 -rw-rw-r--. 1 jenkins jenkins 140 Sep 16 23:23 .dockerignore 23:24:18 drwxrwxr-x. 8 jenkins jenkins 162 Sep 16 23:23 .git 23:24:18 drwxrwxr-x. 2 jenkins jenkins 103 Sep 16 23:23 .github 23:24:18 -rw-rw-r--. 1 jenkins jenkins 336 Sep 16 23:23 .gitignore 23:24:18 -rw-rw-r--. 1 jenkins jenkins 367 Sep 16 23:23 go.mod 23:24:18 -rw-r--r--. 1 jenkins jenkins 20655 Sep 16 23:23 go.sum 23:24:18 -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 23:23 GOVERNANCE.md 23:24:18 drwxrwxr-x. 3 jenkins jenkins 20 Sep 16 23:23 internal 23:24:18 -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 23:23 Jenkinsfile 23:24:18 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 16 23:23 LICENSE 23:24:18 -rw-rw-r--. 1 jenkins jenkins 907 Sep 16 23:23 Makefile 23:24:18 drwxrwxr-x. 2 jenkins jenkins 23 Sep 16 23:23 mock 23:24:18 -rw-rw-r--. 1 jenkins jenkins 620 Sep 16 23:23 OWNERS.md 23:24:18 -rw-rw-r--. 1 jenkins jenkins 2211 Sep 16 23:23 README.md 23:24:18 drwxrwxr-x. 4 jenkins jenkins 71 Sep 16 23:23 snap 23:24:18 -rw-rw-r--. 1 jenkins jenkins 11 Sep 16 23:21 VERSION 23:24:18 -rw-rw-r--. 1 jenkins jenkins 227 Sep 16 23:23 version.go [Pipeline] isUnix [Pipeline] sh 23:24:18 + 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=7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a --label arch=amd64 --label version=2.0.1-dev.7 . 23:24:18 Sending build context to Docker daemon 654.3kB 23:24:18 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 23:24:18 Step 2/24 : FROM ${BASE} AS builder 23:24:18 ---> cdf3dc55d9d9 23:24:18 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:24:18 ---> Running in 607ec18f2825 23:24:18 Removing intermediate container 607ec18f2825 23:24:18 ---> 6ea29ea13161 23:24:18 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 23:24:18 ---> Running in 41ba57d33473 23:24:18 Removing intermediate container 41ba57d33473 23:24:18 ---> 2f66d740a337 23:24:18 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:24:18 ---> Running in f13c39e1be98 23:24:19 Removing intermediate container f13c39e1be98 23:24:19 ---> 27c9ef19b183 23:24:19 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:24:19 ---> Running in 724423fb7303 23:24:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:24:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:24:21 OK: 223 MiB in 55 packages 23:24:21 Removing intermediate container 724423fb7303 23:24:21 ---> ce4eed77070d 23:24:21 Step 7/24 : WORKDIR /device-mqtt-go 23:24:21 ---> Running in a74aeda55806 23:24:21 Removing intermediate container a74aeda55806 23:24:21 ---> b57349477cd9 23:24:21 Step 8/24 : COPY . . 23:24:22 ---> 46328f8d3448 23:24:22 Step 9/24 : RUN go mod tidy 23:24:22 ---> Running in 9ec9a06a48c7 23:24:22 Removing intermediate container 9ec9a06a48c7 23:24:22 ---> 3a47aac47b64 23:24:22 Step 10/24 : RUN go mod download 23:24:22 ---> Running in 937e426330b4 23:24:23 Removing intermediate container 937e426330b4 23:24:23 ---> d0f122455d66 23:24:23 Step 11/24 : ARG MAKE='make build' 23:24:23 ---> Running in 71d2caa24ef8 23:24:23 Removing intermediate container 71d2caa24ef8 23:24:23 ---> c81a029e0ccd 23:24:23 Step 12/24 : RUN $MAKE 23:24:23 ---> Running in 5018f93b103c 23:24:23 go mod tidy 23:24:23 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.7" -o cmd/device-mqtt ./cmd 23:24:36 Removing intermediate container 5018f93b103c 23:24:36 ---> 35d776f9b4db 23:24:36 Step 13/24 : FROM alpine:3.12 23:24:36 3.12: Pulling from library/alpine 23:24:36 e519532ddf75: Pulling fs layer 23:24:36 e519532ddf75: Verifying Checksum 23:24:36 e519532ddf75: Download complete 23:24:36 e519532ddf75: Pull complete 23:24:36 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 23:24:36 Status: Downloaded newer image for alpine:3.12 23:24:36 ---> 48b8ec4ed9eb 23:24:36 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:24:36 ---> Running in 26d0501084d7 23:24:36 Removing intermediate container 26d0501084d7 23:24:36 ---> 9e2f51aa795a 23:24:36 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:24:36 ---> Running in c78a2b9abbc7 23:24:36 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:24:36 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:24:36 (1/6) Installing dumb-init (1.2.2-r1) 23:24:36 (2/6) Installing libgcc (9.3.0-r2) 23:24:36 (3/6) Installing libsodium (1.0.18-r0) 23:24:36 (4/6) Installing libstdc++ (9.3.0-r2) 23:24:36 (5/6) Installing libzmq (4.3.3-r0) 23:24:36 (6/6) Installing zeromq (4.3.3-r0) 23:24:36 Executing busybox-1.31.1-r20.trigger 23:24:36 OK: 8 MiB in 20 packages 23:24:36 Removing intermediate container c78a2b9abbc7 23:24:36 ---> 5ac6f1a63adf 23:24:36 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:24:37 ---> 0e4b57b382e3 23:24:37 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:24:37 ---> 0d3f3bbb4d92 23:24:37 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:24:37 ---> 05761e141231 23:24:37 Step 19/24 : EXPOSE 59982 23:24:37 ---> Running in a3e94b9dc958 23:24:37 Removing intermediate container a3e94b9dc958 23:24:37 ---> ba07f975f2b0 23:24:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:24:37 ---> Running in 24869f77e4d7 23:24:37 Removing intermediate container 24869f77e4d7 23:24:37 ---> 4b0682e42105 23:24:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:24:37 ---> Running in 2fa8cb23ddc0 23:24:37 Removing intermediate container 2fa8cb23ddc0 23:24:37 ---> 0072253c6e7d 23:24:37 Step 22/24 : LABEL arch=amd64 23:24:37 ---> Running in b31bb1874e77 23:24:37 Removing intermediate container b31bb1874e77 23:24:37 ---> e62bffa86fe4 23:24:37 Step 23/24 : LABEL git_sha=7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:24:37 ---> Running in 5a0b193cb576 23:24:37 Removing intermediate container 5a0b193cb576 23:24:37 ---> c61578ad83f3 23:24:37 Step 24/24 : LABEL version=2.0.1-dev.7 23:24:37 ---> Running in fa48128788ff 23:24:38 Removing intermediate container fa48128788ff 23:24:38 ---> 9e9f89d4b1c5 23:24:38 [Warning] One or more build-args [ARCH] were not consumed 23:24:38 Successfully built 9e9f89d4b1c5 23:24:38 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:38 provisioning config files... 23:24:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config1855662979829125710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:38 ---> docker-login.sh 23:24:38 nexus3.edgexfoundry.org:10001 23:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:38 Configure a credential helper to remove this warning. See 23:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:38 23:24:38 Login Succeeded 23:24:38 nexus3.edgexfoundry.org:10002 23:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:39 Configure a credential helper to remove this warning. See 23:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:39 23:24:39 Login Succeeded 23:24:39 nexus3.edgexfoundry.org:10003 23:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:39 Configure a credential helper to remove this warning. See 23:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:39 23:24:39 Login Succeeded 23:24:39 nexus3.edgexfoundry.org:10004 23:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:39 Configure a credential helper to remove this warning. See 23:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:39 23:24:39 Login Succeeded 23:24:39 docker.io 23:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:39 Configure a credential helper to remove this warning. See 23:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:39 23:24:39 Login Succeeded 23:24:39 ---> docker-login.sh ends [Pipeline] } 23:24:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:24:40 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 23:24:40 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:24:40 latest 23:24:40 2.0.1-dev.7 23:24:40 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 23:24:40 main 23:24:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:24:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a [Pipeline] isUnix [Pipeline] sh 23:24:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:24:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:24:40 196593e2e60e: Preparing 23:24:40 d3640844c39c: Preparing 23:24:40 ee97d5b553b6: Preparing 23:24:40 bf4fd7c0e524: Preparing 23:24:40 e6688e911f15: Preparing 23:24:40 e6688e911f15: Layer already exists 23:24:41 d3640844c39c: Pushed 23:24:41 bf4fd7c0e524: Pushed 23:24:41 196593e2e60e: Pushed 23:24:42 ee97d5b553b6: Pushed 23:24:42 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a: digest: sha256:fe6c2020f4f9f951bcd386189eed9362a94dc3266071b08ca3d8bc69b1605ef0 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:24:42 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 23:24:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:24:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:24:43 196593e2e60e: Preparing 23:24:43 d3640844c39c: Preparing 23:24:43 ee97d5b553b6: Preparing 23:24:43 bf4fd7c0e524: Preparing 23:24:43 e6688e911f15: Preparing 23:24:43 e6688e911f15: Layer already exists 23:24:43 d3640844c39c: Layer already exists 23:24:43 196593e2e60e: Layer already exists 23:24:43 ee97d5b553b6: Layer already exists 23:24:43 bf4fd7c0e524: Layer already exists 23:24:43 latest: digest: sha256:fe6c2020f4f9f951bcd386189eed9362a94dc3266071b08ca3d8bc69b1605ef0 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:24:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 23:24:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.7 23:24:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:24:43 196593e2e60e: Preparing 23:24:43 d3640844c39c: Preparing 23:24:43 ee97d5b553b6: Preparing 23:24:43 bf4fd7c0e524: Preparing 23:24:43 e6688e911f15: Preparing 23:24:43 196593e2e60e: Layer already exists 23:24:43 d3640844c39c: Layer already exists 23:24:43 e6688e911f15: Layer already exists 23:24:43 bf4fd7c0e524: Layer already exists 23:24:43 ee97d5b553b6: Layer already exists 23:24:43 2.0.1-dev.7: digest: sha256:fe6c2020f4f9f951bcd386189eed9362a94dc3266071b08ca3d8bc69b1605ef0 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:24:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 23:24:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 23:24:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:24:44 196593e2e60e: Preparing 23:24:44 d3640844c39c: Preparing 23:24:44 ee97d5b553b6: Preparing 23:24:44 bf4fd7c0e524: Preparing 23:24:44 e6688e911f15: Preparing 23:24:44 e6688e911f15: Layer already exists 23:24:44 ee97d5b553b6: Layer already exists 23:24:44 d3640844c39c: Layer already exists 23:24:44 196593e2e60e: Layer already exists 23:24:44 bf4fd7c0e524: Layer already exists 23:24:44 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7: digest: sha256:fe6c2020f4f9f951bcd386189eed9362a94dc3266071b08ca3d8bc69b1605ef0 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:24:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 23:24:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 23:24:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:24:45 196593e2e60e: Preparing 23:24:45 d3640844c39c: Preparing 23:24:45 ee97d5b553b6: Preparing 23:24:45 bf4fd7c0e524: Preparing 23:24:45 e6688e911f15: Preparing 23:24:45 e6688e911f15: Layer already exists 23:24:45 196593e2e60e: Layer already exists 23:24:45 d3640844c39c: Layer already exists 23:24:45 bf4fd7c0e524: Layer already exists 23:24:45 ee97d5b553b6: Layer already exists 23:24:45 main: digest: sha256:fe6c2020f4f9f951bcd386189eed9362a94dc3266071b08ca3d8bc69b1605ef0 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:24:45 ===================================================== [Pipeline] echo 23:24:45 taggedImages: 23:24:45 - nexus3.edgexfoundry.org:10004/device-mqtt:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:24:45 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:24:45 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.7 23:24:45 - nexus3.edgexfoundry.org:10004/device-mqtt:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 23:24:45 - 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 23:24:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:45 23:24:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:24:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:46 latest: Pulling from edgex-lftools-log-publisher 23:24:46 b4d181a07f80: Pulling fs layer 23:24:46 a1111a8f2ec3: Pulling fs layer 23:24:46 ed53099fbce6: Pulling fs layer 23:24:46 dc539afda2c1: Pulling fs layer 23:24:46 77bc0d833cb6: Pulling fs layer 23:24:46 9065ff56babe: Pulling fs layer 23:24:46 d287ab97295c: Pulling fs layer 23:24:46 dc539afda2c1: Waiting 23:24:46 77bc0d833cb6: Waiting 23:24:46 9065ff56babe: Waiting 23:24:46 d287ab97295c: Waiting 23:24:46 a1111a8f2ec3: Verifying Checksum 23:24:46 a1111a8f2ec3: Download complete 23:24:46 dc539afda2c1: Verifying Checksum 23:24:46 dc539afda2c1: Download complete 23:24:46 77bc0d833cb6: Verifying Checksum 23:24:46 77bc0d833cb6: Download complete 23:24:46 9065ff56babe: Verifying Checksum 23:24:46 9065ff56babe: Download complete 23:24:47 ed53099fbce6: Verifying Checksum 23:24:47 ed53099fbce6: Download complete 23:24:47 b4d181a07f80: Verifying Checksum 23:24:47 b4d181a07f80: Download complete 23:24:49 b4d181a07f80: Pull complete 23:24:49 a1111a8f2ec3: Pull complete 23:24:49 ed53099fbce6: Pull complete 23:24:49 dc539afda2c1: Pull complete 23:24:49 77bc0d833cb6: Pull complete 23:24:49 9065ff56babe: Pull complete 23:24:52 d287ab97295c: Verifying Checksum 23:24:52 d287ab97295c: Download complete 23:24:56 d287ab97295c: Pull complete 23:24:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:24:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:24:56 prd-centos7-docker-4c-2g-443 does not seem to be running inside a container 23:24:56 $ 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/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:24:59 $ docker top 63104e912289cdd5ea3f6b42fa1ca0be872ac40b04b4e13e06208ca0bbc4f749 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:59 ---> job-cost.sh 23:24:59 lf-activate-venv: SKIPPING 23:24:59 INFO: No Stack... 23:25:00 INFO: Retrieving Pricing Info for: v3-standard-2 23:25:00 INFO: Archiving Costs [Pipeline] sh 23:25:01 + cut -d, -f6 23:25:01 + cat /w/workspace/device-mqtt-go/9/archives/cost.csv [Pipeline] lock 23:25:01 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] 23:25:01 Resource [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] did not exist. Created. 23:25:01 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:25:01 + echo total: 0.05999999865889549 [Pipeline] stash 23:25:01 Stashed 1 file(s) [Pipeline] } 23:25:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:25:01 $ docker stop --time=1 63104e912289cdd5ea3f6b42fa1ca0be872ac40b04b4e13e06208ca0bbc4f749 23:25:02 $ docker rm -f 63104e912289cdd5ea3f6b42fa1ca0be872ac40b04b4e13e06208ca0bbc4f749 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:25:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-445 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 23:25:14 Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout 23:25:14 Selected Git installation does not exist. Using Default 23:25:14 The recommended git tool is: NONE 23:25:20 using credential edgex-jenkins-ssh 23:25:20 Cloning the remote Git repository 23:25:20 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:25:20 > git init /w/workspace/device-mqtt-go/9 # timeout=10 23:25:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:25:20 > git --version # timeout=10 23:25:20 > git --version # 'git version 2.17.1' 23:25:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:21 Avoid second fetch 23:25:21 Checking out Revision 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a (main) 23:25:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:25:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:21 > git config core.sparsecheckout # timeout=10 23:25:21 > git checkout -f 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a # timeout=10 23:25:25 Commit message: "feat: add UseMqttLevels capability to pass in metadata (#303)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:26 provisioning config files... 23:25:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config7440947550917628828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:26 ---> docker-login.sh 23:25:26 nexus3.edgexfoundry.org:10001 23:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:28 Configure a credential helper to remove this warning. See 23:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:28 23:25:28 Login Succeeded 23:25:28 nexus3.edgexfoundry.org:10002 23:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:29 Configure a credential helper to remove this warning. See 23:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:29 23:25:29 Login Succeeded 23:25:29 nexus3.edgexfoundry.org:10003 23:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:29 Configure a credential helper to remove this warning. See 23:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:29 23:25:29 Login Succeeded 23:25:29 nexus3.edgexfoundry.org:10004 23:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:30 Configure a credential helper to remove this warning. See 23:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:30 23:25:30 Login Succeeded 23:25:30 docker.io 23:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:31 Configure a credential helper to remove this warning. See 23:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:31 23:25:31 Login Succeeded 23:25:31 ---> docker-login.sh ends [Pipeline] } 23:25:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:25:31 ========================================================= 23:25:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:25:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:25:31 + 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 . 23:25:32 Sending build context to Docker daemon 635.4kB 23:25:32 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 23:25:32 Step 2/12 : FROM ${BASE} AS builder 23:25:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:25:32 595b0fe564bb: Pulling fs layer 23:25:32 24495759ef45: Pulling fs layer 23:25:32 d148012ef14d: Pulling fs layer 23:25:32 e90a11edd702: Pulling fs layer 23:25:32 d77568369979: Pulling fs layer 23:25:32 fc1c9f9a7f3b: Pulling fs layer 23:25:32 170f2ba95c9a: Pulling fs layer 23:25:32 97ac5df62f85: Pulling fs layer 23:25:32 fc1c9f9a7f3b: Waiting 23:25:32 170f2ba95c9a: Waiting 23:25:32 e90a11edd702: Waiting 23:25:32 d77568369979: Waiting 23:25:32 97ac5df62f85: Waiting 23:25:32 d148012ef14d: Verifying Checksum 23:25:32 d148012ef14d: Download complete 23:25:32 24495759ef45: Download complete 23:25:32 d77568369979: Verifying Checksum 23:25:32 d77568369979: Download complete 23:25:32 fc1c9f9a7f3b: Verifying Checksum 23:25:32 fc1c9f9a7f3b: Download complete 23:25:32 595b0fe564bb: Verifying Checksum 23:25:32 170f2ba95c9a: Verifying Checksum 23:25:32 170f2ba95c9a: Download complete 23:25:33 595b0fe564bb: Pull complete 23:25:33 24495759ef45: Pull complete 23:25:34 d148012ef14d: Pull complete 23:25:35 97ac5df62f85: Verifying Checksum 23:25:35 97ac5df62f85: Download complete 23:25:36 e90a11edd702: Verifying Checksum 23:25:36 e90a11edd702: Download complete 23:25:46 e90a11edd702: Pull complete 23:25:47 d77568369979: Pull complete 23:25:47 fc1c9f9a7f3b: Pull complete 23:25:48 170f2ba95c9a: Pull complete 23:25:53 97ac5df62f85: Pull complete 23:25:53 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:25:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:25:53 ---> 04bc70af865f 23:25:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:25:58 ---> Running in 408fafe97c88 23:25:58 Removing intermediate container 408fafe97c88 23:25:58 ---> 43e01d2609e2 23:25:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:25:58 ---> Running in ca89b083b0e1 23:25:58 Removing intermediate container ca89b083b0e1 23:25:58 ---> 2242f8b85d15 23:25:58 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:25:59 ---> Running in e8938d351cc2 23:26:02 Removing intermediate container e8938d351cc2 23:26:02 ---> 3c32e3e618f4 23:26:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:02 ---> Running in e86aface0912 23:26:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:26:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:26:05 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:26:05 (2/3) Installing libedit (20191231.3.1-r1) 23:26:05 (3/3) Installing openssh-client (8.4_p1-r3) 23:26:05 Executing busybox-1.32.1-r6.trigger 23:26:05 OK: 222 MiB in 55 packages 23:26:07 Removing intermediate container e86aface0912 23:26:07 ---> 3acc45354c90 23:26:07 Step 7/12 : WORKDIR /device-mqtt-go 23:26:07 ---> Running in 0ce68b215f26 23:26:07 Removing intermediate container 0ce68b215f26 23:26:07 ---> c156464c76b7 23:26:07 Step 8/12 : COPY . . 23:26:08 ---> 97862d3c3a2d 23:26:08 Step 9/12 : RUN go mod tidy 23:26:09 ---> Running in f8ad0a69d29c 23:26:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:26:13 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:26:13 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:26:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:26:13 go: downloading github.com/google/uuid v1.3.0 23:26:13 go: downloading github.com/spf13/cast v1.4.1 23:26:13 go: downloading github.com/stretchr/testify v1.7.0 23:26:13 go: downloading github.com/gorilla/mux v1.8.0 23:26:13 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:26:13 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:26:13 go: downloading github.com/gorilla/websocket v1.4.2 23:26:13 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:26:13 go: downloading github.com/go-kit/kit v0.9.0 23:26:13 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:26:14 go: downloading github.com/davecgh/go-spew v1.1.1 23:26:14 go: downloading github.com/pmezard/go-difflib v1.0.0 23:26:14 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:26:14 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:26:14 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:26:14 go: downloading github.com/pelletier/go-toml v1.9.2 23:26:14 go: downloading gopkg.in/yaml.v2 v2.4.0 23:26:14 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:26:14 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:26:14 go: downloading github.com/go-playground/universal-translator v0.17.0 23:26:14 go: downloading github.com/leodido/go-urn v1.2.0 23:26:14 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:26:14 go: downloading golang.org/x/text v0.3.2 23:26:15 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:26:15 go: downloading github.com/go-playground/locales v0.13.0 23:26:17 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:26:17 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:26:17 go: downloading github.com/go-stack/stack v1.8.0 23:26:17 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:26:18 go: downloading github.com/hashicorp/consul/api v1.8.1 23:26:18 go: downloading github.com/stretchr/objx v0.1.0 23:26:18 go: downloading github.com/x448/float16 v0.8.4 23:26:18 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:26:18 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:26:18 go: downloading github.com/kr/pretty v0.2.0 23:26:18 go: downloading github.com/pebbe/zmq4 v1.2.7 23:26:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:26:18 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:26:18 go: downloading github.com/kr/text v0.1.0 23:26:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:26:18 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:26:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:26:18 go: downloading github.com/hashicorp/serf v0.9.5 23:26:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:26:18 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:26:18 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:26:18 go: downloading github.com/onsi/ginkgo v1.10.1 23:26:18 go: downloading github.com/onsi/gomega v1.7.0 23:26:18 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:26:18 go: downloading github.com/mitchellh/copystructure v1.0.0 23:26:18 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:26:18 go: downloading github.com/fatih/color v1.9.0 23:26:18 go: downloading github.com/mattn/go-colorable v0.1.6 23:26:18 go: downloading github.com/mattn/go-isatty v0.0.12 23:26:18 go: downloading github.com/pkg/errors v0.8.1 23:26:18 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:26:18 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:26:18 go: downloading github.com/hashicorp/memberlist v0.2.2 23:26:19 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:26:19 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:26:19 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:26:19 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:26:19 go: downloading github.com/hpcloud/tail v1.0.0 23:26:19 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:26:19 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:26:19 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:26:19 go: downloading github.com/miekg/dns v1.1.26 23:26:19 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:26:19 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:26:19 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:26:19 go: downloading github.com/hashicorp/errwrap v1.0.0 23:26:19 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:26:34 Removing intermediate container f8ad0a69d29c 23:26:34 ---> d6ce094e2018 23:26:34 Step 10/12 : RUN go mod download 23:26:34 ---> Running in 5d8fa59e45d0 23:26:44 Removing intermediate container 5d8fa59e45d0 23:26:44 ---> 0041e887d2ad 23:26:44 Step 11/12 : ARG MAKE='make build' 23:26:44 ---> Running in 21b26f78bcb9 23:26:44 Removing intermediate container 21b26f78bcb9 23:26:44 ---> dd07d74c187b 23:26:44 Step 12/12 : RUN $MAKE 23:26:44 ---> Running in 8e8701b83afc 23:26:45 noop 23:26:46 Removing intermediate container 8e8701b83afc 23:26:46 ---> 710f8b7d9414 23:26:46 Successfully built 710f8b7d9414 23:26:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:26:47 + docker inspect -f . ci-base-image-arm64 23:26:47 . [Pipeline] withDockerContainer 23:26:47 prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container 23:26:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:26:49 $ docker top bd96229b707872cbe86128a2147b87d0fc31e4e0a9b30d910c4d63e66b60d1ba -eo pid,comm [Pipeline] { [Pipeline] sh 23:26:50 + go version 23:26:50 go version go1.16.6 linux/arm64 [Pipeline] } 23:26:50 $ docker stop --time=1 bd96229b707872cbe86128a2147b87d0fc31e4e0a9b30d910c4d63e66b60d1ba 23:26:52 $ docker rm -f bd96229b707872cbe86128a2147b87d0fc31e4e0a9b30d910c4d63e66b60d1ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:26:52 + docker inspect -f . ci-base-image-arm64 23:26:52 . [Pipeline] withDockerContainer 23:26:53 prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container 23:26:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:26:54 $ docker top eb70a41594d3d7484db7678bb05059ea26e20dd35f4be0f5f6c72c737f814e53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:26:55 + go mod tidy [Pipeline] sh 23:26:57 + make test 23:26:57 go mod tidy 23:26:57 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:26:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:27:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:27:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 22.4% of statements 23:27:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:27:55 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:28:17 gofmt -l . 23:28:17 ["`gofmt -l .`" = ""] 23:28:17 ./bin/test-attribution-txt.sh [Pipeline] } 23:28:18 $ docker stop --time=1 eb70a41594d3d7484db7678bb05059ea26e20dd35f4be0f5f6c72c737f814e53 23:28:20 $ docker rm -f eb70a41594d3d7484db7678bb05059ea26e20dd35f4be0f5f6c72c737f814e53 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:21 Warning: overwriting stash ‘coverage-report’ 23:28:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:28:23 + ls -al . 23:28:23 total 152 23:28:23 drwxrwxr-x 9 jenkins jenkins 4096 Sep 16 23:28 . 23:28:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:25 .. 23:28:23 -rw-rw-r-- 1 jenkins jenkins 140 Sep 16 23:25 .dockerignore 23:28:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 23:25 .git 23:28:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 23:25 .github 23:28:23 -rw-rw-r-- 1 jenkins jenkins 336 Sep 16 23:25 .gitignore 23:28:23 -rw-rw-r-- 1 jenkins jenkins 6985 Sep 16 23:25 Attribution.txt 23:28:23 -rw-rw-r-- 1 jenkins jenkins 7447 Sep 16 23:25 CHANGELOG.md 23:28:23 -rw-rw-r-- 1 jenkins jenkins 1877 Sep 16 23:25 Dockerfile 23:28:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 23:25 GOVERNANCE.md 23:28:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 23:25 Jenkinsfile 23:28:23 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 16 23:25 LICENSE 23:28:23 -rw-rw-r-- 1 jenkins jenkins 907 Sep 16 23:25 Makefile 23:28:23 -rw-rw-r-- 1 jenkins jenkins 620 Sep 16 23:25 OWNERS.md 23:28:23 -rw-rw-r-- 1 jenkins jenkins 2211 Sep 16 23:25 README.md 23:28:23 -rw-rw-r-- 1 jenkins jenkins 11 Sep 16 23:21 VERSION 23:28:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 23:25 bin 23:28:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 23:25 cmd 23:28:23 -rw-r--r-- 1 jenkins jenkins 17284 Sep 16 23:27 coverage.out 23:28:23 -rw-rw-r-- 1 jenkins jenkins 367 Sep 16 23:25 go.mod 23:28:23 -rw-r--r-- 1 jenkins jenkins 20655 Sep 16 23:26 go.sum 23:28:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 23:25 internal 23:28:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 23:25 mock 23:28:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:25 snap 23:28:23 -rw-rw-r-- 1 jenkins jenkins 227 Sep 16 23:25 version.go [Pipeline] isUnix [Pipeline] sh 23:28:23 + 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=7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a --label arch=arm64 --label version=2.0.1-dev.7 . 23:28:23 Sending build context to Docker daemon 653.3kB 23:28:23 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 23:28:23 Step 2/24 : FROM ${BASE} AS builder 23:28:23 ---> 710f8b7d9414 23:28:23 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:28:24 ---> Running in 5c1e0e323d1a 23:28:24 Removing intermediate container 5c1e0e323d1a 23:28:24 ---> 67b24c5517c2 23:28:24 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 23:28:24 ---> Running in 6aef296efe68 23:28:25 Removing intermediate container 6aef296efe68 23:28:25 ---> 35ed6ae103ea 23:28:25 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:28:25 ---> Running in 38c5f7d2c531 23:28:28 Removing intermediate container 38c5f7d2c531 23:28:28 ---> d734e18f223d 23:28:28 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:28 ---> Running in 80a412ee49d2 23:28:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:28:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:28:31 OK: 222 MiB in 55 packages 23:28:32 Removing intermediate container 80a412ee49d2 23:28:32 ---> 193eafbeffef 23:28:32 Step 7/24 : WORKDIR /device-mqtt-go 23:28:32 ---> Running in 008ce3253cd3 23:28:33 Removing intermediate container 008ce3253cd3 23:28:33 ---> 0fa85c90910f 23:28:33 Step 8/24 : COPY . . 23:28:34 ---> 8ae19b2df956 23:28:34 Step 9/24 : RUN go mod tidy 23:28:34 ---> Running in a0a818bbcae9 23:28:37 Removing intermediate container a0a818bbcae9 23:28:37 ---> 0862d5a4b990 23:28:37 Step 10/24 : RUN go mod download 23:28:37 ---> Running in 038ac2b520dc 23:28:40 Removing intermediate container 038ac2b520dc 23:28:40 ---> 82e9272241bc 23:28:40 Step 11/24 : ARG MAKE='make build' 23:28:40 ---> Running in d8c2b0d53825 23:28:40 Removing intermediate container d8c2b0d53825 23:28:40 ---> 3a224d192951 23:28:40 Step 12/24 : RUN $MAKE 23:28:40 ---> Running in 40f55e33ea84 23:28:42 go mod tidy 23:28:42 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.7" -o cmd/device-mqtt ./cmd 23:29:21 Removing intermediate container 40f55e33ea84 23:29:21 ---> d98bdc041b19 23:29:21 Step 13/24 : FROM alpine:3.12 23:29:21 3.12: Pulling from library/alpine 23:29:21 ccdebe76d529: Pulling fs layer 23:29:21 ccdebe76d529: Download complete 23:29:21 ccdebe76d529: Pull complete 23:29:21 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 23:29:21 Status: Downloaded newer image for alpine:3.12 23:29:21 ---> afc2cc120ca2 23:29:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:29:21 ---> Running in 097f90b4b783 23:29:21 Removing intermediate container 097f90b4b783 23:29:21 ---> 36f085dfb042 23:29:21 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:29:21 ---> Running in 2ee12883060d 23:29:21 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:29:22 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:29:22 (1/6) Installing dumb-init (1.2.2-r1) 23:29:22 (2/6) Installing libgcc (9.3.0-r2) 23:29:22 (3/6) Installing libsodium (1.0.18-r0) 23:29:22 (4/6) Installing libstdc++ (9.3.0-r2) 23:29:22 (5/6) Installing libzmq (4.3.3-r0) 23:29:22 (6/6) Installing zeromq (4.3.3-r0) 23:29:22 Executing busybox-1.31.1-r20.trigger 23:29:22 OK: 8 MiB in 20 packages 23:29:24 Removing intermediate container 2ee12883060d 23:29:24 ---> 33efeb4ec09c 23:29:24 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:29:25 ---> 934dab985a0b 23:29:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:29:26 ---> 54a5485e0747 23:29:26 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:29:27 ---> 4b23a11b2fa6 23:29:27 Step 19/24 : EXPOSE 59982 23:29:27 ---> Running in 12788c27396e 23:29:27 Removing intermediate container 12788c27396e 23:29:27 ---> 2ff3d9d298ce 23:29:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:29:27 ---> Running in 47fd03704a45 23:29:28 Removing intermediate container 47fd03704a45 23:29:28 ---> 5f82998d33c5 23:29:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:29:28 ---> Running in bb0b985855d9 23:29:29 Removing intermediate container bb0b985855d9 23:29:29 ---> 6724fd8d6be3 23:29:29 Step 22/24 : LABEL arch=arm64 23:29:29 ---> Running in 6837fd409c46 23:29:29 Removing intermediate container 6837fd409c46 23:29:29 ---> 60b9d0c2b323 23:29:29 Step 23/24 : LABEL git_sha=7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:29:29 ---> Running in c89bfddef49e 23:29:30 Removing intermediate container c89bfddef49e 23:29:30 ---> d9e07af55871 23:29:30 Step 24/24 : LABEL version=2.0.1-dev.7 23:29:30 ---> Running in a2c8655c2e0a 23:29:30 Removing intermediate container a2c8655c2e0a 23:29:30 ---> eb631a9e0369 23:29:30 [Warning] One or more build-args [ARCH] were not consumed 23:29:30 Successfully built eb631a9e0369 23:29:30 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 23:29:31 provisioning config files... 23:29:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config3305295797425373645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:31 ---> docker-login.sh 23:29:31 nexus3.edgexfoundry.org:10001 23:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:32 Configure a credential helper to remove this warning. See 23:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:32 23:29:32 Login Succeeded 23:29:32 nexus3.edgexfoundry.org:10002 23:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:32 Configure a credential helper to remove this warning. See 23:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:32 23:29:32 Login Succeeded 23:29:32 nexus3.edgexfoundry.org:10003 23:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:33 Configure a credential helper to remove this warning. See 23:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:33 23:29:33 Login Succeeded 23:29:33 nexus3.edgexfoundry.org:10004 23:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:33 Configure a credential helper to remove this warning. See 23:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:33 23:29:33 Login Succeeded 23:29:33 docker.io 23:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:34 Configure a credential helper to remove this warning. See 23:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:34 23:29:34 Login Succeeded 23:29:34 ---> docker-login.sh ends [Pipeline] } 23:29:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:29:34 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 23:29:34 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:29:34 latest 23:29:34 2.0.1-dev.7 23:29:34 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 23:29:34 main 23:29:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:29:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a [Pipeline] isUnix [Pipeline] sh 23:29:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:29:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:29:35 d1828cf3bf16: Preparing 23:29:35 858ecc6bebc2: Preparing 23:29:35 f9358bf13727: Preparing 23:29:35 040316150dd1: Preparing 23:29:35 bdc42e120bf6: Preparing 23:29:35 bdc42e120bf6: Layer already exists 23:29:35 d1828cf3bf16: Pushed 23:29:35 858ecc6bebc2: Pushed 23:29:36 040316150dd1: Pushed 23:29:38 f9358bf13727: Pushed 23:29:38 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a: digest: sha256:f3074cd84c94466f0d4d099909a174205eb934bb10c015122b4f28ff8a0f90c8 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:29:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:29:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:29:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:29:39 d1828cf3bf16: Preparing 23:29:39 858ecc6bebc2: Preparing 23:29:39 f9358bf13727: Preparing 23:29:39 040316150dd1: Preparing 23:29:39 bdc42e120bf6: Preparing 23:29:39 f9358bf13727: Layer already exists 23:29:39 858ecc6bebc2: Layer already exists 23:29:39 040316150dd1: Layer already exists 23:29:39 d1828cf3bf16: Layer already exists 23:29:39 bdc42e120bf6: Layer already exists 23:29:39 latest: digest: sha256:f3074cd84c94466f0d4d099909a174205eb934bb10c015122b4f28ff8a0f90c8 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:29:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 23:29:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.7 23:29:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:29:40 d1828cf3bf16: Preparing 23:29:40 858ecc6bebc2: Preparing 23:29:40 f9358bf13727: Preparing 23:29:40 040316150dd1: Preparing 23:29:40 bdc42e120bf6: Preparing 23:29:40 f9358bf13727: Layer already exists 23:29:40 040316150dd1: Layer already exists 23:29:40 d1828cf3bf16: Layer already exists 23:29:40 858ecc6bebc2: Layer already exists 23:29:40 bdc42e120bf6: Layer already exists 23:29:40 2.0.1-dev.7: digest: sha256:f3074cd84c94466f0d4d099909a174205eb934bb10c015122b4f28ff8a0f90c8 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:29:41 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 23:29:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 23:29:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:29:41 d1828cf3bf16: Preparing 23:29:41 858ecc6bebc2: Preparing 23:29:41 f9358bf13727: Preparing 23:29:41 040316150dd1: Preparing 23:29:41 bdc42e120bf6: Preparing 23:29:41 858ecc6bebc2: Layer already exists 23:29:41 040316150dd1: Layer already exists 23:29:41 bdc42e120bf6: Layer already exists 23:29:41 f9358bf13727: Layer already exists 23:29:41 d1828cf3bf16: Layer already exists 23:29:41 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7: digest: sha256:f3074cd84c94466f0d4d099909a174205eb934bb10c015122b4f28ff8a0f90c8 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:29:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 23:29:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 23:29:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:29:42 d1828cf3bf16: Preparing 23:29:42 858ecc6bebc2: Preparing 23:29:42 f9358bf13727: Preparing 23:29:42 040316150dd1: Preparing 23:29:42 bdc42e120bf6: Preparing 23:29:42 040316150dd1: Layer already exists 23:29:42 858ecc6bebc2: Layer already exists 23:29:42 d1828cf3bf16: Layer already exists 23:29:42 f9358bf13727: Layer already exists 23:29:42 bdc42e120bf6: Layer already exists 23:29:42 main: digest: sha256:f3074cd84c94466f0d4d099909a174205eb934bb10c015122b4f28ff8a0f90c8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:29:42 ===================================================== [Pipeline] echo 23:29:42 taggedImages: 23:29:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a 23:29:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:29:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.7 23:29:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a-2.0.1-dev.7 23:29:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:29:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:43 23:29:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:29:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:44 arm64: Pulling from edgex-lftools-log-publisher 23:29:44 448f6bf000e3: Pulling fs layer 23:29:44 f757da607395: Pulling fs layer 23:29:44 05883995daec: Pulling fs layer 23:29:44 8603b9c90790: Pulling fs layer 23:29:44 1560dd03e051: Pulling fs layer 23:29:44 27f5ce0e4adf: Pulling fs layer 23:29:44 c2d8d7efcc4b: Pulling fs layer 23:29:44 1560dd03e051: Waiting 23:29:44 8603b9c90790: Waiting 23:29:44 27f5ce0e4adf: Waiting 23:29:44 c2d8d7efcc4b: Waiting 23:29:44 f757da607395: Verifying Checksum 23:29:44 f757da607395: Download complete 23:29:44 8603b9c90790: Verifying Checksum 23:29:44 8603b9c90790: Download complete 23:29:44 1560dd03e051: Verifying Checksum 23:29:44 1560dd03e051: Download complete 23:29:44 27f5ce0e4adf: Verifying Checksum 23:29:44 27f5ce0e4adf: Download complete 23:29:44 05883995daec: Verifying Checksum 23:29:44 05883995daec: Download complete 23:29:45 448f6bf000e3: Verifying Checksum 23:29:45 448f6bf000e3: Download complete 23:29:48 c2d8d7efcc4b: Verifying Checksum 23:29:48 c2d8d7efcc4b: Download complete 23:29:48 448f6bf000e3: Pull complete 23:29:49 f757da607395: Pull complete 23:29:50 05883995daec: Pull complete 23:29:51 8603b9c90790: Pull complete 23:29:52 1560dd03e051: Pull complete 23:29:52 27f5ce0e4adf: Pull complete 23:30:07 c2d8d7efcc4b: Pull complete 23:30:07 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:30:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:30:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:30:08 prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container 23:30:08 $ 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/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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 23:30:12 $ docker top 75f5d260b2d5b4e22ed90abb1606e3723888686b3d02057a8a3afdf9c255074f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:13 ---> job-cost.sh 23:30:13 lf-activate-venv: SKIPPING 23:30:13 INFO: No Stack... 23:30:14 INFO: Retrieving Pricing Info for: v3-standard-4 23:30:15 INFO: Archiving Costs [Pipeline] sh 23:30:15 + cat /w/workspace/device-mqtt-go/9/archives/cost.csv 23:30:15 + cut -d, -f6 [Pipeline] lock 23:30:15 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] 23:30:15 Resource [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] did not exist. Created. 23:30:15 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:16 /w/workspace/device-mqtt-go/9@tmp/durable-f31390fb/script.sh: 1: /w/workspace/device-mqtt-go/9@tmp/durable-f31390fb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:30:17 + echo total: 0.10999999940395355 [Pipeline] stash 23:30:17 Warning: overwriting stash ‘stack-cost’ 23:30:17 Stashed 1 file(s) [Pipeline] } 23:30:17 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:17 $ docker stop --time=1 75f5d260b2d5b4e22ed90abb1606e3723888686b3d02057a8a3afdf9c255074f 23:30:19 $ docker rm -f 75f5d260b2d5b4e22ed90abb1606e3723888686b3d02057a8a3afdf9c255074f [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 23:30:20 provisioning config files... 23:30:20 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6015156389754304465tmp [Pipeline] { [Pipeline] sh 23:30:20 + set +x 23:30:20 + curl -s https://codecov.io/bash 23:30:20 + bash -s -- 23:30:20 23:30:20 _____ _ 23:30:20 / ____| | | 23:30:20 | | ___ __| | ___ ___ _____ __ 23:30:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:30:20 | |___| (_) | (_| | __/ (_| (_) \ V / 23:30:20 \_____\___/ \__,_|\___|\___\___/ \_/ 23:30:20 Bash-1.0.6 23:30:20 23:30:20 23:30:20 ==> git version 2.24.4 found 23:30:20 ==> 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 23:30:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:30:20 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:30:20 ==> Jenkins CI detected. 23:30:20 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 23:30:20 project root: . 23:30:20 --> token set from env 23:30:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:30:20 ==> Running gcov in . (disable via -X gcov) 23:30:20 ==> Python coveragepy not found 23:30:20 ==> Searching for coverage reports in: 23:30:20 + . 23:30:20 -> Found 1 reports 23:30:20 ==> Detecting git/mercurial file structure 23:30:20 ==> Reading reports 23:30:20 + ./coverage.out bytes=17284 23:30:20 ==> Appending adjustments 23:30:20 https://docs.codecov.io/docs/fixing-reports 23:30:20 + Found adjustments 23:30:20 ==> Gzipping contents 23:30:20 4.0K /tmp/codecov.WefKlh.gz 23:30:20 ==> Uploading reports 23:30:20 url: https://codecov.io 23:30:20 query: branch=main&commit=7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:30:20 -> Pinging Codecov 23:30:20 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=7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:30:21 -> Uploading to 23:30:21 https://storage.googleapis.com/codecov/v4/raw/2021-09-16/7D719EC7BBE17E464838252E33014C33/7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a/716b6f4c-6fba-4889-9eed-1bd7b161298c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210916%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210916T233021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ac4e71ac2721f8ae9133ed59b284f69175663b491e9e64e340cde18981ed6d6 23:30:21 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:21 Dload Upload Total Spent Left Speed 23:30:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3183 0 0 100 3183 0 7320 --:--:-- --:--:-- --:--:-- 7317 23:30:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a [Pipeline] } 23:30:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:30:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:30:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:30:22 23:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:30:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:30:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:30:23 188c0c94c7c5: Pulling fs layer 23:30:23 0ef7d3d256c8: Pulling fs layer 23:30:23 de9db76c5a1d: Pulling fs layer 23:30:23 0eba1c9be4d2: Pulling fs layer 23:30:23 0d57e429df01: Pulling fs layer 23:30:23 4e4be7b47b0d: Pulling fs layer 23:30:23 e1f770b5df2f: Pulling fs layer 23:30:23 85a0685a4137: Pulling fs layer 23:30:23 0d57e429df01: Waiting 23:30:23 4e4be7b47b0d: Waiting 23:30:23 e1f770b5df2f: Waiting 23:30:23 85a0685a4137: Waiting 23:30:23 0eba1c9be4d2: Waiting 23:30:23 de9db76c5a1d: Verifying Checksum 23:30:23 de9db76c5a1d: Download complete 23:30:23 0ef7d3d256c8: Verifying Checksum 23:30:23 0ef7d3d256c8: Download complete 23:30:23 0d57e429df01: Verifying Checksum 23:30:23 0d57e429df01: Download complete 23:30:23 4e4be7b47b0d: Verifying Checksum 23:30:23 4e4be7b47b0d: Download complete 23:30:23 188c0c94c7c5: Verifying Checksum 23:30:23 188c0c94c7c5: Download complete 23:30:23 188c0c94c7c5: Pull complete 23:30:23 0ef7d3d256c8: Pull complete 23:30:23 de9db76c5a1d: Pull complete 23:30:24 e1f770b5df2f: Verifying Checksum 23:30:24 e1f770b5df2f: Download complete 23:30:28 0eba1c9be4d2: Verifying Checksum 23:30:28 0eba1c9be4d2: Download complete 23:30:28 85a0685a4137: Verifying Checksum 23:30:28 85a0685a4137: Download complete 23:30:31 0eba1c9be4d2: Pull complete 23:30:31 0d57e429df01: Pull complete 23:30:31 4e4be7b47b0d: Pull complete 23:30:31 e1f770b5df2f: Pull complete 23:30:35 85a0685a4137: Pull complete 23:30:35 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:30:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:30:35 prd-centos7-docker-4c-2g-440 does not seem to be running inside a container 23:30:35 $ 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 23:30:37 $ docker top 2eb9a92238e2807f9c7a37bb1c68026f30c22f2dd161c65618c06074e8507055 -eo pid,comm [Pipeline] { [Pipeline] echo 23:30:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:30:38 + set -o pipefail 23:30:38 + snyk monitor '--org=edgex-jenkins' 23:30:44 23:30:44 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 23:30:44 23:30:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/08e07eb3-75c7-4750-81e2-e161bcdedfa3 23:30:44 23:30:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:30:44 23:30:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:30:44 23:30:45 [Pipeline] } 23:30:45 $ docker stop --time=1 2eb9a92238e2807f9c7a37bb1c68026f30c22f2dd161c65618c06074e8507055 23:30:47 $ docker rm -f 2eb9a92238e2807f9c7a37bb1c68026f30c22f2dd161c65618c06074e8507055 [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 23:30:48 + git log --format=format:%s -1 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a [Pipeline] isUnix [Pipeline] sh 23:30:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:30:48 . [Pipeline] withDockerContainer 23:30:48 prd-centos7-docker-4c-2g-440 does not seem to be running inside a container 23:30:48 $ 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 23:30:49 $ docker top ace3d20ddc0134264053cf9b74cc477eaea6d13e64b68dae6209c5813996f590 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:49 [ssh-agent] Looking for ssh-agent implementation... 23:30:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:49 $ docker exec ace3d20ddc0134264053cf9b74cc477eaea6d13e64b68dae6209c5813996f590 ssh-agent 23:30:49 SSH_AUTH_SOCK=/tmp/ssh-ST0UjmC5jMWm/agent.14 23:30:49 SSH_AGENT_PID=21 23:30:49 Running ssh-add (command line suppressed) 23:30:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1682029703329946717.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1682029703329946717.key) 23:30:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:49 + git semver tag 23:30:49 # -> Open(): unable to determine branch for HEAD 23:30:49 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:30:49 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:30:49 # $SEMVER_REMOTE_NAME = origin 23:30:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:30:49 # $SEMVER_USER_NAME = edgex-jenkins 23:30:49 # $SEMVER_BRANCH = main 23:30:49 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:30:49 # 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a HEAD 23:30:49 # -> Force: false 23:30:49 # 6b6a129dfca7d7533e809714e12fd0da1d376cbd refs/tags/v2.0.1-dev.7 [Pipeline] } 23:30:49 $ docker exec --env ******** --env ******** ace3d20ddc0134264053cf9b74cc477eaea6d13e64b68dae6209c5813996f590 ssh-agent -k 23:30:50 unset SSH_AUTH_SOCK; 23:30:50 unset SSH_AGENT_PID; 23:30:50 echo Agent pid 21 killed; 23:30:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:50 + git semver [Pipeline] } 23:30:50 $ docker stop --time=1 ace3d20ddc0134264053cf9b74cc477eaea6d13e64b68dae6209c5813996f590 23:30:51 $ docker rm -f ace3d20ddc0134264053cf9b74cc477eaea6d13e64b68dae6209c5813996f590 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:30:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:30:52 23:30:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:30:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:30:52 0.23.1-centos7: Pulling from edgex-lftools 23:30:52 ab5ef0e58194: Pulling fs layer 23:30:52 9712f1f96733: Pulling fs layer 23:30:52 63f879dbbcfc: Pulling fs layer 23:30:52 0d9ebad4ef96: Pulling fs layer 23:30:52 e9a5061849ea: Pulling fs layer 23:30:52 d747dcd14b5f: Pulling fs layer 23:30:52 2de7ff778b66: Pulling fs layer 23:30:52 e9a5061849ea: Waiting 23:30:52 d747dcd14b5f: Waiting 23:30:52 2de7ff778b66: Waiting 23:30:52 0d9ebad4ef96: Waiting 23:30:52 9712f1f96733: Download complete 23:30:54 63f879dbbcfc: Verifying Checksum 23:30:54 63f879dbbcfc: Download complete 23:30:54 e9a5061849ea: Verifying Checksum 23:30:54 e9a5061849ea: Download complete 23:30:54 d747dcd14b5f: Verifying Checksum 23:30:54 d747dcd14b5f: Download complete 23:30:54 2de7ff778b66: Verifying Checksum 23:30:54 2de7ff778b66: Download complete 23:30:55 0d9ebad4ef96: Verifying Checksum 23:30:55 0d9ebad4ef96: Download complete 23:30:55 ab5ef0e58194: Verifying Checksum 23:30:55 ab5ef0e58194: Download complete 23:30:58 ab5ef0e58194: Pull complete 23:30:58 9712f1f96733: Pull complete 23:30:59 63f879dbbcfc: Pull complete 23:31:03 0d9ebad4ef96: Pull complete 23:31:03 e9a5061849ea: Pull complete 23:31:03 d747dcd14b5f: Pull complete 23:31:04 2de7ff778b66: Pull complete 23:31:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:31:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:31:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:31:04 prd-centos7-docker-4c-2g-440 does not seem to be running inside a container 23:31:04 $ 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 23:31:07 $ docker top b36bab8fe571e9bcc06baef1af121033914e6b13d5d1db6f1e35fb294c9d45c8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:31:07 provisioning config files... 23:31:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9221634553277990501tmp 23:31:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config681742403354230760tmp 23:31:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6441566570582797125tmp [Pipeline] { [Pipeline] echo 23:31:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:31:08 ---> sigul-configuration.sh 23:31:08 gpg: directory `/root/.gnupg' created 23:31:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:31:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:31:08 gpg: keyring `/root/.gnupg/secring.gpg' created 23:31:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:31:08 gpg: CAST5 encrypted data 23:31:08 gpg: encrypted with 1 passphrase 23:31:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:31:08 + mkdir /home/jenkins 23:31:08 + mkdir /home/jenkins/sigul [Pipeline] sh 23:31:08 + 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 23:31:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:31:09 ---> sigul-install.sh 23:31:09 Sigul already installed; skipping installation. [Pipeline] sh 23:31:09 + git tag --list 23:31:09 0.7.1 23:31:09 v1.0.0 23:31:09 v1.1.0 23:31:09 v1.1.1 23:31:09 v1.2.2 23:31:09 v1.3.0 23:31:09 v1.3.1 23:31:09 v2.0.0 23:31:09 v2.0.1-dev.1 23:31:09 v2.0.1-dev.2 23:31:09 v2.0.1-dev.3 23:31:09 v2.0.1-dev.4 23:31:09 v2.0.1-dev.5 23:31:09 v2.0.1-dev.6 23:31:09 v2.0.1-dev.7 [Pipeline] sh 23:31:09 + lftools sign git-tag v2.0.1-dev.7 23:31:10 Signing Git tag with Sigul... 23:31:10 Signing v2.0.1-dev.7 [Pipeline] echo 23:31:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:31:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:31:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:31:11 $ docker stop --time=1 b36bab8fe571e9bcc06baef1af121033914e6b13d5d1db6f1e35fb294c9d45c8 23:31:12 $ docker rm -f b36bab8fe571e9bcc06baef1af121033914e6b13d5d1db6f1e35fb294c9d45c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:31:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:31:13 . [Pipeline] withDockerContainer 23:31:13 prd-centos7-docker-4c-2g-440 does not seem to be running inside a container 23:31:13 $ 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 23:31:13 $ docker top bb3c46213be6a63b12e2372f27964ae41433f3008ef590ea4225cf5a36480ad2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:31:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:31:13 [ssh-agent] Looking for ssh-agent implementation... 23:31:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:31:13 $ docker exec bb3c46213be6a63b12e2372f27964ae41433f3008ef590ea4225cf5a36480ad2 ssh-agent 23:31:14 SSH_AUTH_SOCK=/tmp/ssh-QGSMaW0tfTOA/agent.15 23:31:14 SSH_AGENT_PID=20 23:31:14 Running ssh-add (command line suppressed) 23:31:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6439085890981644828.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6439085890981644828.key) 23:31:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:31:14 + git semver bump pre 23:31:14 # -> Open(): unable to determine branch for HEAD 23:31:14 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:31:14 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:31:14 # $SEMVER_REMOTE_NAME = origin 23:31:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:31:14 # $SEMVER_USER_NAME = edgex-jenkins 23:31:14 # $SEMVER_BRANCH = main 23:31:14 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:31:14 2.0.1-dev.8 [Pipeline] } 23:31:14 $ docker exec --env ******** --env ******** bb3c46213be6a63b12e2372f27964ae41433f3008ef590ea4225cf5a36480ad2 ssh-agent -k 23:31:14 unset SSH_AUTH_SOCK; 23:31:14 unset SSH_AGENT_PID; 23:31:14 echo Agent pid 20 killed; 23:31:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:31:15 + git semver [Pipeline] } 23:31:15 $ docker stop --time=1 bb3c46213be6a63b12e2372f27964ae41433f3008ef590ea4225cf5a36480ad2 23:31:16 $ docker rm -f bb3c46213be6a63b12e2372f27964ae41433f3008ef590ea4225cf5a36480ad2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:31:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:31:16 . [Pipeline] withDockerContainer 23:31:16 prd-centos7-docker-4c-2g-440 does not seem to be running inside a container 23:31:17 $ 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 23:31:17 $ docker top 36151e37ff64817ca221312055eaf86b568f5ebe2dac26e89508695decdcae24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:31:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:31:17 [ssh-agent] Looking for ssh-agent implementation... 23:31:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:31:17 $ docker exec 36151e37ff64817ca221312055eaf86b568f5ebe2dac26e89508695decdcae24 ssh-agent 23:31:17 SSH_AUTH_SOCK=/tmp/ssh-j1N44yD4dzck/agent.14 23:31:17 SSH_AGENT_PID=20 23:31:17 Running ssh-add (command line suppressed) 23:31:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_73099375743961599.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_73099375743961599.key) 23:31:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:31:18 + git semver push 23:31:18 # -> Open(): unable to determine branch for HEAD 23:31:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:31:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:31:18 # $SEMVER_REMOTE_NAME = origin 23:31:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:31:18 # $SEMVER_USER_NAME = edgex-jenkins 23:31:18 # $SEMVER_BRANCH = main 23:31:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 23:31:19 $ docker exec --env ******** --env ******** 36151e37ff64817ca221312055eaf86b568f5ebe2dac26e89508695decdcae24 ssh-agent -k 23:31:19 unset SSH_AUTH_SOCK; 23:31:19 unset SSH_AGENT_PID; 23:31:19 echo Agent pid 20 killed; 23:31:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:31:20 + git semver [Pipeline] } 23:31:20 $ docker stop --time=1 36151e37ff64817ca221312055eaf86b568f5ebe2dac26e89508695decdcae24 23:31:21 $ docker rm -f 36151e37ff64817ca221312055eaf86b568f5ebe2dac26e89508695decdcae24 [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 23:31:22 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:31:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:31:23 ---> package-listing.sh 23:31:23 ++ tr '[:upper:]' '[:lower:]' 23:31:23 ++ facter osfamily 23:31:23 + OS_FAMILY=redhat 23:31:23 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 23:31:23 + START_PACKAGES=/tmp/packages_start.txt 23:31:23 + END_PACKAGES=/tmp/packages_end.txt 23:31:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:31:23 + PACKAGES=/tmp/packages_start.txt 23:31:23 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:31:23 + PACKAGES=/tmp/packages_end.txt 23:31:23 + case "${OS_FAMILY}" in 23:31:23 + rpm -qa 23:31:23 + sort 23:31:24 + '[' -f /tmp/packages_start.txt ']' 23:31:24 + '[' -f /tmp/packages_end.txt ']' 23:31:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:31:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:31:24 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 23:31:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 23:31:24 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 23:31:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:31:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:25 23:31:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:31:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:25 latest: Pulling from edgex-lftools-log-publisher 23:31:25 b4d181a07f80: Pulling fs layer 23:31:25 a1111a8f2ec3: Pulling fs layer 23:31:25 ed53099fbce6: Pulling fs layer 23:31:25 dc539afda2c1: Pulling fs layer 23:31:25 77bc0d833cb6: Pulling fs layer 23:31:25 9065ff56babe: Pulling fs layer 23:31:25 d287ab97295c: Pulling fs layer 23:31:25 dc539afda2c1: Waiting 23:31:25 77bc0d833cb6: Waiting 23:31:25 9065ff56babe: Waiting 23:31:25 d287ab97295c: Waiting 23:31:25 a1111a8f2ec3: Verifying Checksum 23:31:25 a1111a8f2ec3: Download complete 23:31:25 dc539afda2c1: Verifying Checksum 23:31:25 dc539afda2c1: Download complete 23:31:26 77bc0d833cb6: Verifying Checksum 23:31:26 77bc0d833cb6: Download complete 23:31:26 ed53099fbce6: Verifying Checksum 23:31:26 ed53099fbce6: Download complete 23:31:26 9065ff56babe: Verifying Checksum 23:31:26 9065ff56babe: Download complete 23:31:26 b4d181a07f80: Verifying Checksum 23:31:26 b4d181a07f80: Download complete 23:31:28 b4d181a07f80: Pull complete 23:31:28 a1111a8f2ec3: Pull complete 23:31:28 ed53099fbce6: Pull complete 23:31:28 dc539afda2c1: Pull complete 23:31:29 77bc0d833cb6: Pull complete 23:31:29 9065ff56babe: Pull complete 23:31:30 d287ab97295c: Verifying Checksum 23:31:30 d287ab97295c: Download complete 23:31:34 d287ab97295c: Pull complete 23:31:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:31:34 prd-centos7-docker-4c-2g-440 does not seem to be running inside a container 23:31:35 $ 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 23:31:37 $ docker top 4212b23ee4608fee34d90259505b1d27f2658c91a7a0f8b526e2986fa47048d1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:37 + touch /tmp/pre-build-complete [Pipeline] sh 23:31:37 + mkdir -p /var/log/sysstat [Pipeline] sh 23:31:38 + ls /var/log/sa-host 23:31:38 + sadf -c /var/log/sa-host/sa05 23:31:38 file_magic: OK 23:31:38 HZ: Using current value: 100 23:31:38 file_header: OK 23:31:38 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 23:31:38 Statistics: 23:31:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:31:38 File successfully converted to sysstat format version 12.0.3 23:31:38 + sadf -c /var/log/sa-host/sa16 23:31:38 file_magic: OK 23:31:38 HZ: Using current value: 100 23:31:38 file_header: OK 23:31:38 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 23:31:38 Statistics: 23:31:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:31:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:38 provisioning config files... 23:31:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3447602240957308398tmp [Pipeline] { [Pipeline] echo 23:31:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:31:39 ---> create-netrc.sh [Pipeline] } 23:31:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:31:39 ---> python-tools-install.sh [Pipeline] echo 23:31:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:31:39 ---> sudo-logs.sh 23:31:39 Archiving 'sudo' log.. 23:31:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-440.vexxhost.local: Name or service not known 23:31:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-440.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:31:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:31:40 ---> job-cost.sh 23:31:40 lf-activate-venv: SKIPPING 23:31:40 DEBUG: total: 0.10999999940395355 23:31:40 INFO: Retrieving Stack Cost... 23:31:41 INFO: Retrieving Pricing Info for: v3-standard-2 23:31:41 INFO: Archiving Costs [Pipeline] echo 23:31:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:31:41 ---> logs-deploy.sh 23:31:41 lf-activate-venv: SKIPPING 23:31:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/9 23:31:41 INFO: archiving workspace using pattern(s): 23:31:42 Archives upload complete. 23:31:42 INFO: archiving logs to Nexus 23:31:43 ---> uname -a: 23:31:43 Linux prd-centos7-docker-4c-2g-440.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 23:31:43 23:31:43 23:31:43 ---> lscpu: 23:31:43 Architecture: x86_64 23:31:43 CPU op-mode(s): 32-bit, 64-bit 23:31:43 Byte Order: Little Endian 23:31:43 Address sizes: 40 bits physical, 48 bits virtual 23:31:43 CPU(s): 2 23:31:43 On-line CPU(s) list: 0,1 23:31:43 Thread(s) per core: 1 23:31:43 Core(s) per socket: 1 23:31:43 Socket(s): 2 23:31:43 NUMA node(s): 1 23:31:43 Vendor ID: AuthenticAMD 23:31:43 CPU family: 23 23:31:43 Model: 49 23:31:43 Model name: AMD EPYC-Rome Processor 23:31:43 Stepping: 0 23:31:43 CPU MHz: 2799.996 23:31:43 BogoMIPS: 5599.99 23:31:43 Virtualization: AMD-V 23:31:43 Hypervisor vendor: KVM 23:31:43 Virtualization type: full 23:31:43 L1d cache: 32K 23:31:43 L1i cache: 32K 23:31:43 L2 cache: 512K 23:31:43 L3 cache: 16384K 23:31:43 NUMA node0 CPU(s): 0,1 23:31:43 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 23:31:43 23:31:43 23:31:43 ---> nproc: 23:31:43 2 23:31:43 23:31:43 23:31:43 ---> df -h: 23:31:43 Filesystem Size Used Avail Use% Mounted on 23:31:43 overlay 40G 9.0G 32G 23% / 23:31:43 tmpfs 64M 0 64M 0% /dev 23:31:43 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:31:43 shm 64M 0 64M 0% /dev/shm 23:31:43 /dev/vda1 40G 9.0G 32G 23% /facter-os 23:31:43 23:31:43 23:31:43 ---> sar -b -r -n DEV: 23:31:43 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 23:31:43 23:31:43 23:20:18 LINUX RESTART (2 CPU) 23:31:43 23:31:43 23:21:01 tps rtps wtps bread/s bwrtn/s 23:31:43 23:22:01 17.54 0.67 16.87 352.37 2822.20 23:31:43 23:23:01 0.35 0.00 0.35 0.00 5.16 23:31:43 23:24:01 0.33 0.00 0.33 0.00 3.81 23:31:43 23:25:01 0.18 0.00 0.18 0.00 3.01 23:31:43 23:26:01 0.30 0.00 0.30 0.00 3.98 23:31:43 23:27:01 0.32 0.00 0.32 0.00 4.23 23:31:43 23:28:01 0.17 0.00 0.17 0.00 2.47 23:31:43 23:29:01 0.28 0.00 0.28 0.00 3.25 23:31:43 23:30:01 0.22 0.00 0.22 0.00 3.13 23:31:43 23:31:01 116.63 0.03 116.60 3.73 32249.88 23:31:43 Average: 13.64 0.07 13.57 35.62 3511.29 23:31:43 23:31:43 23:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:31:43 23:22:01 5467056 0 806180 10.07 2620 1733076 1269896 14.02 574716 1568140 20 23:31:43 23:23:01 5473352 0 799876 9.99 2620 1733084 1205120 13.31 570304 1567880 8 23:31:43 23:24:01 5472628 0 800600 10.00 2620 1733084 1205324 13.31 570672 1568760 8 23:31:43 23:25:01 5470424 0 802796 10.02 2620 1733092 1205396 13.31 572764 1568760 8 23:31:43 23:26:01 5468280 0 804936 10.05 2620 1733096 1205348 13.31 571628 1572280 16 23:31:43 23:27:01 5466612 0 806600 10.07 2620 1733100 1205360 13.31 572788 1572284 20 23:31:43 23:28:01 5466596 0 806608 10.07 2620 1733108 1205264 13.31 572444 1572280 12 23:31:43 23:29:01 5456528 0 816672 10.20 2620 1733112 1205120 13.31 583180 1572280 12 23:31:43 23:30:01 5455120 0 818076 10.21 2620 1733116 1205288 13.31 586028 1570680 8 23:31:43 23:31:01 3891400 0 1116480 13.94 2620 2998432 1617452 17.86 933076 2622436 546376 23:31:43 Average: 5308800 0 837882 10.46 2620 1859630 1252957 13.83 610760 1675578 54649 23:31:43 23:31:43 23:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:31:43 23:22:01 eth0 91.21 58.73 341.05 13.81 0.00 0.00 0.00 0.00 23:31:43 23:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:22:01 docker0 3.13 2.41 0.54 6.19 0.00 0.00 0.00 0.00 23:31:43 23:23:01 eth0 0.48 0.00 0.05 0.00 0.00 0.00 0.00 0.00 23:31:43 23:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:24:01 eth0 1.58 0.32 0.36 0.20 0.00 0.00 0.00 0.00 23:31:43 23:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:25:01 eth0 0.72 0.33 0.29 0.23 0.00 0.00 0.00 0.00 23:31:43 23:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:26:01 eth0 0.85 0.62 0.43 0.28 0.00 0.00 0.00 0.00 23:31:43 23:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:27:01 eth0 1.08 0.37 0.33 0.20 0.00 0.00 0.00 0.00 23:31:43 23:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:28:01 eth0 1.47 0.32 0.37 0.17 0.00 0.00 0.00 0.00 23:31:43 23:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:29:01 eth0 0.60 0.10 0.06 0.04 0.00 0.00 0.00 0.00 23:31:43 23:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:30:01 eth0 0.58 0.38 0.27 0.21 0.00 0.00 0.00 0.00 23:31:43 23:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:31:01 eth0 1199.90 824.18 7695.41 72.30 0.00 0.00 0.00 0.00 23:31:43 23:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 23:31:01 docker0 72.51 95.24 5.70 386.21 0.00 0.00 0.00 0.00 23:31:43 Average: eth0 129.89 88.56 804.14 8.75 0.00 0.00 0.00 0.00 23:31:43 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:31:43 Average: docker0 7.57 9.77 0.62 39.25 0.00 0.00 0.00 0.00 23:31:43 23:31:43 23:31:43 ---> sar -P ALL: 23:31:43 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 23:31:43 23:31:43 23:20:18 LINUX RESTART (2 CPU) 23:31:43 23:31:43 23:21:01 CPU %user %nice %system %iowait %steal %idle 23:31:43 23:22:01 all 3.05 0.00 1.79 0.25 0.05 94.86 23:31:43 23:22:01 0 3.12 0.00 1.81 0.30 0.05 94.72 23:31:43 23:22:01 1 2.98 0.00 1.77 0.20 0.05 95.00 23:31:43 23:23:01 all 0.17 0.00 0.04 0.00 0.03 99.76 23:31:43 23:23:01 0 0.30 0.00 0.05 0.00 0.02 99.63 23:31:43 23:23:01 1 0.03 0.00 0.03 0.00 0.05 99.88 23:31:43 23:24:01 all 0.27 0.00 0.30 0.00 0.02 99.40 23:31:43 23:24:01 0 0.43 0.00 0.40 0.00 0.02 99.15 23:31:43 23:24:01 1 0.12 0.00 0.20 0.00 0.03 99.65 23:31:43 23:25:01 all 0.10 0.00 0.05 0.00 0.03 99.82 23:31:43 23:25:01 0 0.15 0.00 0.05 0.00 0.00 99.80 23:31:43 23:25:01 1 0.05 0.00 0.05 0.00 0.05 99.85 23:31:43 23:26:01 all 0.23 0.00 0.09 0.00 0.03 99.64 23:31:43 23:26:01 0 0.35 0.00 0.07 0.00 0.02 99.57 23:31:43 23:26:01 1 0.12 0.00 0.12 0.00 0.05 99.72 23:31:43 23:27:01 all 0.13 0.00 0.03 0.00 0.03 99.82 23:31:43 23:27:01 0 0.15 0.00 0.02 0.00 0.02 99.82 23:31:43 23:27:01 1 0.10 0.00 0.03 0.00 0.05 99.82 23:31:43 23:28:01 all 0.13 0.00 0.05 0.00 0.03 99.80 23:31:43 23:28:01 0 0.15 0.00 0.05 0.00 0.00 99.80 23:31:43 23:28:01 1 0.10 0.00 0.05 0.00 0.05 99.80 23:31:43 23:29:01 all 0.12 0.00 0.05 0.00 0.03 99.81 23:31:43 23:29:01 0 0.18 0.00 0.05 0.00 0.02 99.75 23:31:43 23:29:01 1 0.05 0.00 0.05 0.00 0.03 99.87 23:31:43 23:30:01 all 0.13 0.00 0.04 0.00 0.03 99.81 23:31:43 23:30:01 0 0.17 0.00 0.05 0.00 0.00 99.78 23:31:43 23:30:01 1 0.08 0.00 0.03 0.00 0.05 99.83 23:31:43 23:31:01 all 18.97 0.00 8.41 1.08 0.08 71.46 23:31:43 23:31:01 0 19.42 0.00 8.56 1.05 0.07 70.91 23:31:43 23:31:01 1 18.53 0.00 8.26 1.12 0.09 72.01 23:31:43 Average: all 2.24 0.00 1.05 0.13 0.04 96.55 23:31:43 Average: 0 2.34 0.00 1.07 0.13 0.02 96.44 23:31:43 Average: 1 2.14 0.00 1.02 0.13 0.05 96.66 23:31:43 23:31:43 23:31:43