Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 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-ssh1103380303279076337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh8466492494648161711.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh1138411713646414463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh2774573566097060414.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-ssh4833962868019217058.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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13331 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh4981667403829091378.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 # timeout=10 Commit message: "feat: update config file to include secrets file parameters (#310)" > git rev-list --no-walk a06e272b6922a1d7524aeda6151acf418e859d75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:12:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:12:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:12:23 ========================================================= 23:12:23 EdgeX Global Pipelines Version Info 23:12:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:12:24 ------------------- 23:12:24 stable info: 23:12:24 ------------------- 23:12:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:12:24 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:12:24 Message: update stable to v1.0.210 23:12:25 ------------------- 23:12:25 experimental info: 23:12:25 ------------------- 23:12:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:12:25 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 23:12:25 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c11b57c [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:25 provisioning config files... 23:12:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6097871602741808612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:26 ---> docker-login.sh 23:12:26 nexus3.edgexfoundry.org:10001 23:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:26 Configure a credential helper to remove this warning. See 23:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:26 23:12:26 Login Succeeded 23:12:26 nexus3.edgexfoundry.org:10002 23:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:26 Configure a credential helper to remove this warning. See 23:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:26 23:12:26 Login Succeeded 23:12:26 nexus3.edgexfoundry.org:10003 23:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:26 Configure a credential helper to remove this warning. See 23:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:26 23:12:26 Login Succeeded 23:12:26 nexus3.edgexfoundry.org:10004 23:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:26 Configure a credential helper to remove this warning. See 23:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:26 23:12:26 Login Succeeded 23:12:26 docker.io 23:12:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:27 Configure a credential helper to remove this warning. See 23:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:27 23:12:27 Login Succeeded 23:12:27 ---> docker-login.sh ends [Pipeline] } 23:12:27 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:12:27 + git log --format=format:%s -1 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] echo 23:12:27 GIT_COMMIT: c11b57cd0fcb2e2ae2ea0895cfda036458c19b50, Commit Message: feat: update config file to include secrets file parameters (#310) [Pipeline] echo 23:12:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:12:28 23:12:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:12:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:12:28 latest: Pulling from edgex-devops/git-semver 23:12:28 a0d0a0d46f8b: Pulling fs layer 23:12:28 3e5f54012d9b: Pulling fs layer 23:12:28 4c7163046ea9: Pulling fs layer 23:12:28 0c2d73faf560: Pulling fs layer 23:12:28 0c2d73faf560: Waiting 23:12:28 3e5f54012d9b: Verifying Checksum 23:12:28 3e5f54012d9b: Download complete 23:12:28 a0d0a0d46f8b: Verifying Checksum 23:12:28 a0d0a0d46f8b: Download complete 23:12:28 0c2d73faf560: Verifying Checksum 23:12:28 0c2d73faf560: Download complete 23:12:28 4c7163046ea9: Verifying Checksum 23:12:28 4c7163046ea9: Download complete 23:12:28 a0d0a0d46f8b: Pull complete 23:12:28 3e5f54012d9b: Pull complete 23:12:29 4c7163046ea9: Pull complete 23:12:29 0c2d73faf560: Pull complete 23:12:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:12:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:12:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:12:29 prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container 23:12:29 $ 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:12:30 $ docker top 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:12:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:30 [ssh-agent] Looking for ssh-agent implementation... 23:12:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:30 $ docker exec 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent 23:12:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfajIhd/agent.15 23:12:30 SSH_AGENT_PID=21 23:12:30 Running ssh-add (command line suppressed) 23:12:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2586714007564941579.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2586714007564941579.key) 23:12:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:30 + git tag --points-at HEAD [Pipeline] } 23:12:30 $ docker exec --env ******** --env ******** 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent -k 23:12:30 unset SSH_AUTH_SOCK; 23:12:30 unset SSH_AGENT_PID; 23:12:30 echo Agent pid 21 killed; 23:12:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:12:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:30 [ssh-agent] Looking for ssh-agent implementation... 23:12:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:31 $ docker exec 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent 23:12:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdaFkgl/agent.56 23:12:31 SSH_AGENT_PID=63 23:12:31 Running ssh-add (command line suppressed) 23:12:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4301918242221040271.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4301918242221040271.key) 23:12:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:31 + git semver init 23:12:31 # -> Open(): unable to determine branch for HEAD 23:12:31 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:12:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:12:31 # $SEMVER_REMOTE_NAME = origin 23:12:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:12:31 # $SEMVER_USER_NAME = edgex-jenkins 23:12:31 # $SEMVER_BRANCH = main 23:12:31 # $SEMVER_TEMP = /tmp/semver-718421360 23:12:31 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:12:32 # '/tmp/semver-718421360' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 23:12:32 # -> Force: false 23:12:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 23:12:32 $ docker exec --env ******** --env ******** 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent -k 23:12:32 unset SSH_AUTH_SOCK; 23:12:32 unset SSH_AGENT_PID; 23:12:32 echo Agent pid 63 killed; 23:12:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:12:32 + git semver [Pipeline] } 23:12:32 $ docker stop --time=1 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 23:12:33 $ docker rm -f 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:12:34 Stashed 1 file(s) [Pipeline] echo 23:12:34 [edgeXSemver]: initialized semver on version 2.0.1-dev.13 [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:12:49 Still waiting to schedule task 23:12:49 ‘prd-centos7-docker-4c-2g-13319’ is offline 23:12:49 ‘prd-centos7-docker-4c-2g-13320’ is offline 23:12:49 ‘prd-centos7-docker-4c-2g-13332’ is offline 23:12:49 ‘prd-centos7-docker-4c-2g-13333’ is offline 23:12:49 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13322’ doesn’t have label ‘centos7-docker-4c-2g’ 23:12:49 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13327’ doesn’t have label ‘centos7-docker-4c-2g’ 23:12:49 Still waiting to schedule task 23:12:49 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:13:39 Running on prd-centos7-docker-4c-2g-13335 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 23:13:39 Running in /w/workspace/device-mqtt-go/15 [Pipeline] { [Pipeline] checkout 23:13:39 Selected Git installation does not exist. Using Default 23:13:39 The recommended git tool is: NONE 23:13:41 using credential edgex-jenkins-ssh 23:13:41 Cloning the remote Git repository 23:13:41 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:13:41 > git init /w/workspace/device-mqtt-go/15 # timeout=10 23:13:42 Avoid second fetch 23:13:42 Checking out Revision c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 (main) 23:13:41 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:13:41 > git --version # timeout=10 23:13:41 > git --version # 'git version 2.24.4' 23:13:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:41 [INFO] Currently running in a labeled security context 23:13:41 [INFO] Currently SELinux is 'enforcing' on the host 23:13:41 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/15@tmp/jenkins-gitclient-ssh4223241690650121823.key 23:13:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:42 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:13:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:42 > git config core.sparsecheckout # timeout=10 23:13:42 > git checkout -f c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 # timeout=10 23:13:46 Commit message: "feat: update config file to include secrets file parameters (#310)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:46 provisioning config files... 23:13:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config2195461354937537436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:46 ---> docker-login.sh 23:13:46 nexus3.edgexfoundry.org:10001 23:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:46 Configure a credential helper to remove this warning. See 23:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:46 23:13:46 Login Succeeded 23:13:46 nexus3.edgexfoundry.org:10002 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 nexus3.edgexfoundry.org:10003 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 nexus3.edgexfoundry.org:10004 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 docker.io 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 ---> docker-login.sh ends [Pipeline] } 23:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:13:48 ========================================================= 23:13:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:13:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:13:48 + 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:13:48 Sending build context to Docker daemon 683.5kB 23:13:48 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:13:48 Step 2/11 : FROM ${BASE} AS builder 23:13:48 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:13:48 a0d0a0d46f8b: Pulling fs layer 23:13:48 31adcdaf11c8: Pulling fs layer 23:13:48 b8b176561691: Pulling fs layer 23:13:48 4527c011a84f: Pulling fs layer 23:13:48 5d74067f8e1e: Pulling fs layer 23:13:48 e0aca202a116: Pulling fs layer 23:13:48 3a43be97a3b4: Pulling fs layer 23:13:48 34cad66bf833: Pulling fs layer 23:13:48 b4e3c513aaa6: Pulling fs layer 23:13:48 4527c011a84f: Waiting 23:13:48 5d74067f8e1e: Waiting 23:13:48 e0aca202a116: Waiting 23:13:48 3a43be97a3b4: Waiting 23:13:48 34cad66bf833: Waiting 23:13:48 b4e3c513aaa6: Waiting 23:13:48 b8b176561691: Verifying Checksum 23:13:48 b8b176561691: Download complete 23:13:48 31adcdaf11c8: Verifying Checksum 23:13:48 31adcdaf11c8: Download complete 23:13:48 5d74067f8e1e: Verifying Checksum 23:13:48 5d74067f8e1e: Download complete 23:13:48 e0aca202a116: Verifying Checksum 23:13:48 e0aca202a116: Download complete 23:13:48 3a43be97a3b4: Verifying Checksum 23:13:48 3a43be97a3b4: Download complete 23:13:48 a0d0a0d46f8b: Verifying Checksum 23:13:48 a0d0a0d46f8b: Download complete 23:13:48 34cad66bf833: Verifying Checksum 23:13:48 34cad66bf833: Download complete 23:13:48 a0d0a0d46f8b: Pull complete 23:13:49 31adcdaf11c8: Pull complete 23:13:49 b8b176561691: Pull complete 23:13:49 4527c011a84f: Verifying Checksum 23:13:49 4527c011a84f: Download complete 23:13:53 4527c011a84f: Pull complete 23:13:53 5d74067f8e1e: Pull complete 23:13:53 e0aca202a116: Pull complete 23:13:53 3a43be97a3b4: Pull complete 23:13:53 34cad66bf833: Pull complete 23:13:54 b4e3c513aaa6: Verifying Checksum 23:13:54 b4e3c513aaa6: Download complete 23:13:56 b4e3c513aaa6: Pull complete 23:13:56 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:13:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:13:56 ---> 9f6097aaca64 23:13:56 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:13:58 ---> Running in b0010cc78767 23:13:58 Removing intermediate container b0010cc78767 23:13:58 ---> 2e0842b3a637 23:13:58 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:13:58 ---> Running in af97b3447c33 23:13:58 Removing intermediate container af97b3447c33 23:13:58 ---> 4a9a2da6c39c 23:13:58 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:13:58 ---> Running in 80637bfa7f06 23:13:59 Removing intermediate container 80637bfa7f06 23:13:59 ---> f8fd4b31c994 23:13:59 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:13:59 ---> Running in e066181850ac 23:13:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:14:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:14:00 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:14:00 (2/4) Installing libedit (20210216.3.1-r0) 23:14:00 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:14:00 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:14:00 Executing busybox-1.33.1-r3.trigger 23:14:00 OK: 224 MiB in 56 packages 23:14:01 Removing intermediate container e066181850ac 23:14:01 ---> 059f64453816 23:14:01 Step 7/11 : WORKDIR /device-mqtt-go 23:14:01 ---> Running in 4f4c2dc2a9e8 23:14:01 Removing intermediate container 4f4c2dc2a9e8 23:14:01 ---> 38de2b27476a 23:14:01 Step 8/11 : COPY . . 23:14:01 ---> bd1fa63ac586 23:14:01 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:01 ---> Running in 07fad0f3fcb7 23:14:33 Removing intermediate container 07fad0f3fcb7 23:14:33 ---> e1ec980330d0 23:14:33 Step 10/11 : ARG MAKE='make build' 23:14:33 ---> Running in dd80274231c5 23:14:33 Removing intermediate container dd80274231c5 23:14:33 ---> 03ca70b7212f 23:14:33 Step 11/11 : RUN $MAKE 23:14:33 ---> Running in d1908b986ede 23:14:33 noop 23:14:33 Removing intermediate container d1908b986ede 23:14:33 ---> cd41ebbaf931 23:14:33 Successfully built cd41ebbaf931 23:14:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:14:34 + docker inspect -f . ci-base-image-x86_64 23:14:34 . [Pipeline] withDockerContainer 23:14:34 prd-centos7-docker-4c-2g-13335 does not seem to be running inside a container 23:14:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:14:34 $ docker top 8ec8a730728a5302fa51c6c57a53cc4f2f20cc5f00ede73dfa966fc3128a98ed -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:35 + go version 23:14:35 go version go1.16.8 linux/amd64 [Pipeline] } 23:14:35 $ docker stop --time=1 8ec8a730728a5302fa51c6c57a53cc4f2f20cc5f00ede73dfa966fc3128a98ed 23:14:36 $ docker rm -f 8ec8a730728a5302fa51c6c57a53cc4f2f20cc5f00ede73dfa966fc3128a98ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:14:36 + docker inspect -f . ci-base-image-x86_64 23:14:36 . [Pipeline] withDockerContainer 23:14:36 prd-centos7-docker-4c-2g-13335 does not seem to be running inside a container 23:14:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:14:37 $ docker top 3423d324e30c979c4f31e181045adf39e1d78a46c886ad195089ec3178927e56 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:14:37 + make test 23:14:37 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:14:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:14:56 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:14:56 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements 23:14:56 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:14:56 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:15:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:15:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:15:01 ./bin/test-attribution-txt.sh [Pipeline] } 23:15:01 $ docker stop --time=1 3423d324e30c979c4f31e181045adf39e1d78a46c886ad195089ec3178927e56 23:15:03 $ docker rm -f 3423d324e30c979c4f31e181045adf39e1d78a46c886ad195089ec3178927e56 [Pipeline] // withDockerContainer [Pipeline] sh 23:15:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:15:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:15:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:15:05 + ls -al . 23:15:05 total 148 23:15:05 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 28 23:15 . 23:15:05 drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 23:13 .. 23:15:05 -rw-rw-r--. 1 jenkins jenkins 7287 Oct 28 23:13 Attribution.txt 23:15:05 drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 23:13 bin 23:15:05 -rw-rw-r--. 1 jenkins jenkins 7447 Oct 28 23:13 CHANGELOG.md 23:15:05 drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 23:13 cmd 23:15:05 -rw-r--r--. 1 jenkins jenkins 17284 Oct 28 23:14 coverage.out 23:15:05 -rw-rw-r--. 1 jenkins jenkins 1907 Oct 28 23:13 Dockerfile 23:15:05 -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 23:13 .dockerignore 23:15:05 drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 23:13 .git 23:15:05 drwxrwxr-x. 2 jenkins jenkins 103 Oct 28 23:13 .github 23:15:05 -rw-rw-r--. 1 jenkins jenkins 329 Oct 28 23:13 .gitignore 23:15:05 -rw-rw-r--. 1 jenkins jenkins 388 Oct 28 23:13 go.mod 23:15:05 -rw-rw-r--. 1 jenkins jenkins 50360 Oct 28 23:13 go.sum 23:15:05 -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 23:13 GOVERNANCE.md 23:15:05 drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 23:13 internal 23:15:05 -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 23:13 Jenkinsfile 23:15:05 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 23:13 LICENSE 23:15:05 -rw-rw-r--. 1 jenkins jenkins 1030 Oct 28 23:13 Makefile 23:15:05 drwxrwxr-x. 2 jenkins jenkins 23 Oct 28 23:13 mock 23:15:05 -rw-rw-r--. 1 jenkins jenkins 620 Oct 28 23:13 OWNERS.md 23:15:05 -rw-rw-r--. 1 jenkins jenkins 2211 Oct 28 23:13 README.md 23:15:05 drwxrwxr-x. 4 jenkins jenkins 71 Oct 28 23:13 snap 23:15:05 -rw-rw-r--. 1 jenkins jenkins 12 Oct 28 23:12 VERSION 23:15:05 -rw-rw-r--. 1 jenkins jenkins 227 Oct 28 23:13 version.go [Pipeline] isUnix [Pipeline] sh 23:15:05 + 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=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 --label arch=amd64 --label version=2.0.1-dev.13 . 23:15:05 Sending build context to Docker daemon 701.4kB 23:15:05 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 23:15:05 Step 2/23 : FROM ${BASE} AS builder 23:15:05 ---> cd41ebbaf931 23:15:05 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:15:05 ---> Running in 96e2370ea338 23:15:05 Removing intermediate container 96e2370ea338 23:15:05 ---> b2f4e8308648 23:15:05 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 23:15:05 ---> Running in 05c33d19eede 23:15:05 Removing intermediate container 05c33d19eede 23:15:05 ---> 7a94a3f02892 23:15:05 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:15:05 ---> Running in 2cf964689998 23:15:06 Removing intermediate container 2cf964689998 23:15:06 ---> 6adb55bc15e5 23:15:06 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:15:06 ---> Running in 844afe8da49f 23:15:06 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:15:07 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:15:07 OK: 224 MiB in 56 packages 23:15:07 Removing intermediate container 844afe8da49f 23:15:07 ---> 23e79c1d9cf9 23:15:07 Step 7/23 : WORKDIR /device-mqtt-go 23:15:07 ---> Running in de9002fbb4b2 23:15:08 Removing intermediate container de9002fbb4b2 23:15:08 ---> 92f50c823557 23:15:08 Step 8/23 : COPY . . 23:15:08 ---> ad2a56f4fdf4 23:15:08 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:15:08 ---> Running in 0466aa533710 23:15:08 Removing intermediate container 0466aa533710 23:15:08 ---> 4d7130a61b50 23:15:08 Step 10/23 : ARG MAKE='make build' 23:15:08 ---> Running in 5bd9f5fe7b1b 23:15:08 Removing intermediate container 5bd9f5fe7b1b 23:15:08 ---> f3517d6451c7 23:15:08 Step 11/23 : RUN $MAKE 23:15:08 ---> Running in 4c1040d5702b 23:15:09 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.13" -o cmd/device-mqtt ./cmd 23:15:21 Removing intermediate container 4c1040d5702b 23:15:21 ---> b86789fe4998 23:15:21 Step 12/23 : FROM alpine:3.14 23:15:21 3.14: Pulling from library/alpine 23:15:21 a0d0a0d46f8b: Already exists 23:15:21 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:15:21 Status: Downloaded newer image for alpine:3.14 23:15:21 ---> 14119a10abf4 23:15:21 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:15:21 ---> Running in 8c954b2b2177 23:15:21 Removing intermediate container 8c954b2b2177 23:15:21 ---> dc0aab2bdcd2 23:15:21 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 23:15:21 ---> Running in b0a3ae664bdd 23:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:15:21 (1/6) Installing dumb-init (1.2.5-r1) 23:15:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:15:22 (3/6) Installing libsodium (1.0.18-r0) 23:15:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:15:22 (5/6) Installing libzmq (4.3.4-r0) 23:15:22 (6/6) Installing zeromq (4.3.4-r0) 23:15:22 Executing busybox-1.33.1-r3.trigger 23:15:22 OK: 8 MiB in 20 packages 23:15:22 Removing intermediate container b0a3ae664bdd 23:15:22 ---> 64bb810470c2 23:15:22 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 23:15:22 ---> 7e78abdd206c 23:15:22 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 23:15:22 ---> 9ac1ced9021d 23:15:22 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:15:22 ---> 830dcd38c1db 23:15:22 Step 18/23 : EXPOSE 59982 23:15:22 ---> Running in 795a9d74ed28 23:15:23 Removing intermediate container 795a9d74ed28 23:15:23 ---> d886c0efa973 23:15:23 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 23:15:23 ---> Running in 723d67b6bbfb 23:15:23 Removing intermediate container 723d67b6bbfb 23:15:23 ---> bbd23afb9199 23:15:23 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:15:23 ---> Running in 9ff15f504c4f 23:15:23 Removing intermediate container 9ff15f504c4f 23:15:23 ---> 9429f64e53a6 23:15:23 Step 21/23 : LABEL arch=amd64 23:15:23 ---> Running in 546b686b0f60 23:15:23 Removing intermediate container 546b686b0f60 23:15:23 ---> 2f44884dbed1 23:15:23 Step 22/23 : LABEL git_sha=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:15:23 ---> Running in 552ad51bf7d9 23:15:23 Removing intermediate container 552ad51bf7d9 23:15:23 ---> 3502f2ae24bb 23:15:23 Step 23/23 : LABEL version=2.0.1-dev.13 23:15:23 ---> Running in adc498ed7f7a 23:15:23 Removing intermediate container adc498ed7f7a 23:15:23 ---> eac1ca63be92 23:15:23 [Warning] One or more build-args [ARCH] were not consumed 23:15:23 Successfully built eac1ca63be92 23:15:23 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:15:23 provisioning config files... 23:15:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config577228458029528221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:24 ---> docker-login.sh 23:15:24 nexus3.edgexfoundry.org:10001 23:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:24 Configure a credential helper to remove this warning. See 23:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:24 23:15:24 Login Succeeded 23:15:24 nexus3.edgexfoundry.org:10002 23:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:24 Configure a credential helper to remove this warning. See 23:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:24 23:15:24 Login Succeeded 23:15:24 nexus3.edgexfoundry.org:10003 23:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:24 Configure a credential helper to remove this warning. See 23:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:24 23:15:24 Login Succeeded 23:15:24 nexus3.edgexfoundry.org:10004 23:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:24 Configure a credential helper to remove this warning. See 23:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:24 23:15:24 Login Succeeded 23:15:24 docker.io 23:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:24 Configure a credential helper to remove this warning. See 23:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:24 23:15:24 Login Succeeded 23:15:24 ---> docker-login.sh ends [Pipeline] } 23:15:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:15:24 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 23:15:24 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:15:24 latest 23:15:24 2.0.1-dev.13 23:15:24 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 23:15:24 main 23:15:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:15:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] isUnix [Pipeline] sh 23:15:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:15:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:15:25 f6cd97ccf85b: Preparing 23:15:25 995a7e3215cc: Preparing 23:15:25 6fba5d669cfd: Preparing 23:15:25 901d057d98f7: Preparing 23:15:25 e2eb06d8af82: Preparing 23:15:25 e2eb06d8af82: Layer already exists 23:15:25 f6cd97ccf85b: Pushed 23:15:25 995a7e3215cc: Pushed 23:15:25 901d057d98f7: Pushed 23:15:26 6fba5d669cfd: Pushed 23:15:26 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh 23:15:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 23:15:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:15:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:15:27 f6cd97ccf85b: Preparing 23:15:27 995a7e3215cc: Preparing 23:15:27 6fba5d669cfd: Preparing 23:15:27 901d057d98f7: Preparing 23:15:27 e2eb06d8af82: Preparing 23:15:27 e2eb06d8af82: Layer already exists 23:15:27 995a7e3215cc: Layer already exists 23:15:27 901d057d98f7: Layer already exists 23:15:27 6fba5d669cfd: Layer already exists 23:15:27 f6cd97ccf85b: Layer already exists 23:15:27 latest: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh 23:15:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh 23:15:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.13 23:15:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:15:27 f6cd97ccf85b: Preparing 23:15:27 995a7e3215cc: Preparing 23:15:27 6fba5d669cfd: Preparing 23:15:27 901d057d98f7: Preparing 23:15:27 e2eb06d8af82: Preparing 23:15:27 f6cd97ccf85b: Layer already exists 23:15:27 e2eb06d8af82: Layer already exists 23:15:27 901d057d98f7: Layer already exists 23:15:27 995a7e3215cc: Layer already exists 23:15:27 6fba5d669cfd: Layer already exists 23:15:27 2.0.1-dev.13: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh 23:15:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh 23:15:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 23:15:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:15:28 f6cd97ccf85b: Preparing 23:15:28 995a7e3215cc: Preparing 23:15:28 6fba5d669cfd: Preparing 23:15:28 901d057d98f7: Preparing 23:15:28 e2eb06d8af82: Preparing 23:15:28 e2eb06d8af82: Layer already exists 23:15:28 f6cd97ccf85b: Layer already exists 23:15:28 995a7e3215cc: Layer already exists 23:15:28 901d057d98f7: Layer already exists 23:15:28 6fba5d669cfd: Layer already exists 23:15:28 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh 23:15:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 23:15:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 23:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:15:29 f6cd97ccf85b: Preparing 23:15:29 995a7e3215cc: Preparing 23:15:29 6fba5d669cfd: Preparing 23:15:29 901d057d98f7: Preparing 23:15:29 e2eb06d8af82: Preparing 23:15:29 901d057d98f7: Layer already exists 23:15:29 995a7e3215cc: Layer already exists 23:15:29 f6cd97ccf85b: Layer already exists 23:15:29 6fba5d669cfd: Layer already exists 23:15:29 e2eb06d8af82: Layer already exists 23:15:29 main: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:15:29 ===================================================== [Pipeline] echo 23:15:29 taggedImages: 23:15:29 - nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:15:29 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:15:29 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.13 23:15:29 - nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 23:15:29 - 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:15:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:29 23:15:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:15:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:30 latest: Pulling from edgex-lftools-log-publisher 23:15:30 b4d181a07f80: Pulling fs layer 23:15:30 a1111a8f2ec3: Pulling fs layer 23:15:30 ed53099fbce6: Pulling fs layer 23:15:30 dc539afda2c1: Pulling fs layer 23:15:30 77bc0d833cb6: Pulling fs layer 23:15:30 9065ff56babe: Pulling fs layer 23:15:30 d287ab97295c: Pulling fs layer 23:15:30 dc539afda2c1: Waiting 23:15:30 77bc0d833cb6: Waiting 23:15:30 9065ff56babe: Waiting 23:15:30 d287ab97295c: Waiting 23:15:30 a1111a8f2ec3: Verifying Checksum 23:15:30 a1111a8f2ec3: Download complete 23:15:30 dc539afda2c1: Verifying Checksum 23:15:30 dc539afda2c1: Download complete 23:15:30 ed53099fbce6: Verifying Checksum 23:15:30 ed53099fbce6: Download complete 23:15:30 9065ff56babe: Verifying Checksum 23:15:30 9065ff56babe: Download complete 23:15:30 77bc0d833cb6: Verifying Checksum 23:15:30 77bc0d833cb6: Download complete 23:15:30 b4d181a07f80: Verifying Checksum 23:15:30 b4d181a07f80: Download complete 23:15:30 d287ab97295c: Verifying Checksum 23:15:30 d287ab97295c: Download complete 23:15:31 b4d181a07f80: Pull complete 23:15:31 a1111a8f2ec3: Pull complete 23:15:32 ed53099fbce6: Pull complete 23:15:32 dc539afda2c1: Pull complete 23:15:32 77bc0d833cb6: Pull complete 23:15:32 9065ff56babe: Pull complete 23:15:38 d287ab97295c: Pull complete 23:15:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:15:38 prd-centos7-docker-4c-2g-13335 does not seem to be running inside a container 23:15:38 $ 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/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@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:15:40 $ docker top 21a18900fd63054537d09cad2c4ec4c26c4ae96b8961deccff718de8c72c9f85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:41 ---> job-cost.sh 23:15:41 lf-activate-venv: SKIPPING 23:15:41 INFO: No Stack... 23:15:41 INFO: Retrieving Pricing Info for: v3-standard-2 23:15:41 INFO: Archiving Costs [Pipeline] sh 23:15:42 + cat /w/workspace/device-mqtt-go/15/archives/cost.csv 23:15:42 + cut -d, -f6 [Pipeline] lock 23:15:42 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] 23:15:42 Resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] did not exist. Created. 23:15:42 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:15:42 + echo total: 0.05999999865889549 [Pipeline] stash 23:15:42 Stashed 1 file(s) [Pipeline] } 23:15:42 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 23:15:42 $ docker stop --time=1 21a18900fd63054537d09cad2c4ec4c26c4ae96b8961deccff718de8c72c9f85 23:15:43 $ docker rm -f 21a18900fd63054537d09cad2c4ec4c26c4ae96b8961deccff718de8c72c9f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:16:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13336 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 23:16:06 Running in /w/workspace/device-mqtt-go/15 [Pipeline] { [Pipeline] checkout 23:16:07 Selected Git installation does not exist. Using Default 23:16:07 The recommended git tool is: NONE 23:16:13 using credential edgex-jenkins-ssh 23:16:13 Cloning the remote Git repository 23:16:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:16:14 > git init /w/workspace/device-mqtt-go/15 # timeout=10 23:16:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:16:14 > git --version # timeout=10 23:16:14 > git --version # 'git version 2.17.1' 23:16:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:16:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:16:15 Avoid second fetch 23:16:15 Checking out Revision c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 (main) 23:16:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:16:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:16:15 > git config core.sparsecheckout # timeout=10 23:16:15 > git checkout -f c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 # timeout=10 23:16:19 Commit message: "feat: update config file to include secrets file parameters (#310)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:16:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:16:20 % Total % Received % Xferd Average Speed Time Time Time Current 23:16:20 Dload Upload Total Spent Left Speed 23:16:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 85064 0 --:--:-- --:--:-- --:--:-- 85681 [Pipeline] sh 23:16:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:16:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:16:21 + sudo tee /etc/docker/daemon.new 23:16:21 { 23:16:21 "registry-mirrors": [ 23:16:21 "https://nexus3.edgexfoundry.org:10001" 23:16:21 ], 23:16:21 "bip": "10.250.0.254/24", 23:16:21 "hosts": [ 23:16:21 "tcp://0.0.0.0:5555", 23:16:21 "unix:///var/run/docker.sock" 23:16:21 ], 23:16:21 "mtu": 1458, 23:16:21 "selinux-enabled": true, 23:16:21 "seccomp-profile": "/etc/docker/seccomp.json" 23:16:21 } [Pipeline] sh 23:16:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:16:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:40 provisioning config files... 23:16:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config6303575209417640422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:41 ---> docker-login.sh 23:16:41 nexus3.edgexfoundry.org:10001 23:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:42 Configure a credential helper to remove this warning. See 23:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:42 23:16:42 Login Succeeded 23:16:42 nexus3.edgexfoundry.org:10002 23:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:43 Configure a credential helper to remove this warning. See 23:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:43 23:16:43 Login Succeeded 23:16:43 nexus3.edgexfoundry.org:10003 23:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:43 Configure a credential helper to remove this warning. See 23:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:43 23:16:43 Login Succeeded 23:16:43 nexus3.edgexfoundry.org:10004 23:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:44 Configure a credential helper to remove this warning. See 23:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:44 23:16:44 Login Succeeded 23:16:44 docker.io 23:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:45 Configure a credential helper to remove this warning. See 23:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:45 23:16:45 Login Succeeded 23:16:45 ---> docker-login.sh ends [Pipeline] } 23:16:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:46 ========================================================= 23:16:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:16:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:16:46 + 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:16:47 Sending build context to Docker daemon 682.5kB 23:16:47 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:16:47 Step 2/11 : FROM ${BASE} AS builder 23:16:47 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:16:47 552d1f2373af: Pulling fs layer 23:16:47 ea3f2d53f512: Pulling fs layer 23:16:47 9e70ebbbe112: Pulling fs layer 23:16:47 7a9cfe048b4a: Pulling fs layer 23:16:47 72dc09318566: Pulling fs layer 23:16:47 f4f7b4309257: Pulling fs layer 23:16:47 0ac9a79272e3: Pulling fs layer 23:16:47 b78e95d17946: Pulling fs layer 23:16:47 7a9cfe048b4a: Waiting 23:16:47 72dc09318566: Waiting 23:16:47 0ac9a79272e3: Waiting 23:16:47 9e70ebbbe112: Verifying Checksum 23:16:47 9e70ebbbe112: Download complete 23:16:47 ea3f2d53f512: Verifying Checksum 23:16:47 ea3f2d53f512: Download complete 23:16:47 72dc09318566: Verifying Checksum 23:16:47 72dc09318566: Download complete 23:16:47 f4f7b4309257: Verifying Checksum 23:16:47 f4f7b4309257: Download complete 23:16:47 552d1f2373af: Verifying Checksum 23:16:47 552d1f2373af: Download complete 23:16:47 0ac9a79272e3: Verifying Checksum 23:16:47 0ac9a79272e3: Download complete 23:16:48 552d1f2373af: Pull complete 23:16:48 ea3f2d53f512: Pull complete 23:16:49 b78e95d17946: Verifying Checksum 23:16:49 b78e95d17946: Download complete 23:16:49 9e70ebbbe112: Pull complete 23:16:49 7a9cfe048b4a: Verifying Checksum 23:16:49 7a9cfe048b4a: Download complete 23:17:00 7a9cfe048b4a: Pull complete 23:17:00 72dc09318566: Pull complete 23:17:00 f4f7b4309257: Pull complete 23:17:00 0ac9a79272e3: Pull complete 23:17:07 b78e95d17946: Pull complete 23:17:07 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:17:07 ---> 8b459fc5aaf0 23:17:07 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:17:08 ---> Running in d3ef1e2ee4df 23:17:08 Removing intermediate container d3ef1e2ee4df 23:17:08 ---> 8090e59b624b 23:17:08 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:17:09 ---> Running in 814d41aaf6c3 23:17:09 Removing intermediate container 814d41aaf6c3 23:17:09 ---> 948eded90242 23:17:09 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:17:09 ---> Running in bcd4feef19e4 23:17:12 Removing intermediate container bcd4feef19e4 23:17:12 ---> ea4482dd98ce 23:17:12 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:12 ---> Running in 78bea60f7431 23:17:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:17:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:17:15 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:17:15 (2/4) Installing libedit (20210216.3.1-r0) 23:17:15 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:17:16 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:17:16 Executing busybox-1.33.1-r3.trigger 23:17:16 OK: 223 MiB in 56 packages 23:17:17 Removing intermediate container 78bea60f7431 23:17:17 ---> ee3b04066086 23:17:17 Step 7/11 : WORKDIR /device-mqtt-go 23:17:17 ---> Running in 1e0f13322f2b 23:17:18 Removing intermediate container 1e0f13322f2b 23:17:18 ---> e911b327b03b 23:17:18 Step 8/11 : COPY . . 23:17:19 ---> 6a75dca66ab5 23:17:19 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:19 ---> Running in d9c352894c85 23:18:41 Removing intermediate container d9c352894c85 23:18:41 ---> a5b239a7d73c 23:18:41 Step 10/11 : ARG MAKE='make build' 23:18:41 ---> Running in f881e9e5517e 23:18:41 Removing intermediate container f881e9e5517e 23:18:41 ---> 91bb1f52315b 23:18:41 Step 11/11 : RUN $MAKE 23:18:41 ---> Running in 252383b8edbb 23:18:41 noop 23:18:41 Removing intermediate container 252383b8edbb 23:18:41 ---> f4838d4e4815 23:18:41 Successfully built f4838d4e4815 23:18:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:18:42 + docker inspect -f . ci-base-image-arm64 23:18:42 . [Pipeline] withDockerContainer 23:18:42 prd-ubuntu18.04-docker-arm64-4c-16g-13336 does not seem to be running inside a container 23:18:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@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 ******** ci-base-image-arm64 cat 23:18:44 $ docker top 01cba97032a95c4fc442f0cfa79d38ed8da645b3e64de9f47b0376cbdc487cab -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:45 + go version 23:18:45 go version go1.16.8 linux/arm64 [Pipeline] } 23:18:45 $ docker stop --time=1 01cba97032a95c4fc442f0cfa79d38ed8da645b3e64de9f47b0376cbdc487cab 23:18:47 $ docker rm -f 01cba97032a95c4fc442f0cfa79d38ed8da645b3e64de9f47b0376cbdc487cab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:18:48 + docker inspect -f . ci-base-image-arm64 23:18:48 . [Pipeline] withDockerContainer 23:18:48 prd-ubuntu18.04-docker-arm64-4c-16g-13336 does not seem to be running inside a container 23:18:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@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 ******** ci-base-image-arm64 cat 23:18:50 $ docker top 3052ec79c15c0f39dc73655714ef04340a63593229714fb2bdb5dba6097c7aaf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:18:51 + make test 23:18:51 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:18:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:20:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:20:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.4% of statements 23:20:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:20:00 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:20:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:20:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:20:23 ./bin/test-attribution-txt.sh [Pipeline] } 23:20:25 $ docker stop --time=1 3052ec79c15c0f39dc73655714ef04340a63593229714fb2bdb5dba6097c7aaf 23:20:27 $ docker rm -f 3052ec79c15c0f39dc73655714ef04340a63593229714fb2bdb5dba6097c7aaf [Pipeline] // withDockerContainer [Pipeline] sh 23:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:20:28 Warning: overwriting stash ‘coverage-report’ 23:20:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:20:29 + ls -al . 23:20:29 total 180 23:20:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 23:20 . 23:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 23:16 .. 23:20:29 -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 23:16 .dockerignore 23:20:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 23:16 .git 23:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 23:16 .github 23:20:29 -rw-rw-r-- 1 jenkins jenkins 329 Oct 28 23:16 .gitignore 23:20:29 -rw-rw-r-- 1 jenkins jenkins 7287 Oct 28 23:16 Attribution.txt 23:20:29 -rw-rw-r-- 1 jenkins jenkins 7447 Oct 28 23:16 CHANGELOG.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 1907 Oct 28 23:16 Dockerfile 23:20:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 23:16 GOVERNANCE.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 23:16 Jenkinsfile 23:20:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 23:16 LICENSE 23:20:29 -rw-rw-r-- 1 jenkins jenkins 1030 Oct 28 23:16 Makefile 23:20:29 -rw-rw-r-- 1 jenkins jenkins 620 Oct 28 23:16 OWNERS.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 2211 Oct 28 23:16 README.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 12 Oct 28 23:12 VERSION 23:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 23:16 bin 23:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 23:16 cmd 23:20:29 -rw-r--r-- 1 jenkins jenkins 17284 Oct 28 23:19 coverage.out 23:20:29 -rw-rw-r-- 1 jenkins jenkins 388 Oct 28 23:16 go.mod 23:20:29 -rw-rw-r-- 1 jenkins jenkins 50360 Oct 28 23:16 go.sum 23:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 23:16 internal 23:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 23:16 mock 23:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 23:16 snap 23:20:29 -rw-rw-r-- 1 jenkins jenkins 227 Oct 28 23:16 version.go [Pipeline] isUnix [Pipeline] sh 23:20:29 + 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=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 --label arch=arm64 --label version=2.0.1-dev.13 . 23:20:30 Sending build context to Docker daemon 700.4kB 23:20:30 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 23:20:30 Step 2/23 : FROM ${BASE} AS builder 23:20:30 ---> f4838d4e4815 23:20:30 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:20:30 ---> Running in 71916bbd5817 23:20:31 Removing intermediate container 71916bbd5817 23:20:31 ---> 7beb23a76614 23:20:31 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 23:20:31 ---> Running in 0dd1ec087e8c 23:20:31 Removing intermediate container 0dd1ec087e8c 23:20:31 ---> 56104845a3ee 23:20:31 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:20:31 ---> Running in aeee50229309 23:20:33 Removing intermediate container aeee50229309 23:20:33 ---> 2f528f664d5b 23:20:33 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:33 ---> Running in 019ae884ad16 23:20:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:20:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:20:37 OK: 223 MiB in 56 packages 23:20:38 Removing intermediate container 019ae884ad16 23:20:38 ---> 9fb81bb27777 23:20:38 Step 7/23 : WORKDIR /device-mqtt-go 23:20:38 ---> Running in d22531d21060 23:20:38 Removing intermediate container d22531d21060 23:20:38 ---> 82cc4d97064e 23:20:38 Step 8/23 : COPY . . 23:20:39 ---> 6b840ba8d2ff 23:20:39 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:40 ---> Running in 89a8b6d5f1f4 23:20:42 Removing intermediate container 89a8b6d5f1f4 23:20:42 ---> bd87d7b427f9 23:20:42 Step 10/23 : ARG MAKE='make build' 23:20:42 ---> Running in 8002335d43c0 23:20:43 Removing intermediate container 8002335d43c0 23:20:43 ---> 3424cb24053d 23:20:43 Step 11/23 : RUN $MAKE 23:20:43 ---> Running in bddbaacffbae 23:20:44 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.13" -o cmd/device-mqtt ./cmd 23:21:31 Removing intermediate container bddbaacffbae 23:21:31 ---> 659e5cd2192d 23:21:31 Step 12/23 : FROM alpine:3.14 23:21:31 3.14: Pulling from library/alpine 23:21:31 552d1f2373af: Already exists 23:21:31 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:21:31 Status: Downloaded newer image for alpine:3.14 23:21:31 ---> bb3de5531c18 23:21:31 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:21:31 ---> Running in 9d654dc95c33 23:21:31 Removing intermediate container 9d654dc95c33 23:21:31 ---> cc3b394a6959 23:21:31 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 23:21:31 ---> Running in 8bce4b46fa93 23:21:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:21:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:21:31 (1/6) Installing dumb-init (1.2.5-r1) 23:21:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:21:31 (3/6) Installing libsodium (1.0.18-r0) 23:21:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:21:31 (5/6) Installing libzmq (4.3.4-r0) 23:21:31 (6/6) Installing zeromq (4.3.4-r0) 23:21:31 Executing busybox-1.33.1-r3.trigger 23:21:31 OK: 8 MiB in 20 packages 23:21:31 Removing intermediate container 8bce4b46fa93 23:21:31 ---> 7c5f5baad5fa 23:21:31 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 23:21:33 ---> 90591c07d647 23:21:33 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 23:21:33 ---> ecd4eb3c77de 23:21:33 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:21:34 ---> ab044e3f743c 23:21:34 Step 18/23 : EXPOSE 59982 23:21:34 ---> Running in 2650adc9e990 23:21:35 Removing intermediate container 2650adc9e990 23:21:35 ---> fe85b15a1eb8 23:21:35 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 23:21:35 ---> Running in 3c7682da5f07 23:21:36 Removing intermediate container 3c7682da5f07 23:21:36 ---> a97acb33eb3a 23:21:36 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:21:36 ---> Running in 4ac77b349aa4 23:21:36 Removing intermediate container 4ac77b349aa4 23:21:36 ---> 77aef772fc0a 23:21:36 Step 21/23 : LABEL arch=arm64 23:21:36 ---> Running in 6cbd4f728c17 23:21:37 Removing intermediate container 6cbd4f728c17 23:21:37 ---> c67baad0b8d6 23:21:37 Step 22/23 : LABEL git_sha=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:21:37 ---> Running in c08156165ffa 23:21:38 Removing intermediate container c08156165ffa 23:21:38 ---> abf0d325aa44 23:21:38 Step 23/23 : LABEL version=2.0.1-dev.13 23:21:38 ---> Running in 9530c216aabf 23:21:38 Removing intermediate container 9530c216aabf 23:21:38 ---> 5ab7625148e9 23:21:38 [Warning] One or more build-args [ARCH] were not consumed 23:21:38 Successfully built 5ab7625148e9 23:21:38 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:21:38 provisioning config files... 23:21:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config9078796534086797394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:39 ---> docker-login.sh 23:21:39 nexus3.edgexfoundry.org:10001 23:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:39 Configure a credential helper to remove this warning. See 23:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:39 23:21:39 Login Succeeded 23:21:39 nexus3.edgexfoundry.org:10002 23:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:40 Configure a credential helper to remove this warning. See 23:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:40 23:21:40 Login Succeeded 23:21:40 nexus3.edgexfoundry.org:10003 23:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:41 Configure a credential helper to remove this warning. See 23:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:41 23:21:41 Login Succeeded 23:21:41 nexus3.edgexfoundry.org:10004 23:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:41 Configure a credential helper to remove this warning. See 23:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:41 23:21:41 Login Succeeded 23:21:42 docker.io 23:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:43 Configure a credential helper to remove this warning. See 23:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:43 23:21:43 Login Succeeded 23:21:43 ---> docker-login.sh ends [Pipeline] } 23:21:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:21:43 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 23:21:43 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:21:43 latest 23:21:43 2.0.1-dev.13 23:21:43 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 23:21:43 main 23:21:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:21:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] isUnix [Pipeline] sh 23:21:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:21:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:21:43 05cba937b61b: Preparing 23:21:43 2892e6e3f165: Preparing 23:21:43 0115a74dc065: Preparing 23:21:43 2d5a0c0fec40: Preparing 23:21:43 ee420dfed78a: Preparing 23:21:44 ee420dfed78a: Layer already exists 23:21:44 2892e6e3f165: Pushed 23:21:44 05cba937b61b: Pushed 23:21:45 2d5a0c0fec40: Pushed 23:21:47 0115a74dc065: Pushed 23:21:47 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:21:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:21:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:21:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:21:48 05cba937b61b: Preparing 23:21:48 2892e6e3f165: Preparing 23:21:48 0115a74dc065: Preparing 23:21:48 2d5a0c0fec40: Preparing 23:21:48 ee420dfed78a: Preparing 23:21:48 2d5a0c0fec40: Layer already exists 23:21:48 2892e6e3f165: Layer already exists 23:21:48 0115a74dc065: Layer already exists 23:21:48 ee420dfed78a: Layer already exists 23:21:48 05cba937b61b: Layer already exists 23:21:48 latest: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:21:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh 23:21:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.13 23:21:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:21:49 05cba937b61b: Preparing 23:21:49 2892e6e3f165: Preparing 23:21:49 0115a74dc065: Preparing 23:21:49 2d5a0c0fec40: Preparing 23:21:49 ee420dfed78a: Preparing 23:21:49 2d5a0c0fec40: Layer already exists 23:21:49 ee420dfed78a: Layer already exists 23:21:49 05cba937b61b: Layer already exists 23:21:49 2892e6e3f165: Layer already exists 23:21:49 0115a74dc065: Layer already exists 23:21:49 2.0.1-dev.13: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:21:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh 23:21:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 23:21:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:21:49 05cba937b61b: Preparing 23:21:49 2892e6e3f165: Preparing 23:21:49 0115a74dc065: Preparing 23:21:49 2d5a0c0fec40: Preparing 23:21:49 ee420dfed78a: Preparing 23:21:50 2892e6e3f165: Layer already exists 23:21:50 2d5a0c0fec40: Layer already exists 23:21:50 05cba937b61b: Layer already exists 23:21:50 0115a74dc065: Layer already exists 23:21:50 ee420dfed78a: Layer already exists 23:21:50 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:21:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 23:21:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 23:21:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:21:50 05cba937b61b: Preparing 23:21:50 2892e6e3f165: Preparing 23:21:50 0115a74dc065: Preparing 23:21:50 2d5a0c0fec40: Preparing 23:21:50 ee420dfed78a: Preparing 23:21:51 2892e6e3f165: Layer already exists 23:21:51 ee420dfed78a: Layer already exists 23:21:51 05cba937b61b: Layer already exists 23:21:51 2d5a0c0fec40: Layer already exists 23:21:51 0115a74dc065: Layer already exists 23:21:51 main: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:21:51 ===================================================== [Pipeline] echo 23:21:51 taggedImages: 23:21:51 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 23:21:51 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:21:51 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.13 23:21:51 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 23:21:51 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:52 23:21:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:21:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:52 arm64: Pulling from edgex-lftools-log-publisher 23:21:52 448f6bf000e3: Pulling fs layer 23:21:52 f757da607395: Pulling fs layer 23:21:52 05883995daec: Pulling fs layer 23:21:52 8603b9c90790: Pulling fs layer 23:21:52 1560dd03e051: Pulling fs layer 23:21:52 27f5ce0e4adf: Pulling fs layer 23:21:52 c2d8d7efcc4b: Pulling fs layer 23:21:52 1560dd03e051: Waiting 23:21:52 27f5ce0e4adf: Waiting 23:21:52 c2d8d7efcc4b: Waiting 23:21:52 8603b9c90790: Waiting 23:21:52 f757da607395: Verifying Checksum 23:21:52 f757da607395: Download complete 23:21:52 8603b9c90790: Verifying Checksum 23:21:52 8603b9c90790: Download complete 23:21:52 1560dd03e051: Verifying Checksum 23:21:52 1560dd03e051: Download complete 23:21:52 27f5ce0e4adf: Verifying Checksum 23:21:52 27f5ce0e4adf: Download complete 23:21:52 05883995daec: Verifying Checksum 23:21:52 05883995daec: Download complete 23:21:53 448f6bf000e3: Verifying Checksum 23:21:53 448f6bf000e3: Download complete 23:21:56 c2d8d7efcc4b: Verifying Checksum 23:21:56 c2d8d7efcc4b: Download complete 23:21:57 448f6bf000e3: Pull complete 23:21:58 f757da607395: Pull complete 23:21:59 05883995daec: Pull complete 23:22:00 8603b9c90790: Pull complete 23:22:01 1560dd03e051: Pull complete 23:22:01 27f5ce0e4adf: Pull complete 23:22:20 c2d8d7efcc4b: Pull complete 23:22:20 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:22:20 prd-ubuntu18.04-docker-arm64-4c-16g-13336 does not seem to be running inside a container 23:22:20 $ 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/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:22:24 $ docker top d1606ddeaf025baf0e8cd916f84a1b1c61fd5e031194d4e8ce76403bb1df9aba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:25 ---> job-cost.sh 23:22:25 lf-activate-venv: SKIPPING 23:22:25 INFO: No Stack... 23:22:25 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:26 INFO: Archiving Costs [Pipeline] sh 23:22:26 + cat /w/workspace/device-mqtt-go/15/archives/cost.csv 23:22:26 + cut -d, -f6 [Pipeline] lock 23:22:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] 23:22:26 Resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] did not exist. Created. 23:22:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:27 /w/workspace/device-mqtt-go/15@tmp/durable-a19d77c2/script.sh: 1: /w/workspace/device-mqtt-go/15@tmp/durable-a19d77c2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:22:28 + echo total: 0.10999999940395355 [Pipeline] stash 23:22:28 Warning: overwriting stash ‘stack-cost’ 23:22:28 Stashed 1 file(s) [Pipeline] } 23:22:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:28 $ docker stop --time=1 d1606ddeaf025baf0e8cd916f84a1b1c61fd5e031194d4e8ce76403bb1df9aba 23:22:30 $ docker rm -f d1606ddeaf025baf0e8cd916f84a1b1c61fd5e031194d4e8ce76403bb1df9aba [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:22:31 provisioning config files... 23:22:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5387611595387761273tmp [Pipeline] { [Pipeline] sh 23:22:31 + set +x 23:22:31 + bash -s -- 23:22:31 + curl -s https://codecov.io/bash 23:22:31 23:22:31 _____ _ 23:22:31 / ____| | | 23:22:31 | | ___ __| | ___ ___ _____ __ 23:22:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:22:31 | |___| (_) | (_| | __/ (_| (_) \ V / 23:22:31 \_____\___/ \__,_|\___|\___\___/ \_/ 23:22:31 Bash-1.0.6 23:22:31 23:22:31 23:22:31 ==> git version 2.24.4 found 23:22:31 ==> 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:22:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:22:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:22:31 ==> Jenkins CI detected. 23:22:31 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 23:22:31 project root: . 23:22:31 --> token set from env 23:22:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:22:31 ==> Running gcov in . (disable via -X gcov) 23:22:31 ==> Python coveragepy not found 23:22:31 ==> Searching for coverage reports in: 23:22:31 + . 23:22:31 -> Found 1 reports 23:22:31 ==> Detecting git/mercurial file structure 23:22:31 ==> Reading reports 23:22:31 + ./coverage.out bytes=17284 23:22:31 ==> Appending adjustments 23:22:31 https://docs.codecov.io/docs/fixing-reports 23:22:31 + Found adjustments 23:22:31 ==> Gzipping contents 23:22:31 4.0K /tmp/codecov.o9NvdD.gz 23:22:31 ==> Uploading reports 23:22:31 url: https://codecov.io 23:22:31 query: branch=main&commit=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:22:31 -> Pinging Codecov 23:22:31 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=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:22:31 -> Uploading to 23:22:31 https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7D719EC7BBE17E464838252E33014C33/c11b57cd0fcb2e2ae2ea0895cfda036458c19b50/ef67a8fe-4236-4797-aae5-83da4fc5a54c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T232231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3a04ddddd0e491a34e074e9fabeee9485b5b75a2f3ee33f98148c8d88c0d3b5 23:22:31 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:31 Dload Upload Total Spent Left Speed 23:22:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3181 0 0 100 3181 0 10688 --:--:-- --:--:-- --:--:-- 10710 23:22:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] } 23:22:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:22:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:22:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:22:32 23:22:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:22:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:22:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:22:33 188c0c94c7c5: Pulling fs layer 23:22:33 0ef7d3d256c8: Pulling fs layer 23:22:33 de9db76c5a1d: Pulling fs layer 23:22:33 0eba1c9be4d2: Pulling fs layer 23:22:33 0d57e429df01: Pulling fs layer 23:22:33 4e4be7b47b0d: Pulling fs layer 23:22:33 e1f770b5df2f: Pulling fs layer 23:22:33 85a0685a4137: Pulling fs layer 23:22:33 0eba1c9be4d2: Waiting 23:22:33 0d57e429df01: Waiting 23:22:33 4e4be7b47b0d: Waiting 23:22:33 e1f770b5df2f: Waiting 23:22:33 85a0685a4137: Waiting 23:22:33 de9db76c5a1d: Verifying Checksum 23:22:33 de9db76c5a1d: Download complete 23:22:33 0ef7d3d256c8: Verifying Checksum 23:22:33 0ef7d3d256c8: Download complete 23:22:33 0d57e429df01: Verifying Checksum 23:22:33 0d57e429df01: Download complete 23:22:33 4e4be7b47b0d: Verifying Checksum 23:22:33 4e4be7b47b0d: Download complete 23:22:33 188c0c94c7c5: Verifying Checksum 23:22:33 188c0c94c7c5: Download complete 23:22:33 e1f770b5df2f: Verifying Checksum 23:22:33 e1f770b5df2f: Download complete 23:22:33 188c0c94c7c5: Pull complete 23:22:33 0ef7d3d256c8: Pull complete 23:22:33 de9db76c5a1d: Pull complete 23:22:34 0eba1c9be4d2: Verifying Checksum 23:22:34 0eba1c9be4d2: Download complete 23:22:34 85a0685a4137: Verifying Checksum 23:22:34 85a0685a4137: Download complete 23:22:37 0eba1c9be4d2: Pull complete 23:22:37 0d57e429df01: Pull complete 23:22:37 4e4be7b47b0d: Pull complete 23:22:38 e1f770b5df2f: Pull complete 23:22:42 85a0685a4137: Pull complete 23:22:42 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:22:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:22:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:22:42 prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container 23:22:42 $ 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:22:44 $ docker top e8382e4f2637e3c586182b1a4b80f1546ffd0b6197cc30481a63c4e379475d61 -eo pid,comm [Pipeline] { [Pipeline] echo 23:22:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:22:45 + set -o pipefail 23:22:45 + snyk monitor '--org=edgex-jenkins' 23:22:50 23:22:50 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 23:22:50 23:22:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/e2f3aef3-5fbe-4384-b1ff-a5632ebd51d2 23:22:50 23:22:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:22:50 23:22:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:22:50 23:22:50 [Pipeline] } 23:22:50 $ docker stop --time=1 e8382e4f2637e3c586182b1a4b80f1546ffd0b6197cc30481a63c4e379475d61 23:22:52 $ docker rm -f e8382e4f2637e3c586182b1a4b80f1546ffd0b6197cc30481a63c4e379475d61 [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:22:53 + git log --format=format:%s -1 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] isUnix [Pipeline] sh 23:22:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:22:53 . [Pipeline] withDockerContainer 23:22:53 prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container 23:22: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:22:54 $ docker top 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:22:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:22:54 [ssh-agent] Looking for ssh-agent implementation... 23:22:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:22:54 $ docker exec 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 ssh-agent 23:22:54 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLGgbLj/agent.13 23:22:54 SSH_AGENT_PID=20 23:22:54 Running ssh-add (command line suppressed) 23:22:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2590049869800146583.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2590049869800146583.key) 23:22:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:22:54 + git semver tag 23:22:54 # -> Open(): unable to determine branch for HEAD 23:22:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:22:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:22:54 # $SEMVER_REMOTE_NAME = origin 23:22:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:22:54 # $SEMVER_USER_NAME = edgex-jenkins 23:22:54 # $SEMVER_BRANCH = main 23:22:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:22:54 # c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 HEAD 23:22:54 # -> Force: false 23:22:54 # b59f0ec731b5da683903c0fb399cf31527fb5dda refs/tags/v2.0.1-dev.13 [Pipeline] } 23:22:54 $ docker exec --env ******** --env ******** 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 ssh-agent -k 23:22:54 unset SSH_AUTH_SOCK; 23:22:54 unset SSH_AGENT_PID; 23:22:54 echo Agent pid 20 killed; 23:22:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:22:55 + git semver [Pipeline] } 23:22:55 $ docker stop --time=1 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 23:22:56 $ docker rm -f 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:22:56 23:22:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:22:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:22:57 0.23.1-centos7: Pulling from edgex-lftools 23:22:57 ab5ef0e58194: Pulling fs layer 23:22:57 9712f1f96733: Pulling fs layer 23:22:57 63f879dbbcfc: Pulling fs layer 23:22:57 0d9ebad4ef96: Pulling fs layer 23:22:57 e9a5061849ea: Pulling fs layer 23:22:57 d747dcd14b5f: Pulling fs layer 23:22:57 2de7ff778b66: Pulling fs layer 23:22:57 e9a5061849ea: Waiting 23:22:57 d747dcd14b5f: Waiting 23:22:57 2de7ff778b66: Waiting 23:22:57 0d9ebad4ef96: Waiting 23:22:57 9712f1f96733: Download complete 23:22:57 63f879dbbcfc: Verifying Checksum 23:22:57 63f879dbbcfc: Download complete 23:22:57 ab5ef0e58194: Verifying Checksum 23:22:57 ab5ef0e58194: Download complete 23:22:57 d747dcd14b5f: Verifying Checksum 23:22:57 d747dcd14b5f: Download complete 23:22:57 0d9ebad4ef96: Verifying Checksum 23:22:57 0d9ebad4ef96: Download complete 23:22:57 e9a5061849ea: Verifying Checksum 23:22:57 e9a5061849ea: Download complete 23:22:57 2de7ff778b66: Verifying Checksum 23:22:57 2de7ff778b66: Download complete 23:23:00 ab5ef0e58194: Pull complete 23:23:00 9712f1f96733: Pull complete 23:23:01 63f879dbbcfc: Pull complete 23:23:05 0d9ebad4ef96: Pull complete 23:23:05 e9a5061849ea: Pull complete 23:23:05 d747dcd14b5f: Pull complete 23:23:06 2de7ff778b66: Pull complete 23:23:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:23:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:23:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:23:06 prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container 23:23:06 $ 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:23:09 $ docker top b4eb70d9dba06d2b978fa9becd316a0d776f47653e0af062320a7a10f4a8424b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:23:09 provisioning config files... 23:23:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7016156005881311007tmp 23:23:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6224313174315697828tmp 23:23:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1793890370624747734tmp [Pipeline] { [Pipeline] echo 23:23:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:23:10 ---> sigul-configuration.sh 23:23:10 gpg: directory `/root/.gnupg' created 23:23:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:23:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:23:10 gpg: keyring `/root/.gnupg/secring.gpg' created 23:23:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:23:10 gpg: CAST5 encrypted data 23:23:10 gpg: encrypted with 1 passphrase 23:23:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:23:10 + mkdir /home/jenkins 23:23:10 + mkdir /home/jenkins/sigul [Pipeline] sh 23:23:10 + 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:23:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:23:11 ---> sigul-install.sh 23:23:11 Sigul already installed; skipping installation. [Pipeline] sh 23:23:11 + git tag --list 23:23:11 0.7.1 23:23:11 v1.0.0 23:23:11 v1.1.0 23:23:11 v1.1.1 23:23:11 v1.2.2 23:23:11 v1.3.0 23:23:11 v1.3.1 23:23:11 v2.0.0 23:23:11 v2.0.1-dev.1 23:23:11 v2.0.1-dev.10 23:23:11 v2.0.1-dev.11 23:23:11 v2.0.1-dev.12 23:23:11 v2.0.1-dev.13 23:23:11 v2.0.1-dev.2 23:23:11 v2.0.1-dev.3 23:23:11 v2.0.1-dev.4 23:23:11 v2.0.1-dev.5 23:23:11 v2.0.1-dev.6 23:23:11 v2.0.1-dev.7 23:23:11 v2.0.1-dev.8 23:23:11 v2.0.1-dev.9 [Pipeline] sh 23:23:11 + lftools sign git-tag v2.0.1-dev.13 23:23:12 Signing Git tag with Sigul... 23:23:12 Signing v2.0.1-dev.13 [Pipeline] echo 23:23:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:23:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:23:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:23:13 $ docker stop --time=1 b4eb70d9dba06d2b978fa9becd316a0d776f47653e0af062320a7a10f4a8424b 23:23:14 $ docker rm -f b4eb70d9dba06d2b978fa9becd316a0d776f47653e0af062320a7a10f4a8424b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:23:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:23:15 . [Pipeline] withDockerContainer 23:23:15 prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container 23:23:15 $ 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:23:15 $ docker top 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:23:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:23:15 [ssh-agent] Looking for ssh-agent implementation... 23:23:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:23:15 $ docker exec 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 ssh-agent 23:23:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLOHefB/agent.14 23:23:15 SSH_AGENT_PID=20 23:23:15 Running ssh-add (command line suppressed) 23:23:16 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2007694973879319466.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2007694973879319466.key) 23:23:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:23:16 + git semver bump pre 23:23:16 # -> Open(): unable to determine branch for HEAD 23:23:16 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:23:16 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:23:16 # $SEMVER_REMOTE_NAME = origin 23:23:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:23:16 # $SEMVER_USER_NAME = edgex-jenkins 23:23:16 # $SEMVER_BRANCH = main 23:23:16 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:23:16 2.0.1-dev.14 [Pipeline] } 23:23:16 $ docker exec --env ******** --env ******** 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 ssh-agent -k 23:23:16 unset SSH_AUTH_SOCK; 23:23:16 unset SSH_AGENT_PID; 23:23:16 echo Agent pid 20 killed; 23:23:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:23:16 + git semver [Pipeline] } 23:23:16 $ docker stop --time=1 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 23:23:17 $ docker rm -f 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:23:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:23:18 . [Pipeline] withDockerContainer 23:23:18 prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container 23:23:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:23:18 $ docker top 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:23:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:23:19 [ssh-agent] Looking for ssh-agent implementation... 23:23:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:23:19 $ docker exec 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f ssh-agent 23:23:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGAkJPn/agent.14 23:23:19 SSH_AGENT_PID=21 23:23:19 Running ssh-add (command line suppressed) 23:23:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6049879510319381283.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6049879510319381283.key) 23:23:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:23:19 + git semver push 23:23:19 # -> Open(): unable to determine branch for HEAD 23:23:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 23:23:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 23:23:19 # $SEMVER_REMOTE_NAME = origin 23:23:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:23:19 # $SEMVER_USER_NAME = edgex-jenkins 23:23:19 # $SEMVER_BRANCH = main 23:23:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 23:23:21 $ docker exec --env ******** --env ******** 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f ssh-agent -k 23:23:21 unset SSH_AUTH_SOCK; 23:23:21 unset SSH_AGENT_PID; 23:23:21 echo Agent pid 21 killed; 23:23:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:23:21 + git semver [Pipeline] } 23:23:21 $ docker stop --time=1 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f 23:23:22 $ docker rm -f 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f [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:23:23 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:23:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:23:24 ---> package-listing.sh 23:23:24 ++ tr '[:upper:]' '[:lower:]' 23:23:24 ++ facter osfamily 23:23:24 + OS_FAMILY=redhat 23:23:24 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 23:23:24 + START_PACKAGES=/tmp/packages_start.txt 23:23:24 + END_PACKAGES=/tmp/packages_end.txt 23:23:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:23:24 + PACKAGES=/tmp/packages_start.txt 23:23:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:23:24 + PACKAGES=/tmp/packages_end.txt 23:23:24 + case "${OS_FAMILY}" in 23:23:24 + sort 23:23:24 + rpm -qa 23:23:25 + '[' -f /tmp/packages_start.txt ']' 23:23:25 + '[' -f /tmp/packages_end.txt ']' 23:23:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:23:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:23:25 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 23:23:25 + 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:23:25 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:23:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:23:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:26 23:23:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:23:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:26 latest: Pulling from edgex-lftools-log-publisher 23:23:26 b4d181a07f80: Pulling fs layer 23:23:26 a1111a8f2ec3: Pulling fs layer 23:23:26 ed53099fbce6: Pulling fs layer 23:23:26 dc539afda2c1: Pulling fs layer 23:23:26 77bc0d833cb6: Pulling fs layer 23:23:26 9065ff56babe: Pulling fs layer 23:23:26 d287ab97295c: Pulling fs layer 23:23:26 dc539afda2c1: Waiting 23:23:26 77bc0d833cb6: Waiting 23:23:26 9065ff56babe: Waiting 23:23:26 d287ab97295c: Waiting 23:23:26 a1111a8f2ec3: Verifying Checksum 23:23:26 a1111a8f2ec3: Download complete 23:23:26 dc539afda2c1: Verifying Checksum 23:23:26 dc539afda2c1: Download complete 23:23:26 77bc0d833cb6: Verifying Checksum 23:23:26 77bc0d833cb6: Download complete 23:23:26 ed53099fbce6: Verifying Checksum 23:23:26 ed53099fbce6: Download complete 23:23:26 9065ff56babe: Verifying Checksum 23:23:26 9065ff56babe: Download complete 23:23:26 b4d181a07f80: Verifying Checksum 23:23:26 b4d181a07f80: Download complete 23:23:27 d287ab97295c: Verifying Checksum 23:23:27 d287ab97295c: Download complete 23:23:28 b4d181a07f80: Pull complete 23:23:28 a1111a8f2ec3: Pull complete 23:23:28 ed53099fbce6: Pull complete 23:23:28 dc539afda2c1: Pull complete 23:23:28 77bc0d833cb6: Pull complete 23:23:28 9065ff56babe: Pull complete 23:23:34 d287ab97295c: Pull complete 23:23:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:23:34 prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container 23:23:34 $ 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:23:36 $ docker top c91f15b33848c3ddb28886aaabb007d19c704d23025008e405952bfdda786b39 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:37 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:37 + mkdir -p /var/log/sysstat [Pipeline] sh 23:23:37 + ls /var/log/sa-host 23:23:37 + sadf -c /var/log/sa-host/sa28 23:23:37 file_magic: OK 23:23:37 HZ: Using current value: 100 23:23:37 file_header: OK 23:23:37 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:23:37 Statistics: 23:23:37 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:23:37 File successfully converted to sysstat format version 12.0.3 23:23:37 + sadf -c /var/log/sa-host/sa30 23:23:37 file_magic: OK 23:23:37 HZ: Using current value: 100 23:23:37 file_header: OK 23:23:37 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:23:37 Statistics: 23:23:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:23:37 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:37 provisioning config files... 23:23:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2055139554982528006tmp [Pipeline] { [Pipeline] echo 23:23:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:37 ---> create-netrc.sh [Pipeline] } 23:23:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:23:38 ---> python-tools-install.sh [Pipeline] echo 23:23:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:38 ---> sudo-logs.sh 23:23:38 Archiving 'sudo' log.. 23:23:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-13331.novalocal: Name or service not known 23:23:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-13331.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:23:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:38 ---> job-cost.sh 23:23:38 lf-activate-venv: SKIPPING 23:23:38 DEBUG: total: 0.10999999940395355 23:23:38 INFO: Retrieving Stack Cost... 23:23:39 INFO: Retrieving Pricing Info for: v3-standard-2 23:23:39 INFO: Archiving Costs [Pipeline] echo 23:23:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:40 ---> logs-deploy.sh 23:23:40 lf-activate-venv: SKIPPING 23:23:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/15 23:23:40 INFO: archiving workspace using pattern(s): 23:23:40 Archives upload complete. 23:23:40 INFO: archiving logs to Nexus