Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d22688ce7a8934592a13fb64b21226b5e27cedca 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-ssh13606850872506054842.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh474672923824676200.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15245683391993988560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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 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-ssh14304992454349491243.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9442988429545570739.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 USE_ALPINE: true 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: false 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19761 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Avoid second fetch Checking out Revision d22688ce7a8934592a13fb64b21226b5e27cedca (main) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d22688ce7a8934592a13fb64b21226b5e27cedca # timeout=10 Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#382)" > git rev-list --no-walk 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:59:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:59:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:59:10 ========================================================= 20:59:10 EdgeX Global Pipelines Version Info 20:59:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:59:11 ------------------- 20:59:11 stable info: 20:59:11 ------------------- 20:59:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:59:11 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 20:59:11 Message: update stable to v1.0.237 20:59:11 ------------------- 20:59:11 experimental info: 20:59:11 ------------------- 20:59:11 Commited By: **** collab-it+edgex@linuxfoundation.org 20:59:11 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 20:59:11 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d22688c [Pipeline] echo 20:59:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:12 provisioning config files... 20:59:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6371714338798846424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:12 ---> docker-login.sh 20:59:12 nexus3.edgexfoundry.org:10001 20:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:13 Configure a credential helper to remove this warning. See 20:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:13 20:59:13 Login Succeeded 20:59:13 nexus3.edgexfoundry.org:10002 20:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:13 Configure a credential helper to remove this warning. See 20:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:13 20:59:13 Login Succeeded 20:59:13 nexus3.edgexfoundry.org:10003 20:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:13 Configure a credential helper to remove this warning. See 20:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:13 20:59:13 Login Succeeded 20:59:13 nexus3.edgexfoundry.org:10004 20:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:13 Configure a credential helper to remove this warning. See 20:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:13 20:59:13 Login Succeeded 20:59:13 docker.io 20:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:14 Configure a credential helper to remove this warning. See 20:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:14 20:59:14 Login Succeeded 20:59:14 ---> docker-login.sh ends [Pipeline] } 20:59:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:59:14 + git rev-list -1 --merges d22688ce7a8934592a13fb64b21226b5e27cedca~1..d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo 20:59:14 -----------> git rev-list -1 --merges d22688ce7a8934592a13fb64b21226b5e27cedca~1..d22688ce7a8934592a13fb64b21226b5e27cedca d22688ce7a8934592a13fb64b21226b5e27cedca [false] [Pipeline] sh 20:59:15 + git log --format=format:%s -1 d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo 20:59:15 ========================================================= 20:59:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:15 + git log --format=format:%s -1 d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo 20:59:15 [semverPrep] GIT_COMMIT: d22688ce7a8934592a13fb64b21226b5e27cedca, Commit Message: build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#382) [Pipeline] echo 20:59:15 [semverPrep] This is not a build commit. [Pipeline] sh 20:59:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:16 + grep -v github /etc/ssh/ssh_known_hosts 20:59:16 + [ -e /tmp/ssh_known_hosts ] 20:59:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:59:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:59:16 + sudo tee -a /etc/ssh/ssh_known_hosts 20:59:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:16 20:59:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:16 0.1.4: Pulling from edgex-devops/py-git-semver 20:59:16 b85a868b505f: Pulling fs layer 20:59:16 e2be974225ed: Pulling fs layer 20:59:16 339a4e72a1f5: Pulling fs layer 20:59:16 988bab9f4d93: Pulling fs layer 20:59:16 1469e6f7b9e6: Pulling fs layer 20:59:16 eaf3925da568: Pulling fs layer 20:59:16 988bab9f4d93: Waiting 20:59:16 1469e6f7b9e6: Waiting 20:59:16 bab4dde63d76: Pulling fs layer 20:59:16 eaf3925da568: Waiting 20:59:16 bde34c3a00c8: Pulling fs layer 20:59:16 b352a97aabf1: Pulling fs layer 20:59:16 bab4dde63d76: Waiting 20:59:16 4872d77fe225: Pulling fs layer 20:59:16 5851b861e8e6: Pulling fs layer 20:59:16 b352a97aabf1: Waiting 20:59:16 bde34c3a00c8: Waiting 20:59:16 4872d77fe225: Waiting 20:59:16 5851b861e8e6: Waiting 20:59:16 e2be974225ed: Verifying Checksum 20:59:16 e2be974225ed: Download complete 20:59:16 988bab9f4d93: Verifying Checksum 20:59:16 339a4e72a1f5: Verifying Checksum 20:59:16 339a4e72a1f5: Download complete 20:59:16 1469e6f7b9e6: Verifying Checksum 20:59:16 1469e6f7b9e6: Download complete 20:59:16 eaf3925da568: Download complete 20:59:16 bde34c3a00c8: Verifying Checksum 20:59:16 bde34c3a00c8: Download complete 20:59:16 b352a97aabf1: Verifying Checksum 20:59:16 b352a97aabf1: Download complete 20:59:16 4872d77fe225: Verifying Checksum 20:59:16 4872d77fe225: Download complete 20:59:16 5851b861e8e6: Download complete 20:59:16 b85a868b505f: Verifying Checksum 20:59:16 b85a868b505f: Download complete 20:59:17 bab4dde63d76: Verifying Checksum 20:59:17 bab4dde63d76: Download complete 20:59:18 b85a868b505f: Pull complete 20:59:18 e2be974225ed: Pull complete 20:59:19 339a4e72a1f5: Pull complete 20:59:19 988bab9f4d93: Pull complete 20:59:19 1469e6f7b9e6: Pull complete 20:59:19 eaf3925da568: Pull complete 20:59:21 bab4dde63d76: Pull complete 20:59:21 bde34c3a00c8: Pull complete 20:59:21 b352a97aabf1: Pull complete 20:59:22 4872d77fe225: Pull complete 20:59:22 5851b861e8e6: Pull complete 20:59:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:59:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:22 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 20:59:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:23 $ docker top d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 -eo pid,comm 20:59:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:59:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:23 [ssh-agent] Looking for ssh-agent implementation... 20:59:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:24 $ docker exec d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent 20:59:24 SSH_AUTH_SOCK=/tmp/ssh-O9r32ztOMQwQ/agent.34 20:59:24 SSH_AGENT_PID=40 20:59:24 Running ssh-add (command line suppressed) 20:59:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8121833539308822003.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8121833539308822003.key) 20:59:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:24 + git tag --points-at HEAD [Pipeline] } 20:59:24 $ docker exec --env ******** --env ******** d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent -k 20:59:24 unset SSH_AUTH_SOCK; 20:59:24 unset SSH_AGENT_PID; 20:59:24 echo Agent pid 40 killed; 20:59:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:24 [ssh-agent] Looking for ssh-agent implementation... 20:59:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:24 $ docker exec d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent 20:59:25 SSH_AUTH_SOCK=/tmp/ssh-8jn2dHXz8Auc/agent.73 20:59:25 SSH_AGENT_PID=80 20:59:25 Running ssh-add (command line suppressed) 20:59:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2997904922736460706.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2997904922736460706.key) 20:59:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:25 + git semver init 20:59:25 2022-07-12 20:59:25,803 [run_init] DEBUG init version:0.0.0 force:False 20:59:25 2022-07-12 20:59:25,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:59:25 2022-07-12 20:59:25,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:59:25 2022-07-12 20:59:25,804 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 20:59:26 2022-07-12 20:59:26,559 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 20:59:26 2022-07-12 20:59:26,560 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 20:59:26 2022-07-12 20:59:26,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:59:26 2022-07-12 20:59:26,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:59:26 2.2.1-dev.9 [Pipeline] } 20:59:26 $ docker exec --env ******** --env ******** d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent -k 20:59:26 unset SSH_AUTH_SOCK; 20:59:26 unset SSH_AGENT_PID; 20:59:26 echo Agent pid 80 killed; 20:59:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:27 + git semver [Pipeline] } 20:59:27 $ docker stop --time=1 d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 20:59:28 $ docker rm -f d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:29 Stashed 1 file(s) [Pipeline] echo 20:59:29 [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:29 provisioning config files... 20:59:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3590161740039976156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19760 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:59:29 Running in /w/workspace/device-mqtt-go/56 [Pipeline] { [Pipeline] checkout 20:59:29 Selected Git installation does not exist. Using Default 20:59:29 The recommended git tool is: NONE 20:59:29 ---> docker-login.sh 20:59:29 nexus3.edgexfoundry.org:10001 20:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:29 Configure a credential helper to remove this warning. See 20:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:29 20:59:29 Login Succeeded 20:59:29 nexus3.edgexfoundry.org:10002 20:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:30 Configure a credential helper to remove this warning. See 20:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:30 20:59:30 Login Succeeded 20:59:30 nexus3.edgexfoundry.org:10003 20:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:30 Configure a credential helper to remove this warning. See 20:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:30 20:59:30 Login Succeeded 20:59:30 nexus3.edgexfoundry.org:10004 20:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:30 Configure a credential helper to remove this warning. See 20:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:30 20:59:30 Login Succeeded 20:59:30 docker.io 20:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:30 Configure a credential helper to remove this warning. See 20:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:30 20:59:30 Login Succeeded 20:59:30 ---> docker-login.sh ends [Pipeline] } 20:59:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:30 ========================================================= 20:59:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:59:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:59:31 Sending build context to Docker daemon 6.072MB 20:59:31 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:59:31 Step 2/12 : FROM ${BASE} AS builder 20:59:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:31 2408cc74d12b: Pulling fs layer 20:59:31 ea60b727a1ce: Pulling fs layer 20:59:31 30c4a7721957: Pulling fs layer 20:59:31 370296b7ddb6: Pulling fs layer 20:59:31 7c6cee850709: Pulling fs layer 20:59:31 39a5fcdaea64: Pulling fs layer 20:59:31 d94ebbe4e438: Pulling fs layer 20:59:31 bcfd1f05c69d: Pulling fs layer 20:59:31 59ccb84bbe0f: Pulling fs layer 20:59:31 370296b7ddb6: Waiting 20:59:31 7c6cee850709: Waiting 20:59:31 39a5fcdaea64: Waiting 20:59:31 d94ebbe4e438: Waiting 20:59:31 bcfd1f05c69d: Waiting 20:59:31 59ccb84bbe0f: Waiting 20:59:31 30c4a7721957: Verifying Checksum 20:59:31 30c4a7721957: Download complete 20:59:31 ea60b727a1ce: Verifying Checksum 20:59:31 ea60b727a1ce: Download complete 20:59:31 7c6cee850709: Verifying Checksum 20:59:31 7c6cee850709: Download complete 20:59:31 39a5fcdaea64: Verifying Checksum 20:59:31 39a5fcdaea64: Download complete 20:59:31 2408cc74d12b: Verifying Checksum 20:59:31 2408cc74d12b: Download complete 20:59:31 d94ebbe4e438: Verifying Checksum 20:59:31 d94ebbe4e438: Download complete 20:59:31 2408cc74d12b: Pull complete 20:59:31 ea60b727a1ce: Pull complete 20:59:31 59ccb84bbe0f: Verifying Checksum 20:59:31 59ccb84bbe0f: Download complete 20:59:31 30c4a7721957: Pull complete 20:59:31 bcfd1f05c69d: Verifying Checksum 20:59:31 bcfd1f05c69d: Download complete 20:59:32 370296b7ddb6: Verifying Checksum 20:59:32 370296b7ddb6: Download complete 20:59:34 using credential edgex-jenkins-ssh 20:59:34 Cloning the remote Git repository 20:59:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:59:34 > git init /w/workspace/device-mqtt-go/56 # timeout=10 20:59:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:59:34 > git --version # timeout=10 20:59:34 > git --version # 'git version 2.25.1' 20:59:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:35 Avoid second fetch 20:59:35 Checking out Revision d22688ce7a8934592a13fb64b21226b5e27cedca (main) 20:59:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:59:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:35 > git config core.sparsecheckout # timeout=10 20:59:35 > git checkout -f d22688ce7a8934592a13fb64b21226b5e27cedca # timeout=10 20:59:37 370296b7ddb6: Pull complete 20:59:37 7c6cee850709: Pull complete 20:59:37 39a5fcdaea64: Pull complete 20:59:37 d94ebbe4e438: Pull complete 20:59:39 bcfd1f05c69d: Pull complete 20:59:39 Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#382)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 20:59:39 59ccb84bbe0f: Pull complete 20:59:39 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:59:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:59:39 ---> a4fb48ad2a94 20:59:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] sh 20:59:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:59:40 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:40 Dload Upload Total Spent Left Speed 20:59:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 78692 0 --:--:-- --:--:-- --:--:-- 78692 [Pipeline] sh 20:59:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:41 ---> Running in 3f583f003784 20:59:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:59:41 + sudo tee /etc/docker/daemon.new 20:59:41 { 20:59:41 "registry-mirrors": [ 20:59:41 "https://nexus3.edgexfoundry.org:10001" 20:59:41 ], 20:59:41 "bip": "10.250.0.254/24", 20:59:41 "hosts": [ 20:59:41 "tcp://0.0.0.0:5555", 20:59:41 "unix:///var/run/docker.sock" 20:59:41 ], 20:59:41 "mtu": 1458, 20:59:41 "selinux-enabled": true, 20:59:41 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:41 } [Pipeline] sh 20:59:41 Removing intermediate container 3f583f003784 20:59:41 ---> 81e5e43354d5 20:59:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:59:41 ---> Running in 0619b3d7b5b6 20:59:41 Removing intermediate container 0619b3d7b5b6 20:59:41 ---> 8676083fc1f9 20:59:41 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:41 ---> Running in 3c7634079037 20:59:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:42 + sudo service docker restart 20:59:42 Removing intermediate container 3c7634079037 20:59:42 ---> 4be33b78b345 20:59:42 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:42 ---> Running in 88c2618f5fca 20:59:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:59:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:59:43 (1/4) Installing openssh-keygen (9.0_p1-r1) 20:59:44 (2/4) Installing libedit (20210910.3.1-r0) 20:59:44 (3/4) Installing openssh-client-common (9.0_p1-r1) 20:59:44 (4/4) Installing openssh-client-default (9.0_p1-r1) 20:59:44 Executing busybox-1.35.0-r13.trigger 20:59:44 OK: 216 MiB in 55 packages 20:59:44 Removing intermediate container 88c2618f5fca 20:59:44 ---> afb359d0a9a2 20:59:44 Step 7/12 : WORKDIR /device-mqtt-go 20:59:44 ---> Running in 2df8fa502e19 20:59:44 Removing intermediate container 2df8fa502e19 20:59:44 ---> dc2947efdbf9 20:59:44 Step 8/12 : COPY go.mod vendor* ./ 20:59:45 ---> 7c7c812141a2 20:59:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:45 ---> Running in a8ecbb89cd8e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:00 provisioning config files... 21:00:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/56@tmp/config7219090466212449397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:01 ---> docker-login.sh 21:00:01 nexus3.edgexfoundry.org:10001 21:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:01 Configure a credential helper to remove this warning. See 21:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:01 21:00:01 Login Succeeded 21:00:01 nexus3.edgexfoundry.org:10002 21:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:02 Configure a credential helper to remove this warning. See 21:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:02 21:00:02 Login Succeeded 21:00:02 nexus3.edgexfoundry.org:10003 21:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:02 Configure a credential helper to remove this warning. See 21:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:02 21:00:02 Login Succeeded 21:00:02 nexus3.edgexfoundry.org:10004 21:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:03 Removing intermediate container a8ecbb89cd8e 21:00:03 ---> 5e81fa42faec 21:00:03 Step 10/12 : COPY . . 21:00:03 ---> 13f8fa929643 21:00:03 Step 11/12 : ARG MAKE='make build' 21:00:03 ---> Running in e7133edcbf89 21:00:03 Removing intermediate container e7133edcbf89 21:00:03 ---> 1c93246f8f96 21:00:03 Step 12/12 : RUN $MAKE 21:00:03 ---> Running in a31b502e64a9 21:00:03 noop 21:00:03 Removing intermediate container a31b502e64a9 21:00:03 ---> 8daba1279549 21:00:03 Successfully built 8daba1279549 21:00:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:03 Configure a credential helper to remove this warning. See 21:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:03 21:00:03 Login Succeeded 21:00:03 docker.io 21:00:03 + docker inspect -f . ci-base-image-x86_64 21:00:03 . 21:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:03 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:04 $ docker top 6297e9b994fab9b48545f2a07c3f075408cae74abe757a3c1f988dcd291e0e89 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:04 + go version 21:00:04 go version go1.18.3 linux/amd64 [Pipeline] } 21:00:04 $ docker stop --time=1 6297e9b994fab9b48545f2a07c3f075408cae74abe757a3c1f988dcd291e0e89 21:00:05 $ docker rm -f 6297e9b994fab9b48545f2a07c3f075408cae74abe757a3c1f988dcd291e0e89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:06 + docker inspect -f . ci-base-image-x86_64 21:00:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:06 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:06 $ docker top 76927263ddf68cc8fc13275d80a060e2388fec4cba1782b7c16e64e2d57061cf -eo pid,comm 21:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:06 Configure a credential helper to remove this warning. See 21:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:06 21:00:06 Login Succeeded 21:00:06 ---> docker-login.sh ends [Pipeline] { [Pipeline] } 21:00:07 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 21:00:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 21:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] echo 21:00:07 ========================================================= 21:00:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:00:07 ========================================================= [Pipeline] fileExists [Pipeline] sh [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:07 + make test 21:00:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:00:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:00:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:00:07 Sending build context to Docker daemon 3.131MB 21:00:07 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:00:07 Step 2/12 : FROM ${BASE} AS builder 21:00:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:00:08 b3c136eddcbf: Pulling fs layer 21:00:08 c0a3192eca97: Pulling fs layer 21:00:08 a050256f5b6f: Pulling fs layer 21:00:08 656be50a0ddc: Pulling fs layer 21:00:08 2bbca73fdf42: Pulling fs layer 21:00:08 46d945488cbd: Pulling fs layer 21:00:08 8a5474983e97: Pulling fs layer 21:00:08 329c88fbcd65: Pulling fs layer 21:00:08 46d945488cbd: Waiting 21:00:08 656be50a0ddc: Waiting 21:00:08 2bbca73fdf42: Waiting 21:00:08 8a5474983e97: Waiting 21:00:08 329c88fbcd65: Waiting 21:00:08 a050256f5b6f: Verifying Checksum 21:00:08 a050256f5b6f: Download complete 21:00:08 c0a3192eca97: Verifying Checksum 21:00:08 c0a3192eca97: Download complete 21:00:08 2bbca73fdf42: Verifying Checksum 21:00:08 2bbca73fdf42: Download complete 21:00:08 46d945488cbd: Verifying Checksum 21:00:08 46d945488cbd: Download complete 21:00:08 b3c136eddcbf: Verifying Checksum 21:00:08 b3c136eddcbf: Download complete 21:00:09 b3c136eddcbf: Pull complete 21:00:09 329c88fbcd65: Verifying Checksum 21:00:09 329c88fbcd65: Download complete 21:00:09 c0a3192eca97: Pull complete 21:00:10 a050256f5b6f: Pull complete 21:00:10 8a5474983e97: Verifying Checksum 21:00:10 8a5474983e97: Download complete 21:00:11 656be50a0ddc: Verifying Checksum 21:00:11 656be50a0ddc: Download complete 21:00:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:00:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 21:00:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:00:23 656be50a0ddc: Pull complete 21:00:23 2bbca73fdf42: Pull complete 21:00:24 46d945488cbd: Pull complete 21:00:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:00:24 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:00:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:27 $ docker stop --time=1 76927263ddf68cc8fc13275d80a060e2388fec4cba1782b7c16e64e2d57061cf 21:00:29 $ docker rm -f 76927263ddf68cc8fc13275d80a060e2388fec4cba1782b7c16e64e2d57061cf [Pipeline] // withDockerContainer [Pipeline] sh 21:00:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:30 + ls -al . 21:00:30 total 180 21:00:30 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 21:00 . 21:00:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 .. 21:00:30 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:59 .dockerignore 21:00:30 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:00 .git 21:00:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 .github 21:00:30 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:59 .gitignore 21:00:30 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:59 .golangci.yml 21:00:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:59 .semver 21:00:30 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:59 Attribution.txt 21:00:30 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:59 CHANGELOG.md 21:00:30 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:59 Dockerfile 21:00:30 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:59 GOVERNANCE.md 21:00:30 -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:59 Jenkinsfile 21:00:30 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:59 LICENSE 21:00:30 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:59 Makefile 21:00:30 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:59 OWNERS.md 21:00:30 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:59 README.md 21:00:30 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:59 VERSION 21:00:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 bin 21:00:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 cmd 21:00:30 -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 21:00 coverage.out 21:00:30 -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:59 go.mod 21:00:30 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 20:59 go.sum 21:00:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 internal 21:00:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 mock 21:00:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 snap 21:00:30 -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:30 + 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=d22688ce7a8934592a13fb64b21226b5e27cedca --label arch=amd64 --label version=2.2.1-dev.9 . 21:00:30 Sending build context to Docker daemon 6.09MB 21:00:30 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:00:30 Step 2/24 : FROM ${BASE} AS builder 21:00:30 ---> 8daba1279549 21:00:30 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:00:30 8a5474983e97: Pull complete 21:00:31 ---> Running in c0c43a844b34 21:00:31 Removing intermediate container c0c43a844b34 21:00:31 ---> 629968a2ba09 21:00:31 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 21:00:31 ---> Running in 5515cded2652 21:00:31 Removing intermediate container 5515cded2652 21:00:31 ---> 25a39c1f8e80 21:00:31 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:00:31 ---> Running in da8e4c24cb0a 21:00:31 329c88fbcd65: Pull complete 21:00:31 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:00:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:00:31 ---> ff4287adb874 21:00:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:00:31 Removing intermediate container da8e4c24cb0a 21:00:31 ---> da9bf41f3ce0 21:00:31 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:31 ---> Running in 979af45ca90f 21:00:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:00:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:00:33 ---> Running in 241795fbf395 21:00:33 OK: 216 MiB in 55 packages 21:00:33 Removing intermediate container 241795fbf395 21:00:33 ---> 8d25e827a61f 21:00:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:00:33 Removing intermediate container 979af45ca90f 21:00:33 ---> 9c0e8878acbf 21:00:33 Step 7/24 : WORKDIR /device-mqtt-go 21:00:33 ---> Running in 0670cac99479 21:00:33 ---> Running in 13bd67b11889 21:00:33 Removing intermediate container 0670cac99479 21:00:33 ---> db42d5300876 21:00:33 Step 8/24 : COPY go.mod vendor* ./ 21:00:33 ---> 88e88bf5fcbd 21:00:33 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:34 Removing intermediate container 13bd67b11889 21:00:34 ---> 6f95fb3c3746 21:00:34 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:00:34 ---> Running in fd3fdbc2570c 21:00:34 ---> Running in f4b972afc5fb 21:00:34 Removing intermediate container f4b972afc5fb 21:00:34 ---> ad577a40b0bb 21:00:34 Step 10/24 : COPY . . 21:00:34 ---> 43b6afc189a2 21:00:34 Step 11/24 : ARG MAKE='make build' 21:00:35 ---> Running in 1b30ece07300 21:00:35 Removing intermediate container 1b30ece07300 21:00:35 ---> 29920832b96d 21:00:35 Step 12/24 : RUN $MAKE 21:00:35 ---> Running in b798bb3edbac 21:00:35 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 21:00:36 Removing intermediate container fd3fdbc2570c 21:00:36 ---> 5dd42e37d39c 21:00:36 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:36 ---> Running in 11bfec81073c 21:00:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:00:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:00:38 (1/4) Installing openssh-keygen (9.0_p1-r1) 21:00:38 (2/4) Installing libedit (20210910.3.1-r0) 21:00:38 (3/4) Installing openssh-client-common (9.0_p1-r1) 21:00:38 (4/4) Installing openssh-client-default (9.0_p1-r1) 21:00:38 Executing busybox-1.35.0-r13.trigger 21:00:39 OK: 226 MiB in 55 packages 21:00:40 Removing intermediate container 11bfec81073c 21:00:40 ---> f957580ef0d3 21:00:40 Step 7/12 : WORKDIR /device-mqtt-go 21:00:40 ---> Running in 3d7b625647cf 21:00:40 Removing intermediate container 3d7b625647cf 21:00:40 ---> 74d4a0349352 21:00:40 Step 8/12 : COPY go.mod vendor* ./ 21:00:40 ---> e1a2c210804f 21:00:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:40 ---> Running in e6791a51ec3d 21:00:57 Removing intermediate container b798bb3edbac 21:00:57 ---> a3a6327104f6 21:00:57 Step 13/24 : FROM alpine:3.16 21:00:57 3.16: Pulling from library/alpine 21:00:57 2408cc74d12b: Already exists 21:00:57 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 21:00:57 Status: Downloaded newer image for alpine:3.16 21:00:57 ---> e66264b98777 21:00:57 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:00:57 ---> Running in 17c7cfb18b39 21:00:57 Removing intermediate container 17c7cfb18b39 21:00:57 ---> 2cb1fc857680 21:00:57 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:00:57 ---> Running in 51d4111e044a 21:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:00:57 (1/6) Installing dumb-init (1.2.5-r1) 21:00:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:00:57 (3/6) Installing libsodium (1.0.18-r0) 21:00:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:00:57 (5/6) Installing libzmq (4.3.4-r0) 21:00:57 (6/6) Installing zeromq (4.3.4-r0) 21:00:57 Executing busybox-1.35.0-r13.trigger 21:00:57 OK: 8 MiB in 20 packages 21:00:57 Removing intermediate container 51d4111e044a 21:00:57 ---> 5fc7d4c5d34d 21:00:57 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:00:58 ---> 3d8455fd2eef 21:00:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:00:58 ---> e3a0a6cb9076 21:00:58 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:00:58 ---> 6e9b0d6c4490 21:00:58 Step 19/24 : EXPOSE 59982 21:00:58 ---> Running in a545cd9f8732 21:00:58 Removing intermediate container a545cd9f8732 21:00:58 ---> 511b61354565 21:00:58 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:00:58 ---> Running in 1c7db1ebc514 21:00:58 Removing intermediate container 1c7db1ebc514 21:00:58 ---> 76f14d3ce216 21:00:58 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:00:59 ---> Running in 79d43344be24 21:00:59 Removing intermediate container 79d43344be24 21:00:59 ---> 5f8273b2ee36 21:00:59 Step 22/24 : LABEL arch=amd64 21:00:59 ---> Running in 8864f93c76db 21:00:59 Removing intermediate container 8864f93c76db 21:00:59 ---> 284d3a35b4e0 21:00:59 Step 23/24 : LABEL git_sha=d22688ce7a8934592a13fb64b21226b5e27cedca 21:00:59 ---> Running in ee8c45c11e0d 21:00:59 Removing intermediate container ee8c45c11e0d 21:00:59 ---> 49c6b21bc74c 21:00:59 Step 24/24 : LABEL version=2.2.1-dev.9 21:00:59 ---> Running in a1cbea688048 21:00:59 Removing intermediate container a1cbea688048 21:00:59 ---> df87001e41e6 21:00:59 [Warning] One or more build-args [ARCH] were not consumed 21:00:59 Successfully built df87001e41e6 21:00:59 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:59 provisioning config files... 21:00:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2428212489573097715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:59 ---> docker-login.sh 21:00:59 nexus3.edgexfoundry.org:10001 21:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:59 Configure a credential helper to remove this warning. See 21:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:59 21:00:59 Login Succeeded 21:00:59 nexus3.edgexfoundry.org:10002 21:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:00 Configure a credential helper to remove this warning. See 21:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:00 21:01:00 Login Succeeded 21:01:00 nexus3.edgexfoundry.org:10003 21:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:00 Configure a credential helper to remove this warning. See 21:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:00 21:01:00 Login Succeeded 21:01:00 nexus3.edgexfoundry.org:10004 21:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:00 Configure a credential helper to remove this warning. See 21:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:00 21:01:00 Login Succeeded 21:01:00 docker.io 21:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:01 Configure a credential helper to remove this warning. See 21:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:01 21:01:01 Login Succeeded 21:01:01 ---> docker-login.sh ends [Pipeline] } 21:01:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:01 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 21:01:01 d22688ce7a8934592a13fb64b21226b5e27cedca 21:01:01 latest 21:01:01 2.2.1-dev.9 21:01:01 d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 21:01:01 main 21:01:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca 21:01:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:01:02 10f8ba9fa53e: Preparing 21:01:02 cd470230f4bb: Preparing 21:01:02 eef54744336c: Preparing 21:01:02 6396f9899df7: Preparing 21:01:02 24302eb7d908: Preparing 21:01:02 24302eb7d908: Layer already exists 21:01:02 cd470230f4bb: Pushed 21:01:02 10f8ba9fa53e: Pushed 21:01:02 6396f9899df7: Pushed 21:01:05 eef54744336c: Pushed 21:01:05 d22688ce7a8934592a13fb64b21226b5e27cedca: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:01:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:01:06 10f8ba9fa53e: Preparing 21:01:06 cd470230f4bb: Preparing 21:01:06 eef54744336c: Preparing 21:01:06 6396f9899df7: Preparing 21:01:06 24302eb7d908: Preparing 21:01:06 6396f9899df7: Layer already exists 21:01:06 10f8ba9fa53e: Layer already exists 21:01:06 cd470230f4bb: Layer already exists 21:01:06 eef54744336c: Layer already exists 21:01:06 24302eb7d908: Layer already exists 21:01:06 latest: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.9 21:01:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:01:06 10f8ba9fa53e: Preparing 21:01:06 cd470230f4bb: Preparing 21:01:06 eef54744336c: Preparing 21:01:06 6396f9899df7: Preparing 21:01:06 24302eb7d908: Preparing 21:01:06 24302eb7d908: Layer already exists 21:01:06 10f8ba9fa53e: Layer already exists 21:01:06 6396f9899df7: Layer already exists 21:01:06 cd470230f4bb: Layer already exists 21:01:06 eef54744336c: Layer already exists 21:01:06 2.2.1-dev.9: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 21:01:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:01:07 10f8ba9fa53e: Preparing 21:01:07 cd470230f4bb: Preparing 21:01:07 eef54744336c: Preparing 21:01:07 6396f9899df7: Preparing 21:01:07 24302eb7d908: Preparing 21:01:07 24302eb7d908: Layer already exists 21:01:07 eef54744336c: Layer already exists 21:01:07 10f8ba9fa53e: Layer already exists 21:01:07 cd470230f4bb: Layer already exists 21:01:07 6396f9899df7: Layer already exists 21:01:07 d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 21:01:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:01:08 10f8ba9fa53e: Preparing 21:01:08 cd470230f4bb: Preparing 21:01:08 eef54744336c: Preparing 21:01:08 6396f9899df7: Preparing 21:01:08 24302eb7d908: Preparing 21:01:08 10f8ba9fa53e: Layer already exists 21:01:08 24302eb7d908: Layer already exists 21:01:08 eef54744336c: Layer already exists 21:01:08 cd470230f4bb: Layer already exists 21:01:08 6396f9899df7: Layer already exists 21:01:08 main: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:01:08 ===================================================== [Pipeline] echo 21:01:08 taggedImages: 21:01:08 - nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca 21:01:08 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:01:08 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.9 21:01:08 - nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 21:01:08 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:08 21:01:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:08 latest: Pulling from edgex-lftools-log-publisher 21:01:08 5eb5b503b376: Pulling fs layer 21:01:08 5c69ac0246d0: Pulling fs layer 21:01:08 ec43610c2a17: Pulling fs layer 21:01:08 3a2ae6a8a46f: Pulling fs layer 21:01:08 33b1e0a273af: Pulling fs layer 21:01:08 5d3b04190fa2: Pulling fs layer 21:01:08 2f39f015ded8: Pulling fs layer 21:01:08 33b1e0a273af: Waiting 21:01:08 5d3b04190fa2: Waiting 21:01:08 2f39f015ded8: Waiting 21:01:08 3a2ae6a8a46f: Waiting 21:01:08 5c69ac0246d0: Download complete 21:01:08 3a2ae6a8a46f: Verifying Checksum 21:01:08 3a2ae6a8a46f: Download complete 21:01:08 33b1e0a273af: Verifying Checksum 21:01:08 33b1e0a273af: Download complete 21:01:08 5d3b04190fa2: Verifying Checksum 21:01:08 5d3b04190fa2: Download complete 21:01:09 ec43610c2a17: Verifying Checksum 21:01:09 ec43610c2a17: Download complete 21:01:09 5eb5b503b376: Verifying Checksum 21:01:09 5eb5b503b376: Download complete 21:01:09 2f39f015ded8: Download complete 21:01:10 5eb5b503b376: Pull complete 21:01:10 5c69ac0246d0: Pull complete 21:01:11 ec43610c2a17: Pull complete 21:01:11 3a2ae6a8a46f: Pull complete 21:01:11 33b1e0a273af: Pull complete 21:01:11 5d3b04190fa2: Pull complete 21:01:16 2f39f015ded8: Pull complete 21:01:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:16 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:01:16 $ 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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:01:18 $ docker top b8bfc8f13efbf595d82f4df293aca04dda548b06946b9d37c3a96701f79d9a41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:18 ---> job-cost.sh 21:01:18 lf-activate-venv: SKIPPING 21:01:18 INFO: No Stack... 21:01:19 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:19 INFO: Archiving Costs [Pipeline] sh 21:01:20 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 21:01:20 + cut -d, -f6 [Pipeline] lock 21:01:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] 21:01:20 Resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] did not exist. Created. 21:01:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:20 + echo total: 0.2199999988079071 [Pipeline] stash 21:01:20 Stashed 1 file(s) [Pipeline] } 21:01:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:20 $ docker stop --time=1 b8bfc8f13efbf595d82f4df293aca04dda548b06946b9d37c3a96701f79d9a41 21:01:21 $ docker rm -f b8bfc8f13efbf595d82f4df293aca04dda548b06946b9d37c3a96701f79d9a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:01:27 Removing intermediate container e6791a51ec3d 21:01:27 ---> 7c4234935a5f 21:01:27 Step 10/12 : COPY . . 21:01:27 ---> e429749321c3 21:01:27 Step 11/12 : ARG MAKE='make build' 21:01:27 ---> Running in 2954ba3f7146 21:01:27 Removing intermediate container 2954ba3f7146 21:01:27 ---> e86965ff589d 21:01:27 Step 12/12 : RUN $MAKE 21:01:27 ---> Running in ed7d11f0f356 21:01:27 noop 21:01:27 Removing intermediate container ed7d11f0f356 21:01:27 ---> ee98bfad55c8 21:01:27 Successfully built ee98bfad55c8 21:01:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:28 + docker inspect -f . ci-base-image-arm64 21:01:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:28 prd-ubuntu20.04-docker-arm64-4c-16g-19760 does not seem to be running inside a container 21:01:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/56 -v /w/workspace/device-mqtt-go/56:/w/workspace/device-mqtt-go/56:rw,z -v /w/workspace/device-mqtt-go/56@tmp:/w/workspace/device-mqtt-go/56@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 21:01:29 $ docker top 451c3c6aaf444430cae07c6a68939de8fd2d0794c56932ece235d0dd1f7358da -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:30 + go version 21:01:30 go version go1.18.3 linux/arm64 [Pipeline] } 21:01:30 $ docker stop --time=1 451c3c6aaf444430cae07c6a68939de8fd2d0794c56932ece235d0dd1f7358da 21:01:32 $ docker rm -f 451c3c6aaf444430cae07c6a68939de8fd2d0794c56932ece235d0dd1f7358da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:33 + docker inspect -f . ci-base-image-arm64 21:01:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:33 prd-ubuntu20.04-docker-arm64-4c-16g-19760 does not seem to be running inside a container 21:01:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/56 -v /w/workspace/device-mqtt-go/56:/w/workspace/device-mqtt-go/56:rw,z -v /w/workspace/device-mqtt-go/56@tmp:/w/workspace/device-mqtt-go/56@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 21:01:34 $ docker top 23a34ac66ea318663bfe37c0e228acf0867d9b18fb5b361097b54eb13d811a4b -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:35 + git config --global --add safe.directory /w/workspace/device-mqtt-go/56 [Pipeline] fileExists [Pipeline] sh 21:01:36 + make test 21:01:36 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:01:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:02:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:02:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 21:02:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:02:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:02:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:03:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:03:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:03:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:03:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:03:18 $ docker stop --time=1 23a34ac66ea318663bfe37c0e228acf0867d9b18fb5b361097b54eb13d811a4b 21:03:19 $ docker rm -f 23a34ac66ea318663bfe37c0e228acf0867d9b18fb5b361097b54eb13d811a4b [Pipeline] // withDockerContainer [Pipeline] sh 21:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:03:20 Warning: overwriting stash ‘coverage-report’ 21:03:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:03:22 + ls -al . 21:03:22 total 176 21:03:22 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 21:01 . 21:03:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 .. 21:03:22 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:59 .dockerignore 21:03:22 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:59 .git 21:03:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 .github 21:03:22 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:59 .gitignore 21:03:22 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:59 .golangci.yml 21:03:22 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:59 Attribution.txt 21:03:22 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:59 CHANGELOG.md 21:03:22 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:59 Dockerfile 21:03:22 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:59 GOVERNANCE.md 21:03:22 -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:59 Jenkinsfile 21:03:22 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:59 LICENSE 21:03:22 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:59 Makefile 21:03:22 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:59 OWNERS.md 21:03:22 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:59 README.md 21:03:22 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:59 VERSION 21:03:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 bin 21:03:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 cmd 21:03:22 -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 21:02 coverage.out 21:03:22 -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:59 go.mod 21:03:22 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 20:59 go.sum 21:03:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 internal 21:03:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 mock 21:03:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 snap 21:03:22 -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:22 + 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=d22688ce7a8934592a13fb64b21226b5e27cedca --label arch=arm64 --label version=2.2.1-dev.9 . 21:03:22 Sending build context to Docker daemon 3.15MB 21:03:23 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:03:23 Step 2/24 : FROM ${BASE} AS builder 21:03:23 ---> ee98bfad55c8 21:03:23 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:03:23 ---> Running in a23de87c5518 21:03:23 Removing intermediate container a23de87c5518 21:03:23 ---> 367f2e0b14c7 21:03:23 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 21:03:23 ---> Running in 8515c0c1ab11 21:03:23 Removing intermediate container 8515c0c1ab11 21:03:23 ---> 5c62424e8884 21:03:23 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:03:23 ---> Running in 988d55ec474e 21:03:25 Removing intermediate container 988d55ec474e 21:03:25 ---> eb984cb0d7fb 21:03:25 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:25 ---> Running in b5c23b61e886 21:03:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:03:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:03:28 OK: 226 MiB in 55 packages 21:03:29 Removing intermediate container b5c23b61e886 21:03:29 ---> 326cbe8b2acb 21:03:29 Step 7/24 : WORKDIR /device-mqtt-go 21:03:29 ---> Running in b0666ebe0ab5 21:03:29 Removing intermediate container b0666ebe0ab5 21:03:29 ---> d1a7e262faf2 21:03:29 Step 8/24 : COPY go.mod vendor* ./ 21:03:30 ---> 8d34de44b2f7 21:03:30 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:30 ---> Running in 67ce2f6dfc81 21:03:32 Removing intermediate container 67ce2f6dfc81 21:03:32 ---> fb6c8bbdc2f5 21:03:32 Step 10/24 : COPY . . 21:03:32 ---> 2e625cafe56f 21:03:32 Step 11/24 : ARG MAKE='make build' 21:03:32 ---> Running in d2b9e2fda82f 21:03:33 Removing intermediate container d2b9e2fda82f 21:03:33 ---> 70325e3bc495 21:03:33 Step 12/24 : RUN $MAKE 21:03:33 ---> Running in 64a37dd943d9 21:03:34 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 21:05:41 Removing intermediate container 64a37dd943d9 21:05:41 ---> 77416c931058 21:05:41 Step 13/24 : FROM alpine:3.16 21:05:41 3.16: Pulling from library/alpine 21:05:41 b3c136eddcbf: Already exists 21:05:41 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 21:05:41 Status: Downloaded newer image for alpine:3.16 21:05:41 ---> 6e30ab57aeee 21:05:41 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:05:41 ---> Running in 06647b272a36 21:05:41 Removing intermediate container 06647b272a36 21:05:41 ---> 4cf9409571d8 21:05:41 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:05:41 ---> Running in 7b16fe428249 21:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:05:41 (1/6) Installing dumb-init (1.2.5-r1) 21:05:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:05:41 (3/6) Installing libsodium (1.0.18-r0) 21:05:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:05:41 (5/6) Installing libzmq (4.3.4-r0) 21:05:41 (6/6) Installing zeromq (4.3.4-r0) 21:05:41 Executing busybox-1.35.0-r13.trigger 21:05:41 OK: 8 MiB in 20 packages 21:05:41 Removing intermediate container 7b16fe428249 21:05:41 ---> ae8d7bae5d64 21:05:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:05:41 ---> cea068ff2937 21:05:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:05:41 ---> dd2ba0f2e561 21:05:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:05:41 ---> 5baafc92895b 21:05:41 Step 19/24 : EXPOSE 59982 21:05:41 ---> Running in a3cc673a1014 21:05:41 Removing intermediate container a3cc673a1014 21:05:41 ---> 008a0e409fff 21:05:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:05:41 ---> Running in 7a9ff0f3cec1 21:05:41 Removing intermediate container 7a9ff0f3cec1 21:05:41 ---> b87c5ee7148f 21:05:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:05:41 ---> Running in e044cb774c25 21:05:41 Removing intermediate container e044cb774c25 21:05:41 ---> 0a604acc2295 21:05:41 Step 22/24 : LABEL arch=arm64 21:05:41 ---> Running in fa742de87d26 21:05:42 Removing intermediate container fa742de87d26 21:05:42 ---> ff75c3f0f571 21:05:42 Step 23/24 : LABEL git_sha=d22688ce7a8934592a13fb64b21226b5e27cedca 21:05:42 ---> Running in e8966acc471d 21:05:42 Removing intermediate container e8966acc471d 21:05:42 ---> 1a22b777c57d 21:05:42 Step 24/24 : LABEL version=2.2.1-dev.9 21:05:42 ---> Running in 8a4c4bc7ada7 21:05:43 Removing intermediate container 8a4c4bc7ada7 21:05:43 ---> d4316aca948a 21:05:43 [Warning] One or more build-args [ARCH] were not consumed 21:05:43 Successfully built d4316aca948a 21:05:43 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:43 provisioning config files... 21:05:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/56@tmp/config4769724943001593821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:43 ---> docker-login.sh 21:05:43 nexus3.edgexfoundry.org:10001 21:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:43 Configure a credential helper to remove this warning. See 21:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:43 21:05:43 Login Succeeded 21:05:43 nexus3.edgexfoundry.org:10002 21:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:44 Configure a credential helper to remove this warning. See 21:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:44 21:05:44 Login Succeeded 21:05:44 nexus3.edgexfoundry.org:10003 21:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:44 Configure a credential helper to remove this warning. See 21:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:44 21:05:44 Login Succeeded 21:05:44 nexus3.edgexfoundry.org:10004 21:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:45 Configure a credential helper to remove this warning. See 21:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:45 21:05:45 Login Succeeded 21:05:45 docker.io 21:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:46 Configure a credential helper to remove this warning. See 21:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:46 21:05:46 Login Succeeded 21:05:46 ---> docker-login.sh ends [Pipeline] } 21:05:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:46 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 21:05:46 d22688ce7a8934592a13fb64b21226b5e27cedca 21:05:46 latest 21:05:46 2.2.1-dev.9 21:05:46 d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 21:05:46 main 21:05:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca 21:05:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:05:46 8c91506ee96c: Preparing 21:05:46 9d73881985c5: Preparing 21:05:46 02854e923707: Preparing 21:05:46 bab4704e9dad: Preparing 21:05:46 dd565ff850e7: Preparing 21:05:47 dd565ff850e7: Layer already exists 21:05:47 9d73881985c5: Pushed 21:05:47 8c91506ee96c: Pushed 21:05:47 bab4704e9dad: Pushed 21:05:53 02854e923707: Pushed 21:05:53 d22688ce7a8934592a13fb64b21226b5e27cedca: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:05:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:05:54 8c91506ee96c: Preparing 21:05:54 9d73881985c5: Preparing 21:05:54 02854e923707: Preparing 21:05:54 bab4704e9dad: Preparing 21:05:54 dd565ff850e7: Preparing 21:05:54 dd565ff850e7: Layer already exists 21:05:54 bab4704e9dad: Layer already exists 21:05:54 8c91506ee96c: Layer already exists 21:05:54 02854e923707: Layer already exists 21:05:54 9d73881985c5: Layer already exists 21:05:54 latest: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.9 21:05:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:05:55 8c91506ee96c: Preparing 21:05:55 9d73881985c5: Preparing 21:05:55 02854e923707: Preparing 21:05:55 bab4704e9dad: Preparing 21:05:55 dd565ff850e7: Preparing 21:05:55 bab4704e9dad: Layer already exists 21:05:55 dd565ff850e7: Layer already exists 21:05:55 02854e923707: Layer already exists 21:05:55 8c91506ee96c: Layer already exists 21:05:55 9d73881985c5: Layer already exists 21:05:55 2.2.1-dev.9: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 21:05:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:05:56 8c91506ee96c: Preparing 21:05:56 9d73881985c5: Preparing 21:05:56 02854e923707: Preparing 21:05:56 bab4704e9dad: Preparing 21:05:56 dd565ff850e7: Preparing 21:05:56 dd565ff850e7: Layer already exists 21:05:56 8c91506ee96c: Layer already exists 21:05:56 9d73881985c5: Layer already exists 21:05:56 bab4704e9dad: Layer already exists 21:05:56 02854e923707: Layer already exists 21:05:56 d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 21:05:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:05:57 8c91506ee96c: Preparing 21:05:57 9d73881985c5: Preparing 21:05:57 02854e923707: Preparing 21:05:57 bab4704e9dad: Preparing 21:05:57 dd565ff850e7: Preparing 21:05:57 02854e923707: Layer already exists 21:05:57 9d73881985c5: Layer already exists 21:05:57 dd565ff850e7: Layer already exists 21:05:57 8c91506ee96c: Layer already exists 21:05:57 bab4704e9dad: Layer already exists 21:05:57 main: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:58 ===================================================== [Pipeline] echo 21:05:58 taggedImages: 21:05:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca 21:05:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:05:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.9 21:05:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 21:05:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:58 21:05:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:59 arm64: Pulling from edgex-lftools-log-publisher 21:05:59 8998bd30e6a1: Pulling fs layer 21:05:59 04944245beec: Pulling fs layer 21:05:59 699f458cf7ca: Pulling fs layer 21:05:59 765212b225bb: Pulling fs layer 21:05:59 f23df028b6ca: Pulling fs layer 21:05:59 d65c8cfc05b1: Pulling fs layer 21:05:59 2437ff75d9bd: Pulling fs layer 21:05:59 2437ff75d9bd: Waiting 21:05:59 f23df028b6ca: Waiting 21:05:59 765212b225bb: Waiting 21:05:59 d65c8cfc05b1: Waiting 21:05:59 04944245beec: Verifying Checksum 21:05:59 04944245beec: Download complete 21:05:59 765212b225bb: Verifying Checksum 21:05:59 765212b225bb: Download complete 21:05:59 f23df028b6ca: Verifying Checksum 21:05:59 f23df028b6ca: Download complete 21:05:59 d65c8cfc05b1: Verifying Checksum 21:05:59 d65c8cfc05b1: Download complete 21:05:59 699f458cf7ca: Verifying Checksum 21:05:59 699f458cf7ca: Download complete 21:05:59 8998bd30e6a1: Verifying Checksum 21:05:59 8998bd30e6a1: Download complete 21:06:02 2437ff75d9bd: Verifying Checksum 21:06:02 2437ff75d9bd: Download complete 21:06:04 8998bd30e6a1: Pull complete 21:06:04 04944245beec: Pull complete 21:06:05 699f458cf7ca: Pull complete 21:06:06 765212b225bb: Pull complete 21:06:07 f23df028b6ca: Pull complete 21:06:07 d65c8cfc05b1: Pull complete 21:06:22 2437ff75d9bd: Pull complete 21:06:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:06:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:22 prd-ubuntu20.04-docker-arm64-4c-16g-19760 does not seem to be running inside a container 21:06:22 $ 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/56 -v /w/workspace/device-mqtt-go/56:/w/workspace/device-mqtt-go/56:rw,z -v /w/workspace/device-mqtt-go/56@tmp:/w/workspace/device-mqtt-go/56@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 21:06:25 $ docker top d16a7a06242a32513bd5377332047bb53acb670272ef79adc7a123f59d1b1c85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:26 ---> job-cost.sh 21:06:26 lf-activate-venv: SKIPPING 21:06:26 INFO: No Stack... 21:06:26 INFO: Retrieving Pricing Info for: v3-standard-4 21:06:27 INFO: Archiving Costs [Pipeline] sh 21:06:28 + cat /w/workspace/device-mqtt-go/56/archives/cost.csv 21:06:28 + cut -d, -f6 [Pipeline] lock 21:06:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] 21:06:28 Resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] did not exist. Created. 21:06:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:28 /w/workspace/device-mqtt-go/56@tmp/durable-9ca67e72/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:06:29 + echo total: 0.10999999940395355 [Pipeline] stash 21:06:29 Warning: overwriting stash ‘stack-cost’ 21:06:29 Stashed 1 file(s) [Pipeline] } 21:06:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:29 $ docker stop --time=1 d16a7a06242a32513bd5377332047bb53acb670272ef79adc7a123f59d1b1c85 21:06:31 $ docker rm -f d16a7a06242a32513bd5377332047bb53acb670272ef79adc7a123f59d1b1c85 [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 21:06:31 provisioning config files... 21:06:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8331597426027016451tmp [Pipeline] { [Pipeline] sh 21:06:32 + set +x 21:06:32 + curl -s https://codecov.io/bash 21:06:32 + bash -s -- 21:06:32 21:06:32 _____ _ 21:06:32 / ____| | | 21:06:32 | | ___ __| | ___ ___ _____ __ 21:06:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:06:32 | |___| (_) | (_| | __/ (_| (_) \ V / 21:06:32 \_____\___/ \__,_|\___|\___\___/ \_/ 21:06:32 Bash-1.0.6 21:06:32 21:06:32 21:06:32 ==> git version 2.25.1 found 21:06:32 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:06:32 Release-Date: 2020-01-08 21:06:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:06:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:06:32 ==> Jenkins CI detected. 21:06:32 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 21:06:32 project root: . 21:06:32 --> token set from env 21:06:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:06:32 ==> Running gcov in . (disable via -X gcov) 21:06:32 ==> Python coveragepy not found 21:06:32 ==> Searching for coverage reports in: 21:06:32 + . 21:06:32 -> Found 1 reports 21:06:32 ==> Detecting git/mercurial file structure 21:06:32 ==> Reading reports 21:06:32 + ./coverage.out bytes=17887 21:06:32 ==> Appending adjustments 21:06:32 https://docs.codecov.io/docs/fixing-reports 21:06:32 + Found adjustments 21:06:32 ==> Gzipping contents 21:06:32 4.0K /tmp/codecov.gJ3eIk.gz 21:06:32 ==> Uploading reports 21:06:32 url: https://codecov.io 21:06:32 query: branch=main&commit=d22688ce7a8934592a13fb64b21226b5e27cedca&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:06:32 -> Pinging Codecov 21:06:32 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=d22688ce7a8934592a13fb64b21226b5e27cedca&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:06:32 -> Uploading to 21:06:32 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/7D719EC7BBE17E464838252E33014C33/d22688ce7a8934592a13fb64b21226b5e27cedca/aa9eb280-ed96-4c82-9957-f69f290bef05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T210632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c771f592894b3e5ecbbac605142c803ced4122935a10a2848123a88ddddb772d 21:06:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:32 Dload Upload Total Spent Left Speed 21:06:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3225 0 0 100 3225 0 14592 --:--:-- --:--:-- --:--:-- 14527 100 3225 0 0 100 3225 0 8763 --:--:-- --:--:-- --:--:-- 8739 21:06:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] } 21:06:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:06:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:06:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:06:33 21:06:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:06:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:06:33 df9b9388f04a: Pulling fs layer 21:06:33 52dc419b0ee2: Pulling fs layer 21:06:33 25bc292e5bac: Pulling fs layer 21:06:33 114826534d7a: Pulling fs layer 21:06:33 4657fd5d0bcf: Pulling fs layer 21:06:33 114826534d7a: Waiting 21:06:33 6ad1cebc031e: Pulling fs layer 21:06:33 8a3aa393b2d8: Pulling fs layer 21:06:33 4657fd5d0bcf: Waiting 21:06:33 8a3aa393b2d8: Waiting 21:06:33 25bc292e5bac: Verifying Checksum 21:06:33 25bc292e5bac: Download complete 21:06:33 52dc419b0ee2: Download complete 21:06:33 4657fd5d0bcf: Verifying Checksum 21:06:33 4657fd5d0bcf: Download complete 21:06:33 df9b9388f04a: Download complete 21:06:33 6ad1cebc031e: Verifying Checksum 21:06:33 6ad1cebc031e: Download complete 21:06:33 df9b9388f04a: Pull complete 21:06:33 52dc419b0ee2: Pull complete 21:06:34 25bc292e5bac: Pull complete 21:06:34 114826534d7a: Verifying Checksum 21:06:34 114826534d7a: Download complete 21:06:34 8a3aa393b2d8: Verifying Checksum 21:06:34 8a3aa393b2d8: Download complete 21:06:38 114826534d7a: Pull complete 21:06:38 4657fd5d0bcf: Pull complete 21:06:38 6ad1cebc031e: Pull complete 21:06:42 8a3aa393b2d8: Pull complete 21:06:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:06:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:42 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:06: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:06:44 $ docker top 9e9d12b125c10bd8b4947b205f083586d18385dc97c9da83a3cf7113b0e829f4 -eo pid,comm [Pipeline] { [Pipeline] echo 21:06:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 21:06:44 + set -o pipefail 21:06:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 21:06:50 21:06:50 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 21:06:50 21:06:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/ebe37e60-8fc1-475f-b014-079dbe83120a 21:06:50 21:06:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:06:50 21:06:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:06:50 21:06:50 21:06:50 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:06:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:06:50 $ docker stop --time=1 9e9d12b125c10bd8b4947b205f083586d18385dc97c9da83a3cf7113b0e829f4 21:06:52 $ docker rm -f 9e9d12b125c10bd8b4947b205f083586d18385dc97c9da83a3cf7113b0e829f4 [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 21:06:53 + git log --format=format:%s -1 d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] sh 21:06:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:53 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:06: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:06:54 $ docker top 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:54 [ssh-agent] Looking for ssh-agent implementation... 21:06:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:54 $ docker exec 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 ssh-agent 21:06:54 SSH_AUTH_SOCK=/tmp/ssh-hfDiTzo7jquJ/agent.33 21:06:54 SSH_AGENT_PID=39 21:06:54 Running ssh-add (command line suppressed) 21:06:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7894087982036682588.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7894087982036682588.key) 21:06:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:55 + git semver tag 21:06:55 2022-07-12 21:06:55,473 [run_tag] DEBUG tag force:False 21:06:55 2022-07-12 21:06:55,473 [check_head_tag] DEBUG check head tag 21:06:55 2022-07-12 21:06:55,473 [execute] INFO git cat-file --batch-check 21:06:55 2022-07-12 21:06:55,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:06:55 2022-07-12 21:06:55,477 [execute] INFO git cat-file --batch 21:06:55 2022-07-12 21:06:55,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:06:55 2022-07-12 21:06:55,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:06:55 2022-07-12 21:06:55,488 [execute] INFO git tag -a v2.2.1-dev.9 -m v2.2.1-dev.9 21:06:55 2022-07-12 21:06:55,488 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.9', '-m', 'v2.2.1-dev.9'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:06:55 2022-07-12 21:06:55,494 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:06:55 2.2.1-dev.9 [Pipeline] } 21:06:55 $ docker exec --env ******** --env ******** 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 ssh-agent -k 21:06:55 unset SSH_AUTH_SOCK; 21:06:55 unset SSH_AGENT_PID; 21:06:55 echo Agent pid 39 killed; 21:06:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:55 + git semver [Pipeline] } 21:06:56 $ docker stop --time=1 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 21:06:57 $ docker rm -f 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:06:57 21:06:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:06:58 0.23.1-centos7: Pulling from edgex-lftools 21:06:58 ab5ef0e58194: Pulling fs layer 21:06:58 9712f1f96733: Pulling fs layer 21:06:58 63f879dbbcfc: Pulling fs layer 21:06:58 0d9ebad4ef96: Pulling fs layer 21:06:58 e9a5061849ea: Pulling fs layer 21:06:58 d747dcd14b5f: Pulling fs layer 21:06:58 2de7ff778b66: Pulling fs layer 21:06:58 0d9ebad4ef96: Waiting 21:06:58 e9a5061849ea: Waiting 21:06:58 d747dcd14b5f: Waiting 21:06:58 2de7ff778b66: Waiting 21:06:58 9712f1f96733: Download complete 21:06:58 63f879dbbcfc: Verifying Checksum 21:06:58 63f879dbbcfc: Download complete 21:06:58 ab5ef0e58194: Verifying Checksum 21:06:58 ab5ef0e58194: Download complete 21:06:58 d747dcd14b5f: Verifying Checksum 21:06:58 d747dcd14b5f: Download complete 21:06:58 e9a5061849ea: Download complete 21:06:59 0d9ebad4ef96: Verifying Checksum 21:06:59 0d9ebad4ef96: Download complete 21:06:59 2de7ff778b66: Verifying Checksum 21:06:59 2de7ff778b66: Download complete 21:07:02 ab5ef0e58194: Pull complete 21:07:02 9712f1f96733: Pull complete 21:07:02 63f879dbbcfc: Pull complete 21:07:07 0d9ebad4ef96: Pull complete 21:07:07 e9a5061849ea: Pull complete 21:07:07 d747dcd14b5f: Pull complete 21:07:08 2de7ff778b66: Pull complete 21:07:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:07:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:07:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:08 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:07:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:07:11 $ docker top 4f9c8415412de28c53c48888e37e38f0ce3ccb16729f7d78a7fc233b1ef6b88c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:07:11 provisioning config files... 21:07:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6564266707167402218tmp 21:07:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7448508065601736613tmp 21:07:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8724156907566504743tmp [Pipeline] { [Pipeline] echo 21:07:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:07:11 ---> sigul-configuration.sh 21:07:11 gpg: directory `/root/.gnupg' created 21:07:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:07:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:07:11 gpg: keyring `/root/.gnupg/secring.gpg' created 21:07:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:07:11 gpg: CAST5 encrypted data 21:07:11 gpg: encrypted with 1 passphrase 21:07:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:07:12 + mkdir /home/jenkins 21:07:12 + mkdir /home/jenkins/sigul [Pipeline] sh 21:07:12 + 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 21:07:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:07:12 ---> sigul-install.sh 21:07:12 Sigul already installed; skipping installation. [Pipeline] sh 21:07:12 + git tag --list 21:07:12 0.7.1 21:07:12 v1.0.0 21:07:12 v1.1.0 21:07:12 v1.1.1 21:07:12 v1.2.2 21:07:12 v1.3.0 21:07:12 v1.3.1 21:07:12 v2.0.0 21:07:12 v2.1.0 21:07:12 v2.1.1 21:07:12 v2.1.1-dev.1 21:07:12 v2.1.1-dev.2 21:07:12 v2.2.0 21:07:12 v2.2.1-dev.1 21:07:12 v2.2.1-dev.2 21:07:12 v2.2.1-dev.3 21:07:12 v2.2.1-dev.4 21:07:12 v2.2.1-dev.5 21:07:12 v2.2.1-dev.6 21:07:12 v2.2.1-dev.7 21:07:12 v2.2.1-dev.8 21:07:12 v2.2.1-dev.9 [Pipeline] sh 21:07:13 + lftools sign git-tag v2.2.1-dev.9 21:07:13 Signing Git tag with Sigul... 21:07:13 Signing v2.2.1-dev.9 [Pipeline] echo 21:07:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:07:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:07:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:07:14 $ docker stop --time=1 4f9c8415412de28c53c48888e37e38f0ce3ccb16729f7d78a7fc233b1ef6b88c 21:07:15 $ docker rm -f 4f9c8415412de28c53c48888e37e38f0ce3ccb16729f7d78a7fc233b1ef6b88c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:07:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:16 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:07:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:16 $ docker top e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:17 [ssh-agent] Looking for ssh-agent implementation... 21:07:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:17 $ docker exec e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b ssh-agent 21:07:17 SSH_AUTH_SOCK=/tmp/ssh-ABJqgfQugqVp/agent.32 21:07:17 SSH_AGENT_PID=38 21:07:17 Running ssh-add (command line suppressed) 21:07:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4253116583171778933.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4253116583171778933.key) 21:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:17 + git semver bump pre 21:07:18 2022-07-12 21:07:17,949 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:07:18 2022-07-12 21:07:17,950 [bump_version] DEBUG bumping version:2.2.1-dev.9 on axis:pre with prefix:dev 21:07:18 2022-07-12 21:07:17,950 [bump_version] DEBUG bumped version:2.2.1-dev.10 21:07:18 2022-07-12 21:07:17,950 [write_version] DEBUG write version:2.2.1-dev.10 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 21:07:18 2022-07-12 21:07:17,950 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:07:18 2022-07-12 21:07:17,950 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:07:18 2022-07-12 21:07:17,952 [execute] INFO git cat-file --batch-check 21:07:18 2022-07-12 21:07:17,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:07:18 2022-07-12 21:07:17,957 [execute] INFO git cat-file --batch 21:07:18 2022-07-12 21:07:17,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:07:18 2022-07-12 21:07:17,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:07:18 2.2.1-dev.10 [Pipeline] } 21:07:18 $ docker exec --env ******** --env ******** e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b ssh-agent -k 21:07:18 unset SSH_AUTH_SOCK; 21:07:18 unset SSH_AGENT_PID; 21:07:18 echo Agent pid 38 killed; 21:07:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:18 + git semver [Pipeline] } 21:07:18 $ docker stop --time=1 e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b 21:07:20 $ docker rm -f e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b [Pipeline] // withDockerContainer [Pipeline] sh 21:07:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:20 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:07:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:21 $ docker top cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:21 [ssh-agent] Looking for ssh-agent implementation... 21:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:21 $ docker exec cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 ssh-agent 21:07:21 SSH_AUTH_SOCK=/tmp/ssh-DH0oebPH336n/agent.33 21:07:21 SSH_AGENT_PID=40 21:07:21 Running ssh-add (command line suppressed) 21:07:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4287006308691554356.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4287006308691554356.key) 21:07:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:22 + git semver push 21:07:22 2022-07-12 21:07:22,247 [run_push] DEBUG push 21:07:22 2022-07-12 21:07:22,248 [execute] INFO git cat-file --batch-check 21:07:22 2022-07-12 21:07:22,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:07:22 2022-07-12 21:07:22,252 [execute] INFO git rev-list 5b97e0716f96ec68b8db105f577acf1aeb7af21d -- 21:07:22 2022-07-12 21:07:22,252 [execute] DEBUG Popen(['git', 'rev-list', '5b97e0716f96ec68b8db105f577acf1aeb7af21d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:07:22 2022-07-12 21:07:22,260 [execute] INFO git fetch -v origin 21:07:22 2022-07-12 21:07:22,260 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:07:22 2022-07-12 21:07:22,749 [run_push] DEBUG no remote changes detected 21:07:22 2022-07-12 21:07:22,750 [execute] INFO git push origin semver 21:07:22 2022-07-12 21:07:22,750 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:07:23 2022-07-12 21:07:23,570 [run_push] DEBUG push all version tags 21:07:23 2022-07-12 21:07:23,571 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:07:23 2022-07-12 21:07:23,571 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:07:24 2022-07-12 21:07:24,363 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:07:24 2.2.1-dev.10 [Pipeline] } 21:07:24 $ docker exec --env ******** --env ******** cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 ssh-agent -k 21:07:24 unset SSH_AUTH_SOCK; 21:07:24 unset SSH_AGENT_PID; 21:07:24 echo Agent pid 40 killed; 21:07:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:24 + git semver [Pipeline] } 21:07:25 $ docker stop --time=1 cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 21:07:26 $ docker rm -f cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:07:27 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 21:07:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:07:27 total 16 21:07:27 drwxr-xr-x 3 root root 4096 Jul 12 21:01 . 21:07:27 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:07 .. 21:07:27 drwxr-xr-x 2 root root 4096 Jul 12 21:01 cost 21:07:27 -rw-r--r-- 1 root root 84 Jul 12 21:01 cost.csv 21:07:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:07:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:07:27 total 16 21:07:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:01 . 21:07:27 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:07 .. 21:07:27 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 21:01 cost 21:07:27 -rw-r--r-- 1 jenkins jenkins 84 Jul 12 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:07:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:07:28 ---> package-listing.sh 21:07:28 ++ facter osfamily 21:07:28 ++ tr '[:upper:]' '[:lower:]' 21:07:28 + OS_FAMILY=debian 21:07:28 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 21:07:28 + START_PACKAGES=/tmp/packages_start.txt 21:07:28 + END_PACKAGES=/tmp/packages_end.txt 21:07:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:07:28 + PACKAGES=/tmp/packages_start.txt 21:07:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:07:28 + PACKAGES=/tmp/packages_end.txt 21:07:28 + case "${OS_FAMILY}" in 21:07:28 + dpkg -l 21:07:28 + grep '^ii' 21:07:28 + '[' -f /tmp/packages_start.txt ']' 21:07:28 + '[' -f /tmp/packages_end.txt ']' 21:07:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:07:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:07:28 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 21:07:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 21:07:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 21:07:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:29 prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container 21:07:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:07:29 $ docker top ddfa8b5149c583ece4fd78aa826748c4030a79d36652d5c0305e115fbe6c52fe -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:30 + touch /tmp/pre-build-complete [Pipeline] sh 21:07:30 + mkdir -p /var/log/sysstat [Pipeline] sh 21:07:30 + ls /var/log/sa-host 21:07:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:30 provisioning config files... 21:07:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config702714712329574775tmp [Pipeline] { [Pipeline] echo 21:07:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:07:31 ---> create-netrc.sh [Pipeline] } 21:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:07:31 ---> python-tools-install.sh [Pipeline] echo 21:07:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:07:31 ---> sudo-logs.sh 21:07:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:07:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:07:32 ---> job-cost.sh 21:07:32 lf-activate-venv: SKIPPING 21:07:32 DEBUG: total: 0.2199999988079071 21:07:32 INFO: Retrieving Stack Cost... 21:07:32 INFO: Retrieving Pricing Info for: v3-standard-8 21:07:32 INFO: Archiving Costs [Pipeline] echo 21:07:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:07:33 ---> logs-deploy.sh 21:07:33 lf-activate-venv: SKIPPING 21:07:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/56 21:07:33 INFO: archiving workspace using pattern(s): 21:07:34 Archives upload complete. 21:07:34 INFO: archiving logs to Nexus