Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3b17c36aac665b2f67a5aeebf35b3bad318417a 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-ssh6259499014532183774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8781087148880824502.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh1496737927486669996.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh3552813001590349943.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh11966094539293455653.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29359 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 Avoid second fetch Checking out Revision e3b17c36aac665b2f67a5aeebf35b3bad318417a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#413)" > git rev-list --no-walk 848b2de29f6cbb620b3229edbec9a9c03b237451 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:13:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:13:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:13:25 ========================================================= 22:13:25 EdgeX Global Pipelines Version Info 22:13:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:13:25 ------------------- 22:13:25 stable info: 22:13:25 ------------------- 22:13:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:13:25 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:13:25 Message: update stable to v1.0.239 22:13:26 ------------------- 22:13:26 experimental info: 22:13:26 ------------------- 22:13:26 Commited By: **** collab-it+edgex@linuxfoundation.org 22:13:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:13:26 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:13:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3b17c3 [Pipeline] echo 22:13:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:27 provisioning config files... 22:13:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2771347751000188534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:27 ---> docker-login.sh 22:13:27 nexus3.edgexfoundry.org:10001 22:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:28 Configure a credential helper to remove this warning. See 22:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:28 22:13:28 Login Succeeded 22:13:28 nexus3.edgexfoundry.org:10002 22:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:28 Configure a credential helper to remove this warning. See 22:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:28 22:13:28 Login Succeeded 22:13:28 nexus3.edgexfoundry.org:10003 22:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:28 Configure a credential helper to remove this warning. See 22:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:28 22:13:28 Login Succeeded 22:13:28 nexus3.edgexfoundry.org:10004 22:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:28 Configure a credential helper to remove this warning. See 22:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:28 22:13:28 Login Succeeded 22:13:28 docker.io 22:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:29 Configure a credential helper to remove this warning. See 22:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:29 22:13:29 Login Succeeded 22:13:29 ---> docker-login.sh ends [Pipeline] } 22:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:13:29 + git rev-list -1 --merges e3b17c36aac665b2f67a5aeebf35b3bad318417a~1..e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] echo 22:13:29 -----------> git rev-list -1 --merges e3b17c36aac665b2f67a5aeebf35b3bad318417a~1..e3b17c36aac665b2f67a5aeebf35b3bad318417a e3b17c36aac665b2f67a5aeebf35b3bad318417a [false] [Pipeline] sh 22:13:29 + git log --format=format:%s -1 e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] echo 22:13:29 ========================================================= 22:13:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:13:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:30 + git log --format=format:%s -1 e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] echo 22:13:30 [semverPrep] GIT_COMMIT: e3b17c36aac665b2f67a5aeebf35b3bad318417a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#413) [Pipeline] echo 22:13:30 [semverPrep] This is not a build commit. [Pipeline] sh 22:13:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:30 + grep -v github /etc/ssh/ssh_known_hosts 22:13:30 + [ -e /tmp/ssh_known_hosts ] 22:13:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:13:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:13:30 + sudo tee -a /etc/ssh/ssh_known_hosts 22:13:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:31 22:13:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:31 0.1.4: Pulling from edgex-devops/py-git-semver 22:13:31 b85a868b505f: Pulling fs layer 22:13:31 e2be974225ed: Pulling fs layer 22:13:31 339a4e72a1f5: Pulling fs layer 22:13:31 988bab9f4d93: Pulling fs layer 22:13:31 1469e6f7b9e6: Pulling fs layer 22:13:31 eaf3925da568: Pulling fs layer 22:13:31 bab4dde63d76: Pulling fs layer 22:13:31 bde34c3a00c8: Pulling fs layer 22:13:31 b352a97aabf1: Pulling fs layer 22:13:31 4872d77fe225: Pulling fs layer 22:13:31 5851b861e8e6: Pulling fs layer 22:13:31 988bab9f4d93: Waiting 22:13:31 1469e6f7b9e6: Waiting 22:13:31 eaf3925da568: Waiting 22:13:31 bab4dde63d76: Waiting 22:13:31 bde34c3a00c8: Waiting 22:13:31 b352a97aabf1: Waiting 22:13:31 4872d77fe225: Waiting 22:13:31 5851b861e8e6: Waiting 22:13:31 e2be974225ed: Verifying Checksum 22:13:31 e2be974225ed: Download complete 22:13:31 988bab9f4d93: Verifying Checksum 22:13:31 988bab9f4d93: Download complete 22:13:31 1469e6f7b9e6: Verifying Checksum 22:13:31 1469e6f7b9e6: Download complete 22:13:31 339a4e72a1f5: Verifying Checksum 22:13:31 339a4e72a1f5: Download complete 22:13:31 eaf3925da568: Download complete 22:13:31 bde34c3a00c8: Verifying Checksum 22:13:31 bde34c3a00c8: Download complete 22:13:31 b352a97aabf1: Verifying Checksum 22:13:31 b352a97aabf1: Download complete 22:13:31 4872d77fe225: Download complete 22:13:31 5851b861e8e6: Download complete 22:13:31 b85a868b505f: Verifying Checksum 22:13:31 b85a868b505f: Download complete 22:13:31 bab4dde63d76: Verifying Checksum 22:13:31 bab4dde63d76: Download complete 22:13:33 b85a868b505f: Pull complete 22:13:33 e2be974225ed: Pull complete 22:13:33 339a4e72a1f5: Pull complete 22:13:33 988bab9f4d93: Pull complete 22:13:34 1469e6f7b9e6: Pull complete 22:13:34 eaf3925da568: Pull complete 22:13:35 bab4dde63d76: Pull complete 22:13:36 bde34c3a00c8: Pull complete 22:13:36 b352a97aabf1: Pull complete 22:13:36 4872d77fe225: Pull complete 22:13:36 5851b861e8e6: Pull complete 22:13:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:36 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:13:36 $ 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 22:13:38 $ docker top 031a9e808b1128a7f12fd62cd2d30ef8f83b6fbe515fb0f0569038ae0c387a39 -eo pid,comm 22:13:38 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). 22:13:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:38 [ssh-agent] Looking for ssh-agent implementation... 22:13:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:38 $ docker exec 031a9e808b1128a7f12fd62cd2d30ef8f83b6fbe515fb0f0569038ae0c387a39 ssh-agent 22:13:38 SSH_AUTH_SOCK=/tmp/ssh-rgMeFdSXQNOE/agent.33 22:13:38 SSH_AGENT_PID=41 22:13:38 Running ssh-add (command line suppressed) 22:13:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_346230951204705235.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_346230951204705235.key) 22:13:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:39 + git tag --points-at HEAD [Pipeline] } 22:13:39 $ docker exec --env ******** --env ******** 031a9e808b1128a7f12fd62cd2d30ef8f83b6fbe515fb0f0569038ae0c387a39 ssh-agent -k 22:13:39 unset SSH_AUTH_SOCK; 22:13:39 unset SSH_AGENT_PID; 22:13:39 echo Agent pid 41 killed; 22:13:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:13:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:39 [ssh-agent] Looking for ssh-agent implementation... 22:13:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:39 $ docker exec 031a9e808b1128a7f12fd62cd2d30ef8f83b6fbe515fb0f0569038ae0c387a39 ssh-agent 22:13:39 SSH_AUTH_SOCK=/tmp/ssh-GUhq2Q5EXkII/agent.73 22:13:39 SSH_AGENT_PID=79 22:13:39 Running ssh-add (command line suppressed) 22:13:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6669416939994150784.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6669416939994150784.key) 22:13:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:39 + git semver init 22:13:40 2022-09-15 22:13:40,138 [run_init] DEBUG init version:0.0.0 force:False 22:13:40 2022-09-15 22:13:40,138 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 22:13:40 2022-09-15 22:13:40,139 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 22:13:40 2022-09-15 22:13:40,139 [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) 22:13:41 2022-09-15 22:13:41,009 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 22:13:41 2022-09-15 22:13:41,010 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 22:13:41 2022-09-15 22:13:41,010 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:13:41 2022-09-15 22:13:41,010 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:13:41 2.3.0-dev.16 [Pipeline] } 22:13:41 $ docker exec --env ******** --env ******** 031a9e808b1128a7f12fd62cd2d30ef8f83b6fbe515fb0f0569038ae0c387a39 ssh-agent -k 22:13:41 unset SSH_AUTH_SOCK; 22:13:41 unset SSH_AGENT_PID; 22:13:41 echo Agent pid 79 killed; 22:13:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:13:41 + git semver [Pipeline] } 22:13:41 $ docker stop --time=1 031a9e808b1128a7f12fd62cd2d30ef8f83b6fbe515fb0f0569038ae0c387a39 22:13:43 $ docker rm -f 031a9e808b1128a7f12fd62cd2d30ef8f83b6fbe515fb0f0569038ae0c387a39 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:13:43 Stashed 1 file(s) [Pipeline] echo 22:13:43 [edgeXSemver]: initialized semver on version 2.3.0-dev.16 [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 22:13:44 provisioning config files... 22:13:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3437261687838732441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:44 ---> docker-login.sh 22:13:44 nexus3.edgexfoundry.org:10001 22:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:44 Configure a credential helper to remove this warning. See 22:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:44 22:13:44 Login Succeeded 22:13:44 nexus3.edgexfoundry.org:10002 22:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:44 Configure a credential helper to remove this warning. See 22:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:44 22:13:44 Login Succeeded 22:13:44 nexus3.edgexfoundry.org:10003 22:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:44 Configure a credential helper to remove this warning. See 22:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:44 22:13:44 Login Succeeded 22:13:44 nexus3.edgexfoundry.org:10004 22:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:44 Configure a credential helper to remove this warning. See 22:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:44 22:13:44 Login Succeeded 22:13:44 docker.io 22:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:45 Configure a credential helper to remove this warning. See 22:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:45 22:13:45 Login Succeeded 22:13:45 ---> docker-login.sh ends [Pipeline] } 22:13:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:45 ========================================================= 22:13:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:13:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:45 + 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 . 22:13:45 Sending build context to Docker daemon 6.089MB 22:13:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:13:45 Step 2/12 : FROM ${BASE} AS builder 22:13:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:13:45 2408cc74d12b: Pulling fs layer 22:13:45 ea60b727a1ce: Pulling fs layer 22:13:45 30c4a7721957: Pulling fs layer 22:13:45 370296b7ddb6: Pulling fs layer 22:13:45 7c6cee850709: Pulling fs layer 22:13:45 39a5fcdaea64: Pulling fs layer 22:13:45 d94ebbe4e438: Pulling fs layer 22:13:45 bcfd1f05c69d: Pulling fs layer 22:13:45 59ccb84bbe0f: Pulling fs layer 22:13:45 370296b7ddb6: Waiting 22:13:45 7c6cee850709: Waiting 22:13:45 bcfd1f05c69d: Waiting 22:13:45 59ccb84bbe0f: Waiting 22:13:45 30c4a7721957: Verifying Checksum 22:13:45 30c4a7721957: Download complete 22:13:45 ea60b727a1ce: Download complete 22:13:45 7c6cee850709: Download complete 22:13:46 39a5fcdaea64: Download complete 22:13:46 2408cc74d12b: Download complete 22:13:46 d94ebbe4e438: Download complete 22:13:46 2408cc74d12b: Pull complete 22:13:46 ea60b727a1ce: Pull complete 22:13:46 30c4a7721957: Pull complete 22:13:46 59ccb84bbe0f: Verifying Checksum 22:13:46 59ccb84bbe0f: Download complete 22:13:46 bcfd1f05c69d: Verifying Checksum 22:13:46 bcfd1f05c69d: Download complete 22:13:46 370296b7ddb6: Verifying Checksum 22:13:46 370296b7ddb6: Download complete 22:13:51 370296b7ddb6: Pull complete 22:13:51 7c6cee850709: Pull complete 22:13:51 39a5fcdaea64: Pull complete 22:13:51 d94ebbe4e438: Pull complete 22:13:53 bcfd1f05c69d: Pull complete 22:13:54 59ccb84bbe0f: Pull complete 22:13:54 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:13:54 ---> a4fb48ad2a94 22:13:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:13:56 ---> Running in c3aad3e5a30e 22:13:56 Removing intermediate container c3aad3e5a30e 22:13:56 ---> fa20a8fd998f 22:13:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:13:56 ---> Running in 48b277f56b50 22:13:56 Removing intermediate container 48b277f56b50 22:13:56 ---> f6cb974c1add 22:13:56 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:13:56 ---> Running in 9b69ceb62478 22:13:57 Removing intermediate container 9b69ceb62478 22:13:57 ---> 70560f8aac5d 22:13:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:57 ---> Running in 98f962a5e30d 22:13:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:13:59 Still waiting to schedule task 22:13:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:13:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:13:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:13:59 (2/4) Installing libedit (20210910.3.1-r0) 22:13:59 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:13:59 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:13:59 Executing busybox-1.35.0-r13.trigger 22:13:59 OK: 216 MiB in 55 packages 22:14:00 Removing intermediate container 98f962a5e30d 22:14:00 ---> a648b66346d0 22:14:00 Step 7/12 : WORKDIR /device-mqtt-go 22:14:00 ---> Running in 2469625e64c2 22:14:00 Removing intermediate container 2469625e64c2 22:14:00 ---> 779a008d0eab 22:14:00 Step 8/12 : COPY go.mod vendor* ./ 22:14:01 ---> 03c402ea6ec7 22:14:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:01 ---> Running in 4751349367af 22:14:19 Removing intermediate container 4751349367af 22:14:19 ---> a328f37e7007 22:14:19 Step 10/12 : COPY . . 22:14:19 ---> 5415547a3fed 22:14:19 Step 11/12 : ARG MAKE='make build' 22:14:19 ---> Running in 979cae7bdbc4 22:14:19 Removing intermediate container 979cae7bdbc4 22:14:19 ---> d8e4eebbdf53 22:14:19 Step 12/12 : RUN $MAKE 22:14:19 ---> Running in d2704410a3eb 22:14:19 noop 22:14:19 Removing intermediate container d2704410a3eb 22:14:19 ---> 32a205a5c709 22:14:19 Successfully built 32a205a5c709 22:14:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:19 + docker inspect -f . ci-base-image-x86_64 22:14:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:19 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:14:19 $ 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 22:14:20 $ docker top fc7ec6e1847403733a42fd25828b03e76e0edaf1f8259da5310ede2cc4709b36 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:20 + go version 22:14:20 go version go1.18.3 linux/amd64 [Pipeline] } 22:14:20 $ docker stop --time=1 fc7ec6e1847403733a42fd25828b03e76e0edaf1f8259da5310ede2cc4709b36 22:14:22 $ docker rm -f fc7ec6e1847403733a42fd25828b03e76e0edaf1f8259da5310ede2cc4709b36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:22 + docker inspect -f . ci-base-image-x86_64 22:14:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:22 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:14:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 22:14:23 $ docker top 2c71ae299cfba54fd1f892e9e99c578509f0c2b45fdaaf5db848415a8e963aaf -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 22:14:23 + make test 22:14:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:14:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:14:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:14:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 22:14:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:14:41 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." 22:14:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:14:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:44 ./bin/test-attribution-txt.sh 22:14:44 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:14:44 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:14:44 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:14:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:14:44 $ docker stop --time=1 2c71ae299cfba54fd1f892e9e99c578509f0c2b45fdaaf5db848415a8e963aaf 22:14:46 $ docker rm -f 2c71ae299cfba54fd1f892e9e99c578509f0c2b45fdaaf5db848415a8e963aaf [Pipeline] // withDockerContainer [Pipeline] sh 22:14:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:47 + ls -al . 22:14:47 total 180 22:14:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:14 . 22:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:13 .. 22:14:47 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 22:13 .dockerignore 22:14:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:14 .git 22:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 .github 22:14:47 -rw-rw-r-- 1 jenkins jenkins 329 Sep 15 22:13 .gitignore 22:14:47 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:13 .golangci.yml 22:14:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:13 .semver 22:14:47 -rw-rw-r-- 1 jenkins jenkins 8917 Sep 15 22:13 Attribution.txt 22:14:47 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 15 22:13 CHANGELOG.md 22:14:47 -rw-rw-r-- 1 jenkins jenkins 1932 Sep 15 22:13 Dockerfile 22:14:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:13 GOVERNANCE.md 22:14:47 -rw-rw-r-- 1 jenkins jenkins 678 Sep 15 22:13 Jenkinsfile 22:14:47 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:13 LICENSE 22:14:47 -rw-rw-r-- 1 jenkins jenkins 1917 Sep 15 22:13 Makefile 22:14:47 -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 22:13 OWNERS.md 22:14:47 -rw-rw-r-- 1 jenkins jenkins 2501 Sep 15 22:13 README.md 22:14:47 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:13 VERSION 22:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:13 bin 22:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 cmd 22:14:47 -rw-r--r-- 1 jenkins jenkins 17887 Sep 15 22:14 coverage.out 22:14:47 -rw-rw-r-- 1 jenkins jenkins 3452 Sep 15 22:13 go.mod 22:14:47 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 15 22:13 go.sum 22:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 internal 22:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:13 mock 22:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:13 snap 22:14:47 -rw-rw-r-- 1 jenkins jenkins 227 Sep 15 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:47 + 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=e3b17c36aac665b2f67a5aeebf35b3bad318417a --label arch=amd64 --label version=2.3.0-dev.16 . 22:14:47 Sending build context to Docker daemon 6.107MB 22:14:47 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:14:47 Step 2/24 : FROM ${BASE} AS builder 22:14:47 ---> 32a205a5c709 22:14:47 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:14:47 ---> Running in 618fdc0567ae 22:14:48 Removing intermediate container 618fdc0567ae 22:14:48 ---> 390dff71970f 22:14:48 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 22:14:48 ---> Running in 720abd3c4a98 22:14:48 Removing intermediate container 720abd3c4a98 22:14:48 ---> 1e50961e6bc0 22:14:48 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:14:48 ---> Running in d4079f1501d6 22:14:49 Removing intermediate container d4079f1501d6 22:14:49 ---> e7ec944cf352 22:14:49 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:49 ---> Running in bc9ee3e92f28 22:14:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:50 OK: 216 MiB in 55 packages 22:14:51 Removing intermediate container bc9ee3e92f28 22:14:51 ---> 9d294efb7978 22:14:51 Step 7/24 : WORKDIR /device-mqtt-go 22:14:51 ---> Running in 03be350a4654 22:14:51 Removing intermediate container 03be350a4654 22:14:51 ---> fe96a8f06d81 22:14:51 Step 8/24 : COPY go.mod vendor* ./ 22:14:51 ---> 39da2242b708 22:14:51 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:51 ---> Running in d341220da4e2 22:14:51 Removing intermediate container d341220da4e2 22:14:51 ---> 12dd47275748 22:14:51 Step 10/24 : COPY . . 22:14:52 ---> 32e85aa45526 22:14:52 Step 11/24 : ARG MAKE='make build' 22:14:52 ---> Running in f00e56d86819 22:14:52 Removing intermediate container f00e56d86819 22:14:52 ---> bc0ce95fa0c2 22:14:52 Step 12/24 : RUN $MAKE 22:14:52 ---> Running in 01137fc5c946 22:14:53 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 22:15:14 Removing intermediate container 01137fc5c946 22:15:14 ---> f8e39c2863bf 22:15:14 Step 13/24 : FROM alpine:3.16 22:15:14 3.16: Pulling from library/alpine 22:15:14 213ec9aee27d: Pulling fs layer 22:15:14 213ec9aee27d: Verifying Checksum 22:15:14 213ec9aee27d: Download complete 22:15:14 213ec9aee27d: Pull complete 22:15:14 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:15:14 Status: Downloaded newer image for alpine:3.16 22:15:14 ---> 9c6f07244728 22:15:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:15:14 ---> Running in c0fdca853e7c 22:15:14 Removing intermediate container c0fdca853e7c 22:15:14 ---> f992f3707d8e 22:15:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:15:14 ---> Running in 9875982a9038 22:15:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:15:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:15:14 (1/6) Installing dumb-init (1.2.5-r1) 22:15:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:15:14 (3/6) Installing libsodium (1.0.18-r0) 22:15:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:15:14 (5/6) Installing libzmq (4.3.4-r0) 22:15:14 (6/6) Installing zeromq (4.3.4-r0) 22:15:14 Executing busybox-1.35.0-r17.trigger 22:15:14 OK: 8 MiB in 20 packages 22:15:14 Removing intermediate container 9875982a9038 22:15:14 ---> f1c6d4cb6677 22:15:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:15:15 ---> 96fe96193332 22:15:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:15:15 ---> b022548ca35b 22:15:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:15:15 ---> da75e8abb2be 22:15:15 Step 19/24 : EXPOSE 59982 22:15:15 ---> Running in 165a182448d5 22:15:16 Removing intermediate container 165a182448d5 22:15:16 ---> c3f2c804dc01 22:15:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:15:16 ---> Running in 1c9b607659be 22:15:16 Removing intermediate container 1c9b607659be 22:15:16 ---> 7b7ddb451586 22:15:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:15:16 ---> Running in 7ded8cd10fd1 22:15:16 Removing intermediate container 7ded8cd10fd1 22:15:16 ---> 13d28be8964c 22:15:16 Step 22/24 : LABEL arch=amd64 22:15:16 ---> Running in 7a77b9809437 22:15:16 Removing intermediate container 7a77b9809437 22:15:16 ---> ee26e96d2785 22:15:16 Step 23/24 : LABEL git_sha=e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:15:16 ---> Running in 885875c377ce 22:15:16 Removing intermediate container 885875c377ce 22:15:16 ---> ab305b5130b4 22:15:16 Step 24/24 : LABEL version=2.3.0-dev.16 22:15:16 ---> Running in 6777220577e6 22:15:16 Removing intermediate container 6777220577e6 22:15:16 ---> 0a3ddadb758b 22:15:16 [Warning] One or more build-args [ARCH] were not consumed 22:15:16 Successfully built 0a3ddadb758b 22:15:16 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:16 provisioning config files... 22:15:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1301047447337379416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:17 ---> docker-login.sh 22:15:17 nexus3.edgexfoundry.org:10001 22:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:17 Configure a credential helper to remove this warning. See 22:15:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:17 22:15:17 Login Succeeded 22:15:17 nexus3.edgexfoundry.org:10002 22:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:17 Configure a credential helper to remove this warning. See 22:15:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:17 22:15:17 Login Succeeded 22:15:17 nexus3.edgexfoundry.org:10003 22:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:17 Configure a credential helper to remove this warning. See 22:15:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:17 22:15:17 Login Succeeded 22:15:17 nexus3.edgexfoundry.org:10004 22:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:17 Configure a credential helper to remove this warning. See 22:15:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:17 22:15:17 Login Succeeded 22:15:17 docker.io 22:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:18 Configure a credential helper to remove this warning. See 22:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:18 22:15:18 Login Succeeded 22:15:18 ---> docker-login.sh ends [Pipeline] } 22:15:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:15:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:18 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 22:15:18 e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:15:18 latest 22:15:18 2.3.0-dev.16 22:15:18 e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 22:15:18 main 22:15:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:15:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:15:18 b79c0fcd407f: Preparing 22:15:18 d5f40977bcef: Preparing 22:15:18 dca4e275bb8d: Preparing 22:15:18 616259fde187: Preparing 22:15:18 994393dc58e7: Preparing 22:15:18 994393dc58e7: Layer already exists 22:15:18 b79c0fcd407f: Pushed 22:15:18 d5f40977bcef: Pushed 22:15:18 616259fde187: Pushed 22:15:21 dca4e275bb8d: Pushed 22:15:21 e3b17c36aac665b2f67a5aeebf35b3bad318417a: digest: sha256:487921b7da9d00c24073441e5eccc8308d1c890c9902bed586e68b0179285979 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:15:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:15:22 b79c0fcd407f: Preparing 22:15:22 d5f40977bcef: Preparing 22:15:22 dca4e275bb8d: Preparing 22:15:22 616259fde187: Preparing 22:15:22 994393dc58e7: Preparing 22:15:22 b79c0fcd407f: Layer already exists 22:15:22 994393dc58e7: Layer already exists 22:15:22 dca4e275bb8d: Layer already exists 22:15:22 616259fde187: Layer already exists 22:15:22 d5f40977bcef: Layer already exists 22:15:22 latest: digest: sha256:487921b7da9d00c24073441e5eccc8308d1c890c9902bed586e68b0179285979 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.16 22:15:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:15:22 b79c0fcd407f: Preparing 22:15:22 d5f40977bcef: Preparing 22:15:22 dca4e275bb8d: Preparing 22:15:22 616259fde187: Preparing 22:15:22 994393dc58e7: Preparing 22:15:22 dca4e275bb8d: Layer already exists 22:15:22 616259fde187: Layer already exists 22:15:22 b79c0fcd407f: Layer already exists 22:15:22 d5f40977bcef: Layer already exists 22:15:22 994393dc58e7: Layer already exists 22:15:22 2.3.0-dev.16: digest: sha256:487921b7da9d00c24073441e5eccc8308d1c890c9902bed586e68b0179285979 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 22:15:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:15:23 b79c0fcd407f: Preparing 22:15:23 d5f40977bcef: Preparing 22:15:23 dca4e275bb8d: Preparing 22:15:23 616259fde187: Preparing 22:15:23 994393dc58e7: Preparing 22:15:23 dca4e275bb8d: Layer already exists 22:15:23 d5f40977bcef: Layer already exists 22:15:23 616259fde187: Layer already exists 22:15:23 b79c0fcd407f: Layer already exists 22:15:23 994393dc58e7: Layer already exists 22:15:23 e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16: digest: sha256:487921b7da9d00c24073441e5eccc8308d1c890c9902bed586e68b0179285979 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 22:15:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:15:24 b79c0fcd407f: Preparing 22:15:24 d5f40977bcef: Preparing 22:15:24 dca4e275bb8d: Preparing 22:15:24 616259fde187: Preparing 22:15:24 994393dc58e7: Preparing 22:15:24 d5f40977bcef: Layer already exists 22:15:24 994393dc58e7: Layer already exists 22:15:24 616259fde187: Layer already exists 22:15:24 dca4e275bb8d: Layer already exists 22:15:24 b79c0fcd407f: Layer already exists 22:15:24 main: digest: sha256:487921b7da9d00c24073441e5eccc8308d1c890c9902bed586e68b0179285979 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:15:24 ===================================================== [Pipeline] echo 22:15:24 taggedImages: 22:15:24 - nexus3.edgexfoundry.org:10004/device-mqtt:e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:15:24 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:15:24 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.16 22:15:24 - nexus3.edgexfoundry.org:10004/device-mqtt:e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 22:15:24 - 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 22:15:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:24 22:15:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:24 latest: Pulling from edgex-lftools-log-publisher 22:15:24 5eb5b503b376: Pulling fs layer 22:15:24 5c69ac0246d0: Pulling fs layer 22:15:24 ec43610c2a17: Pulling fs layer 22:15:24 3a2ae6a8a46f: Pulling fs layer 22:15:24 33b1e0a273af: Pulling fs layer 22:15:24 5d3b04190fa2: Pulling fs layer 22:15:24 2f39f015ded8: Pulling fs layer 22:15:24 3a2ae6a8a46f: Waiting 22:15:24 33b1e0a273af: Waiting 22:15:24 2f39f015ded8: Waiting 22:15:24 5d3b04190fa2: Waiting 22:15:24 5c69ac0246d0: Verifying Checksum 22:15:24 5c69ac0246d0: Download complete 22:15:24 3a2ae6a8a46f: Download complete 22:15:24 33b1e0a273af: Verifying Checksum 22:15:24 33b1e0a273af: Download complete 22:15:25 5d3b04190fa2: Verifying Checksum 22:15:25 5d3b04190fa2: Download complete 22:15:25 ec43610c2a17: Verifying Checksum 22:15:25 ec43610c2a17: Download complete 22:15:25 5eb5b503b376: Verifying Checksum 22:15:25 5eb5b503b376: Download complete 22:15:25 2f39f015ded8: Download complete 22:15:26 5eb5b503b376: Pull complete 22:15:26 5c69ac0246d0: Pull complete 22:15:27 ec43610c2a17: Pull complete 22:15:27 3a2ae6a8a46f: Pull complete 22:15:27 33b1e0a273af: Pull complete 22:15:27 5d3b04190fa2: Pull complete 22:15:32 2f39f015ded8: Pull complete 22:15:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:15:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:32 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:15:32 $ 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 22:15:34 $ docker top 6cab1b03fc07965c4b60190290cb4504cf0f9ee4c438d918f38c0e543288f9a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:35 ---> job-cost.sh 22:15:35 lf-activate-venv: SKIPPING 22:15:35 INFO: No Stack... 22:15:35 INFO: Retrieving Pricing Info for: v3-standard-8 22:15:36 INFO: Archiving Costs [Pipeline] sh 22:15:36 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 22:15:36 + cut -d, -f6 [Pipeline] lock 22:15:36 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] 22:15:36 Resource [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] did not exist. Created. 22:15:36 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:15:36 + echo total: 0.2199999988079071 [Pipeline] stash 22:15:36 Stashed 1 file(s) [Pipeline] } 22:15:36 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 22:15:36 $ docker stop --time=1 6cab1b03fc07965c4b60190290cb4504cf0f9ee4c438d918f38c0e543288f9a6 22:15:37 $ docker rm -f 6cab1b03fc07965c4b60190290cb4504cf0f9ee4c438d918f38c0e543288f9a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:24:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29626 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 22:24:33 Running in /w/workspace/device-mqtt-go/63 [Pipeline] { [Pipeline] checkout 22:24:33 Selected Git installation does not exist. Using Default 22:24:33 The recommended git tool is: NONE 22:24:39 using credential edgex-jenkins-ssh 22:24:39 Cloning the remote Git repository 22:24:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:24:39 > git init /w/workspace/device-mqtt-go/63 # timeout=10 22:24:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:24:39 > git --version # timeout=10 22:24:39 > git --version # 'git version 2.25.1' 22:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:24:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:40 Avoid second fetch 22:24:40 Checking out Revision e3b17c36aac665b2f67a5aeebf35b3bad318417a (main) 22:24:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:24:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:40 > git config core.sparsecheckout # timeout=10 22:24:40 > git checkout -f e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 22:24:45 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#413)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:24:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:24:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:24:46 Dload Upload Total Spent Left Speed 22:24:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 22:24:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:24:47 + + sudo teesudo /etc/docker/daemon.new jq 22:24:47 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:24:47 { 22:24:47 "registry-mirrors": [ 22:24:47 "https://nexus3.edgexfoundry.org:10001" 22:24:47 ], 22:24:47 "bip": "10.250.0.254/24", 22:24:47 "hosts": [ 22:24:47 "tcp://0.0.0.0:5555", 22:24:47 "unix:///var/run/docker.sock" 22:24:47 ], 22:24:47 "mtu": 1458, 22:24:47 "selinux-enabled": true, 22:24:47 "seccomp-profile": "/etc/docker/seccomp.json" 22:24:47 } [Pipeline] sh 22:24:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:24:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:06 provisioning config files... 22:25:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/63@tmp/config2531410265292620155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:07 ---> docker-login.sh 22:25:07 nexus3.edgexfoundry.org:10001 22:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:08 Configure a credential helper to remove this warning. See 22:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:08 22:25:08 Login Succeeded 22:25:08 nexus3.edgexfoundry.org:10002 22:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:08 Configure a credential helper to remove this warning. See 22:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:08 22:25:08 Login Succeeded 22:25:08 nexus3.edgexfoundry.org:10003 22:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:09 Configure a credential helper to remove this warning. See 22:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:09 22:25:09 Login Succeeded 22:25:09 nexus3.edgexfoundry.org:10004 22:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:09 Configure a credential helper to remove this warning. See 22:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:09 22:25:09 Login Succeeded 22:25:09 docker.io 22:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:10 Configure a credential helper to remove this warning. See 22:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:10 22:25:10 Login Succeeded 22:25:10 ---> docker-login.sh ends [Pipeline] } 22:25:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:25:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:11 ========================================================= 22:25:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:25:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:11 + 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 . 22:25:11 Sending build context to Docker daemon 3.144MB 22:25:12 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:25:12 Step 2/12 : FROM ${BASE} AS builder 22:25:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:25:12 b3c136eddcbf: Pulling fs layer 22:25:12 c0a3192eca97: Pulling fs layer 22:25:12 a050256f5b6f: Pulling fs layer 22:25:12 656be50a0ddc: Pulling fs layer 22:25:12 2bbca73fdf42: Pulling fs layer 22:25:12 46d945488cbd: Pulling fs layer 22:25:12 8a5474983e97: Pulling fs layer 22:25:12 329c88fbcd65: Pulling fs layer 22:25:12 46d945488cbd: Waiting 22:25:12 656be50a0ddc: Waiting 22:25:12 8a5474983e97: Waiting 22:25:12 2bbca73fdf42: Waiting 22:25:12 a050256f5b6f: Download complete 22:25:12 c0a3192eca97: Download complete 22:25:12 2bbca73fdf42: Verifying Checksum 22:25:12 2bbca73fdf42: Download complete 22:25:12 46d945488cbd: Verifying Checksum 22:25:12 46d945488cbd: Download complete 22:25:12 b3c136eddcbf: Verifying Checksum 22:25:12 b3c136eddcbf: Download complete 22:25:13 b3c136eddcbf: Pull complete 22:25:13 c0a3192eca97: Pull complete 22:25:14 a050256f5b6f: Pull complete 22:25:14 329c88fbcd65: Download complete 22:25:17 8a5474983e97: Verifying Checksum 22:25:17 8a5474983e97: Download complete 22:25:17 656be50a0ddc: Verifying Checksum 22:25:17 656be50a0ddc: Download complete 22:25:32 656be50a0ddc: Pull complete 22:25:32 2bbca73fdf42: Pull complete 22:25:33 46d945488cbd: Pull complete 22:25:41 8a5474983e97: Pull complete 22:25:42 329c88fbcd65: Pull complete 22:25:42 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:25:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:25:42 ---> ff4287adb874 22:25:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:25:43 ---> Running in 9ae4069608c6 22:25:44 Removing intermediate container 9ae4069608c6 22:25:44 ---> 2f3015754a13 22:25:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:25:44 ---> Running in 39d3d181f7f3 22:25:44 Removing intermediate container 39d3d181f7f3 22:25:44 ---> e81950664278 22:25:44 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:25:44 ---> Running in 37d6bfc2818a 22:25:46 Removing intermediate container 37d6bfc2818a 22:25:46 ---> d0ad6d693db3 22:25:46 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:25:46 ---> Running in 92b06604cbcb 22:25:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:25:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:25:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:25:49 (2/4) Installing libedit (20210910.3.1-r0) 22:25:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:25:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:25:49 Executing busybox-1.35.0-r13.trigger 22:25:49 OK: 226 MiB in 55 packages 22:25:50 Removing intermediate container 92b06604cbcb 22:25:50 ---> 185973a67f0e 22:25:50 Step 7/12 : WORKDIR /device-mqtt-go 22:25:51 ---> Running in cacbb1190f6d 22:25:51 Removing intermediate container cacbb1190f6d 22:25:51 ---> 336ed4498632 22:25:51 Step 8/12 : COPY go.mod vendor* ./ 22:25:51 ---> 1f6b90e764a9 22:25:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:51 ---> Running in 697a8b9c431a 22:26:48 Removing intermediate container 697a8b9c431a 22:26:48 ---> a7bc9d095290 22:26:48 Step 10/12 : COPY . . 22:26:48 ---> fbd6ee156253 22:26:48 Step 11/12 : ARG MAKE='make build' 22:26:48 ---> Running in 9df084751d89 22:26:48 Removing intermediate container 9df084751d89 22:26:48 ---> e31615fbcccc 22:26:48 Step 12/12 : RUN $MAKE 22:26:48 ---> Running in c59163776f01 22:26:48 noop 22:26:48 Removing intermediate container c59163776f01 22:26:48 ---> ac1fba0a65f2 22:26:48 Successfully built ac1fba0a65f2 22:26:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:48 + docker inspect -f . ci-base-image-arm64 22:26:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:49 prd-ubuntu20.04-docker-arm64-4c-16g-29626 does not seem to be running inside a container 22:26:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/63 -v /w/workspace/device-mqtt-go/63:/w/workspace/device-mqtt-go/63:rw,z -v /w/workspace/device-mqtt-go/63@tmp:/w/workspace/device-mqtt-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:26:50 $ docker top 350954144c224b560962f8850726f1e6f2ac8d601d262dceb1b1e1d1f3e726d5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:51 + go version 22:26:51 go version go1.18.3 linux/arm64 [Pipeline] } 22:26:51 $ docker stop --time=1 350954144c224b560962f8850726f1e6f2ac8d601d262dceb1b1e1d1f3e726d5 22:26:53 $ docker rm -f 350954144c224b560962f8850726f1e6f2ac8d601d262dceb1b1e1d1f3e726d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:53 + docker inspect -f . ci-base-image-arm64 22:26:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:54 prd-ubuntu20.04-docker-arm64-4c-16g-29626 does not seem to be running inside a container 22:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/63 -v /w/workspace/device-mqtt-go/63:/w/workspace/device-mqtt-go/63:rw,z -v /w/workspace/device-mqtt-go/63@tmp:/w/workspace/device-mqtt-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:26:55 $ docker top 6207eb690a822254f27cfdb7e9fbf3773f545d30e013c43f3706dd84a6b58961 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:56 + git config --global --add safe.directory /w/workspace/device-mqtt-go/63 [Pipeline] fileExists [Pipeline] sh 22:26:57 + make test 22:26:57 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:26:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:28:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:28:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 22:28:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:28:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:28:36 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:28:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:28:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:28:58 ./bin/test-attribution-txt.sh 22:28:58 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:28:58 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:28:58 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:28:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:28:58 $ docker stop --time=1 6207eb690a822254f27cfdb7e9fbf3773f545d30e013c43f3706dd84a6b58961 22:29:00 $ docker rm -f 6207eb690a822254f27cfdb7e9fbf3773f545d30e013c43f3706dd84a6b58961 [Pipeline] // withDockerContainer [Pipeline] sh 22:29:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:29:01 Warning: overwriting stash ‘coverage-report’ 22:29:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:29:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:29:02 + ls -al . 22:29:02 total 176 22:29:02 drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 22:26 . 22:29:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:24 .. 22:29:02 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 22:24 .dockerignore 22:29:02 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:24 .git 22:29:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 .github 22:29:02 -rw-rw-r-- 1 jenkins jenkins 329 Sep 15 22:24 .gitignore 22:29:02 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:24 .golangci.yml 22:29:02 -rw-rw-r-- 1 jenkins jenkins 8917 Sep 15 22:24 Attribution.txt 22:29:02 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 15 22:24 CHANGELOG.md 22:29:02 -rw-rw-r-- 1 jenkins jenkins 1932 Sep 15 22:24 Dockerfile 22:29:02 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:24 GOVERNANCE.md 22:29:02 -rw-rw-r-- 1 jenkins jenkins 678 Sep 15 22:24 Jenkinsfile 22:29:02 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:24 LICENSE 22:29:02 -rw-rw-r-- 1 jenkins jenkins 1917 Sep 15 22:24 Makefile 22:29:02 -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 22:24 OWNERS.md 22:29:02 -rw-rw-r-- 1 jenkins jenkins 2501 Sep 15 22:24 README.md 22:29:02 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:13 VERSION 22:29:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:24 bin 22:29:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 cmd 22:29:02 -rw-r--r-- 1 jenkins jenkins 17887 Sep 15 22:28 coverage.out 22:29:02 -rw-rw-r-- 1 jenkins jenkins 3452 Sep 15 22:24 go.mod 22:29:02 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 15 22:24 go.sum 22:29:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 internal 22:29:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:24 mock 22:29:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:24 snap 22:29:02 -rw-rw-r-- 1 jenkins jenkins 227 Sep 15 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:03 + 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=e3b17c36aac665b2f67a5aeebf35b3bad318417a --label arch=arm64 --label version=2.3.0-dev.16 . 22:29:03 Sending build context to Docker daemon 3.162MB 22:29:03 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:29:03 Step 2/24 : FROM ${BASE} AS builder 22:29:03 ---> ac1fba0a65f2 22:29:03 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:29:03 ---> Running in 711173aeef51 22:29:04 Removing intermediate container 711173aeef51 22:29:04 ---> eac932d51bef 22:29:04 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 22:29:04 ---> Running in 35545315dd70 22:29:04 Removing intermediate container 35545315dd70 22:29:04 ---> f16f6d08534d 22:29:04 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:29:04 ---> Running in 36a2105667f7 22:29:06 Removing intermediate container 36a2105667f7 22:29:06 ---> de9b328bbd36 22:29:06 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:06 ---> Running in 1574eb1875f7 22:29:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:29:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:29:10 OK: 226 MiB in 55 packages 22:29:10 Removing intermediate container 1574eb1875f7 22:29:10 ---> 2c5f1bd147c3 22:29:10 Step 7/24 : WORKDIR /device-mqtt-go 22:29:10 ---> Running in cbe3c3a72bc8 22:29:11 Removing intermediate container cbe3c3a72bc8 22:29:11 ---> 12156639e958 22:29:11 Step 8/24 : COPY go.mod vendor* ./ 22:29:11 ---> 883c1b63eacc 22:29:11 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:11 ---> Running in ebc801af50cc 22:29:13 Removing intermediate container ebc801af50cc 22:29:13 ---> 8ede11f74066 22:29:13 Step 10/24 : COPY . . 22:29:14 ---> e756725b2b5d 22:29:14 Step 11/24 : ARG MAKE='make build' 22:29:14 ---> Running in 2ab03f8b4c18 22:29:15 Removing intermediate container 2ab03f8b4c18 22:29:15 ---> 2b2811afbe15 22:29:15 Step 12/24 : RUN $MAKE 22:29:15 ---> Running in eb701c3910aa 22:29:16 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 22:31:53 Removing intermediate container eb701c3910aa 22:31:53 ---> 17e2f3a03fd1 22:31:53 Step 13/24 : FROM alpine:3.16 22:31:53 3.16: Pulling from library/alpine 22:31:53 9b18e9b68314: Pulling fs layer 22:31:53 9b18e9b68314: Verifying Checksum 22:31:53 9b18e9b68314: Download complete 22:31:53 9b18e9b68314: Pull complete 22:31:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:31:53 Status: Downloaded newer image for alpine:3.16 22:31:53 ---> a6215f271958 22:31:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:31:53 ---> Running in 708af8f12b31 22:31:53 Removing intermediate container 708af8f12b31 22:31:53 ---> e97f99d08f47 22:31:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:31:53 ---> Running in 2b3b3b603e52 22:31:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:31:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:31:53 (1/6) Installing dumb-init (1.2.5-r1) 22:31:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:31:53 (3/6) Installing libsodium (1.0.18-r0) 22:31:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:31:53 (5/6) Installing libzmq (4.3.4-r0) 22:31:53 (6/6) Installing zeromq (4.3.4-r0) 22:31:53 Executing busybox-1.35.0-r17.trigger 22:31:53 OK: 8 MiB in 20 packages 22:31:53 Removing intermediate container 2b3b3b603e52 22:31:53 ---> 2f07b2307aec 22:31:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:31:53 ---> 4db872c609bb 22:31:53 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:31:54 ---> aeedc94987bb 22:31:54 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:31:54 ---> 8d8f0386c74c 22:31:54 Step 19/24 : EXPOSE 59982 22:31:54 ---> Running in 829344da4ece 22:31:54 Removing intermediate container 829344da4ece 22:31:54 ---> acf91335f95d 22:31:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:31:54 ---> Running in 727907818a5a 22:31:55 Removing intermediate container 727907818a5a 22:31:55 ---> bb5d97c79b1d 22:31:55 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:31:55 ---> Running in 6c3fce2fb77a 22:31:55 Removing intermediate container 6c3fce2fb77a 22:31:55 ---> 4872e0400002 22:31:55 Step 22/24 : LABEL arch=arm64 22:31:55 ---> Running in 967b3054fcdb 22:31:56 Removing intermediate container 967b3054fcdb 22:31:56 ---> a8d7ef09ddab 22:31:56 Step 23/24 : LABEL git_sha=e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:31:56 ---> Running in bb3fba6cca3c 22:31:56 Removing intermediate container bb3fba6cca3c 22:31:56 ---> 3d54f7dc012e 22:31:56 Step 24/24 : LABEL version=2.3.0-dev.16 22:31:56 ---> Running in 62de838fa447 22:31:56 Removing intermediate container 62de838fa447 22:31:56 ---> 875533655e3f 22:31:56 [Warning] One or more build-args [ARCH] were not consumed 22:31:57 Successfully built 875533655e3f 22:31:57 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 22:31:57 provisioning config files... 22:31:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/63@tmp/config3663683539135032212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:57 ---> docker-login.sh 22:31:57 nexus3.edgexfoundry.org:10001 22:31:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:58 Configure a credential helper to remove this warning. See 22:31:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:58 22:31:58 Login Succeeded 22:31:58 nexus3.edgexfoundry.org:10002 22:31:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:58 Configure a credential helper to remove this warning. See 22:31:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:58 22:31:58 Login Succeeded 22:31:58 nexus3.edgexfoundry.org:10003 22:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:59 Configure a credential helper to remove this warning. See 22:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:59 22:31:59 Login Succeeded 22:31:59 nexus3.edgexfoundry.org:10004 22:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:59 Configure a credential helper to remove this warning. See 22:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:59 22:31:59 Login Succeeded 22:31:59 docker.io 22:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:00 Configure a credential helper to remove this warning. See 22:32:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:00 22:32:00 Login Succeeded 22:32:00 ---> docker-login.sh ends [Pipeline] } 22:32:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:32:00 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 22:32:00 e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:32:00 latest 22:32:00 2.3.0-dev.16 22:32:00 e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 22:32:00 main 22:32:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:01 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:32:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:32:01 09d5ed27ee59: Preparing 22:32:01 dba7fe3738dc: Preparing 22:32:01 df6f223665dc: Preparing 22:32:01 1180efb35e45: Preparing 22:32:01 5d3e392a13a0: Preparing 22:32:01 5d3e392a13a0: Layer already exists 22:32:01 dba7fe3738dc: Pushed 22:32:01 09d5ed27ee59: Pushed 22:32:02 1180efb35e45: Pushed 22:32:06 df6f223665dc: Pushed 22:32:07 e3b17c36aac665b2f67a5aeebf35b3bad318417a: digest: sha256:0ede836a61a755ee2c40e8f1baf5403925caf2e64675f48e19787f990820620e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:32:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:32:07 09d5ed27ee59: Preparing 22:32:07 dba7fe3738dc: Preparing 22:32:07 df6f223665dc: Preparing 22:32:07 1180efb35e45: Preparing 22:32:07 5d3e392a13a0: Preparing 22:32:07 dba7fe3738dc: Layer already exists 22:32:07 df6f223665dc: Layer already exists 22:32:07 5d3e392a13a0: Layer already exists 22:32:07 1180efb35e45: Layer already exists 22:32:07 09d5ed27ee59: Layer already exists 22:32:08 latest: digest: sha256:0ede836a61a755ee2c40e8f1baf5403925caf2e64675f48e19787f990820620e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.16 22:32:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:32:08 09d5ed27ee59: Preparing 22:32:08 dba7fe3738dc: Preparing 22:32:08 df6f223665dc: Preparing 22:32:08 1180efb35e45: Preparing 22:32:08 5d3e392a13a0: Preparing 22:32:08 5d3e392a13a0: Layer already exists 22:32:08 dba7fe3738dc: Layer already exists 22:32:08 09d5ed27ee59: Layer already exists 22:32:08 1180efb35e45: Layer already exists 22:32:08 df6f223665dc: Layer already exists 22:32:09 2.3.0-dev.16: digest: sha256:0ede836a61a755ee2c40e8f1baf5403925caf2e64675f48e19787f990820620e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 22:32:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:32:10 09d5ed27ee59: Preparing 22:32:10 dba7fe3738dc: Preparing 22:32:10 df6f223665dc: Preparing 22:32:10 1180efb35e45: Preparing 22:32:10 5d3e392a13a0: Preparing 22:32:10 1180efb35e45: Layer already exists 22:32:10 dba7fe3738dc: Layer already exists 22:32:10 df6f223665dc: Layer already exists 22:32:10 5d3e392a13a0: Layer already exists 22:32:10 09d5ed27ee59: Layer already exists 22:32:10 e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16: digest: sha256:0ede836a61a755ee2c40e8f1baf5403925caf2e64675f48e19787f990820620e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 22:32:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:32:11 09d5ed27ee59: Preparing 22:32:11 dba7fe3738dc: Preparing 22:32:11 df6f223665dc: Preparing 22:32:11 1180efb35e45: Preparing 22:32:11 5d3e392a13a0: Preparing 22:32:11 dba7fe3738dc: Layer already exists 22:32:11 09d5ed27ee59: Layer already exists 22:32:11 5d3e392a13a0: Layer already exists 22:32:11 df6f223665dc: Layer already exists 22:32:11 1180efb35e45: Layer already exists 22:32:11 main: digest: sha256:0ede836a61a755ee2c40e8f1baf5403925caf2e64675f48e19787f990820620e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:32:11 ===================================================== [Pipeline] echo 22:32:11 taggedImages: 22:32:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3b17c36aac665b2f67a5aeebf35b3bad318417a 22:32:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:32:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.16 22:32:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3b17c36aac665b2f67a5aeebf35b3bad318417a-2.3.0-dev.16 22:32:11 - 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 22:32:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:32:11 22:32:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:32:12 arm64: Pulling from edgex-lftools-log-publisher 22:32:12 8998bd30e6a1: Pulling fs layer 22:32:12 04944245beec: Pulling fs layer 22:32:12 699f458cf7ca: Pulling fs layer 22:32:12 765212b225bb: Pulling fs layer 22:32:12 f23df028b6ca: Pulling fs layer 22:32:12 d65c8cfc05b1: Pulling fs layer 22:32:12 2437ff75d9bd: Pulling fs layer 22:32:12 f23df028b6ca: Waiting 22:32:12 d65c8cfc05b1: Waiting 22:32:12 2437ff75d9bd: Waiting 22:32:12 765212b225bb: Waiting 22:32:12 04944245beec: Verifying Checksum 22:32:12 04944245beec: Download complete 22:32:12 765212b225bb: Verifying Checksum 22:32:12 765212b225bb: Download complete 22:32:12 f23df028b6ca: Verifying Checksum 22:32:12 f23df028b6ca: Download complete 22:32:12 d65c8cfc05b1: Verifying Checksum 22:32:12 d65c8cfc05b1: Download complete 22:32:12 699f458cf7ca: Verifying Checksum 22:32:12 699f458cf7ca: Download complete 22:32:12 8998bd30e6a1: Verifying Checksum 22:32:12 8998bd30e6a1: Download complete 22:32:16 2437ff75d9bd: Verifying Checksum 22:32:16 2437ff75d9bd: Download complete 22:32:18 8998bd30e6a1: Pull complete 22:32:18 04944245beec: Pull complete 22:32:20 699f458cf7ca: Pull complete 22:32:20 765212b225bb: Pull complete 22:32:21 f23df028b6ca: Pull complete 22:32:21 d65c8cfc05b1: Pull complete 22:32:36 2437ff75d9bd: Pull complete 22:32:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:32:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:32:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:36 prd-ubuntu20.04-docker-arm64-4c-16g-29626 does not seem to be running inside a container 22:32:36 $ 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/63 -v /w/workspace/device-mqtt-go/63:/w/workspace/device-mqtt-go/63:rw,z -v /w/workspace/device-mqtt-go/63@tmp:/w/workspace/device-mqtt-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:32:39 $ docker top 537b25bb41c5c41faac7ca24c6f783668b04fe0d28cb022abd6434c9c78b4c2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:40 ---> job-cost.sh 22:32:40 lf-activate-venv: SKIPPING 22:32:40 INFO: No Stack... 22:32:41 INFO: Retrieving Pricing Info for: v3-standard-4 22:32:42 INFO: Archiving Costs [Pipeline] sh 22:32:42 + cat /w/workspace/device-mqtt-go/63/archives/cost.csv 22:32:42 + cut -d, -f6 [Pipeline] lock 22:32:42 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] 22:32:42 Resource [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] did not exist. Created. 22:32:42 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:32:43 /w/workspace/device-mqtt-go/63@tmp/durable-be629e6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:32:44 + echo total: 0.10999999940395355 [Pipeline] stash 22:32:44 Warning: overwriting stash ‘stack-cost’ 22:32:44 Stashed 1 file(s) [Pipeline] } 22:32:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 22:32:44 $ docker stop --time=1 537b25bb41c5c41faac7ca24c6f783668b04fe0d28cb022abd6434c9c78b4c2f 22:32:45 $ docker rm -f 537b25bb41c5c41faac7ca24c6f783668b04fe0d28cb022abd6434c9c78b4c2f [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 22:32:46 provisioning config files... 22:32:46 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1129591184013854282tmp [Pipeline] { [Pipeline] sh 22:32:46 + set +x 22:32:46 + curl -s https://codecov.io/bash 22:32:46 + bash -s -- 22:32:46 22:32:46 _____ _ 22:32:46 / ____| | | 22:32:46 | | ___ __| | ___ ___ _____ __ 22:32:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:32:46 | |___| (_) | (_| | __/ (_| (_) \ V / 22:32:46 \_____\___/ \__,_|\___|\___\___/ \_/ 22:32:46 Bash-1.0.6 22:32:46 22:32:46 22:32:46 ==> git version 2.25.1 found 22:32:46 ==> 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 22:32:46 Release-Date: 2020-01-08 22:32:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:32:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:32:46 ==> Jenkins CI detected. 22:32:46 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 22:32:46 project root: . 22:32:46 --> token set from env 22:32:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:32:46 ==> Running gcov in . (disable via -X gcov) 22:32:46 ==> Python coveragepy not found 22:32:46 ==> Searching for coverage reports in: 22:32:46 + . 22:32:46 -> Found 1 reports 22:32:46 ==> Detecting git/mercurial file structure 22:32:46 ==> Reading reports 22:32:46 + ./coverage.out bytes=17887 22:32:46 ==> Appending adjustments 22:32:46 https://docs.codecov.io/docs/fixing-reports 22:32:46 + Found adjustments 22:32:46 ==> Gzipping contents 22:32:46 4.0K /tmp/codecov.ODTPnI.gz 22:32:46 ==> Uploading reports 22:32:46 url: https://codecov.io 22:32:46 query: branch=main&commit=e3b17c36aac665b2f67a5aeebf35b3bad318417a&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:32:46 -> Pinging Codecov 22:32:46 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=e3b17c36aac665b2f67a5aeebf35b3bad318417a&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:32:47 -> Uploading to 22:32:47 https://storage.googleapis.com/codecov/v4/raw/2022-09-15/7D719EC7BBE17E464838252E33014C33/e3b17c36aac665b2f67a5aeebf35b3bad318417a/36a4777e-5d95-4977-a9aa-dc435d258c05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T223246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f72b2040f9cf7723e60ef04bf25c1ef9c3fdfefe152e0e6478e5abf3ccdfa238 22:32:47 % Total % Received % Xferd Average Speed Time Time Time Current 22:32:47 Dload Upload Total Spent Left Speed 22:32:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 13184 --:--:-- --:--:-- --:--:-- 13238 22:32:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] } 22:32:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:32:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:32:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:32:47 22:32:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:32:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:32:48 df9b9388f04a: Pulling fs layer 22:32:48 52dc419b0ee2: Pulling fs layer 22:32:48 25bc292e5bac: Pulling fs layer 22:32:48 114826534d7a: Pulling fs layer 22:32:48 4657fd5d0bcf: Pulling fs layer 22:32:48 6ad1cebc031e: Pulling fs layer 22:32:48 8a3aa393b2d8: Pulling fs layer 22:32:48 6ad1cebc031e: Waiting 22:32:48 8a3aa393b2d8: Waiting 22:32:48 114826534d7a: Waiting 22:32:48 4657fd5d0bcf: Waiting 22:32:48 25bc292e5bac: Verifying Checksum 22:32:48 25bc292e5bac: Download complete 22:32:48 52dc419b0ee2: Verifying Checksum 22:32:48 52dc419b0ee2: Download complete 22:32:48 4657fd5d0bcf: Verifying Checksum 22:32:48 4657fd5d0bcf: Download complete 22:32:48 df9b9388f04a: Verifying Checksum 22:32:48 df9b9388f04a: Download complete 22:32:48 df9b9388f04a: Pull complete 22:32:48 6ad1cebc031e: Verifying Checksum 22:32:48 6ad1cebc031e: Download complete 22:32:48 52dc419b0ee2: Pull complete 22:32:48 25bc292e5bac: Pull complete 22:32:49 114826534d7a: Verifying Checksum 22:32:49 8a3aa393b2d8: Verifying Checksum 22:32:49 8a3aa393b2d8: Download complete 22:32:52 114826534d7a: Pull complete 22:32:52 4657fd5d0bcf: Pull complete 22:32:53 6ad1cebc031e: Pull complete 22:32:55 8a3aa393b2d8: Pull complete 22:32:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:32:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:55 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:32:55 $ 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 22:32:58 $ docker top 7ec41e99440a8fb4cc48d87c559a79ef46c1dbf94130221a8a4d4f1c252aa128 -eo pid,comm [Pipeline] { [Pipeline] echo 22:32:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 22:32:58 + set -o pipefail 22:32:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 22:33:04 22:33:04 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 22:33:04 22:33:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/edf46bee-cb86-46aa-9f0f-ecfb426c4575 22:33:04 22:33:04 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:33:04 22:33:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:33:04 22:33:04 [Pipeline] } 22:33:04 $ docker stop --time=1 7ec41e99440a8fb4cc48d87c559a79ef46c1dbf94130221a8a4d4f1c252aa128 22:33:07 $ docker rm -f 7ec41e99440a8fb4cc48d87c559a79ef46c1dbf94130221a8a4d4f1c252aa128 [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 22:33:08 + git log --format=format:%s -1 e3b17c36aac665b2f67a5aeebf35b3bad318417a [Pipeline] sh 22:33:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:08 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:33:08 $ 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 22:33:09 $ docker top 1c9e3630b4666ab521811991bdd7c2940005bba4f852f086d9a2baf437f086ae -eo pid,comm 22:33:09 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). 22:33:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:09 [ssh-agent] Looking for ssh-agent implementation... 22:33:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:09 $ docker exec 1c9e3630b4666ab521811991bdd7c2940005bba4f852f086d9a2baf437f086ae ssh-agent 22:33:09 SSH_AUTH_SOCK=/tmp/ssh-0EgxjgjQ3kzf/agent.33 22:33:09 SSH_AGENT_PID=39 22:33:09 Running ssh-add (command line suppressed) 22:33:09 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1384786127451416260.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1384786127451416260.key) 22:33:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:09 + git semver tag 22:33:10 2022-09-15 22:33:10,105 [run_tag] DEBUG tag force:False 22:33:10 2022-09-15 22:33:10,105 [check_head_tag] DEBUG check head tag 22:33:10 2022-09-15 22:33:10,106 [execute] INFO git cat-file --batch-check 22:33:10 2022-09-15 22:33:10,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 22:33:10 2022-09-15 22:33:10,110 [execute] INFO git cat-file --batch 22:33:10 2022-09-15 22:33:10,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 22:33:10 2022-09-15 22:33:10,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:33:10 2022-09-15 22:33:10,122 [execute] INFO git tag -a v2.3.0-dev.16 -m v2.3.0-dev.16 22:33:10 2022-09-15 22:33:10,122 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.16', '-m', 'v2.3.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 22:33:10 2022-09-15 22:33:10,127 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:33:10 2.3.0-dev.16 [Pipeline] } 22:33:10 $ docker exec --env ******** --env ******** 1c9e3630b4666ab521811991bdd7c2940005bba4f852f086d9a2baf437f086ae ssh-agent -k 22:33:10 unset SSH_AUTH_SOCK; 22:33:10 unset SSH_AGENT_PID; 22:33:10 echo Agent pid 39 killed; 22:33:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:10 + git semver [Pipeline] } 22:33:11 $ docker stop --time=1 1c9e3630b4666ab521811991bdd7c2940005bba4f852f086d9a2baf437f086ae 22:33:12 $ docker rm -f 1c9e3630b4666ab521811991bdd7c2940005bba4f852f086d9a2baf437f086ae [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:33:12 22:33:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:33:13 0.23.1-centos7: Pulling from edgex-lftools 22:33:13 ab5ef0e58194: Pulling fs layer 22:33:13 9712f1f96733: Pulling fs layer 22:33:13 63f879dbbcfc: Pulling fs layer 22:33:13 0d9ebad4ef96: Pulling fs layer 22:33:13 e9a5061849ea: Pulling fs layer 22:33:13 d747dcd14b5f: Pulling fs layer 22:33:13 2de7ff778b66: Pulling fs layer 22:33:13 e9a5061849ea: Waiting 22:33:13 d747dcd14b5f: Waiting 22:33:13 2de7ff778b66: Waiting 22:33:13 0d9ebad4ef96: Waiting 22:33:13 9712f1f96733: Verifying Checksum 22:33:13 9712f1f96733: Download complete 22:33:13 63f879dbbcfc: Verifying Checksum 22:33:13 63f879dbbcfc: Download complete 22:33:13 e9a5061849ea: Verifying Checksum 22:33:13 e9a5061849ea: Download complete 22:33:13 d747dcd14b5f: Verifying Checksum 22:33:13 d747dcd14b5f: Download complete 22:33:13 ab5ef0e58194: Verifying Checksum 22:33:13 ab5ef0e58194: Download complete 22:33:13 0d9ebad4ef96: Verifying Checksum 22:33:13 0d9ebad4ef96: Download complete 22:33:13 2de7ff778b66: Verifying Checksum 22:33:13 2de7ff778b66: Download complete 22:33:16 ab5ef0e58194: Pull complete 22:33:16 9712f1f96733: Pull complete 22:33:17 63f879dbbcfc: Pull complete 22:33:21 0d9ebad4ef96: Pull complete 22:33:21 e9a5061849ea: Pull complete 22:33:21 d747dcd14b5f: Pull complete 22:33:22 2de7ff778b66: Pull complete 22:33:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:33:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:33:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:22 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:33:22 $ 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 22:33:25 $ docker top ca7fa3b49aef5655bbeef18d45bdbbc3bf51c19c3378ff17520218ebce203b40 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:33:25 provisioning config files... 22:33:25 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6642528762895599862tmp 22:33:25 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4638499981917178547tmp 22:33:25 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8980215642367338779tmp [Pipeline] { [Pipeline] echo 22:33:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:33:26 ---> sigul-configuration.sh 22:33:26 gpg: directory `/root/.gnupg' created 22:33:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:33:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:33:26 gpg: keyring `/root/.gnupg/secring.gpg' created 22:33:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:33:26 gpg: CAST5 encrypted data 22:33:26 gpg: encrypted with 1 passphrase 22:33:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:33:26 + mkdir /home/jenkins 22:33:26 + mkdir /home/jenkins/sigul [Pipeline] sh 22:33:26 + 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 22:33:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:33:26 ---> sigul-install.sh 22:33:26 Sigul already installed; skipping installation. [Pipeline] sh 22:33:27 + git tag --list 22:33:27 0.7.1 22:33:27 v1.0.0 22:33:27 v1.1.0 22:33:27 v1.1.1 22:33:27 v1.2.2 22:33:27 v1.3.0 22:33:27 v1.3.1 22:33:27 v2.0.0 22:33:27 v2.1.0 22:33:27 v2.1.1 22:33:27 v2.1.1-dev.1 22:33:27 v2.1.1-dev.2 22:33:27 v2.2.0 22:33:27 v2.2.1-dev.1 22:33:27 v2.2.1-dev.10 22:33:27 v2.2.1-dev.2 22:33:27 v2.2.1-dev.3 22:33:27 v2.2.1-dev.4 22:33:27 v2.2.1-dev.5 22:33:27 v2.2.1-dev.6 22:33:27 v2.2.1-dev.7 22:33:27 v2.2.1-dev.8 22:33:27 v2.2.1-dev.9 22:33:27 v2.3.0-dev.10 22:33:27 v2.3.0-dev.11 22:33:27 v2.3.0-dev.12 22:33:27 v2.3.0-dev.13 22:33:27 v2.3.0-dev.14 22:33:27 v2.3.0-dev.15 22:33:27 v2.3.0-dev.16 [Pipeline] sh 22:33:27 + lftools sign git-tag v2.3.0-dev.16 22:33:28 Signing Git tag with Sigul... 22:33:28 Signing v2.3.0-dev.16 [Pipeline] echo 22:33:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:33:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:33:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:33:28 $ docker stop --time=1 ca7fa3b49aef5655bbeef18d45bdbbc3bf51c19c3378ff17520218ebce203b40 22:33:29 $ docker rm -f ca7fa3b49aef5655bbeef18d45bdbbc3bf51c19c3378ff17520218ebce203b40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:33:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:30 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:33:30 $ 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 22:33:31 $ docker top 74671529fa97b2c1ebc00d38429386ec89f5b7e4b368bcaeb7eb72c819b09ef7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:31 [ssh-agent] Looking for ssh-agent implementation... 22:33:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:31 $ docker exec 74671529fa97b2c1ebc00d38429386ec89f5b7e4b368bcaeb7eb72c819b09ef7 ssh-agent 22:33:31 SSH_AUTH_SOCK=/tmp/ssh-2eFkAy37lqrU/agent.33 22:33:31 SSH_AGENT_PID=39 22:33:31 Running ssh-add (command line suppressed) 22:33:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4143669811552940420.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4143669811552940420.key) 22:33:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:32 + git semver bump pre 22:33:32 2022-09-15 22:33:32,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:33:32 2022-09-15 22:33:32,228 [bump_version] DEBUG bumping version:2.3.0-dev.16 on axis:pre with prefix:dev 22:33:32 2022-09-15 22:33:32,228 [bump_version] DEBUG bumped version:2.3.0-dev.17 22:33:32 2022-09-15 22:33:32,228 [write_version] DEBUG write version:2.3.0-dev.17 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 22:33:32 2022-09-15 22:33:32,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:33:32 2022-09-15 22:33:32,228 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:33:32 2022-09-15 22:33:32,230 [execute] INFO git cat-file --batch-check 22:33:32 2022-09-15 22:33:32,230 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:32 2022-09-15 22:33:32,236 [execute] INFO git cat-file --batch 22:33:32 2022-09-15 22:33:32,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:32 2022-09-15 22:33:32,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:33:32 2.3.0-dev.17 [Pipeline] } 22:33:32 $ docker exec --env ******** --env ******** 74671529fa97b2c1ebc00d38429386ec89f5b7e4b368bcaeb7eb72c819b09ef7 ssh-agent -k 22:33:32 unset SSH_AUTH_SOCK; 22:33:32 unset SSH_AGENT_PID; 22:33:32 echo Agent pid 39 killed; 22:33:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:32 + git semver [Pipeline] } 22:33:33 $ docker stop --time=1 74671529fa97b2c1ebc00d38429386ec89f5b7e4b368bcaeb7eb72c819b09ef7 22:33:34 $ docker rm -f 74671529fa97b2c1ebc00d38429386ec89f5b7e4b368bcaeb7eb72c819b09ef7 [Pipeline] // withDockerContainer [Pipeline] sh 22:33:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:35 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:33:35 $ 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 22:33:35 $ docker top b780a97ffe2d53c7062b803f84ddd41c1a22b32405672ef34cfb5ebf3340bcdf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:35 [ssh-agent] Looking for ssh-agent implementation... 22:33:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:35 $ docker exec b780a97ffe2d53c7062b803f84ddd41c1a22b32405672ef34cfb5ebf3340bcdf ssh-agent 22:33:35 SSH_AUTH_SOCK=/tmp/ssh-i9p8aetDyYHd/agent.33 22:33:35 SSH_AGENT_PID=39 22:33:35 Running ssh-add (command line suppressed) 22:33:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5386986490054470241.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5386986490054470241.key) 22:33:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:36 + git semver push 22:33:36 2022-09-15 22:33:36,627 [run_push] DEBUG push 22:33:36 2022-09-15 22:33:36,628 [execute] INFO git cat-file --batch-check 22:33:36 2022-09-15 22:33:36,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:36 2022-09-15 22:33:36,632 [execute] INFO git rev-list a3b1b8fdf7f3bb5021a236cb4f1c4845753c510a -- 22:33:36 2022-09-15 22:33:36,632 [execute] DEBUG Popen(['git', 'rev-list', 'a3b1b8fdf7f3bb5021a236cb4f1c4845753c510a', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:33:36 2022-09-15 22:33:36,642 [execute] INFO git fetch -v origin 22:33:36 2022-09-15 22:33:36,642 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:33:37 2022-09-15 22:33:37,178 [run_push] DEBUG no remote changes detected 22:33:37 2022-09-15 22:33:37,178 [execute] INFO git push origin semver 22:33:37 2022-09-15 22:33:37,179 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:33:38 2022-09-15 22:33:37,940 [run_push] DEBUG push all version tags 22:33:38 2022-09-15 22:33:37,940 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:33:38 2022-09-15 22:33:37,941 [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) 22:33:38 2022-09-15 22:33:38,644 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 22:33:38 2.3.0-dev.17 [Pipeline] } 22:33:38 $ docker exec --env ******** --env ******** b780a97ffe2d53c7062b803f84ddd41c1a22b32405672ef34cfb5ebf3340bcdf ssh-agent -k 22:33:38 unset SSH_AUTH_SOCK; 22:33:38 unset SSH_AGENT_PID; 22:33:38 echo Agent pid 39 killed; 22:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:39 + git semver [Pipeline] } 22:33:39 $ docker stop --time=1 b780a97ffe2d53c7062b803f84ddd41c1a22b32405672ef34cfb5ebf3340bcdf 22:33:40 $ docker rm -f b780a97ffe2d53c7062b803f84ddd41c1a22b32405672ef34cfb5ebf3340bcdf [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 22:33:41 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 22:33:41 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:33:41 total 16 22:33:41 drwxr-xr-x 3 root root 4096 Sep 15 22:15 . 22:33:41 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 22:33 .. 22:33:41 drwxr-xr-x 2 root root 4096 Sep 15 22:15 cost 22:33:41 -rw-r--r-- 1 root root 85 Sep 15 22:15 cost.csv 22:33:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:33:41 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 22:33:41 total 16 22:33:41 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:15 . 22:33:41 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 22:33 .. 22:33:41 drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 22:15 cost 22:33:41 -rw-r--r-- 1 jenkins jenkins 85 Sep 15 22:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:33:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:33:42 ---> package-listing.sh 22:33:42 ++ facter osfamily 22:33:42 ++ tr '[:upper:]' '[:lower:]' 22:33:42 + OS_FAMILY=debian 22:33:42 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 22:33:42 + START_PACKAGES=/tmp/packages_start.txt 22:33:42 + END_PACKAGES=/tmp/packages_end.txt 22:33:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:33:42 + PACKAGES=/tmp/packages_start.txt 22:33:42 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:33:42 + PACKAGES=/tmp/packages_end.txt 22:33:42 + case "${OS_FAMILY}" in 22:33:42 + dpkg -l 22:33:42 + grep '^ii' 22:33:42 + '[' -f /tmp/packages_start.txt ']' 22:33:42 + '[' -f /tmp/packages_end.txt ']' 22:33:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:33:42 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:33:42 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 22:33:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 22:33:43 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 22:33:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:43 prd-ubuntu20.04-docker-8c-8g-29359 does not seem to be running inside a container 22:33:43 $ 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 22:33:44 $ docker top baf7d04ae759b223951ac339b227e79b62c6e4985949bba76f59c0e87bf07cda -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:44 + touch /tmp/pre-build-complete [Pipeline] sh 22:33:44 + mkdir -p /var/log/sysstat [Pipeline] sh 22:33:45 + ls /var/log/sa-host 22:33:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:45 provisioning config files... 22:33:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config350089186016362846tmp [Pipeline] { [Pipeline] echo 22:33:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:33:45 ---> create-netrc.sh [Pipeline] } 22:33:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:33:45 ---> python-tools-install.sh [Pipeline] echo 22:33:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:33:46 ---> sudo-logs.sh 22:33:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:33:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:33:46 ---> job-cost.sh 22:33:46 lf-activate-venv: SKIPPING 22:33:46 DEBUG: total: 0.2199999988079071 22:33:46 INFO: Retrieving Stack Cost... 22:33:46 INFO: Retrieving Pricing Info for: v3-standard-8 22:33:47 INFO: Archiving Costs [Pipeline] echo 22:33:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:33:47 ---> logs-deploy.sh 22:33:47 lf-activate-venv: SKIPPING 22:33:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/63 22:33:47 INFO: archiving workspace using pattern(s): 22:33:48 Archives upload complete. 22:33:48 INFO: archiving logs to Nexus