Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a27036180558304fa11dd6cdc5ae194000bace2 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-ssh588744972660226930.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-ssh2760812050184147843.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-ssh3144391052671005750.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-ssh1864267241312986999.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-ssh3606544291398477128.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 ‘prd-centos7-docker-4c-2g-1050’ is offline Running on prd-centos7-docker-4c-2g-1053 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 Avoid second fetch Checking out Revision 9a27036180558304fa11dd6cdc5ae194000bace2 (main) > 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-ssh4599210513198324266.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a27036180558304fa11dd6cdc5ae194000bace2 # timeout=10 Commit message: "build: update alpine base to 3.14 (#304)" > git rev-list --no-walk 7270bcac2d1c3b23c87160ee39dd8b0e6f5b5e6a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:29:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:29:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:29:41 ========================================================= 23:29:41 EdgeX Global Pipelines Version Info 23:29:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:29:42 ------------------- 23:29:42 stable info: 23:29:42 ------------------- 23:29:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:29:42 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:29:42 Message: update stable to v1.0.205 23:29:43 ------------------- 23:29:43 experimental info: 23:29:43 ------------------- 23:29:43 Commited By: **** collab-it+edgex@linuxfoundation.org 23:29:43 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:29:43 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:29:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a27036180558304fa11dd6cdc5ae194000bace2 [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a27036 [Pipeline] echo 23:29:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:44 provisioning config files... 23:29:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2050218953985943396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:44 ---> docker-login.sh 23:29:44 nexus3.edgexfoundry.org:10001 23:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:45 Configure a credential helper to remove this warning. See 23:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:45 23:29:45 Login Succeeded 23:29:45 nexus3.edgexfoundry.org:10002 23:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:50 Configure a credential helper to remove this warning. See 23:29:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:50 23:29:50 Login Succeeded 23:29:50 nexus3.edgexfoundry.org:10003 23:29:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:50 Configure a credential helper to remove this warning. See 23:29:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:50 23:29:50 Login Succeeded 23:29:50 nexus3.edgexfoundry.org:10004 23:29:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:50 Configure a credential helper to remove this warning. See 23:29:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:50 23:29:50 Login Succeeded 23:29:50 docker.io 23:29:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:51 Configure a credential helper to remove this warning. See 23:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:51 23:29:51 Login Succeeded 23:29:51 ---> docker-login.sh ends [Pipeline] } 23:29:51 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:29:51 + git log --format=format:%s -1 9a27036180558304fa11dd6cdc5ae194000bace2 [Pipeline] echo 23:29:51 GIT_COMMIT: 9a27036180558304fa11dd6cdc5ae194000bace2, Commit Message: build: update alpine base to 3.14 (#304) [Pipeline] echo 23:29:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:29:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:29:52 23:29:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:29:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:29:52 latest: Pulling from edgex-devops/git-semver 23:29:52 31603596830f: Pulling fs layer 23:29:52 04fac38145f0: Pulling fs layer 23:29:52 701f6daf10bf: Pulling fs layer 23:29:52 24f72da36158: Pulling fs layer 23:29:52 24f72da36158: Waiting 23:29:52 04fac38145f0: Verifying Checksum 23:29:52 04fac38145f0: Download complete 23:29:52 31603596830f: Verifying Checksum 23:29:52 31603596830f: Download complete 23:29:53 31603596830f: Pull complete 23:29:53 24f72da36158: Verifying Checksum 23:29:53 24f72da36158: Download complete 23:29:53 701f6daf10bf: Verifying Checksum 23:29:53 701f6daf10bf: Download complete 23:29:53 04fac38145f0: Pull complete 23:29:53 701f6daf10bf: Pull complete 23:29:53 24f72da36158: Pull complete 23:29:53 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:29:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:29:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:29:53 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 23:29:53 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:29:54 $ docker top e32518e0d78efe14f492f86dbad77ee0930108694ccee26ccf3714de42b14c39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:29:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:29:54 [ssh-agent] Looking for ssh-agent implementation... 23:29:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:29:55 $ docker exec e32518e0d78efe14f492f86dbad77ee0930108694ccee26ccf3714de42b14c39 ssh-agent 23:29:55 SSH_AUTH_SOCK=/tmp/ssh-mcZarkx7MgHW/agent.13 23:29:55 SSH_AGENT_PID=19 23:29:55 Running ssh-add (command line suppressed) 23:29:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2400401769788015042.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2400401769788015042.key) 23:29:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:29:55 + git tag --points-at HEAD [Pipeline] } 23:29:55 $ docker exec --env ******** --env ******** e32518e0d78efe14f492f86dbad77ee0930108694ccee26ccf3714de42b14c39 ssh-agent -k 23:29:55 unset SSH_AUTH_SOCK; 23:29:55 unset SSH_AGENT_PID; 23:29:55 echo Agent pid 19 killed; 23:29:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:29:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:29:55 [ssh-agent] Looking for ssh-agent implementation... 23:29:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:29:55 $ docker exec e32518e0d78efe14f492f86dbad77ee0930108694ccee26ccf3714de42b14c39 ssh-agent 23:29:56 SSH_AUTH_SOCK=/tmp/ssh-Ltyw5iWO2U5h/agent.52 23:29:56 SSH_AGENT_PID=58 23:29:56 Running ssh-add (command line suppressed) 23:29:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4108942825746671654.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4108942825746671654.key) 23:29:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:29:56 + git semver init 23:29:56 # -> Open(): unable to determine branch for HEAD 23:29:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:29:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:29:56 # $SEMVER_REMOTE_NAME = origin 23:29:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:29:56 # $SEMVER_USER_NAME = edgex-jenkins 23:29:56 # $SEMVER_BRANCH = main 23:29:56 # $SEMVER_TEMP = /tmp/semver-219454034 23:29:56 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:29:57 # '/tmp/semver-219454034' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 23:29:57 # -> Force: false 23:29:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 23:29:57 $ docker exec --env ******** --env ******** e32518e0d78efe14f492f86dbad77ee0930108694ccee26ccf3714de42b14c39 ssh-agent -k 23:29:57 unset SSH_AUTH_SOCK; 23:29:57 unset SSH_AGENT_PID; 23:29:57 echo Agent pid 58 killed; 23:29:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:29:57 + git semver [Pipeline] } 23:29:57 $ docker stop --time=1 e32518e0d78efe14f492f86dbad77ee0930108694ccee26ccf3714de42b14c39 23:29:58 $ docker rm -f e32518e0d78efe14f492f86dbad77ee0930108694ccee26ccf3714de42b14c39 [Pipeline] // withDockerContainer [Pipeline] sh 23:29:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:29:59 Stashed 1 file(s) [Pipeline] echo 23:29:59 [edgeXSemver]: initialized semver on version 2.0.1-dev.8 [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:30:15 Still waiting to schedule task 23:30:15 ‘prd-centos7-blackbox-4c-2g-563’ doesn’t have label ‘centos7-docker-4c-2g’ 23:30:15 ‘prd-centos7-docker-4c-2g-1051’ is offline 23:30:15 ‘prd-centos7-docker-4c-2g-1054’ is offline 23:30:15 ‘prd-centos7-docker-4c-2g-1055’ is offline 23:30:15 Still waiting to schedule task 23:30:15 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:31:43 Running on prd-centos7-docker-4c-2g-1060 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 23:31:43 Running in /w/workspace/device-mqtt-go/10 [Pipeline] { [Pipeline] checkout 23:31:43 Selected Git installation does not exist. Using Default 23:31:43 The recommended git tool is: NONE 23:31:46 using credential edgex-jenkins-ssh 23:31:46 Cloning the remote Git repository 23:31:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:31:47 Avoid second fetch 23:31:47 Checking out Revision 9a27036180558304fa11dd6cdc5ae194000bace2 (main) 23:31:46 > git init /w/workspace/device-mqtt-go/10 # timeout=10 23:31:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:31:46 > git --version # timeout=10 23:31:46 > git --version # 'git version 2.24.4' 23:31:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:47 [INFO] Currently running in a labeled security context 23:31:47 [INFO] Currently SELinux is 'enforcing' on the host 23:31:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/10@tmp/jenkins-gitclient-ssh2410970059774165611.key 23:31:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:31:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:47 > git config core.sparsecheckout # timeout=10 23:31:47 > git checkout -f 9a27036180558304fa11dd6cdc5ae194000bace2 # timeout=10 23:31:51 Commit message: "build: update alpine base to 3.14 (#304)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:52 provisioning config files... 23:31:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config1815318739262232567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:52 ---> docker-login.sh 23:31:52 nexus3.edgexfoundry.org:10001 23:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:52 Configure a credential helper to remove this warning. See 23:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:52 23:31:52 Login Succeeded 23:31:52 nexus3.edgexfoundry.org:10002 23:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:52 Configure a credential helper to remove this warning. See 23:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:52 23:31:52 Login Succeeded 23:31:52 nexus3.edgexfoundry.org:10003 23:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:52 Configure a credential helper to remove this warning. See 23:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:52 23:31:52 Login Succeeded 23:31:52 nexus3.edgexfoundry.org:10004 23:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:53 Configure a credential helper to remove this warning. See 23:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:53 23:31:53 Login Succeeded 23:31:53 docker.io 23:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:53 Configure a credential helper to remove this warning. See 23:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:53 23:31:53 Login Succeeded 23:31:53 ---> docker-login.sh ends [Pipeline] } 23:31:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:31:53 ========================================================= 23:31:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:31:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:31:54 + 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:31:54 Sending build context to Docker daemon 639kB 23:31:54 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:31:54 Step 2/12 : FROM ${BASE} AS builder 23:31:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:31:54 540db60ca938: Pulling fs layer 23:31:54 adcc1eea9eea: Pulling fs layer 23:31:54 4c4ab2625f07: Pulling fs layer 23:31:54 db62176df00c: Pulling fs layer 23:31:54 3b30891b0d05: Pulling fs layer 23:31:54 06b49ca38bd5: Pulling fs layer 23:31:54 c788192a36de: Pulling fs layer 23:31:54 a77e37c0d609: Pulling fs layer 23:31:54 c3185cebc471: Pulling fs layer 23:31:54 db62176df00c: Waiting 23:31:54 3b30891b0d05: Waiting 23:31:54 06b49ca38bd5: Waiting 23:31:54 c788192a36de: Waiting 23:31:54 a77e37c0d609: Waiting 23:31:54 c3185cebc471: Waiting 23:31:54 4c4ab2625f07: Verifying Checksum 23:31:54 4c4ab2625f07: Download complete 23:31:54 adcc1eea9eea: Verifying Checksum 23:31:54 adcc1eea9eea: Download complete 23:31:54 3b30891b0d05: Verifying Checksum 23:31:54 3b30891b0d05: Download complete 23:31:54 06b49ca38bd5: Verifying Checksum 23:31:54 06b49ca38bd5: Download complete 23:31:54 c788192a36de: Verifying Checksum 23:31:54 c788192a36de: Download complete 23:31:54 540db60ca938: Verifying Checksum 23:31:54 540db60ca938: Download complete 23:31:54 540db60ca938: Pull complete 23:31:55 adcc1eea9eea: Pull complete 23:31:55 4c4ab2625f07: Pull complete 23:31:55 a77e37c0d609: Verifying Checksum 23:31:55 a77e37c0d609: Download complete 23:31:59 c3185cebc471: Verifying Checksum 23:31:59 c3185cebc471: Download complete 23:32:00 db62176df00c: Verifying Checksum 23:32:00 db62176df00c: Download complete 23:32:03 db62176df00c: Pull complete 23:32:03 3b30891b0d05: Pull complete 23:32:03 06b49ca38bd5: Pull complete 23:32:03 c788192a36de: Pull complete 23:32:03 a77e37c0d609: Pull complete 23:32:06 c3185cebc471: Pull complete 23:32:06 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:32:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:32:06 ---> 031687cdd783 23:32:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:32:07 ---> Running in 8d1f12f45779 23:32:07 Removing intermediate container 8d1f12f45779 23:32:07 ---> 9f75fa17dea5 23:32:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:32:07 ---> Running in 73df30b5c6e0 23:32:07 Removing intermediate container 73df30b5c6e0 23:32:07 ---> 3720e5761b07 23:32:07 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:32:07 ---> Running in cc36b6b3330b 23:32:08 Removing intermediate container cc36b6b3330b 23:32:08 ---> 3d156c7a9e11 23:32:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:32:08 ---> Running in 8edfb6093e2e 23:32:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:32:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:32:09 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:32:10 (2/3) Installing libedit (20191231.3.1-r1) 23:32:10 (3/3) Installing openssh-client (8.4_p1-r3) 23:32:11 Executing busybox-1.32.1-r6.trigger 23:32:11 OK: 223 MiB in 55 packages 23:32:11 Removing intermediate container 8edfb6093e2e 23:32:11 ---> 467c496ad4dc 23:32:11 Step 7/12 : WORKDIR /device-mqtt-go 23:32:11 ---> Running in 20c87799500e 23:32:11 Removing intermediate container 20c87799500e 23:32:11 ---> 4903606dd9d5 23:32:11 Step 8/12 : COPY . . 23:32:11 ---> 139a62e79fc4 23:32:11 Step 9/12 : RUN go mod tidy 23:32:11 ---> Running in 95550b02d03f 23:32:17 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:32:17 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:32:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:32:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:32:17 go: downloading github.com/google/uuid v1.3.0 23:32:17 go: downloading github.com/spf13/cast v1.4.1 23:32:17 go: downloading github.com/stretchr/testify v1.7.0 23:32:17 go: downloading github.com/gorilla/mux v1.8.0 23:32:17 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:32:17 go: downloading github.com/gorilla/websocket v1.4.2 23:32:17 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:32:18 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:32:18 go: downloading github.com/go-kit/kit v0.9.0 23:32:18 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:32:18 go: downloading github.com/davecgh/go-spew v1.1.1 23:32:18 go: downloading github.com/pmezard/go-difflib v1.0.0 23:32:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:32:19 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:32:19 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:32:19 go: downloading github.com/pelletier/go-toml v1.9.2 23:32:19 go: downloading gopkg.in/yaml.v2 v2.4.0 23:32:19 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:32:19 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:32:19 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:32:19 go: downloading github.com/go-stack/stack v1.8.0 23:32:19 go: downloading github.com/go-playground/universal-translator v0.17.0 23:32:19 go: downloading github.com/leodido/go-urn v1.2.0 23:32:19 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:32:19 go: downloading golang.org/x/text v0.3.2 23:32:20 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:32:20 go: downloading github.com/go-playground/locales v0.13.0 23:32:21 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:32:21 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:32:21 go: downloading github.com/hashicorp/consul/api v1.8.1 23:32:21 go: downloading github.com/stretchr/objx v0.1.0 23:32:21 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:32:21 go: downloading github.com/x448/float16 v0.8.4 23:32:21 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:32:21 go: downloading github.com/kr/pretty v0.2.0 23:32:21 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:32:22 go: downloading github.com/pebbe/zmq4 v1.2.7 23:32:22 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:32:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:32:22 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:32:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:32:22 go: downloading github.com/hashicorp/serf v0.9.5 23:32:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:32:22 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:32:22 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:32:22 go: downloading github.com/kr/text v0.1.0 23:32:22 go: downloading github.com/onsi/ginkgo v1.10.1 23:32:22 go: downloading github.com/onsi/gomega v1.7.0 23:32:23 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:32:23 go: downloading github.com/mitchellh/copystructure v1.0.0 23:32:23 go: downloading github.com/fatih/color v1.9.0 23:32:23 go: downloading github.com/mattn/go-colorable v0.1.6 23:32:23 go: downloading github.com/mattn/go-isatty v0.0.12 23:32:23 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:32:23 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:32:23 go: downloading github.com/pkg/errors v0.8.1 23:32:23 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:32:23 go: downloading github.com/hashicorp/memberlist v0.2.2 23:32:23 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:32:23 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:32:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:32:23 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:32:23 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:32:23 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:32:23 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:32:23 go: downloading github.com/miekg/dns v1.1.26 23:32:24 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:32:24 go: downloading github.com/hpcloud/tail v1.0.0 23:32:24 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:32:24 go: downloading github.com/hashicorp/errwrap v1.0.0 23:32:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:32:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:32:28 Removing intermediate container 95550b02d03f 23:32:28 ---> 8b57e78854ad 23:32:28 Step 10/12 : RUN go mod download 23:32:28 ---> Running in 28cc6fadd5b4 23:32:41 Removing intermediate container 28cc6fadd5b4 23:32:41 ---> 1067748971fe 23:32:41 Step 11/12 : ARG MAKE='make build' 23:32:41 ---> Running in a7eec92fc72c 23:32:41 Removing intermediate container a7eec92fc72c 23:32:41 ---> 2857d2410c81 23:32:41 Step 12/12 : RUN $MAKE 23:32:41 ---> Running in 1f2f84bb530e 23:32:41 noop 23:32:41 Removing intermediate container 1f2f84bb530e 23:32:41 ---> f32a846c82e5 23:32:41 Successfully built f32a846c82e5 23:32:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:32:41 + docker inspect -f . ci-base-image-x86_64 23:32:41 . [Pipeline] withDockerContainer 23:32:41 prd-centos7-docker-4c-2g-1060 does not seem to be running inside a container 23:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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:32:42 $ docker top fdb4e00bd569bde586d47613d4118e75da2f868e98738428c3ef877f0ac7f2c3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:42 + go version 23:32:42 go version go1.16.6 linux/amd64 [Pipeline] } 23:32:42 $ docker stop --time=1 fdb4e00bd569bde586d47613d4118e75da2f868e98738428c3ef877f0ac7f2c3 23:32:43 $ docker rm -f fdb4e00bd569bde586d47613d4118e75da2f868e98738428c3ef877f0ac7f2c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:32:44 + docker inspect -f . ci-base-image-x86_64 23:32:44 . [Pipeline] withDockerContainer 23:32:44 prd-centos7-docker-4c-2g-1060 does not seem to be running inside a container 23:32:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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:32:45 $ docker top c857a752b74b7e0ac43db124e866e0839750b4696de46bb064854c498dfa35bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:32:45 + go mod tidy [Pipeline] sh 23:32:46 + make test 23:32:46 go mod tidy 23:32:46 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:32:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:33:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:33:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.4% of statements 23:33:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:33:05 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:33:13 gofmt -l . 23:33:13 ["`gofmt -l .`" = ""] 23:33:13 ./bin/test-attribution-txt.sh [Pipeline] } 23:33:13 $ docker stop --time=1 c857a752b74b7e0ac43db124e866e0839750b4696de46bb064854c498dfa35bb 23:33:14 $ docker rm -f c857a752b74b7e0ac43db124e866e0839750b4696de46bb064854c498dfa35bb [Pipeline] // withDockerContainer [Pipeline] sh 23:33:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:33:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:33:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:33:17 + ls -al . 23:33:17 total 120 23:33:17 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 23 23:33 . 23:33:17 drwxrwxr-x. 4 jenkins jenkins 30 Sep 23 23:31 .. 23:33:17 -rw-rw-r--. 1 jenkins jenkins 6985 Sep 23 23:31 Attribution.txt 23:33:17 drwxrwxr-x. 2 jenkins jenkins 60 Sep 23 23:31 bin 23:33:17 -rw-rw-r--. 1 jenkins jenkins 7447 Sep 23 23:31 CHANGELOG.md 23:33:17 drwxrwxr-x. 3 jenkins jenkins 32 Sep 23 23:31 cmd 23:33:17 -rw-r--r--. 1 jenkins jenkins 17284 Sep 23 23:33 coverage.out 23:33:17 -rw-rw-r--. 1 jenkins jenkins 1877 Sep 23 23:31 Dockerfile 23:33:17 -rw-rw-r--. 1 jenkins jenkins 140 Sep 23 23:31 .dockerignore 23:33:17 drwxrwxr-x. 8 jenkins jenkins 162 Sep 23 23:31 .git 23:33:17 drwxrwxr-x. 2 jenkins jenkins 103 Sep 23 23:31 .github 23:33:17 -rw-rw-r--. 1 jenkins jenkins 336 Sep 23 23:31 .gitignore 23:33:17 -rw-rw-r--. 1 jenkins jenkins 367 Sep 23 23:31 go.mod 23:33:17 -rw-r--r--. 1 jenkins jenkins 20655 Sep 23 23:32 go.sum 23:33:17 -rw-rw-r--. 1 jenkins jenkins 677 Sep 23 23:31 GOVERNANCE.md 23:33:17 drwxrwxr-x. 3 jenkins jenkins 20 Sep 23 23:31 internal 23:33:17 -rw-rw-r--. 1 jenkins jenkins 677 Sep 23 23:31 Jenkinsfile 23:33:17 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 23 23:31 LICENSE 23:33:17 -rw-rw-r--. 1 jenkins jenkins 907 Sep 23 23:31 Makefile 23:33:17 drwxrwxr-x. 2 jenkins jenkins 23 Sep 23 23:31 mock 23:33:17 -rw-rw-r--. 1 jenkins jenkins 620 Sep 23 23:31 OWNERS.md 23:33:17 -rw-rw-r--. 1 jenkins jenkins 2211 Sep 23 23:31 README.md 23:33:17 drwxrwxr-x. 4 jenkins jenkins 71 Sep 23 23:31 snap 23:33:17 -rw-rw-r--. 1 jenkins jenkins 11 Sep 23 23:29 VERSION 23:33:17 -rw-rw-r--. 1 jenkins jenkins 227 Sep 23 23:31 version.go [Pipeline] isUnix [Pipeline] sh 23:33:17 + 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=9a27036180558304fa11dd6cdc5ae194000bace2 --label arch=amd64 --label version=2.0.1-dev.8 . 23:33:17 Sending build context to Docker daemon 656.9kB 23:33:17 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:33:17 Step 2/24 : FROM ${BASE} AS builder 23:33:17 ---> f32a846c82e5 23:33:17 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:33:17 ---> Running in 9e53137802b2 23:33:18 Removing intermediate container 9e53137802b2 23:33:18 ---> f8c02365dab8 23:33:18 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 23:33:18 ---> Running in 8fde01ed75c8 23:33:18 Removing intermediate container 8fde01ed75c8 23:33:18 ---> 26581bde01c1 23:33:18 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:33:18 ---> Running in 2f5699a7cd51 23:33:18 Removing intermediate container 2f5699a7cd51 23:33:18 ---> d9bbad05a329 23:33:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:18 ---> Running in 01e5ad9be3fa 23:33:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:33:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:33:20 OK: 223 MiB in 55 packages 23:33:21 Removing intermediate container 01e5ad9be3fa 23:33:21 ---> 7d09e10934c7 23:33:21 Step 7/24 : WORKDIR /device-mqtt-go 23:33:21 ---> Running in 6757d3ad95f6 23:33:21 Removing intermediate container 6757d3ad95f6 23:33:21 ---> bdc711f3e5d0 23:33:21 Step 8/24 : COPY . . 23:33:21 ---> 03df0c442e19 23:33:21 Step 9/24 : RUN go mod tidy 23:33:21 ---> Running in 842af7d68dc1 23:33:22 Removing intermediate container 842af7d68dc1 23:33:22 ---> 80e382b5a4aa 23:33:22 Step 10/24 : RUN go mod download 23:33:22 ---> Running in e90293bd5158 23:33:22 Removing intermediate container e90293bd5158 23:33:22 ---> 3f30dd08f3ef 23:33:22 Step 11/24 : ARG MAKE='make build' 23:33:22 ---> Running in 5dbb9692d30c 23:33:22 Removing intermediate container 5dbb9692d30c 23:33:22 ---> 659b1ac19e47 23:33:22 Step 12/24 : RUN $MAKE 23:33:22 ---> Running in 6f51a045f09e 23:33:23 go mod tidy 23:33:23 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.8" -o cmd/device-mqtt ./cmd 23:33:35 Removing intermediate container 6f51a045f09e 23:33:35 ---> 3479220864d0 23:33:35 Step 13/24 : FROM alpine:3.14 23:33:35 3.14: Pulling from library/alpine 23:33:36 a0d0a0d46f8b: Pulling fs layer 23:33:36 a0d0a0d46f8b: Verifying Checksum 23:33:36 a0d0a0d46f8b: Download complete 23:33:36 a0d0a0d46f8b: Pull complete 23:33:36 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:33:36 Status: Downloaded newer image for alpine:3.14 23:33:36 ---> 14119a10abf4 23:33:36 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:33:36 ---> Running in cb8576e76a41 23:33:36 Removing intermediate container cb8576e76a41 23:33:36 ---> f15dfc2f79b3 23:33:36 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:33:36 ---> Running in ebe2e51fcc8e 23:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:33:37 (1/6) Installing dumb-init (1.2.5-r1) 23:33:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:33:37 (3/6) Installing libsodium (1.0.18-r0) 23:33:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:33:37 (5/6) Installing libzmq (4.3.4-r0) 23:33:37 (6/6) Installing zeromq (4.3.4-r0) 23:33:37 Executing busybox-1.33.1-r3.trigger 23:33:37 OK: 8 MiB in 20 packages 23:33:37 Removing intermediate container ebe2e51fcc8e 23:33:37 ---> 400b13a641a7 23:33:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:33:38 ---> 6c5004027f88 23:33:38 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:33:38 ---> 123d8509e982 23:33:38 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:33:38 ---> 0c617183cb40 23:33:38 Step 19/24 : EXPOSE 59982 23:33:38 ---> Running in 207d660a52bb 23:33:38 Removing intermediate container 207d660a52bb 23:33:38 ---> 5d24d905cd8e 23:33:38 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:33:38 ---> Running in 74665d8cb7d0 23:33:38 Removing intermediate container 74665d8cb7d0 23:33:38 ---> 87a4b77865b0 23:33:38 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:33:38 ---> Running in 544eef16d43d 23:33:38 Removing intermediate container 544eef16d43d 23:33:38 ---> 767e2a5be114 23:33:38 Step 22/24 : LABEL arch=amd64 23:33:38 ---> Running in 98e3182fb57a 23:33:38 Removing intermediate container 98e3182fb57a 23:33:38 ---> e1081d2f378c 23:33:38 Step 23/24 : LABEL git_sha=9a27036180558304fa11dd6cdc5ae194000bace2 23:33:38 ---> Running in 1810c412b322 23:33:38 Removing intermediate container 1810c412b322 23:33:38 ---> 596cf87eeee2 23:33:38 Step 24/24 : LABEL version=2.0.1-dev.8 23:33:38 ---> Running in 02ec33ed737c 23:33:39 Removing intermediate container 02ec33ed737c 23:33:39 ---> 0610db53c41e 23:33:39 [Warning] One or more build-args [ARCH] were not consumed 23:33:39 Successfully built 0610db53c41e 23:33:39 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:33:39 provisioning config files... 23:33:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config4396062368358635527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:39 ---> docker-login.sh 23:33:39 nexus3.edgexfoundry.org:10001 23:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:39 Configure a credential helper to remove this warning. See 23:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:39 23:33:39 Login Succeeded 23:33:39 nexus3.edgexfoundry.org:10002 23:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:39 Configure a credential helper to remove this warning. See 23:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:39 23:33:39 Login Succeeded 23:33:39 nexus3.edgexfoundry.org:10003 23:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:40 Configure a credential helper to remove this warning. See 23:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:40 23:33:40 Login Succeeded 23:33:40 nexus3.edgexfoundry.org:10004 23:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:40 Configure a credential helper to remove this warning. See 23:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:40 23:33:40 Login Succeeded 23:33:40 docker.io 23:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:40 Configure a credential helper to remove this warning. See 23:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:40 23:33:40 Login Succeeded 23:33:40 ---> docker-login.sh ends [Pipeline] } 23:33:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:33:40 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 23:33:40 9a27036180558304fa11dd6cdc5ae194000bace2 23:33:40 latest 23:33:40 2.0.1-dev.8 23:33:40 9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 23:33:40 main 23:33:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:33:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9a27036180558304fa11dd6cdc5ae194000bace2 [Pipeline] isUnix [Pipeline] sh 23:33:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9a27036180558304fa11dd6cdc5ae194000bace2 23:33:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:33:41 485b8ca526d5: Preparing 23:33:41 2feb6beec248: Preparing 23:33:41 3a9f8f0f180e: Preparing 23:33:41 61400fa9a886: Preparing 23:33:41 e2eb06d8af82: Preparing 23:33:41 e2eb06d8af82: Layer already exists 23:33:41 2feb6beec248: Pushed 23:33:41 485b8ca526d5: Pushed 23:33:41 61400fa9a886: Pushed 23:33:43 3a9f8f0f180e: Pushed 23:33:43 9a27036180558304fa11dd6cdc5ae194000bace2: digest: sha256:0d547598e884c1d60d6700d643bc473d76e51e18f39ee198654a0a8152339d3a size: 1366 [Pipeline] isUnix [Pipeline] sh 23:33:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 23:33:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:33:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:33:43 485b8ca526d5: Preparing 23:33:43 2feb6beec248: Preparing 23:33:43 3a9f8f0f180e: Preparing 23:33:43 61400fa9a886: Preparing 23:33:43 e2eb06d8af82: Preparing 23:33:43 2feb6beec248: Layer already exists 23:33:43 485b8ca526d5: Layer already exists 23:33:43 e2eb06d8af82: Layer already exists 23:33:43 61400fa9a886: Layer already exists 23:33:43 3a9f8f0f180e: Layer already exists 23:33:43 latest: digest: sha256:0d547598e884c1d60d6700d643bc473d76e51e18f39ee198654a0a8152339d3a size: 1366 [Pipeline] isUnix [Pipeline] sh 23:33:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh 23:33:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.8 23:33:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:33:44 485b8ca526d5: Preparing 23:33:44 2feb6beec248: Preparing 23:33:44 3a9f8f0f180e: Preparing 23:33:44 61400fa9a886: Preparing 23:33:44 e2eb06d8af82: Preparing 23:33:44 3a9f8f0f180e: Layer already exists 23:33:44 2feb6beec248: Layer already exists 23:33:44 485b8ca526d5: Layer already exists 23:33:44 61400fa9a886: Layer already exists 23:33:44 e2eb06d8af82: Layer already exists 23:33:44 2.0.1-dev.8: digest: sha256:0d547598e884c1d60d6700d643bc473d76e51e18f39ee198654a0a8152339d3a size: 1366 [Pipeline] isUnix [Pipeline] sh 23:33:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh 23:33:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 23:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:33:45 485b8ca526d5: Preparing 23:33:45 2feb6beec248: Preparing 23:33:45 3a9f8f0f180e: Preparing 23:33:45 61400fa9a886: Preparing 23:33:45 e2eb06d8af82: Preparing 23:33:45 e2eb06d8af82: Layer already exists 23:33:45 61400fa9a886: Layer already exists 23:33:45 3a9f8f0f180e: Layer already exists 23:33:45 485b8ca526d5: Layer already exists 23:33:45 2feb6beec248: Layer already exists 23:33:45 9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8: digest: sha256:0d547598e884c1d60d6700d643bc473d76e51e18f39ee198654a0a8152339d3a size: 1366 [Pipeline] isUnix [Pipeline] sh 23:33:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 23:33:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 23:33:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:33:46 485b8ca526d5: Preparing 23:33:46 2feb6beec248: Preparing 23:33:46 3a9f8f0f180e: Preparing 23:33:46 61400fa9a886: Preparing 23:33:46 e2eb06d8af82: Preparing 23:33:46 485b8ca526d5: Layer already exists 23:33:46 61400fa9a886: Layer already exists 23:33:46 2feb6beec248: Layer already exists 23:33:46 3a9f8f0f180e: Layer already exists 23:33:46 e2eb06d8af82: Layer already exists 23:33:46 main: digest: sha256:0d547598e884c1d60d6700d643bc473d76e51e18f39ee198654a0a8152339d3a size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:33:46 ===================================================== [Pipeline] echo 23:33:46 taggedImages: 23:33:46 - nexus3.edgexfoundry.org:10004/device-mqtt:9a27036180558304fa11dd6cdc5ae194000bace2 23:33:46 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:33:46 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.8 23:33:46 - nexus3.edgexfoundry.org:10004/device-mqtt:9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 23:33:46 - 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:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:33:46 23:33:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:33:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:33:47 latest: Pulling from edgex-lftools-log-publisher 23:33:47 b4d181a07f80: Pulling fs layer 23:33:47 a1111a8f2ec3: Pulling fs layer 23:33:47 ed53099fbce6: Pulling fs layer 23:33:47 dc539afda2c1: Pulling fs layer 23:33:47 77bc0d833cb6: Pulling fs layer 23:33:47 9065ff56babe: Pulling fs layer 23:33:47 d287ab97295c: Pulling fs layer 23:33:47 77bc0d833cb6: Waiting 23:33:47 9065ff56babe: Waiting 23:33:47 d287ab97295c: Waiting 23:33:47 dc539afda2c1: Waiting 23:33:47 a1111a8f2ec3: Verifying Checksum 23:33:47 a1111a8f2ec3: Download complete 23:33:47 77bc0d833cb6: Verifying Checksum 23:33:47 77bc0d833cb6: Download complete 23:33:47 9065ff56babe: Verifying Checksum 23:33:47 9065ff56babe: Download complete 23:33:47 ed53099fbce6: Verifying Checksum 23:33:47 ed53099fbce6: Download complete 23:33:48 b4d181a07f80: Verifying Checksum 23:33:48 b4d181a07f80: Download complete 23:33:50 b4d181a07f80: Pull complete 23:33:50 a1111a8f2ec3: Pull complete 23:33:50 ed53099fbce6: Pull complete 23:33:50 dc539afda2c1: Pull complete 23:33:51 77bc0d833cb6: Pull complete 23:33:51 9065ff56babe: Pull complete 23:33:53 d287ab97295c: Verifying Checksum 23:33:53 d287ab97295c: Download complete 23:33:58 d287ab97295c: Pull complete 23:33:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:33:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:33:58 prd-centos7-docker-4c-2g-1060 does not seem to be running inside a container 23:33:58 $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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:33:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1063 in /w/workspace/edgexfoundry_device-mqtt-go_main 23:34:00 $ docker top 2985fc105138d0737f0376443ddff0f0671495846ac8e3578725787f89d02d51 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 23:34:00 Running in /w/workspace/device-mqtt-go/10 [Pipeline] { [Pipeline] checkout 23:34:01 ---> job-cost.sh 23:34:01 lf-activate-venv: SKIPPING 23:34:01 INFO: No Stack... 23:34:01 Selected Git installation does not exist. Using Default 23:34:01 The recommended git tool is: NONE 23:34:02 INFO: Retrieving Pricing Info for: v3-standard-2 23:34:02 INFO: Archiving Costs [Pipeline] sh 23:34:02 + cut -d, -f6 23:34:02 + cat /w/workspace/device-mqtt-go/10/archives/cost.csv [Pipeline] lock 23:34:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] 23:34:02 Resource [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] did not exist. Created. 23:34:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:03 + echo total: 0.05999999865889549 [Pipeline] stash 23:34:03 Stashed 1 file(s) [Pipeline] } 23:34:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:03 $ docker stop --time=1 2985fc105138d0737f0376443ddff0f0671495846ac8e3578725787f89d02d51 23:34:04 $ docker rm -f 2985fc105138d0737f0376443ddff0f0671495846ac8e3578725787f89d02d51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:34:09 using credential edgex-jenkins-ssh 23:34:09 Cloning the remote Git repository 23:34:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:34:09 > git init /w/workspace/device-mqtt-go/10 # timeout=10 23:34:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:34:09 > git --version # timeout=10 23:34:09 > git --version # 'git version 2.17.1' 23:34:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:34:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:34:11 Avoid second fetch 23:34:11 Checking out Revision 9a27036180558304fa11dd6cdc5ae194000bace2 (main) 23:34:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:34:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:34:11 > git config core.sparsecheckout # timeout=10 23:34:11 > git checkout -f 9a27036180558304fa11dd6cdc5ae194000bace2 # timeout=10 23:34:15 Commit message: "build: update alpine base to 3.14 (#304)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:16 provisioning config files... 23:34:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config7045739187320674207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:16 ---> docker-login.sh 23:34:16 nexus3.edgexfoundry.org:10001 23:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:18 Configure a credential helper to remove this warning. See 23:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:18 23:34:18 Login Succeeded 23:34:18 nexus3.edgexfoundry.org:10002 23:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:19 Configure a credential helper to remove this warning. See 23:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:19 23:34:19 Login Succeeded 23:34:19 nexus3.edgexfoundry.org:10003 23:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:19 Configure a credential helper to remove this warning. See 23:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:19 23:34:19 Login Succeeded 23:34:19 nexus3.edgexfoundry.org:10004 23:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:20 Configure a credential helper to remove this warning. See 23:34:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:20 23:34:20 Login Succeeded 23:34:20 docker.io 23:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:21 Configure a credential helper to remove this warning. See 23:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:21 23:34:21 Login Succeeded 23:34:21 ---> docker-login.sh ends [Pipeline] } 23:34:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:34:21 ========================================================= 23:34:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:34:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:34:22 + 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:34:22 Sending build context to Docker daemon 638kB 23:34:22 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:34:22 Step 2/12 : FROM ${BASE} AS builder 23:34:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:34:22 595b0fe564bb: Pulling fs layer 23:34:22 24495759ef45: Pulling fs layer 23:34:22 d148012ef14d: Pulling fs layer 23:34:22 e90a11edd702: Pulling fs layer 23:34:22 d77568369979: Pulling fs layer 23:34:22 fc1c9f9a7f3b: Pulling fs layer 23:34:22 170f2ba95c9a: Pulling fs layer 23:34:22 97ac5df62f85: Pulling fs layer 23:34:22 e90a11edd702: Waiting 23:34:22 fc1c9f9a7f3b: Waiting 23:34:22 d77568369979: Waiting 23:34:22 97ac5df62f85: Waiting 23:34:22 170f2ba95c9a: Waiting 23:34:22 d148012ef14d: Download complete 23:34:22 24495759ef45: Verifying Checksum 23:34:22 24495759ef45: Download complete 23:34:22 d77568369979: Verifying Checksum 23:34:22 d77568369979: Download complete 23:34:22 fc1c9f9a7f3b: Verifying Checksum 23:34:22 fc1c9f9a7f3b: Download complete 23:34:23 170f2ba95c9a: Download complete 23:34:23 595b0fe564bb: Verifying Checksum 23:34:23 595b0fe564bb: Download complete 23:34:23 595b0fe564bb: Pull complete 23:34:24 24495759ef45: Pull complete 23:34:25 d148012ef14d: Pull complete 23:34:27 97ac5df62f85: Verifying Checksum 23:34:27 97ac5df62f85: Download complete 23:34:29 e90a11edd702: Verifying Checksum 23:34:29 e90a11edd702: Download complete 23:34:39 e90a11edd702: Pull complete 23:34:40 d77568369979: Pull complete 23:34:40 fc1c9f9a7f3b: Pull complete 23:34:40 170f2ba95c9a: Pull complete 23:34:46 97ac5df62f85: Pull complete 23:34:46 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:34:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:34:46 ---> 04bc70af865f 23:34:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:34:52 ---> Running in 4162183dc0a6 23:34:52 Removing intermediate container 4162183dc0a6 23:34:52 ---> 4e20441d82fa 23:34:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:34:52 ---> Running in c392bea2e1bb 23:34:52 Removing intermediate container c392bea2e1bb 23:34:52 ---> 87860071476e 23:34:52 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:34:53 ---> Running in 53cbfdcdf0eb 23:34:56 Removing intermediate container 53cbfdcdf0eb 23:34:56 ---> c62f1a42351b 23:34:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:34:56 ---> Running in 43486022c1d6 23:34:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:34:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:35:00 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:35:00 (2/3) Installing libedit (20191231.3.1-r1) 23:35:01 (3/3) Installing openssh-client (8.4_p1-r3) 23:35:02 Executing busybox-1.32.1-r6.trigger 23:35:02 OK: 222 MiB in 55 packages 23:35:04 Removing intermediate container 43486022c1d6 23:35:04 ---> c7e09bb24952 23:35:04 Step 7/12 : WORKDIR /device-mqtt-go 23:35:04 ---> Running in 2bd46ecf65a6 23:35:05 Removing intermediate container 2bd46ecf65a6 23:35:05 ---> 3e49a8f1393a 23:35:05 Step 8/12 : COPY . . 23:35:06 ---> 2e10da047162 23:35:06 Step 9/12 : RUN go mod tidy 23:35:06 ---> Running in 79eec553a03f 23:35:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:35:13 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:35:13 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:35:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:35:13 go: downloading github.com/google/uuid v1.3.0 23:35:13 go: downloading github.com/spf13/cast v1.4.1 23:35:13 go: downloading github.com/stretchr/testify v1.7.0 23:35:14 go: downloading github.com/gorilla/websocket v1.4.2 23:35:14 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:35:14 go: downloading github.com/gorilla/mux v1.8.0 23:35:14 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:35:14 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:35:14 go: downloading github.com/go-kit/kit v0.9.0 23:35:14 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:35:14 go: downloading github.com/davecgh/go-spew v1.1.1 23:35:14 go: downloading github.com/pmezard/go-difflib v1.0.0 23:35:14 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:35:15 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:35:15 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:35:15 go: downloading github.com/pelletier/go-toml v1.9.2 23:35:15 go: downloading gopkg.in/yaml.v2 v2.4.0 23:35:15 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:35:15 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:35:15 go: downloading github.com/go-playground/universal-translator v0.17.0 23:35:15 go: downloading github.com/leodido/go-urn v1.2.0 23:35:15 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:35:15 go: downloading golang.org/x/text v0.3.2 23:35:15 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:35:15 go: downloading github.com/go-playground/locales v0.13.0 23:35:19 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:35:19 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:35:19 go: downloading github.com/go-stack/stack v1.8.0 23:35:19 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:35:19 go: downloading github.com/hashicorp/consul/api v1.8.1 23:35:19 go: downloading github.com/stretchr/objx v0.1.0 23:35:19 go: downloading github.com/x448/float16 v0.8.4 23:35:19 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:35:19 go: downloading github.com/kr/pretty v0.2.0 23:35:19 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:35:19 go: downloading github.com/pebbe/zmq4 v1.2.7 23:35:20 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:35:20 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:35:20 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:35:20 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:35:20 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:35:20 go: downloading github.com/hashicorp/serf v0.9.5 23:35:20 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:35:20 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:35:20 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:35:20 go: downloading github.com/kr/text v0.1.0 23:35:20 go: downloading github.com/onsi/ginkgo v1.10.1 23:35:20 go: downloading github.com/onsi/gomega v1.7.0 23:35:20 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:35:20 go: downloading github.com/mitchellh/copystructure v1.0.0 23:35:20 go: downloading github.com/fatih/color v1.9.0 23:35:20 go: downloading github.com/mattn/go-colorable v0.1.6 23:35:20 go: downloading github.com/mattn/go-isatty v0.0.12 23:35:20 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:35:20 go: downloading github.com/pkg/errors v0.8.1 23:35:20 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:35:21 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:35:21 go: downloading github.com/hashicorp/memberlist v0.2.2 23:35:21 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:35:21 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:35:21 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:35:21 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:35:21 go: downloading github.com/hpcloud/tail v1.0.0 23:35:21 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:35:21 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:35:21 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:35:21 go: downloading github.com/miekg/dns v1.1.26 23:35:21 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:35:21 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:35:22 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:35:22 go: downloading github.com/hashicorp/errwrap v1.0.0 23:35:22 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:35:37 Removing intermediate container 79eec553a03f 23:35:37 ---> 1c9bcd9e59e4 23:35:37 Step 10/12 : RUN go mod download 23:35:37 ---> Running in 8d208923aef1 23:35:55 Removing intermediate container 8d208923aef1 23:35:55 ---> a869a07be086 23:35:55 Step 11/12 : ARG MAKE='make build' 23:35:56 ---> Running in a7fe314e50cf 23:35:56 Removing intermediate container a7fe314e50cf 23:35:56 ---> 0fd3e75cbed9 23:35:56 Step 12/12 : RUN $MAKE 23:35:56 ---> Running in d9fd01dea944 23:35:58 noop 23:35:59 Removing intermediate container d9fd01dea944 23:35:59 ---> 1f4b4a38d2b8 23:35:59 Successfully built 1f4b4a38d2b8 23:35:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:36:00 + docker inspect -f . ci-base-image-arm64 23:36:00 . [Pipeline] withDockerContainer 23:36:00 prd-ubuntu18.04-docker-arm64-4c-16g-1063 does not seem to be running inside a container 23:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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:36:02 $ docker top 9e42419999096d4eabe2b361a2d19b588bfae348c062bdab498e4a3e66eaf2ff -eo pid,comm [Pipeline] { [Pipeline] sh 23:36:03 + go version 23:36:03 go version go1.16.6 linux/arm64 [Pipeline] } 23:36:03 $ docker stop --time=1 9e42419999096d4eabe2b361a2d19b588bfae348c062bdab498e4a3e66eaf2ff 23:36:05 $ docker rm -f 9e42419999096d4eabe2b361a2d19b588bfae348c062bdab498e4a3e66eaf2ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:36:06 + docker inspect -f . ci-base-image-arm64 23:36:06 . [Pipeline] withDockerContainer 23:36:07 prd-ubuntu18.04-docker-arm64-4c-16g-1063 does not seem to be running inside a container 23:36:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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:36:09 $ docker top b542f0495803c7a9d37523931994394dd0cb866c43cc84de60b6a82849246d2c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:36:10 + go mod tidy [Pipeline] sh 23:36:12 + make test 23:36:12 go mod tidy 23:36:12 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:36:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:37:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:37:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 22.4% of statements 23:37:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:37:24 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:37:46 gofmt -l . 23:37:46 ["`gofmt -l .`" = ""] 23:37:46 ./bin/test-attribution-txt.sh [Pipeline] } 23:37:47 $ docker stop --time=1 b542f0495803c7a9d37523931994394dd0cb866c43cc84de60b6a82849246d2c 23:37:49 $ docker rm -f b542f0495803c7a9d37523931994394dd0cb866c43cc84de60b6a82849246d2c [Pipeline] // withDockerContainer [Pipeline] sh 23:37:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:50 Warning: overwriting stash ‘coverage-report’ 23:37:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:52 + ls -al . 23:37:52 total 152 23:37:52 drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 23:37 . 23:37:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 23:34 .. 23:37:52 -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 23:34 .dockerignore 23:37:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 23:34 .git 23:37:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:34 .github 23:37:52 -rw-rw-r-- 1 jenkins jenkins 336 Sep 23 23:34 .gitignore 23:37:52 -rw-rw-r-- 1 jenkins jenkins 6985 Sep 23 23:34 Attribution.txt 23:37:52 -rw-rw-r-- 1 jenkins jenkins 7447 Sep 23 23:34 CHANGELOG.md 23:37:52 -rw-rw-r-- 1 jenkins jenkins 1877 Sep 23 23:34 Dockerfile 23:37:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 23:34 GOVERNANCE.md 23:37:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 23:34 Jenkinsfile 23:37:52 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 23:34 LICENSE 23:37:52 -rw-rw-r-- 1 jenkins jenkins 907 Sep 23 23:34 Makefile 23:37:52 -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 23:34 OWNERS.md 23:37:52 -rw-rw-r-- 1 jenkins jenkins 2211 Sep 23 23:34 README.md 23:37:52 -rw-rw-r-- 1 jenkins jenkins 11 Sep 23 23:29 VERSION 23:37:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:34 bin 23:37:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 23:34 cmd 23:37:52 -rw-r--r-- 1 jenkins jenkins 17284 Sep 23 23:37 coverage.out 23:37:52 -rw-rw-r-- 1 jenkins jenkins 367 Sep 23 23:34 go.mod 23:37:52 -rw-r--r-- 1 jenkins jenkins 20655 Sep 23 23:36 go.sum 23:37:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 23:34 internal 23:37:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:34 mock 23:37:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 23:34 snap 23:37:52 -rw-rw-r-- 1 jenkins jenkins 227 Sep 23 23:34 version.go [Pipeline] isUnix [Pipeline] sh 23:37:52 + 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=9a27036180558304fa11dd6cdc5ae194000bace2 --label arch=arm64 --label version=2.0.1-dev.8 . 23:37:53 Sending build context to Docker daemon 655.9kB 23:37:53 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:37:53 Step 2/24 : FROM ${BASE} AS builder 23:37:53 ---> 1f4b4a38d2b8 23:37:53 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:37:53 ---> Running in 52e6f3e258a0 23:37:54 Removing intermediate container 52e6f3e258a0 23:37:54 ---> 94b977e77eff 23:37:54 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 23:37:54 ---> Running in 5934e9e690c1 23:37:54 Removing intermediate container 5934e9e690c1 23:37:54 ---> 6f557c02da7f 23:37:54 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:37:54 ---> Running in 18efa4d2d904 23:37:58 Removing intermediate container 18efa4d2d904 23:37:58 ---> a5730e19984d 23:37:58 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:58 ---> Running in a5d5674ac68a 23:37:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:38:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:38:02 OK: 222 MiB in 55 packages 23:38:03 Removing intermediate container a5d5674ac68a 23:38:03 ---> 379535b5f39e 23:38:03 Step 7/24 : WORKDIR /device-mqtt-go 23:38:03 ---> Running in f17950c9dd22 23:38:04 Removing intermediate container f17950c9dd22 23:38:04 ---> cca63cb5933e 23:38:04 Step 8/24 : COPY . . 23:38:05 ---> 4c9b4525d7b6 23:38:05 Step 9/24 : RUN go mod tidy 23:38:05 ---> Running in 0e96cec66cb3 23:38:09 Removing intermediate container 0e96cec66cb3 23:38:09 ---> 366b0f145680 23:38:09 Step 10/24 : RUN go mod download 23:38:09 ---> Running in b0d752a1e377 23:38:12 Removing intermediate container b0d752a1e377 23:38:12 ---> 3568105ad0c5 23:38:12 Step 11/24 : ARG MAKE='make build' 23:38:12 ---> Running in c0ed743ae63f 23:38:13 Removing intermediate container c0ed743ae63f 23:38:13 ---> 2c5618b8eb63 23:38:13 Step 12/24 : RUN $MAKE 23:38:13 ---> Running in 7359b88e9e1b 23:38:14 go mod tidy 23:38:15 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.8" -o cmd/device-mqtt ./cmd 23:39:12 Removing intermediate container 7359b88e9e1b 23:39:12 ---> ff1b014173a1 23:39:12 Step 13/24 : FROM alpine:3.14 23:39:12 3.14: Pulling from library/alpine 23:39:12 552d1f2373af: Pulling fs layer 23:39:12 552d1f2373af: Verifying Checksum 23:39:12 552d1f2373af: Download complete 23:39:12 552d1f2373af: Pull complete 23:39:12 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:39:12 Status: Downloaded newer image for alpine:3.14 23:39:12 ---> bb3de5531c18 23:39:12 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:39:12 ---> Running in 8dfdaaa6e443 23:39:12 Removing intermediate container 8dfdaaa6e443 23:39:12 ---> 6a29c6b9e025 23:39:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:39:12 ---> Running in 5e4ffaf79fe4 23:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:39:12 (1/6) Installing dumb-init (1.2.5-r1) 23:39:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:39:12 (3/6) Installing libsodium (1.0.18-r0) 23:39:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:39:12 (5/6) Installing libzmq (4.3.4-r0) 23:39:12 (6/6) Installing zeromq (4.3.4-r0) 23:39:12 Executing busybox-1.33.1-r3.trigger 23:39:12 OK: 8 MiB in 20 packages 23:39:13 Removing intermediate container 5e4ffaf79fe4 23:39:13 ---> 5d899cded95c 23:39:13 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:39:15 ---> c4028d8779d1 23:39:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:39:16 ---> e6dc505673d2 23:39:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:39:17 ---> a25a00cc4fdc 23:39:17 Step 19/24 : EXPOSE 59982 23:39:17 ---> Running in 36260b308604 23:39:18 Removing intermediate container 36260b308604 23:39:18 ---> 2ee295f2863f 23:39:18 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:39:18 ---> Running in 8aa520e0368f 23:39:19 Removing intermediate container 8aa520e0368f 23:39:19 ---> 5d0363bcab72 23:39:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:39:19 ---> Running in 2c5ddc6220c7 23:39:19 Removing intermediate container 2c5ddc6220c7 23:39:19 ---> ea89710e5680 23:39:19 Step 22/24 : LABEL arch=arm64 23:39:20 ---> Running in cf2f5e4cd39a 23:39:20 Removing intermediate container cf2f5e4cd39a 23:39:20 ---> b159ced4e81a 23:39:20 Step 23/24 : LABEL git_sha=9a27036180558304fa11dd6cdc5ae194000bace2 23:39:20 ---> Running in dba35f92f799 23:39:21 Removing intermediate container dba35f92f799 23:39:21 ---> 660605db4abe 23:39:21 Step 24/24 : LABEL version=2.0.1-dev.8 23:39:21 ---> Running in 12caa19f5908 23:39:22 Removing intermediate container 12caa19f5908 23:39:22 ---> 8caf96db1272 23:39:22 [Warning] One or more build-args [ARCH] were not consumed 23:39:22 Successfully built 8caf96db1272 23:39:22 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:39:22 provisioning config files... 23:39:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config2534550557390089093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:22 ---> docker-login.sh 23:39:22 nexus3.edgexfoundry.org:10001 23:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:23 Configure a credential helper to remove this warning. See 23:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:23 23:39:23 Login Succeeded 23:39:23 nexus3.edgexfoundry.org:10002 23:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:24 Configure a credential helper to remove this warning. See 23:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:24 23:39:24 Login Succeeded 23:39:24 nexus3.edgexfoundry.org:10003 23:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:24 Configure a credential helper to remove this warning. See 23:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:24 23:39:24 Login Succeeded 23:39:24 nexus3.edgexfoundry.org:10004 23:39:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:25 Configure a credential helper to remove this warning. See 23:39:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:25 23:39:25 Login Succeeded 23:39:25 docker.io 23:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:26 Configure a credential helper to remove this warning. See 23:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:26 23:39:26 Login Succeeded 23:39:26 ---> docker-login.sh ends [Pipeline] } 23:39:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:26 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 23:39:26 9a27036180558304fa11dd6cdc5ae194000bace2 23:39:26 latest 23:39:26 2.0.1-dev.8 23:39:26 9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 23:39:26 main 23:39:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:39:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a27036180558304fa11dd6cdc5ae194000bace2 [Pipeline] isUnix [Pipeline] sh 23:39:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a27036180558304fa11dd6cdc5ae194000bace2 23:39:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:27 1a0ca51a4f9d: Preparing 23:39:27 d1179fd39f1b: Preparing 23:39:27 c0f9e5cd49ee: Preparing 23:39:27 6f5bf42ea3e8: Preparing 23:39:27 ee420dfed78a: Preparing 23:39:27 ee420dfed78a: Layer already exists 23:39:28 1a0ca51a4f9d: Pushed 23:39:28 d1179fd39f1b: Pushed 23:39:28 6f5bf42ea3e8: Pushed 23:39:31 c0f9e5cd49ee: Pushed 23:39:31 9a27036180558304fa11dd6cdc5ae194000bace2: digest: sha256:b5f1d931aa00e37528ecc8692d57dd3efc6ae2a32b434a4f299dddf8b0b80c31 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:39:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:39:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:32 1a0ca51a4f9d: Preparing 23:39:32 d1179fd39f1b: Preparing 23:39:32 c0f9e5cd49ee: Preparing 23:39:32 6f5bf42ea3e8: Preparing 23:39:32 ee420dfed78a: Preparing 23:39:32 1a0ca51a4f9d: Layer already exists 23:39:32 c0f9e5cd49ee: Layer already exists 23:39:32 6f5bf42ea3e8: Layer already exists 23:39:32 d1179fd39f1b: Layer already exists 23:39:32 ee420dfed78a: Layer already exists 23:39:32 latest: digest: sha256:b5f1d931aa00e37528ecc8692d57dd3efc6ae2a32b434a4f299dddf8b0b80c31 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh 23:39:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.8 23:39:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:33 1a0ca51a4f9d: Preparing 23:39:33 d1179fd39f1b: Preparing 23:39:33 c0f9e5cd49ee: Preparing 23:39:33 6f5bf42ea3e8: Preparing 23:39:33 ee420dfed78a: Preparing 23:39:33 c0f9e5cd49ee: Layer already exists 23:39:33 6f5bf42ea3e8: Layer already exists 23:39:33 d1179fd39f1b: Layer already exists 23:39:33 ee420dfed78a: Layer already exists 23:39:33 1a0ca51a4f9d: Layer already exists 23:39:33 2.0.1-dev.8: digest: sha256:b5f1d931aa00e37528ecc8692d57dd3efc6ae2a32b434a4f299dddf8b0b80c31 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh 23:39:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 23:39:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:34 1a0ca51a4f9d: Preparing 23:39:34 d1179fd39f1b: Preparing 23:39:34 c0f9e5cd49ee: Preparing 23:39:34 6f5bf42ea3e8: Preparing 23:39:34 ee420dfed78a: Preparing 23:39:34 ee420dfed78a: Layer already exists 23:39:34 1a0ca51a4f9d: Layer already exists 23:39:34 d1179fd39f1b: Layer already exists 23:39:34 c0f9e5cd49ee: Layer already exists 23:39:34 6f5bf42ea3e8: Layer already exists 23:39:34 9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8: digest: sha256:b5f1d931aa00e37528ecc8692d57dd3efc6ae2a32b434a4f299dddf8b0b80c31 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 23:39:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 23:39:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:35 1a0ca51a4f9d: Preparing 23:39:35 d1179fd39f1b: Preparing 23:39:35 c0f9e5cd49ee: Preparing 23:39:35 6f5bf42ea3e8: Preparing 23:39:35 ee420dfed78a: Preparing 23:39:35 c0f9e5cd49ee: Layer already exists 23:39:35 d1179fd39f1b: Layer already exists 23:39:35 6f5bf42ea3e8: Layer already exists 23:39:35 ee420dfed78a: Layer already exists 23:39:35 1a0ca51a4f9d: Layer already exists 23:39:35 main: digest: sha256:b5f1d931aa00e37528ecc8692d57dd3efc6ae2a32b434a4f299dddf8b0b80c31 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:35 ===================================================== [Pipeline] echo 23:39:35 taggedImages: 23:39:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a27036180558304fa11dd6cdc5ae194000bace2 23:39:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:39:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.8 23:39:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a27036180558304fa11dd6cdc5ae194000bace2-2.0.1-dev.8 23:39:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:39:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:36 23:39:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:39:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:37 arm64: Pulling from edgex-lftools-log-publisher 23:39:37 448f6bf000e3: Pulling fs layer 23:39:37 f757da607395: Pulling fs layer 23:39:37 05883995daec: Pulling fs layer 23:39:37 8603b9c90790: Pulling fs layer 23:39:37 1560dd03e051: Pulling fs layer 23:39:37 27f5ce0e4adf: Pulling fs layer 23:39:37 c2d8d7efcc4b: Pulling fs layer 23:39:37 8603b9c90790: Waiting 23:39:37 1560dd03e051: Waiting 23:39:37 27f5ce0e4adf: Waiting 23:39:37 f757da607395: Verifying Checksum 23:39:37 f757da607395: Download complete 23:39:37 8603b9c90790: Download complete 23:39:37 1560dd03e051: Verifying Checksum 23:39:37 1560dd03e051: Download complete 23:39:37 05883995daec: Verifying Checksum 23:39:37 05883995daec: Download complete 23:39:37 27f5ce0e4adf: Verifying Checksum 23:39:37 27f5ce0e4adf: Download complete 23:39:38 448f6bf000e3: Verifying Checksum 23:39:38 448f6bf000e3: Download complete 23:39:41 c2d8d7efcc4b: Verifying Checksum 23:39:41 c2d8d7efcc4b: Download complete 23:39:42 448f6bf000e3: Pull complete 23:39:43 f757da607395: Pull complete 23:39:45 05883995daec: Pull complete 23:39:45 8603b9c90790: Pull complete 23:39:46 1560dd03e051: Pull complete 23:39:47 27f5ce0e4adf: Pull complete 23:40:02 c2d8d7efcc4b: Pull complete 23:40:02 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:40:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:40:02 prd-ubuntu18.04-docker-arm64-4c-16g-1063 does not seem to be running inside a container 23:40:03 $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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:40:09 $ docker top dcf0ca4fdb8b128994bc8c7ad62bc86f0266968883b2f5b72e41c9add963efaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:10 ---> job-cost.sh 23:40:10 lf-activate-venv: SKIPPING 23:40:10 INFO: No Stack... 23:40:11 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:11 INFO: Archiving Costs [Pipeline] sh 23:40:12 + + catcut /w/workspace/device-mqtt-go/10/archives/cost.csv -d, 23:40:12 -f6 [Pipeline] lock 23:40:12 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] 23:40:12 Resource [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] did not exist. Created. 23:40:12 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:13 /w/workspace/device-mqtt-go/10@tmp/durable-18f07d39/script.sh: 1: /w/workspace/device-mqtt-go/10@tmp/durable-18f07d39/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:14 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:14 Warning: overwriting stash ‘stack-cost’ 23:40:14 Stashed 1 file(s) [Pipeline] } 23:40:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:14 $ docker stop --time=1 dcf0ca4fdb8b128994bc8c7ad62bc86f0266968883b2f5b72e41c9add963efaa 23:40:15 $ docker rm -f dcf0ca4fdb8b128994bc8c7ad62bc86f0266968883b2f5b72e41c9add963efaa [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:40:16 provisioning config files... 23:40:16 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config421694160893218493tmp [Pipeline] { [Pipeline] sh 23:40:17 + set +x 23:40:17 + curl -s https://codecov.io/bash 23:40:17 + bash -s -- 23:40:17 23:40:17 _____ _ 23:40:17 / ____| | | 23:40:17 | | ___ __| | ___ ___ _____ __ 23:40:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:17 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:17 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:17 Bash-1.0.6 23:40:17 23:40:17 23:40:17 ==> git version 2.24.4 found 23:40:17 ==> 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:40:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:40:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:40:17 ==> Jenkins CI detected. 23:40:17 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 23:40:17 project root: . 23:40:17 --> token set from env 23:40:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:17 ==> Running gcov in . (disable via -X gcov) 23:40:17 ==> Python coveragepy not found 23:40:17 ==> Searching for coverage reports in: 23:40:17 + . 23:40:17 -> Found 1 reports 23:40:17 ==> Detecting git/mercurial file structure 23:40:17 ==> Reading reports 23:40:17 + ./coverage.out bytes=17284 23:40:17 ==> Appending adjustments 23:40:17 https://docs.codecov.io/docs/fixing-reports 23:40:17 + Found adjustments 23:40:17 ==> Gzipping contents 23:40:17 4.0K /tmp/codecov.xgqfI7.gz 23:40:17 ==> Uploading reports 23:40:17 url: https://codecov.io 23:40:17 query: branch=main&commit=9a27036180558304fa11dd6cdc5ae194000bace2&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:17 -> Pinging Codecov 23:40:17 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=9a27036180558304fa11dd6cdc5ae194000bace2&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:17 -> Uploading to 23:40:17 https://storage.googleapis.com/codecov/v4/raw/2021-09-23/7D719EC7BBE17E464838252E33014C33/9a27036180558304fa11dd6cdc5ae194000bace2/dcaa5e54-4538-4d69-a0f4-f3c9a619cb3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210923T234017Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8403b96f5afb0f65834a03a2edf9ab5baf698cfdf21fad1a96b72f40c82dc555 23:40:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:17 Dload Upload Total Spent Left Speed 23:40:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3161 0 0 100 3161 0 3698 --:--:-- --:--:-- --:--:-- 3697 100 3161 0 0 100 3161 0 3697 --:--:-- --:--:-- --:--:-- 3697 23:40:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9a27036180558304fa11dd6cdc5ae194000bace2 [Pipeline] } 23:40:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:40:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:40:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:19 23:40:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:40:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:40:19 188c0c94c7c5: Pulling fs layer 23:40:19 0ef7d3d256c8: Pulling fs layer 23:40:19 de9db76c5a1d: Pulling fs layer 23:40:19 0eba1c9be4d2: Pulling fs layer 23:40:19 0d57e429df01: Pulling fs layer 23:40:19 4e4be7b47b0d: Pulling fs layer 23:40:19 e1f770b5df2f: Pulling fs layer 23:40:19 85a0685a4137: Pulling fs layer 23:40:19 0d57e429df01: Waiting 23:40:19 4e4be7b47b0d: Waiting 23:40:19 e1f770b5df2f: Waiting 23:40:19 85a0685a4137: Waiting 23:40:19 0eba1c9be4d2: Waiting 23:40:19 de9db76c5a1d: Verifying Checksum 23:40:19 de9db76c5a1d: Download complete 23:40:19 0ef7d3d256c8: Verifying Checksum 23:40:19 0ef7d3d256c8: Download complete 23:40:19 0d57e429df01: Verifying Checksum 23:40:19 0d57e429df01: Download complete 23:40:19 4e4be7b47b0d: Verifying Checksum 23:40:19 4e4be7b47b0d: Download complete 23:40:19 188c0c94c7c5: Download complete 23:40:20 188c0c94c7c5: Pull complete 23:40:20 0ef7d3d256c8: Pull complete 23:40:20 de9db76c5a1d: Pull complete 23:40:21 e1f770b5df2f: Verifying Checksum 23:40:21 e1f770b5df2f: Download complete 23:40:28 0eba1c9be4d2: Verifying Checksum 23:40:28 0eba1c9be4d2: Download complete 23:40:28 85a0685a4137: Verifying Checksum 23:40:28 85a0685a4137: Download complete 23:40:31 0eba1c9be4d2: Pull complete 23:40:31 0d57e429df01: Pull complete 23:40:31 4e4be7b47b0d: Pull complete 23:40:31 e1f770b5df2f: Pull complete 23:40:34 85a0685a4137: Pull complete 23:40:34 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:40:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:40:34 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 23:40: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:40:37 $ docker top ad77dc124661c15eb93649874eff4a2a0b5dbfc7339deef8ac5dc1aece22fd67 -eo pid,comm [Pipeline] { [Pipeline] echo 23:40:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:40:37 + set -o pipefail 23:40:37 + snyk monitor '--org=edgex-jenkins' 23:40:52 23:40:52 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 23:40:52 23:40:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/12f0cdd4-6abf-4e20-9441-70ea09ad00e0 23:40:52 23:40:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:40:52 23:40:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:40:52 23:40:52 [Pipeline] } 23:40:52 $ docker stop --time=1 ad77dc124661c15eb93649874eff4a2a0b5dbfc7339deef8ac5dc1aece22fd67 23:40:54 $ docker rm -f ad77dc124661c15eb93649874eff4a2a0b5dbfc7339deef8ac5dc1aece22fd67 [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:40:55 + git log --format=format:%s -1 9a27036180558304fa11dd6cdc5ae194000bace2 [Pipeline] isUnix [Pipeline] sh 23:40:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:40:56 . [Pipeline] withDockerContainer 23:40:56 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 23:40:56 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:40:57 $ docker top 57f72c590bbdb4d58a96c1092cbfca72063115a745094a70b85ed4ee36b09b70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:40:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:57 [ssh-agent] Looking for ssh-agent implementation... 23:40:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:57 $ docker exec 57f72c590bbdb4d58a96c1092cbfca72063115a745094a70b85ed4ee36b09b70 ssh-agent 23:40:57 SSH_AUTH_SOCK=/tmp/ssh-WlAlp4n2uUIz/agent.13 23:40:57 SSH_AGENT_PID=19 23:40:57 Running ssh-add (command line suppressed) 23:40:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5205138106769994997.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5205138106769994997.key) 23:40:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:57 + git semver tag 23:40:57 # -> Open(): unable to determine branch for HEAD 23:40:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:40:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:40:57 # $SEMVER_REMOTE_NAME = origin 23:40:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:40:57 # $SEMVER_USER_NAME = edgex-jenkins 23:40:57 # $SEMVER_BRANCH = main 23:40:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:40:57 # 9a27036180558304fa11dd6cdc5ae194000bace2 HEAD 23:40:57 # -> Force: false 23:40:57 # 5b95dd42f4010433e762144cd895ef4dad2f6eb2 refs/tags/v2.0.1-dev.8 [Pipeline] } 23:40:57 $ docker exec --env ******** --env ******** 57f72c590bbdb4d58a96c1092cbfca72063115a745094a70b85ed4ee36b09b70 ssh-agent -k 23:40:58 unset SSH_AUTH_SOCK; 23:40:58 unset SSH_AGENT_PID; 23:40:58 echo Agent pid 19 killed; 23:40:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:40:58 + git semver [Pipeline] } 23:40:58 $ docker stop --time=1 57f72c590bbdb4d58a96c1092cbfca72063115a745094a70b85ed4ee36b09b70 23:40:59 $ docker rm -f 57f72c590bbdb4d58a96c1092cbfca72063115a745094a70b85ed4ee36b09b70 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:41:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:41:00 23:41:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:41:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:41:00 0.23.1-centos7: Pulling from edgex-lftools 23:41:00 ab5ef0e58194: Pulling fs layer 23:41:00 9712f1f96733: Pulling fs layer 23:41:00 63f879dbbcfc: Pulling fs layer 23:41:00 0d9ebad4ef96: Pulling fs layer 23:41:00 e9a5061849ea: Pulling fs layer 23:41:00 d747dcd14b5f: Pulling fs layer 23:41:00 2de7ff778b66: Pulling fs layer 23:41:00 0d9ebad4ef96: Waiting 23:41:00 e9a5061849ea: Waiting 23:41:00 d747dcd14b5f: Waiting 23:41:00 2de7ff778b66: Waiting 23:41:00 9712f1f96733: Verifying Checksum 23:41:00 9712f1f96733: Download complete 23:41:04 63f879dbbcfc: Verifying Checksum 23:41:04 63f879dbbcfc: Download complete 23:41:04 e9a5061849ea: Verifying Checksum 23:41:04 e9a5061849ea: Download complete 23:41:04 d747dcd14b5f: Verifying Checksum 23:41:04 d747dcd14b5f: Download complete 23:41:04 2de7ff778b66: Verifying Checksum 23:41:04 2de7ff778b66: Download complete 23:41:05 0d9ebad4ef96: Verifying Checksum 23:41:05 0d9ebad4ef96: Download complete 23:41:05 ab5ef0e58194: Verifying Checksum 23:41:05 ab5ef0e58194: Download complete 23:41:08 ab5ef0e58194: Pull complete 23:41:08 9712f1f96733: Pull complete 23:41:09 63f879dbbcfc: Pull complete 23:41:12 0d9ebad4ef96: Pull complete 23:41:12 e9a5061849ea: Pull complete 23:41:12 d747dcd14b5f: Pull complete 23:41:13 2de7ff778b66: Pull complete 23:41:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:41:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:41:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:41:13 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 23:41:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:41:16 $ docker top 55eaa33b6a16e61ab6dd69c2ab53bc6bd85e342661bd5ad28820e42c75dbd6f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:41:16 provisioning config files... 23:41:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8150206112522018649tmp 23:41:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5945836776489193820tmp 23:41:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config412198162097372783tmp [Pipeline] { [Pipeline] echo 23:41:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:41:17 ---> sigul-configuration.sh 23:41:17 gpg: directory `/root/.gnupg' created 23:41:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:41:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:41:17 gpg: keyring `/root/.gnupg/secring.gpg' created 23:41:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:41:17 gpg: CAST5 encrypted data 23:41:17 gpg: encrypted with 1 passphrase 23:41:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:41:17 + mkdir /home/jenkins 23:41:17 + mkdir /home/jenkins/sigul [Pipeline] sh 23:41:17 + 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:41:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:41:18 ---> sigul-install.sh 23:41:18 Sigul already installed; skipping installation. [Pipeline] sh 23:41:18 + git tag --list 23:41:18 0.7.1 23:41:18 v1.0.0 23:41:18 v1.1.0 23:41:18 v1.1.1 23:41:18 v1.2.2 23:41:18 v1.3.0 23:41:18 v1.3.1 23:41:18 v2.0.0 23:41:18 v2.0.1-dev.1 23:41:18 v2.0.1-dev.2 23:41:18 v2.0.1-dev.3 23:41:18 v2.0.1-dev.4 23:41:18 v2.0.1-dev.5 23:41:18 v2.0.1-dev.6 23:41:18 v2.0.1-dev.7 23:41:18 v2.0.1-dev.8 [Pipeline] sh 23:41:18 + lftools sign git-tag v2.0.1-dev.8 23:41:19 Signing Git tag with Sigul... 23:41:19 Signing v2.0.1-dev.8 [Pipeline] echo 23:41:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:41:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:41:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:41:20 $ docker stop --time=1 55eaa33b6a16e61ab6dd69c2ab53bc6bd85e342661bd5ad28820e42c75dbd6f0 23:41:21 $ docker rm -f 55eaa33b6a16e61ab6dd69c2ab53bc6bd85e342661bd5ad28820e42c75dbd6f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:22 . [Pipeline] withDockerContainer 23:41:22 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 23:41:22 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:41:23 $ docker top 30ec10f046b3389a819106017401423d5015b38df866e5653617ad19d8a8adf6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:23 [ssh-agent] Looking for ssh-agent implementation... 23:41:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:23 $ docker exec 30ec10f046b3389a819106017401423d5015b38df866e5653617ad19d8a8adf6 ssh-agent 23:41:23 SSH_AUTH_SOCK=/tmp/ssh-ryg7kK6iIB4p/agent.14 23:41:23 SSH_AGENT_PID=20 23:41:23 Running ssh-add (command line suppressed) 23:41:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4719252169176222288.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4719252169176222288.key) 23:41:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:24 + git semver bump pre 23:41:24 # -> Open(): unable to determine branch for HEAD 23:41:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:41:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:41:24 # $SEMVER_REMOTE_NAME = origin 23:41:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:41:24 # $SEMVER_USER_NAME = edgex-jenkins 23:41:24 # $SEMVER_BRANCH = main 23:41:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:41:24 2.0.1-dev.9 [Pipeline] } 23:41:24 $ docker exec --env ******** --env ******** 30ec10f046b3389a819106017401423d5015b38df866e5653617ad19d8a8adf6 ssh-agent -k 23:41:24 unset SSH_AUTH_SOCK; 23:41:24 unset SSH_AGENT_PID; 23:41:24 echo Agent pid 20 killed; 23:41:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:26 + git semver [Pipeline] } 23:41:26 $ docker stop --time=1 30ec10f046b3389a819106017401423d5015b38df866e5653617ad19d8a8adf6 23:41:28 $ docker rm -f 30ec10f046b3389a819106017401423d5015b38df866e5653617ad19d8a8adf6 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:41:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:28 . [Pipeline] withDockerContainer 23:41:28 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 23:41:28 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:41:29 $ docker top 8430b2837ba41ff6c092cf8e3c0f07c4f1ac888bc6541f2bf371af3d3d94f67c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:29 [ssh-agent] Looking for ssh-agent implementation... 23:41:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:29 $ docker exec 8430b2837ba41ff6c092cf8e3c0f07c4f1ac888bc6541f2bf371af3d3d94f67c ssh-agent 23:41:29 SSH_AUTH_SOCK=/tmp/ssh-AmjBxVaksvL5/agent.13 23:41:29 SSH_AGENT_PID=20 23:41:29 Running ssh-add (command line suppressed) 23:41:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3166618648322869116.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3166618648322869116.key) 23:41:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:29 + git semver push 23:41:29 # -> Open(): unable to determine branch for HEAD 23:41:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:41:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:41:29 # $SEMVER_REMOTE_NAME = origin 23:41:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:41:29 # $SEMVER_USER_NAME = edgex-jenkins 23:41:29 # $SEMVER_BRANCH = main 23:41:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 23:41:31 $ docker exec --env ******** --env ******** 8430b2837ba41ff6c092cf8e3c0f07c4f1ac888bc6541f2bf371af3d3d94f67c ssh-agent -k 23:41:31 unset SSH_AUTH_SOCK; 23:41:31 unset SSH_AGENT_PID; 23:41:31 echo Agent pid 20 killed; 23:41:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:32 + git semver [Pipeline] } 23:41:32 $ docker stop --time=1 8430b2837ba41ff6c092cf8e3c0f07c4f1ac888bc6541f2bf371af3d3d94f67c 23:41:33 $ docker rm -f 8430b2837ba41ff6c092cf8e3c0f07c4f1ac888bc6541f2bf371af3d3d94f67c [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:41:34 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:41:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:41:35 ---> package-listing.sh 23:41:35 ++ tr '[:upper:]' '[:lower:]' 23:41:35 ++ facter osfamily 23:41:35 + OS_FAMILY=redhat 23:41:35 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 23:41:35 + START_PACKAGES=/tmp/packages_start.txt 23:41:35 + END_PACKAGES=/tmp/packages_end.txt 23:41:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:41:35 + PACKAGES=/tmp/packages_start.txt 23:41:35 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:41:35 + PACKAGES=/tmp/packages_end.txt 23:41:35 + case "${OS_FAMILY}" in 23:41:35 + sort 23:41:35 + rpm -qa 23:41:36 + '[' -f /tmp/packages_start.txt ']' 23:41:36 + '[' -f /tmp/packages_end.txt ']' 23:41:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:41:36 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:41:36 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 23:41:36 + 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:41:36 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:41:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:41:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:37 23:41:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:41:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:37 latest: Pulling from edgex-lftools-log-publisher 23:41:37 b4d181a07f80: Pulling fs layer 23:41:37 a1111a8f2ec3: Pulling fs layer 23:41:37 ed53099fbce6: Pulling fs layer 23:41:37 dc539afda2c1: Pulling fs layer 23:41:37 77bc0d833cb6: Pulling fs layer 23:41:37 9065ff56babe: Pulling fs layer 23:41:37 d287ab97295c: Pulling fs layer 23:41:37 dc539afda2c1: Waiting 23:41:37 77bc0d833cb6: Waiting 23:41:37 9065ff56babe: Waiting 23:41:37 d287ab97295c: Waiting 23:41:37 a1111a8f2ec3: Verifying Checksum 23:41:37 a1111a8f2ec3: Download complete 23:41:37 dc539afda2c1: Verifying Checksum 23:41:37 dc539afda2c1: Download complete 23:41:38 77bc0d833cb6: Verifying Checksum 23:41:38 77bc0d833cb6: Download complete 23:41:38 9065ff56babe: Verifying Checksum 23:41:38 9065ff56babe: Download complete 23:41:38 ed53099fbce6: Verifying Checksum 23:41:38 ed53099fbce6: Download complete 23:41:39 b4d181a07f80: Verifying Checksum 23:41:39 b4d181a07f80: Download complete 23:41:40 b4d181a07f80: Pull complete 23:41:40 a1111a8f2ec3: Pull complete 23:41:40 ed53099fbce6: Pull complete 23:41:40 dc539afda2c1: Pull complete 23:41:41 77bc0d833cb6: Pull complete 23:41:41 9065ff56babe: Pull complete 23:41:46 d287ab97295c: Verifying Checksum 23:41:46 d287ab97295c: Download complete 23:41:50 d287ab97295c: Pull complete 23:41:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:41:50 prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container 23:41:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:41:52 $ docker top 0207c2c8ec596ecb37b0953bf415a021e6ab130da294eac4f8fc982803b55fd7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:53 + touch /tmp/pre-build-complete [Pipeline] sh 23:41:53 + mkdir -p /var/log/sysstat [Pipeline] sh 23:41:53 + ls /var/log/sa-host 23:41:53 + sadf -c /var/log/sa-host/sa05 23:41:53 file_magic: OK 23:41:53 HZ: Using current value: 100 23:41:53 file_header: OK 23:41:53 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:41:53 Statistics: 23:41:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:41:53 File successfully converted to sysstat format version 12.0.3 23:41:53 + sadf -c /var/log/sa-host/sa23 23:41:53 file_magic: OK 23:41:53 HZ: Using current value: 100 23:41:53 file_header: OK 23:41:53 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:41:53 Statistics: 23:41:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:41:53 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:53 provisioning config files... 23:41:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6779813833266736977tmp [Pipeline] { [Pipeline] echo 23:41:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:41:54 ---> create-netrc.sh [Pipeline] } 23:41:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:41:54 ---> python-tools-install.sh [Pipeline] echo 23:41:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:41:54 ---> sudo-logs.sh 23:41:54 Archiving 'sudo' log.. 23:41:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-1053.vexxhost.local: Name or service not known 23:41:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-1053.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:41:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:41:55 ---> job-cost.sh 23:41:55 lf-activate-venv: SKIPPING 23:41:55 DEBUG: total: 0.10999999940395355 23:41:55 INFO: Retrieving Stack Cost... 23:41:57 INFO: Retrieving Pricing Info for: v3-standard-2 23:41:57 INFO: Archiving Costs [Pipeline] echo 23:41:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:41:57 ---> logs-deploy.sh 23:41:57 lf-activate-venv: SKIPPING 23:41:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/10 23:41:57 INFO: archiving workspace using pattern(s): 23:41:58 Archives upload complete. 23:41:58 INFO: archiving logs to Nexus 23:41:59 ---> uname -a: 23:41:59 Linux prd-centos7-docker-4c-2g-1053.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:41:59 23:41:59 23:41:59 ---> lscpu: 23:41:59 Architecture: x86_64 23:41:59 CPU op-mode(s): 32-bit, 64-bit 23:41:59 Byte Order: Little Endian 23:41:59 Address sizes: 40 bits physical, 48 bits virtual 23:41:59 CPU(s): 2 23:41:59 On-line CPU(s) list: 0,1 23:41:59 Thread(s) per core: 1 23:41:59 Core(s) per socket: 1 23:41:59 Socket(s): 2 23:41:59 NUMA node(s): 1 23:41:59 Vendor ID: AuthenticAMD 23:41:59 CPU family: 23 23:41:59 Model: 49 23:41:59 Model name: AMD EPYC-Rome Processor 23:41:59 Stepping: 0 23:41:59 CPU MHz: 2799.998 23:41:59 BogoMIPS: 5599.99 23:41:59 Virtualization: AMD-V 23:41:59 Hypervisor vendor: KVM 23:41:59 Virtualization type: full 23:41:59 L1d cache: 32K 23:41:59 L1i cache: 32K 23:41:59 L2 cache: 512K 23:41:59 L3 cache: 16384K 23:41:59 NUMA node0 CPU(s): 0,1 23:41:59 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:41:59 23:41:59 23:41:59 ---> nproc: 23:41:59 2 23:41:59 23:41:59 23:41:59 ---> df -h: 23:41:59 Filesystem Size Used Avail Use% Mounted on 23:41:59 overlay 40G 9.0G 32G 23% / 23:41:59 tmpfs 64M 0 64M 0% /dev 23:41:59 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:41:59 shm 64M 0 64M 0% /dev/shm 23:41:59 /dev/vda1 40G 9.0G 32G 23% /facter-os 23:41:59 23:41:59 23:41:59 ---> sar -b -r -n DEV: 23:41:59 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 23:41:59 23:41:59 23:28:59 LINUX RESTART (2 CPU) 23:41:59 23:41:59 23:30:01 tps rtps wtps bread/s bwrtn/s 23:41:59 23:31:01 1.95 0.00 1.95 0.00 43.78 23:41:59 23:32:01 0.45 0.00 0.45 0.00 6.28 23:41:59 23:33:01 0.18 0.00 0.18 0.00 2.02 23:41:59 23:34:01 0.35 0.00 0.35 0.00 6.01 23:41:59 23:35:01 0.23 0.00 0.23 0.00 3.28 23:41:59 23:36:01 0.32 0.00 0.32 0.00 3.91 23:41:59 23:37:01 0.22 0.00 0.22 0.00 3.30 23:41:59 23:38:01 0.27 0.00 0.27 0.00 4.13 23:41:59 23:39:01 0.27 0.00 0.27 0.00 3.23 23:41:59 23:40:01 0.20 0.00 0.20 0.00 3.50 23:41:59 23:41:01 113.26 0.03 113.22 3.73 34088.34 23:41:59 Average: 10.72 0.00 10.71 0.34 3111.62 23:41:59 23:41:59 23:30:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:41:59 23:31:01 5455812 0 817412 10.21 2620 1733096 1272588 14.05 586108 1568212 12 23:41:59 23:32:01 5461092 0 812128 10.14 2620 1733100 1229196 13.57 582444 1567636 16 23:41:59 23:33:01 5459980 0 813240 10.15 2620 1733100 1229220 13.57 579120 1572032 20 23:41:59 23:34:01 5464340 0 808872 10.10 2620 1733108 1194244 13.19 574912 1572768 16 23:41:59 23:35:01 5460384 0 812824 10.15 2620 1733112 1194576 13.19 578320 1573784 8 23:41:59 23:36:01 5460596 0 812608 10.15 2620 1733116 1194492 13.19 577840 1573784 16 23:41:59 23:37:01 5457848 0 815352 10.18 2620 1733120 1194564 13.19 580172 1573784 8 23:41:59 23:38:01 5450544 0 822648 10.27 2620 1733128 1194648 13.19 587168 1573784 12 23:41:59 23:39:01 5453276 0 819916 10.24 2620 1733128 1194312 13.19 586504 1572088 20 23:41:59 23:40:01 5452680 0 820508 10.24 2620 1733132 1194456 13.19 587388 1572088 16 23:41:59 23:41:01 4527344 0 1009900 12.61 2620 2469076 1399004 15.45 809752 2174156 17808 23:41:59 Average: 5373081 0 833219 10.40 2620 1800020 1226482 13.54 602703 1626738 1632 23:41:59 23:41:59 23:30:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:41:59 23:31:01 eth0 3.73 0.92 1.64 0.44 0.00 0.00 0.00 0.00 23:41:59 23:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:32:01 eth0 3.23 0.77 0.98 0.62 0.00 0.00 0.00 0.00 23:41:59 23:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:33:01 eth0 3.35 1.02 0.98 0.60 0.00 0.00 0.00 0.00 23:41:59 23:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:34:01 eth0 2.96 0.08 0.22 0.01 0.00 0.00 0.00 0.00 23:41:59 23:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:35:01 eth0 3.60 0.92 1.14 0.66 0.00 0.00 0.00 0.00 23:41:59 23:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:36:01 eth0 1.52 0.32 0.37 0.20 0.00 0.00 0.00 0.00 23:41:59 23:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:37:01 eth0 3.07 0.97 0.98 0.61 0.00 0.00 0.00 0.00 23:41:59 23:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:38:01 eth0 2.78 0.88 0.93 0.60 0.00 0.00 0.00 0.00 23:41:59 23:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:39:01 eth0 1.10 0.10 0.11 0.02 0.00 0.00 0.00 0.00 23:41:59 23:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:40:01 eth0 1.03 0.52 0.44 0.24 0.00 0.00 0.00 0.00 23:41:59 23:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:41:01 eth0 936.10 632.26 4813.18 58.19 0.00 0.00 0.00 0.00 23:41:59 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 23:41:01 docker0 69.96 94.95 5.08 381.16 0.00 0.00 0.00 0.00 23:41:59 Average: eth0 87.65 58.17 439.04 5.66 0.00 0.00 0.00 0.00 23:41:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:59 Average: docker0 6.37 8.65 0.46 34.71 0.00 0.00 0.00 0.00 23:41:59 23:41:59 23:41:59 ---> sar -P ALL: 23:41:59 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 23:41:59 23:41:59 23:28:59 LINUX RESTART (2 CPU) 23:41:59 23:41:59 23:30:01 CPU %user %nice %system %iowait %steal %idle 23:41:59 23:31:01 all 0.29 0.00 0.09 0.00 0.02 99.60 23:41:59 23:31:01 0 0.08 0.00 0.10 0.00 0.02 99.80 23:41:59 23:31:01 1 0.50 0.00 0.08 0.00 0.02 99.40 23:41:59 23:32:01 all 0.27 0.00 0.08 0.00 0.01 99.64 23:41:59 23:32:01 0 0.10 0.00 0.07 0.00 0.00 99.83 23:41:59 23:32:01 1 0.43 0.00 0.10 0.00 0.02 99.45 23:41:59 23:33:01 all 0.23 0.00 0.05 0.00 0.02 99.71 23:41:59 23:33:01 0 0.05 0.00 0.03 0.00 0.02 99.90 23:41:59 23:33:01 1 0.40 0.00 0.07 0.00 0.02 99.51 23:41:59 23:34:01 all 0.14 0.00 0.07 0.00 0.01 99.78 23:41:59 23:34:01 0 0.05 0.00 0.05 0.00 0.00 99.90 23:41:59 23:34:01 1 0.23 0.00 0.08 0.00 0.02 99.67 23:41:59 23:35:01 all 0.28 0.00 0.07 0.00 0.02 99.64 23:41:59 23:35:01 0 0.10 0.00 0.05 0.00 0.02 99.83 23:41:59 23:35:01 1 0.45 0.00 0.08 0.00 0.02 99.45 23:41:59 23:36:01 all 0.17 0.00 0.05 0.00 0.02 99.77 23:41:59 23:36:01 0 0.05 0.00 0.07 0.00 0.02 99.87 23:41:59 23:36:01 1 0.28 0.00 0.03 0.00 0.02 99.67 23:41:59 23:37:01 all 0.22 0.00 0.08 0.00 0.01 99.69 23:41:59 23:37:01 0 0.07 0.00 0.05 0.00 0.02 99.86 23:41:59 23:37:01 1 0.37 0.00 0.12 0.00 0.00 99.51 23:41:59 23:38:01 all 0.23 0.00 0.12 0.00 0.01 99.64 23:41:59 23:38:01 0 0.08 0.00 0.10 0.00 0.00 99.82 23:41:59 23:38:01 1 0.38 0.00 0.13 0.00 0.02 99.47 23:41:59 23:39:01 all 0.23 0.00 0.07 0.00 0.01 99.70 23:41:59 23:39:01 0 0.08 0.00 0.05 0.00 0.02 99.85 23:41:59 23:39:01 1 0.37 0.00 0.08 0.00 0.00 99.55 23:41:59 23:40:01 all 0.24 0.00 0.08 0.00 0.02 99.66 23:41:59 23:40:01 0 0.03 0.00 0.05 0.00 0.02 99.90 23:41:59 23:40:01 1 0.45 0.00 0.12 0.00 0.02 99.42 23:41:59 23:41:01 all 12.42 0.00 5.78 1.13 0.07 80.60 23:41:59 23:41:01 0 11.88 0.00 5.95 1.02 0.07 81.09 23:41:59 23:41:01 1 12.95 0.00 5.61 1.25 0.07 80.12 23:41:59 23:41:59 Average: CPU %user %nice %system %iowait %steal %idle 23:41:59 Average: all 1.30 0.00 0.57 0.10 0.02 98.01 23:41:59 Average: 0 1.10 0.00 0.57 0.09 0.02 98.22 23:41:59 Average: 1 1.49 0.00 0.58 0.11 0.02 97.80 23:41:59 23:41:59 23:41:59