Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bdc8d5482e185b094ce26a93e774e43e884677e1 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-ssh6685054778662277221.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh17794418854448430524.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh3278443191189422134.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh7577455410729062987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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-ssh5209016386433516637.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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-21908 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 bdc8d5482e185b094ce26a93e774e43e884677e1 (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 bdc8d5482e185b094ce26a93e774e43e884677e1 # timeout=10 Commit message: "Merge pull request #407 from farshidtz/snap-depandabot" > git rev-list --no-walk 35621d3e3ed5e5519204e5baffde9d6fc275525a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:36:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:36:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:36:20 ========================================================= 01:36:20 EdgeX Global Pipelines Version Info 01:36:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:36:21 ------------------- 01:36:21 stable info: 01:36:21 ------------------- 01:36:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:36:21 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:36:21 Message: update stable to v1.0.238 01:36:21 ------------------- 01:36:21 experimental info: 01:36:21 ------------------- 01:36:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:36:21 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:36:21 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:36:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdc8d54 [Pipeline] echo 01:36:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:22 provisioning config files... 01:36:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6280439107472040005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:22 ---> docker-login.sh 01:36:22 nexus3.edgexfoundry.org:10001 01:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:23 Configure a credential helper to remove this warning. See 01:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:23 01:36:23 Login Succeeded 01:36:23 nexus3.edgexfoundry.org:10002 01:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:23 Configure a credential helper to remove this warning. See 01:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:23 01:36:23 Login Succeeded 01:36:23 nexus3.edgexfoundry.org:10003 01:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:23 Configure a credential helper to remove this warning. See 01:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:23 01:36:23 Login Succeeded 01:36:23 nexus3.edgexfoundry.org:10004 01:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:23 Configure a credential helper to remove this warning. See 01:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:23 01:36:23 Login Succeeded 01:36:23 docker.io 01:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:24 Configure a credential helper to remove this warning. See 01:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:24 01:36:24 Login Succeeded 01:36:24 ---> docker-login.sh ends [Pipeline] } 01:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:36:24 + git rev-list -1 --merges bdc8d5482e185b094ce26a93e774e43e884677e1~1..bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] echo 01:36:24 -----------> git rev-list -1 --merges bdc8d5482e185b094ce26a93e774e43e884677e1~1..bdc8d5482e185b094ce26a93e774e43e884677e1 bdc8d5482e185b094ce26a93e774e43e884677e1 01:36:24 bdc8d5482e185b094ce26a93e774e43e884677e1 [false] [Pipeline] sh 01:36:24 + git log --format=format:%s -1 bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] echo 01:36:24 ========================================================= 01:36:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:36:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:25 + git log --format=format:%s -1 bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] echo 01:36:25 [semverPrep] GIT_COMMIT: bdc8d5482e185b094ce26a93e774e43e884677e1, Commit Message: Merge pull request #407 from farshidtz/snap-depandabot [Pipeline] echo 01:36:25 [semverPrep] This is not a build commit. [Pipeline] sh 01:36:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:36:25 + grep -v github /etc/ssh/ssh_known_hosts 01:36:25 + [ -e /tmp/ssh_known_hosts ] 01:36:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:36:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:36:25 + sudo tee -a /etc/ssh/ssh_known_hosts 01:36:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:26 01:36:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:26 0.1.4: Pulling from edgex-devops/py-git-semver 01:36:26 b85a868b505f: Pulling fs layer 01:36:26 e2be974225ed: Pulling fs layer 01:36:26 339a4e72a1f5: Pulling fs layer 01:36:26 988bab9f4d93: Pulling fs layer 01:36:26 1469e6f7b9e6: Pulling fs layer 01:36:26 eaf3925da568: Pulling fs layer 01:36:26 bab4dde63d76: Pulling fs layer 01:36:26 bde34c3a00c8: Pulling fs layer 01:36:26 b352a97aabf1: Pulling fs layer 01:36:26 4872d77fe225: Pulling fs layer 01:36:26 5851b861e8e6: Pulling fs layer 01:36:26 eaf3925da568: Waiting 01:36:26 988bab9f4d93: Waiting 01:36:26 bab4dde63d76: Waiting 01:36:26 4872d77fe225: Waiting 01:36:26 5851b861e8e6: Waiting 01:36:26 b352a97aabf1: Waiting 01:36:26 bde34c3a00c8: Waiting 01:36:26 1469e6f7b9e6: Waiting 01:36:26 e2be974225ed: Download complete 01:36:26 988bab9f4d93: Verifying Checksum 01:36:26 988bab9f4d93: Download complete 01:36:26 1469e6f7b9e6: Verifying Checksum 01:36:26 1469e6f7b9e6: Download complete 01:36:26 339a4e72a1f5: Verifying Checksum 01:36:26 339a4e72a1f5: Download complete 01:36:26 eaf3925da568: Verifying Checksum 01:36:26 bde34c3a00c8: Download complete 01:36:26 b352a97aabf1: Verifying Checksum 01:36:26 b352a97aabf1: Download complete 01:36:26 4872d77fe225: Verifying Checksum 01:36:26 4872d77fe225: Download complete 01:36:26 5851b861e8e6: Verifying Checksum 01:36:26 5851b861e8e6: Download complete 01:36:26 b85a868b505f: Verifying Checksum 01:36:26 b85a868b505f: Download complete 01:36:26 bab4dde63d76: Verifying Checksum 01:36:26 bab4dde63d76: Download complete 01:36:27 b85a868b505f: Pull complete 01:36:28 e2be974225ed: Pull complete 01:36:28 339a4e72a1f5: Pull complete 01:36:28 988bab9f4d93: Pull complete 01:36:28 1469e6f7b9e6: Pull complete 01:36:28 eaf3925da568: Pull complete 01:36:30 bab4dde63d76: Pull complete 01:36:31 bde34c3a00c8: Pull complete 01:36:31 b352a97aabf1: Pull complete 01:36:31 4872d77fe225: Pull complete 01:36:31 5851b861e8e6: Pull complete 01:36:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:36:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:31 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:36:31 $ 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 01:36:34 $ docker top 43572fd25213336562a87d589f1250dc05be9b8acce7378512cf262d1a197b04 -eo pid,comm 01:36:34 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). 01:36:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:36:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:34 [ssh-agent] Looking for ssh-agent implementation... 01:36:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:34 $ docker exec 43572fd25213336562a87d589f1250dc05be9b8acce7378512cf262d1a197b04 ssh-agent 01:36:34 SSH_AUTH_SOCK=/tmp/ssh-hL6lngiSkrBu/agent.33 01:36:34 SSH_AGENT_PID=40 01:36:34 Running ssh-add (command line suppressed) 01:36:34 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2038424394881133753.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2038424394881133753.key) 01:36:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:34 + git tag --points-at HEAD [Pipeline] } 01:36:34 $ docker exec --env ******** --env ******** 43572fd25213336562a87d589f1250dc05be9b8acce7378512cf262d1a197b04 ssh-agent -k 01:36:35 unset SSH_AUTH_SOCK; 01:36:35 unset SSH_AGENT_PID; 01:36:35 echo Agent pid 40 killed; 01:36:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:36:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:35 [ssh-agent] Looking for ssh-agent implementation... 01:36:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:35 $ docker exec 43572fd25213336562a87d589f1250dc05be9b8acce7378512cf262d1a197b04 ssh-agent 01:36:35 SSH_AUTH_SOCK=/tmp/ssh-6L8Ay6EYle9E/agent.74 01:36:35 SSH_AGENT_PID=80 01:36:35 Running ssh-add (command line suppressed) 01:36:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3062057766626440373.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3062057766626440373.key) 01:36:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:35 + git semver init 01:36:36 2022-08-04 01:36:36,028 [run_init] DEBUG init version:0.0.0 force:False 01:36:36 2022-08-04 01:36:36,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:36:36 2022-08-04 01:36:36,029 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:36:36 2022-08-04 01:36:36,030 [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) 01:36:36 2022-08-04 01:36:36,753 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:36:36 2022-08-04 01:36:36,754 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:36:36 2022-08-04 01:36:36,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:36:36 2022-08-04 01:36:36,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:36:36 2.3.0-dev.12 [Pipeline] } 01:36:37 $ docker exec --env ******** --env ******** 43572fd25213336562a87d589f1250dc05be9b8acce7378512cf262d1a197b04 ssh-agent -k 01:36:37 unset SSH_AUTH_SOCK; 01:36:37 unset SSH_AGENT_PID; 01:36:37 echo Agent pid 80 killed; 01:36:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:36:37 + git semver [Pipeline] } 01:36:37 $ docker stop --time=1 43572fd25213336562a87d589f1250dc05be9b8acce7378512cf262d1a197b04 01:36:39 $ docker rm -f 43572fd25213336562a87d589f1250dc05be9b8acce7378512cf262d1a197b04 [Pipeline] // withDockerContainer [Pipeline] sh 01:36:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:36:39 Stashed 1 file(s) [Pipeline] echo 01:36:39 [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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 01:36:39 provisioning config files... 01:36:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3488446680650954936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:40 ---> docker-login.sh 01:36:40 nexus3.edgexfoundry.org:10001 01:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:40 Configure a credential helper to remove this warning. See 01:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:40 01:36:40 Login Succeeded 01:36:40 nexus3.edgexfoundry.org:10002 01:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:40 Configure a credential helper to remove this warning. See 01:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:40 01:36:40 Login Succeeded 01:36:40 nexus3.edgexfoundry.org:10003 01:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:40 Configure a credential helper to remove this warning. See 01:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:40 01:36:40 Login Succeeded 01:36:40 nexus3.edgexfoundry.org:10004 01:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:40 Configure a credential helper to remove this warning. See 01:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:40 01:36:40 Login Succeeded 01:36:40 docker.io 01:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:40 Configure a credential helper to remove this warning. See 01:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:40 01:36:40 Login Succeeded 01:36:40 ---> docker-login.sh ends [Pipeline] } 01:36:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:41 ========================================================= 01:36:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:36:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:41 + 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 . 01:36:41 Sending build context to Docker daemon 6.077MB 01:36:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:36:41 Step 2/12 : FROM ${BASE} AS builder 01:36:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:36:41 2408cc74d12b: Pulling fs layer 01:36:41 ea60b727a1ce: Pulling fs layer 01:36:41 30c4a7721957: Pulling fs layer 01:36:41 370296b7ddb6: Pulling fs layer 01:36:41 7c6cee850709: Pulling fs layer 01:36:41 39a5fcdaea64: Pulling fs layer 01:36:41 d94ebbe4e438: Pulling fs layer 01:36:41 39a5fcdaea64: Waiting 01:36:41 7c6cee850709: Waiting 01:36:41 370296b7ddb6: Waiting 01:36:41 bcfd1f05c69d: Pulling fs layer 01:36:41 59ccb84bbe0f: Pulling fs layer 01:36:41 d94ebbe4e438: Waiting 01:36:41 bcfd1f05c69d: Waiting 01:36:41 30c4a7721957: Verifying Checksum 01:36:41 30c4a7721957: Download complete 01:36:41 ea60b727a1ce: Download complete 01:36:41 7c6cee850709: Verifying Checksum 01:36:41 7c6cee850709: Download complete 01:36:41 39a5fcdaea64: Download complete 01:36:41 2408cc74d12b: Verifying Checksum 01:36:41 2408cc74d12b: Download complete 01:36:41 d94ebbe4e438: Download complete 01:36:41 2408cc74d12b: Pull complete 01:36:41 ea60b727a1ce: Pull complete 01:36:41 30c4a7721957: Pull complete 01:36:42 59ccb84bbe0f: Verifying Checksum 01:36:42 59ccb84bbe0f: Download complete 01:36:42 370296b7ddb6: Verifying Checksum 01:36:42 370296b7ddb6: Download complete 01:36:42 bcfd1f05c69d: Verifying Checksum 01:36:42 bcfd1f05c69d: Download complete 01:36:46 370296b7ddb6: Pull complete 01:36:46 7c6cee850709: Pull complete 01:36:46 39a5fcdaea64: Pull complete 01:36:46 d94ebbe4e438: Pull complete 01:36:49 bcfd1f05c69d: Pull complete 01:36:49 59ccb84bbe0f: Pull complete 01:36:49 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:36:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:36:49 ---> a4fb48ad2a94 01:36:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:36:53 ---> Running in f26eb0b4ec34 01:36:53 Removing intermediate container f26eb0b4ec34 01:36:53 ---> 43d47628e4de 01:36:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:36:53 ---> Running in 6e758674a508 01:36:53 Removing intermediate container 6e758674a508 01:36:53 ---> d3ecaa73efea 01:36:53 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:36:53 ---> Running in f70bf21f3496 01:36:54 Removing intermediate container f70bf21f3496 01:36:54 ---> 71e1a4df259f 01:36:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:54 ---> Running in c0a2d655e063 01:36:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:36:54 Still waiting to schedule task 01:36:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:36:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:36:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:36:55 (2/4) Installing libedit (20210910.3.1-r0) 01:36:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:36:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:36:56 Executing busybox-1.35.0-r13.trigger 01:36:56 OK: 216 MiB in 55 packages 01:36:56 Removing intermediate container c0a2d655e063 01:36:56 ---> 7d4321852007 01:36:56 Step 7/12 : WORKDIR /device-mqtt-go 01:36:56 ---> Running in 8b0664447d99 01:36:56 Removing intermediate container 8b0664447d99 01:36:56 ---> cb312c7986f4 01:36:56 Step 8/12 : COPY go.mod vendor* ./ 01:36:56 ---> 03f43b854778 01:36:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:56 ---> Running in f5057cc705f5 01:37:18 Removing intermediate container f5057cc705f5 01:37:18 ---> 5b737deefca2 01:37:18 Step 10/12 : COPY . . 01:37:19 ---> 464fe9281008 01:37:19 Step 11/12 : ARG MAKE='make build' 01:37:19 ---> Running in f66b54c80da0 01:37:19 Removing intermediate container f66b54c80da0 01:37:19 ---> 1cb75ef13c93 01:37:19 Step 12/12 : RUN $MAKE 01:37:19 ---> Running in 043f1a7c1115 01:37:19 noop 01:37:19 Removing intermediate container 043f1a7c1115 01:37:19 ---> 57404ee2e479 01:37:19 Successfully built 57404ee2e479 01:37:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:20 + docker inspect -f . ci-base-image-x86_64 01:37:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:20 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:37:20 $ 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 01:37:20 $ docker top f325a385ddfc98a4816c2ac368b50b62e6f14d6130596adb4345cd5544f4bc94 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:20 + go version 01:37:20 go version go1.18.3 linux/amd64 [Pipeline] } 01:37:21 $ docker stop --time=1 f325a385ddfc98a4816c2ac368b50b62e6f14d6130596adb4345cd5544f4bc94 01:37:22 $ docker rm -f f325a385ddfc98a4816c2ac368b50b62e6f14d6130596adb4345cd5544f4bc94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:22 + docker inspect -f . ci-base-image-x86_64 01:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:22 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:37:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:37:23 $ docker top a383b2011db31aa749d3d97d4d6d91fcbb5bd5205e421d0460604db4b8b87587 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:37:23 + make test 01:37:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:37:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:37:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:37:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements 01:37:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:37:40 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." 01:37:40 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:37:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:37:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:37:43 ./bin/test-attribution-txt.sh 01:37:43 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:37:43 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:37:43 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:37:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:37:43 $ docker stop --time=1 a383b2011db31aa749d3d97d4d6d91fcbb5bd5205e421d0460604db4b8b87587 01:37:45 $ docker rm -f a383b2011db31aa749d3d97d4d6d91fcbb5bd5205e421d0460604db4b8b87587 [Pipeline] // withDockerContainer [Pipeline] sh 01:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:37:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:37:46 + ls -al . 01:37:46 total 180 01:37:46 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 01:37 . 01:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:36 .. 01:37:46 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:36 .dockerignore 01:37:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:37 .git 01:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:36 .github 01:37:46 -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 01:36 .gitignore 01:37:46 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 01:36 .golangci.yml 01:37:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:36 .semver 01:37:46 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 01:36 Attribution.txt 01:37:46 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 01:36 CHANGELOG.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 01:36 Dockerfile 01:37:46 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:36 GOVERNANCE.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 01:36 Jenkinsfile 01:37:46 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 01:36 LICENSE 01:37:46 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 01:36 Makefile 01:37:46 -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 01:36 OWNERS.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 01:36 README.md 01:37:46 -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 01:36 VERSION 01:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:36 bin 01:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:36 cmd 01:37:46 -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 01:37 coverage.out 01:37:46 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 01:36 go.mod 01:37:46 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 01:36 go.sum 01:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:36 internal 01:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:36 mock 01:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:36 snap 01:37:46 -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37: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=bdc8d5482e185b094ce26a93e774e43e884677e1 --label arch=amd64 --label version=2.3.0-dev.12 . 01:37:47 Sending build context to Docker daemon 6.096MB 01:37:47 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:37:47 Step 2/24 : FROM ${BASE} AS builder 01:37:47 ---> 57404ee2e479 01:37:47 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:37:47 ---> Running in c565889d0675 01:37:47 Removing intermediate container c565889d0675 01:37:47 ---> 71e7ece7cf0f 01:37:47 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:37:47 ---> Running in 55b4c29e47c0 01:37:47 Removing intermediate container 55b4c29e47c0 01:37:47 ---> dca243b1e9e3 01:37:47 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:37:47 ---> Running in 1fbeb3fd0c3e 01:37:48 Removing intermediate container 1fbeb3fd0c3e 01:37:48 ---> 71c6858a52be 01:37:48 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:48 ---> Running in 6ddc15b29baa 01:37:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:37:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:37:49 OK: 216 MiB in 55 packages 01:37:50 Removing intermediate container 6ddc15b29baa 01:37:50 ---> 0926b2fd3b03 01:37:50 Step 7/24 : WORKDIR /device-mqtt-go 01:37:50 ---> Running in 147db8b326fc 01:37:50 Removing intermediate container 147db8b326fc 01:37:50 ---> 20b395924bc7 01:37:50 Step 8/24 : COPY go.mod vendor* ./ 01:37:50 ---> 1bf12864c2b1 01:37:50 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:50 ---> Running in aaa70223635d 01:37:50 Removing intermediate container aaa70223635d 01:37:50 ---> df4b8528023a 01:37:50 Step 10/24 : COPY . . 01:37:51 ---> 14880643e0c6 01:37:51 Step 11/24 : ARG MAKE='make build' 01:37:51 ---> Running in 58a78f1f0f10 01:37:51 Removing intermediate container 58a78f1f0f10 01:37:51 ---> 415a0a0631a5 01:37:51 Step 12/24 : RUN $MAKE 01:37:51 ---> Running in 989a530ee4d4 01:37:52 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:38:13 Removing intermediate container 989a530ee4d4 01:38:13 ---> 5eaa557424b4 01:38:13 Step 13/24 : FROM alpine:3.16 01:38:13 3.16: Pulling from library/alpine 01:38:14 530afca65e2e: Pulling fs layer 01:38:14 530afca65e2e: Verifying Checksum 01:38:14 530afca65e2e: Download complete 01:38:14 530afca65e2e: Pull complete 01:38:14 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 01:38:14 Status: Downloaded newer image for alpine:3.16 01:38:14 ---> d7d3d98c851f 01:38:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:38:14 ---> Running in 378f0ed46cce 01:38:14 Removing intermediate container 378f0ed46cce 01:38:14 ---> 810822012259 01:38:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:38:14 ---> Running in 97c2e8717763 01:38:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:38:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:38:15 (1/6) Installing dumb-init (1.2.5-r1) 01:38:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:38:15 (3/6) Installing libsodium (1.0.18-r0) 01:38:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:38:15 (5/6) Installing libzmq (4.3.4-r0) 01:38:15 (6/6) Installing zeromq (4.3.4-r0) 01:38:15 Executing busybox-1.35.0-r15.trigger 01:38:15 OK: 8 MiB in 20 packages 01:38:15 Removing intermediate container 97c2e8717763 01:38:15 ---> b425652a7c0a 01:38:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:38:16 ---> 31b435b89820 01:38:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:38:16 ---> 5db71ffa9faa 01:38:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:38:17 ---> 6f52b07624dd 01:38:17 Step 19/24 : EXPOSE 59982 01:38:17 ---> Running in 78bd5dcb4dd7 01:38:17 Removing intermediate container 78bd5dcb4dd7 01:38:17 ---> 99ef7699e81e 01:38:17 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:38:17 ---> Running in dbf8c8369c81 01:38:17 Removing intermediate container dbf8c8369c81 01:38:17 ---> 7ccf341f567f 01:38:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:38:17 ---> Running in 937b03ba57e7 01:38:17 Removing intermediate container 937b03ba57e7 01:38:17 ---> 5ceea8fb92f6 01:38:17 Step 22/24 : LABEL arch=amd64 01:38:17 ---> Running in fcf150c0bdfb 01:38:17 Removing intermediate container fcf150c0bdfb 01:38:17 ---> 2f5a6e91e8a8 01:38:17 Step 23/24 : LABEL git_sha=bdc8d5482e185b094ce26a93e774e43e884677e1 01:38:17 ---> Running in 61d7dbbc2459 01:38:17 Removing intermediate container 61d7dbbc2459 01:38:17 ---> bf733619ccb9 01:38:17 Step 24/24 : LABEL version=2.3.0-dev.12 01:38:17 ---> Running in f017be6031ad 01:38:17 Removing intermediate container f017be6031ad 01:38:17 ---> 195b02a033cd 01:38:17 [Warning] One or more build-args [ARCH] were not consumed 01:38:17 Successfully built 195b02a033cd 01:38:17 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:17 provisioning config files... 01:38:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5475207208284615738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:17 ---> docker-login.sh 01:38:17 nexus3.edgexfoundry.org:10001 01:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:17 Configure a credential helper to remove this warning. See 01:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:17 01:38:17 Login Succeeded 01:38:17 nexus3.edgexfoundry.org:10002 01:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:18 Configure a credential helper to remove this warning. See 01:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:18 01:38:18 Login Succeeded 01:38:18 nexus3.edgexfoundry.org:10003 01:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:18 Configure a credential helper to remove this warning. See 01:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:18 01:38:18 Login Succeeded 01:38:18 nexus3.edgexfoundry.org:10004 01:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:18 Configure a credential helper to remove this warning. See 01:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:18 01:38:18 Login Succeeded 01:38:18 docker.io 01:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:18 Configure a credential helper to remove this warning. See 01:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:18 01:38:18 Login Succeeded 01:38:18 ---> docker-login.sh ends [Pipeline] } 01:38:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:18 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:38:18 bdc8d5482e185b094ce26a93e774e43e884677e1 01:38:18 latest 01:38:18 2.3.0-dev.12 01:38:18 bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 01:38:18 main 01:38:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bdc8d5482e185b094ce26a93e774e43e884677e1 01:38:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:38:19 1729b8e2a2c6: Preparing 01:38:19 621fbc2bc7b6: Preparing 01:38:19 afcc81e011d5: Preparing 01:38:19 6244f4d5855d: Preparing 01:38:19 ec34fcc1d526: Preparing 01:38:19 ec34fcc1d526: Layer already exists 01:38:19 1729b8e2a2c6: Pushed 01:38:19 621fbc2bc7b6: Pushed 01:38:19 6244f4d5855d: Pushed 01:38:22 afcc81e011d5: Pushed 01:38:22 bdc8d5482e185b094ce26a93e774e43e884677e1: digest: sha256:1968c0b2514a62799842d9796ac0e00358e61364d3cd77117c7ef614b5d86395 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:38:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:38:22 1729b8e2a2c6: Preparing 01:38:22 621fbc2bc7b6: Preparing 01:38:22 afcc81e011d5: Preparing 01:38:22 6244f4d5855d: Preparing 01:38:22 ec34fcc1d526: Preparing 01:38:22 ec34fcc1d526: Layer already exists 01:38:22 1729b8e2a2c6: Layer already exists 01:38:22 6244f4d5855d: Layer already exists 01:38:22 621fbc2bc7b6: Layer already exists 01:38:22 afcc81e011d5: Layer already exists 01:38:22 latest: digest: sha256:1968c0b2514a62799842d9796ac0e00358e61364d3cd77117c7ef614b5d86395 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.12 01:38:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:38:23 1729b8e2a2c6: Preparing 01:38:23 621fbc2bc7b6: Preparing 01:38:23 afcc81e011d5: Preparing 01:38:23 6244f4d5855d: Preparing 01:38:23 ec34fcc1d526: Preparing 01:38:23 621fbc2bc7b6: Layer already exists 01:38:23 1729b8e2a2c6: Layer already exists 01:38:23 ec34fcc1d526: Layer already exists 01:38:23 afcc81e011d5: Layer already exists 01:38:23 6244f4d5855d: Layer already exists 01:38:23 2.3.0-dev.12: digest: sha256:1968c0b2514a62799842d9796ac0e00358e61364d3cd77117c7ef614b5d86395 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 01:38:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:38:24 1729b8e2a2c6: Preparing 01:38:24 621fbc2bc7b6: Preparing 01:38:24 afcc81e011d5: Preparing 01:38:24 6244f4d5855d: Preparing 01:38:24 ec34fcc1d526: Preparing 01:38:24 6244f4d5855d: Layer already exists 01:38:24 621fbc2bc7b6: Layer already exists 01:38:24 1729b8e2a2c6: Layer already exists 01:38:24 afcc81e011d5: Layer already exists 01:38:24 ec34fcc1d526: Layer already exists 01:38:24 bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12: digest: sha256:1968c0b2514a62799842d9796ac0e00358e61364d3cd77117c7ef614b5d86395 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:38:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:38:24 1729b8e2a2c6: Preparing 01:38:24 621fbc2bc7b6: Preparing 01:38:24 afcc81e011d5: Preparing 01:38:24 6244f4d5855d: Preparing 01:38:24 ec34fcc1d526: Preparing 01:38:24 ec34fcc1d526: Layer already exists 01:38:24 621fbc2bc7b6: Layer already exists 01:38:24 6244f4d5855d: Layer already exists 01:38:24 afcc81e011d5: Layer already exists 01:38:24 1729b8e2a2c6: Layer already exists 01:38:24 main: digest: sha256:1968c0b2514a62799842d9796ac0e00358e61364d3cd77117c7ef614b5d86395 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:38:24 ===================================================== [Pipeline] echo 01:38:24 taggedImages: 01:38:24 - nexus3.edgexfoundry.org:10004/device-mqtt:bdc8d5482e185b094ce26a93e774e43e884677e1 01:38:24 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:38:24 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.12 01:38:24 - nexus3.edgexfoundry.org:10004/device-mqtt:bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 01:38: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 01:38:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:25 01:38:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:25 latest: Pulling from edgex-lftools-log-publisher 01:38:25 5eb5b503b376: Pulling fs layer 01:38:25 5c69ac0246d0: Pulling fs layer 01:38:25 ec43610c2a17: Pulling fs layer 01:38:25 3a2ae6a8a46f: Pulling fs layer 01:38:25 33b1e0a273af: Pulling fs layer 01:38:25 5d3b04190fa2: Pulling fs layer 01:38:25 2f39f015ded8: Pulling fs layer 01:38:25 33b1e0a273af: Waiting 01:38:25 5d3b04190fa2: Waiting 01:38:25 2f39f015ded8: Waiting 01:38:25 3a2ae6a8a46f: Waiting 01:38:25 5c69ac0246d0: Verifying Checksum 01:38:25 5c69ac0246d0: Download complete 01:38:25 3a2ae6a8a46f: Download complete 01:38:25 33b1e0a273af: Verifying Checksum 01:38:25 33b1e0a273af: Download complete 01:38:25 5d3b04190fa2: Verifying Checksum 01:38:25 5d3b04190fa2: Download complete 01:38:25 ec43610c2a17: Verifying Checksum 01:38:25 ec43610c2a17: Download complete 01:38:25 5eb5b503b376: Verifying Checksum 01:38:25 5eb5b503b376: Download complete 01:38:26 2f39f015ded8: Download complete 01:38:27 5eb5b503b376: Pull complete 01:38:27 5c69ac0246d0: Pull complete 01:38:28 ec43610c2a17: Pull complete 01:38:28 3a2ae6a8a46f: Pull complete 01:38:28 33b1e0a273af: Pull complete 01:38:28 5d3b04190fa2: Pull complete 01:38:33 2f39f015ded8: Pull complete 01:38:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:38:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:33 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:38:33 $ 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 01:38:37 $ docker top 8caf55606c89084ac6c159f75c04a1d71b6277f7b96d948694f957076d5fe4b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:37 ---> job-cost.sh 01:38:37 lf-activate-venv: SKIPPING 01:38:37 INFO: No Stack... 01:38:38 INFO: Retrieving Pricing Info for: v3-standard-8 01:38:38 INFO: Archiving Costs [Pipeline] sh 01:38:39 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:38:39 + cut -d, -f6 [Pipeline] lock 01:38:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] 01:38:39 Resource [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] did not exist. Created. 01:38:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:38:39 + echo total: 0.2199999988079071 [Pipeline] stash 01:38:39 Stashed 1 file(s) [Pipeline] } 01:38:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 01:38:39 $ docker stop --time=1 8caf55606c89084ac6c159f75c04a1d71b6277f7b96d948694f957076d5fe4b0 01:38:40 $ docker rm -f 8caf55606c89084ac6c159f75c04a1d71b6277f7b96d948694f957076d5fe4b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:39:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21910 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:39:34 Running in /w/workspace/device-mqtt-go/59 [Pipeline] { [Pipeline] checkout 01:39:34 Selected Git installation does not exist. Using Default 01:39:34 The recommended git tool is: NONE 01:39:39 using credential edgex-jenkins-ssh 01:39:39 Cloning the remote Git repository 01:39:40 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:39:40 > git init /w/workspace/device-mqtt-go/59 # timeout=10 01:39:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:39:40 > git --version # timeout=10 01:39:40 > git --version # 'git version 2.25.1' 01:39:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:39:41 Avoid second fetch 01:39:41 Checking out Revision bdc8d5482e185b094ce26a93e774e43e884677e1 (main) 01:39:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:39:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:39:41 > git config core.sparsecheckout # timeout=10 01:39:41 > git checkout -f bdc8d5482e185b094ce26a93e774e43e884677e1 # timeout=10 01:39:46 Commit message: "Merge pull request #407 from farshidtz/snap-depandabot" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:39:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:39:46 % Total % Received % Xferd Average Speed Time Time Time Current 01:39:46 Dload Upload Total Spent Left Speed 01:39:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94137 0 --:--:-- --:--:-- --:--:-- 94137 [Pipeline] sh 01:39:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:39:48 + sudo tee /etc/docker/daemon.new 01:39:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:39:48 { 01:39:48 "registry-mirrors": [ 01:39:48 "https://nexus3.edgexfoundry.org:10001" 01:39:48 ], 01:39:48 "bip": "10.250.0.254/24", 01:39:48 "hosts": [ 01:39:48 "tcp://0.0.0.0:5555", 01:39:48 "unix:///var/run/docker.sock" 01:39:48 ], 01:39:48 "mtu": 1458, 01:39:48 "selinux-enabled": true, 01:39:48 "seccomp-profile": "/etc/docker/seccomp.json" 01:39:48 } [Pipeline] sh 01:39:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:39:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:07 provisioning config files... 01:40:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/59@tmp/config7799776307708031476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:07 ---> docker-login.sh 01:40:07 nexus3.edgexfoundry.org:10001 01:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:08 Configure a credential helper to remove this warning. See 01:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:08 01:40:08 Login Succeeded 01:40:08 nexus3.edgexfoundry.org:10002 01:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:09 Configure a credential helper to remove this warning. See 01:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:09 01:40:09 Login Succeeded 01:40:09 nexus3.edgexfoundry.org:10003 01:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:09 Configure a credential helper to remove this warning. See 01:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:09 01:40:09 Login Succeeded 01:40:09 nexus3.edgexfoundry.org:10004 01:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:10 Configure a credential helper to remove this warning. See 01:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:10 01:40:10 Login Succeeded 01:40:10 docker.io 01:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:10 Configure a credential helper to remove this warning. See 01:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:10 01:40:10 Login Succeeded 01:40:10 ---> docker-login.sh ends [Pipeline] } 01:40:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:11 ========================================================= 01:40:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:40:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40: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 . 01:40:11 Sending build context to Docker daemon 3.143MB 01:40:11 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:40:11 Step 2/12 : FROM ${BASE} AS builder 01:40:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:40:11 b3c136eddcbf: Pulling fs layer 01:40:11 c0a3192eca97: Pulling fs layer 01:40:11 a050256f5b6f: Pulling fs layer 01:40:11 656be50a0ddc: Pulling fs layer 01:40:11 2bbca73fdf42: Pulling fs layer 01:40:11 46d945488cbd: Pulling fs layer 01:40:11 8a5474983e97: Pulling fs layer 01:40:11 329c88fbcd65: Pulling fs layer 01:40:11 656be50a0ddc: Waiting 01:40:11 2bbca73fdf42: Waiting 01:40:11 46d945488cbd: Waiting 01:40:11 8a5474983e97: Waiting 01:40:11 329c88fbcd65: Waiting 01:40:11 a050256f5b6f: Verifying Checksum 01:40:11 a050256f5b6f: Download complete 01:40:11 c0a3192eca97: Download complete 01:40:11 2bbca73fdf42: Download complete 01:40:11 46d945488cbd: Verifying Checksum 01:40:11 46d945488cbd: Download complete 01:40:11 b3c136eddcbf: Download complete 01:40:12 b3c136eddcbf: Pull complete 01:40:13 329c88fbcd65: Verifying Checksum 01:40:13 329c88fbcd65: Download complete 01:40:13 c0a3192eca97: Pull complete 01:40:14 a050256f5b6f: Pull complete 01:40:14 8a5474983e97: Verifying Checksum 01:40:14 8a5474983e97: Download complete 01:40:15 656be50a0ddc: Verifying Checksum 01:40:15 656be50a0ddc: Download complete 01:40:30 656be50a0ddc: Pull complete 01:40:30 2bbca73fdf42: Pull complete 01:40:30 46d945488cbd: Pull complete 01:40:35 8a5474983e97: Pull complete 01:40:38 329c88fbcd65: Pull complete 01:40:38 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:40:38 ---> ff4287adb874 01:40:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:39 ---> Running in 725edb329af9 01:40:39 Removing intermediate container 725edb329af9 01:40:39 ---> 7adf507da2f1 01:40:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:40:39 ---> Running in 708b946a8f16 01:40:40 Removing intermediate container 708b946a8f16 01:40:40 ---> 6da5f0587715 01:40:40 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:40 ---> Running in 38393bb6fb28 01:40:42 Removing intermediate container 38393bb6fb28 01:40:42 ---> fe38dc3f68af 01:40:42 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:42 ---> Running in 5cceacc1c128 01:40:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:40:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:40:44 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:40:44 (2/4) Installing libedit (20210910.3.1-r0) 01:40:44 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:40:45 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:40:45 Executing busybox-1.35.0-r13.trigger 01:40:45 OK: 226 MiB in 55 packages 01:40:46 Removing intermediate container 5cceacc1c128 01:40:46 ---> cca5ef95c050 01:40:46 Step 7/12 : WORKDIR /device-mqtt-go 01:40:46 ---> Running in 489985c3a8a4 01:40:46 Removing intermediate container 489985c3a8a4 01:40:46 ---> a7c8b2497b9c 01:40:46 Step 8/12 : COPY go.mod vendor* ./ 01:40:47 ---> 038741afaaa6 01:40:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:47 ---> Running in 6c62c28be04b 01:41:43 Removing intermediate container 6c62c28be04b 01:41:43 ---> b907ef095f50 01:41:43 Step 10/12 : COPY . . 01:41:43 ---> 29a3b8b5fc14 01:41:43 Step 11/12 : ARG MAKE='make build' 01:41:43 ---> Running in bf9df3d9d29b 01:41:43 Removing intermediate container bf9df3d9d29b 01:41:43 ---> a23ff48074bb 01:41:43 Step 12/12 : RUN $MAKE 01:41:43 ---> Running in d8f7f51c1225 01:41:43 noop 01:41:43 Removing intermediate container d8f7f51c1225 01:41:43 ---> 730d20cf8969 01:41:43 Successfully built 730d20cf8969 01:41:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:44 + docker inspect -f . ci-base-image-arm64 01:41:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:44 prd-ubuntu20.04-docker-arm64-4c-16g-21910 does not seem to be running inside a container 01:41:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/59 -v /w/workspace/device-mqtt-go/59:/w/workspace/device-mqtt-go/59:rw,z -v /w/workspace/device-mqtt-go/59@tmp:/w/workspace/device-mqtt-go/59@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 01:41:46 $ docker top f548f17be2ae60a4571ae343468788bb9aea015ad548621569b5747d8f371355 -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:46 + go version 01:41:46 go version go1.18.3 linux/arm64 [Pipeline] } 01:41:47 $ docker stop --time=1 f548f17be2ae60a4571ae343468788bb9aea015ad548621569b5747d8f371355 01:41:48 $ docker rm -f f548f17be2ae60a4571ae343468788bb9aea015ad548621569b5747d8f371355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:49 + docker inspect -f . ci-base-image-arm64 01:41:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:49 prd-ubuntu20.04-docker-arm64-4c-16g-21910 does not seem to be running inside a container 01:41:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/59 -v /w/workspace/device-mqtt-go/59:/w/workspace/device-mqtt-go/59:rw,z -v /w/workspace/device-mqtt-go/59@tmp:/w/workspace/device-mqtt-go/59@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 01:41:51 $ docker top 197088e20cfcfbc295afb1c4ec202dca81f70167197c8b15de070fc73c036f36 -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:51 + git config --global --add safe.directory /w/workspace/device-mqtt-go/59 [Pipeline] fileExists [Pipeline] sh 01:41:52 + make test 01:41:52 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:41:54 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:43:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:43:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 01:43:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:43:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:43:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:43:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:43:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:43:43 ./bin/test-attribution-txt.sh 01:43:43 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:43:43 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:43:43 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:43:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:43:43 $ docker stop --time=1 197088e20cfcfbc295afb1c4ec202dca81f70167197c8b15de070fc73c036f36 01:43:45 $ docker rm -f 197088e20cfcfbc295afb1c4ec202dca81f70167197c8b15de070fc73c036f36 [Pipeline] // withDockerContainer [Pipeline] sh 01:43:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:43:46 Warning: overwriting stash ‘coverage-report’ 01:43:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:43:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:43:47 + ls -al . 01:43:47 total 176 01:43:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 01:41 . 01:43:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:39 .. 01:43:47 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:39 .dockerignore 01:43:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:39 .git 01:43:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:39 .github 01:43:47 -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 01:39 .gitignore 01:43:47 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 01:39 .golangci.yml 01:43:47 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 01:39 Attribution.txt 01:43:47 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 01:39 CHANGELOG.md 01:43:47 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 01:39 Dockerfile 01:43:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:39 GOVERNANCE.md 01:43:47 -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 01:39 Jenkinsfile 01:43:47 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 01:39 LICENSE 01:43:47 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 01:39 Makefile 01:43:47 -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 01:39 OWNERS.md 01:43:47 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 01:39 README.md 01:43:47 -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 01:36 VERSION 01:43:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:39 bin 01:43:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:39 cmd 01:43:47 -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 01:43 coverage.out 01:43:47 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 01:39 go.mod 01:43:47 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 01:39 go.sum 01:43:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:39 internal 01:43:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:39 mock 01:43:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:39 snap 01:43:47 -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:48 + 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=bdc8d5482e185b094ce26a93e774e43e884677e1 --label arch=arm64 --label version=2.3.0-dev.12 . 01:43:48 Sending build context to Docker daemon 3.162MB 01:43:48 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:43:48 Step 2/24 : FROM ${BASE} AS builder 01:43:48 ---> 730d20cf8969 01:43:48 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:43:48 ---> Running in 1e057b850d6f 01:43:48 Removing intermediate container 1e057b850d6f 01:43:48 ---> 49d80abe91f0 01:43:48 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:43:49 ---> Running in 271785157b79 01:43:49 Removing intermediate container 271785157b79 01:43:49 ---> 161e752e4827 01:43:49 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:43:49 ---> Running in 192f67a67c0a 01:43:51 Removing intermediate container 192f67a67c0a 01:43:51 ---> a10ceb2c9f9e 01:43:51 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:43:51 ---> Running in f934cff1c129 01:43:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:43:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:43:54 OK: 226 MiB in 55 packages 01:43:55 Removing intermediate container f934cff1c129 01:43:55 ---> 9cc9f7f68779 01:43:55 Step 7/24 : WORKDIR /device-mqtt-go 01:43:55 ---> Running in 8ff62cbbc1d3 01:43:56 Removing intermediate container 8ff62cbbc1d3 01:43:56 ---> 47fd8e1165b9 01:43:56 Step 8/24 : COPY go.mod vendor* ./ 01:43:56 ---> e8c66b5b98b9 01:43:56 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:43:56 ---> Running in 2f1f3ca80018 01:43:58 Removing intermediate container 2f1f3ca80018 01:43:58 ---> 35ed868d623d 01:43:58 Step 10/24 : COPY . . 01:43:59 ---> a766054e3397 01:43:59 Step 11/24 : ARG MAKE='make build' 01:43:59 ---> Running in 73c5b75a5952 01:43:59 Removing intermediate container 73c5b75a5952 01:43:59 ---> 428245fbe81d 01:43:59 Step 12/24 : RUN $MAKE 01:44:00 ---> Running in 962b72e6da99 01:44:01 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:46:23 Removing intermediate container 962b72e6da99 01:46:23 ---> 0c209dda8fef 01:46:23 Step 13/24 : FROM alpine:3.16 01:46:23 3.16: Pulling from library/alpine 01:46:23 f97344484467: Pulling fs layer 01:46:23 f97344484467: Verifying Checksum 01:46:23 f97344484467: Download complete 01:46:23 f97344484467: Pull complete 01:46:23 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 01:46:23 Status: Downloaded newer image for alpine:3.16 01:46:23 ---> 3d81c46cd875 01:46:23 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:46:23 ---> Running in 77d9ed8765dd 01:46:23 Removing intermediate container 77d9ed8765dd 01:46:23 ---> 9dbecb594dbc 01:46:23 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:46:23 ---> Running in d850c28c9992 01:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:46:23 (1/6) Installing dumb-init (1.2.5-r1) 01:46:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:46:23 (3/6) Installing libsodium (1.0.18-r0) 01:46:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:46:23 (5/6) Installing libzmq (4.3.4-r0) 01:46:23 (6/6) Installing zeromq (4.3.4-r0) 01:46:23 Executing busybox-1.35.0-r15.trigger 01:46:23 OK: 8 MiB in 20 packages 01:46:23 Removing intermediate container d850c28c9992 01:46:23 ---> 3972e7ba62c2 01:46:23 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:46:25 ---> e2936e3d7a0a 01:46:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:46:25 ---> 961d62063fd9 01:46:25 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:46:26 ---> db5c40c36a59 01:46:26 Step 19/24 : EXPOSE 59982 01:46:26 ---> Running in 72cb74b759d8 01:46:26 Removing intermediate container 72cb74b759d8 01:46:26 ---> bc7781b5345b 01:46:26 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:46:26 ---> Running in 52016f95a240 01:46:26 Removing intermediate container 52016f95a240 01:46:26 ---> 6f85ef253232 01:46:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:46:27 ---> Running in 47f80b1c5f16 01:46:27 Removing intermediate container 47f80b1c5f16 01:46:27 ---> 673a52743a5d 01:46:27 Step 22/24 : LABEL arch=arm64 01:46:27 ---> Running in cdb24c3585dc 01:46:27 Removing intermediate container cdb24c3585dc 01:46:27 ---> 04c2317a5cf3 01:46:27 Step 23/24 : LABEL git_sha=bdc8d5482e185b094ce26a93e774e43e884677e1 01:46:27 ---> Running in 39db9667013c 01:46:28 Removing intermediate container 39db9667013c 01:46:28 ---> cf128634d49a 01:46:28 Step 24/24 : LABEL version=2.3.0-dev.12 01:46:28 ---> Running in 5c124b5168ba 01:46:28 Removing intermediate container 5c124b5168ba 01:46:28 ---> 0f1de401c39e 01:46:28 [Warning] One or more build-args [ARCH] were not consumed 01:46:28 Successfully built 0f1de401c39e 01:46:28 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 01:46:28 provisioning config files... 01:46:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/59@tmp/config544765441352427632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:29 ---> docker-login.sh 01:46:29 nexus3.edgexfoundry.org:10001 01:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:29 Configure a credential helper to remove this warning. See 01:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:29 01:46:29 Login Succeeded 01:46:29 nexus3.edgexfoundry.org:10002 01:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:29 Configure a credential helper to remove this warning. See 01:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:29 01:46:29 Login Succeeded 01:46:29 nexus3.edgexfoundry.org:10003 01:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:30 Configure a credential helper to remove this warning. See 01:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:30 01:46:30 Login Succeeded 01:46:30 nexus3.edgexfoundry.org:10004 01:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:30 Configure a credential helper to remove this warning. See 01:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:30 01:46:30 Login Succeeded 01:46:31 docker.io 01:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:31 Configure a credential helper to remove this warning. See 01:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:31 01:46:31 Login Succeeded 01:46:31 ---> docker-login.sh ends [Pipeline] } 01:46:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:46:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:46:31 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:46:31 bdc8d5482e185b094ce26a93e774e43e884677e1 01:46:31 latest 01:46:31 2.3.0-dev.12 01:46:31 bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 01:46:31 main 01:46:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bdc8d5482e185b094ce26a93e774e43e884677e1 01:46:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:46:32 22ed5753b423: Preparing 01:46:32 d9034a6c6114: Preparing 01:46:32 6b8b5af919b6: Preparing 01:46:32 a2efc11e9dfa: Preparing 01:46:32 5b7df235d876: Preparing 01:46:32 5b7df235d876: Layer already exists 01:46:32 d9034a6c6114: Pushed 01:46:32 22ed5753b423: Pushed 01:46:33 a2efc11e9dfa: Pushed 01:46:38 6b8b5af919b6: Pushed 01:46:38 bdc8d5482e185b094ce26a93e774e43e884677e1: digest: sha256:c8dd526f1868891855757a2c7f3a01298d8beff75bfacdb7b23b03ade98a99fa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:46:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:46:39 22ed5753b423: Preparing 01:46:39 d9034a6c6114: Preparing 01:46:39 6b8b5af919b6: Preparing 01:46:39 a2efc11e9dfa: Preparing 01:46:39 5b7df235d876: Preparing 01:46:39 a2efc11e9dfa: Layer already exists 01:46:39 22ed5753b423: Layer already exists 01:46:39 5b7df235d876: Layer already exists 01:46:39 d9034a6c6114: Layer already exists 01:46:39 6b8b5af919b6: Layer already exists 01:46:39 latest: digest: sha256:c8dd526f1868891855757a2c7f3a01298d8beff75bfacdb7b23b03ade98a99fa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.12 01:46:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:46:40 22ed5753b423: Preparing 01:46:40 d9034a6c6114: Preparing 01:46:40 6b8b5af919b6: Preparing 01:46:40 a2efc11e9dfa: Preparing 01:46:40 5b7df235d876: Preparing 01:46:40 5b7df235d876: Layer already exists 01:46:40 d9034a6c6114: Layer already exists 01:46:40 22ed5753b423: Layer already exists 01:46:40 6b8b5af919b6: Layer already exists 01:46:40 a2efc11e9dfa: Layer already exists 01:46:40 2.3.0-dev.12: digest: sha256:c8dd526f1868891855757a2c7f3a01298d8beff75bfacdb7b23b03ade98a99fa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:41 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 01:46:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:46:41 22ed5753b423: Preparing 01:46:41 d9034a6c6114: Preparing 01:46:41 6b8b5af919b6: Preparing 01:46:41 a2efc11e9dfa: Preparing 01:46:41 5b7df235d876: Preparing 01:46:41 a2efc11e9dfa: Layer already exists 01:46:41 5b7df235d876: Layer already exists 01:46:41 d9034a6c6114: Layer already exists 01:46:41 6b8b5af919b6: Layer already exists 01:46:41 22ed5753b423: Layer already exists 01:46:41 bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12: digest: sha256:c8dd526f1868891855757a2c7f3a01298d8beff75bfacdb7b23b03ade98a99fa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:46:42 22ed5753b423: Preparing 01:46:42 d9034a6c6114: Preparing 01:46:42 6b8b5af919b6: Preparing 01:46:42 a2efc11e9dfa: Preparing 01:46:42 5b7df235d876: Preparing 01:46:42 22ed5753b423: Layer already exists 01:46:42 a2efc11e9dfa: Layer already exists 01:46:42 d9034a6c6114: Layer already exists 01:46:42 6b8b5af919b6: Layer already exists 01:46:42 5b7df235d876: Layer already exists 01:46:42 main: digest: sha256:c8dd526f1868891855757a2c7f3a01298d8beff75bfacdb7b23b03ade98a99fa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:46:42 ===================================================== [Pipeline] echo 01:46:42 taggedImages: 01:46:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bdc8d5482e185b094ce26a93e774e43e884677e1 01:46:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:46:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.12 01:46:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bdc8d5482e185b094ce26a93e774e43e884677e1-2.3.0-dev.12 01:46:42 - 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 01:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:43 01:46:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:43 arm64: Pulling from edgex-lftools-log-publisher 01:46:43 8998bd30e6a1: Pulling fs layer 01:46:43 04944245beec: Pulling fs layer 01:46:43 699f458cf7ca: Pulling fs layer 01:46:43 765212b225bb: Pulling fs layer 01:46:43 f23df028b6ca: Pulling fs layer 01:46:43 d65c8cfc05b1: Pulling fs layer 01:46:43 2437ff75d9bd: Pulling fs layer 01:46:43 765212b225bb: Waiting 01:46:43 f23df028b6ca: Waiting 01:46:43 d65c8cfc05b1: Waiting 01:46:43 2437ff75d9bd: Waiting 01:46:43 04944245beec: Verifying Checksum 01:46:43 04944245beec: Download complete 01:46:43 765212b225bb: Verifying Checksum 01:46:43 765212b225bb: Download complete 01:46:43 f23df028b6ca: Verifying Checksum 01:46:43 f23df028b6ca: Download complete 01:46:43 d65c8cfc05b1: Verifying Checksum 01:46:43 d65c8cfc05b1: Download complete 01:46:44 699f458cf7ca: Verifying Checksum 01:46:44 699f458cf7ca: Download complete 01:46:44 8998bd30e6a1: Verifying Checksum 01:46:44 8998bd30e6a1: Download complete 01:46:47 2437ff75d9bd: Verifying Checksum 01:46:47 2437ff75d9bd: Download complete 01:46:49 8998bd30e6a1: Pull complete 01:46:49 04944245beec: Pull complete 01:46:51 699f458cf7ca: Pull complete 01:46:51 765212b225bb: Pull complete 01:46:52 f23df028b6ca: Pull complete 01:46:52 d65c8cfc05b1: Pull complete 01:47:07 2437ff75d9bd: Pull complete 01:47:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:47:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:07 prd-ubuntu20.04-docker-arm64-4c-16g-21910 does not seem to be running inside a container 01:47:07 $ 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/59 -v /w/workspace/device-mqtt-go/59:/w/workspace/device-mqtt-go/59:rw,z -v /w/workspace/device-mqtt-go/59@tmp:/w/workspace/device-mqtt-go/59@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 01:47:10 $ docker top 04e61d74b74e33aef2fdcc0233aecc8f644891a94b56f1d1b49695813dd17da6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:11 ---> job-cost.sh 01:47:11 lf-activate-venv: SKIPPING 01:47:11 INFO: No Stack... 01:47:12 INFO: Retrieving Pricing Info for: v3-standard-4 01:47:13 INFO: Archiving Costs [Pipeline] sh 01:47:14 + cat /w/workspace/device-mqtt-go/59/archives/cost.csv 01:47:14 + cut -d, -f6 [Pipeline] lock 01:47:14 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] 01:47:14 Resource [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] did not exist. Created. 01:47:14 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:47:14 /w/workspace/device-mqtt-go/59@tmp/durable-1e0afe60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:47:15 + echo total: 0.10999999940395355 [Pipeline] stash 01:47:15 Warning: overwriting stash ‘stack-cost’ 01:47:15 Stashed 1 file(s) [Pipeline] } 01:47:15 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 01:47:15 $ docker stop --time=1 04e61d74b74e33aef2fdcc0233aecc8f644891a94b56f1d1b49695813dd17da6 01:47:17 $ docker rm -f 04e61d74b74e33aef2fdcc0233aecc8f644891a94b56f1d1b49695813dd17da6 [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 01:47:17 provisioning config files... 01:47:17 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2710342083505623182tmp [Pipeline] { [Pipeline] sh 01:47:18 + set +x 01:47:18 + curl -s https://codecov.io/bash 01:47:18 + bash -s -- 01:47:18 01:47:18 _____ _ 01:47:18 / ____| | | 01:47:18 | | ___ __| | ___ ___ _____ __ 01:47:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:47:18 | |___| (_) | (_| | __/ (_| (_) \ V / 01:47:18 \_____\___/ \__,_|\___|\___\___/ \_/ 01:47:18 Bash-1.0.6 01:47:18 01:47:18 01:47:18 ==> git version 2.25.1 found 01:47:18 ==> 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 01:47:18 Release-Date: 2020-01-08 01:47:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:47:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:47:18 ==> Jenkins CI detected. 01:47:18 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 01:47:18 project root: . 01:47:18 --> token set from env 01:47:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:47:18 ==> Running gcov in . (disable via -X gcov) 01:47:18 ==> Python coveragepy not found 01:47:18 ==> Searching for coverage reports in: 01:47:18 + . 01:47:18 -> Found 1 reports 01:47:18 ==> Detecting git/mercurial file structure 01:47:18 ==> Reading reports 01:47:18 + ./coverage.out bytes=17887 01:47:18 ==> Appending adjustments 01:47:18 https://docs.codecov.io/docs/fixing-reports 01:47:18 + Found adjustments 01:47:18 ==> Gzipping contents 01:47:18 4.0K /tmp/codecov.TicmiD.gz 01:47:18 ==> Uploading reports 01:47:18 url: https://codecov.io 01:47:18 query: branch=main&commit=bdc8d5482e185b094ce26a93e774e43e884677e1&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:47:18 -> Pinging Codecov 01:47:18 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=bdc8d5482e185b094ce26a93e774e43e884677e1&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:47:18 -> Uploading to 01:47:18 https://storage.googleapis.com/codecov/v4/raw/2022-08-04/7D719EC7BBE17E464838252E33014C33/bdc8d5482e185b094ce26a93e774e43e884677e1/d777e9bd-2dab-44db-96e7-3258d756ef0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220804T014718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54b6299994f8df74da407908b4be21f1906e6d9dbea3e9a6c7b483145cd83d67 01:47:18 % Total % Received % Xferd Average Speed Time Time Time Current 01:47:18 Dload Upload Total Spent Left Speed 01:47:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 10332 --:--:-- --:--:-- --:--:-- 10332 01:47:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] } 01:47:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:47:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:47:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:47:19 01:47:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:47:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:47:20 df9b9388f04a: Pulling fs layer 01:47:20 52dc419b0ee2: Pulling fs layer 01:47:20 25bc292e5bac: Pulling fs layer 01:47:20 114826534d7a: Pulling fs layer 01:47:20 4657fd5d0bcf: Pulling fs layer 01:47:20 6ad1cebc031e: Pulling fs layer 01:47:20 8a3aa393b2d8: Pulling fs layer 01:47:20 114826534d7a: Waiting 01:47:20 6ad1cebc031e: Waiting 01:47:20 8a3aa393b2d8: Waiting 01:47:20 25bc292e5bac: Verifying Checksum 01:47:20 25bc292e5bac: Download complete 01:47:20 52dc419b0ee2: Download complete 01:47:20 4657fd5d0bcf: Verifying Checksum 01:47:20 4657fd5d0bcf: Download complete 01:47:20 df9b9388f04a: Verifying Checksum 01:47:20 df9b9388f04a: Download complete 01:47:20 6ad1cebc031e: Verifying Checksum 01:47:20 6ad1cebc031e: Download complete 01:47:20 df9b9388f04a: Pull complete 01:47:20 52dc419b0ee2: Pull complete 01:47:20 25bc292e5bac: Pull complete 01:47:20 114826534d7a: Verifying Checksum 01:47:20 114826534d7a: Download complete 01:47:20 8a3aa393b2d8: Verifying Checksum 01:47:20 8a3aa393b2d8: Download complete 01:47:25 114826534d7a: Pull complete 01:47:25 4657fd5d0bcf: Pull complete 01:47:25 6ad1cebc031e: Pull complete 01:47:31 8a3aa393b2d8: Pull complete 01:47:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:47:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:47:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:31 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:47:31 $ 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 01:47:34 $ docker top 31ffb1417a5fd938e997a5f53abd7aee772cadd759f3d06ddbf1ae638d956daf -eo pid,comm [Pipeline] { [Pipeline] echo 01:47:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 01:47:35 + set -o pipefail 01:47:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 01:47:41 01:47:41 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 01:47:41 01:47:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/c1cf7b13-d5af-46b6-9591-61920a293dbf 01:47:41 01:47:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:47:41 01:47:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:47:41 01:47:41 [Pipeline] } 01:47:41 $ docker stop --time=1 31ffb1417a5fd938e997a5f53abd7aee772cadd759f3d06ddbf1ae638d956daf 01:47:46 $ docker rm -f 31ffb1417a5fd938e997a5f53abd7aee772cadd759f3d06ddbf1ae638d956daf [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 01:47:47 + git log --format=format:%s -1 bdc8d5482e185b094ce26a93e774e43e884677e1 [Pipeline] sh 01:47:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:48 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:48 $ docker top fb2fab3de84c9b835814e7822daf271449e35088e5c1bc6e4177bf235b43a1b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:49 [ssh-agent] Looking for ssh-agent implementation... 01:47:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:49 $ docker exec fb2fab3de84c9b835814e7822daf271449e35088e5c1bc6e4177bf235b43a1b5 ssh-agent 01:47:49 SSH_AUTH_SOCK=/tmp/ssh-HVEd8gaHVimy/agent.34 01:47:49 SSH_AGENT_PID=40 01:47:49 Running ssh-add (command line suppressed) 01:47:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3186791820559946205.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3186791820559946205.key) 01:47:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:49 + git semver tag 01:47:50 2022-08-04 01:47:49,976 [run_tag] DEBUG tag force:False 01:47:50 2022-08-04 01:47:49,976 [check_head_tag] DEBUG check head tag 01:47:50 2022-08-04 01:47:49,977 [execute] INFO git cat-file --batch-check 01:47:50 2022-08-04 01:47:49,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:47:50 2022-08-04 01:47:49,981 [execute] INFO git cat-file --batch 01:47:50 2022-08-04 01:47:49,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:47:50 2022-08-04 01:47:49,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:47:50 2022-08-04 01:47:49,994 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 01:47:50 2022-08-04 01:47:49,994 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:47:50 2022-08-04 01:47:50,000 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:47:50 2.3.0-dev.12 [Pipeline] } 01:47:50 $ docker exec --env ******** --env ******** fb2fab3de84c9b835814e7822daf271449e35088e5c1bc6e4177bf235b43a1b5 ssh-agent -k 01:47:50 unset SSH_AUTH_SOCK; 01:47:50 unset SSH_AGENT_PID; 01:47:50 echo Agent pid 40 killed; 01:47:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:50 + git semver [Pipeline] } 01:47:50 $ docker stop --time=1 fb2fab3de84c9b835814e7822daf271449e35088e5c1bc6e4177bf235b43a1b5 01:47:52 $ docker rm -f fb2fab3de84c9b835814e7822daf271449e35088e5c1bc6e4177bf235b43a1b5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:47:52 01:47:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:47:52 0.23.1-centos7: Pulling from edgex-lftools 01:47:52 ab5ef0e58194: Pulling fs layer 01:47:52 9712f1f96733: Pulling fs layer 01:47:52 63f879dbbcfc: Pulling fs layer 01:47:52 0d9ebad4ef96: Pulling fs layer 01:47:52 e9a5061849ea: Pulling fs layer 01:47:52 d747dcd14b5f: Pulling fs layer 01:47:52 2de7ff778b66: Pulling fs layer 01:47:52 0d9ebad4ef96: Waiting 01:47:52 e9a5061849ea: Waiting 01:47:52 2de7ff778b66: Waiting 01:47:52 d747dcd14b5f: Waiting 01:47:52 9712f1f96733: Download complete 01:47:53 63f879dbbcfc: Verifying Checksum 01:47:53 63f879dbbcfc: Download complete 01:47:53 e9a5061849ea: Verifying Checksum 01:47:53 e9a5061849ea: Download complete 01:47:53 0d9ebad4ef96: Verifying Checksum 01:47:53 0d9ebad4ef96: Download complete 01:47:53 d747dcd14b5f: Verifying Checksum 01:47:53 d747dcd14b5f: Download complete 01:47:53 ab5ef0e58194: Download complete 01:47:53 2de7ff778b66: Verifying Checksum 01:47:53 2de7ff778b66: Download complete 01:47:56 ab5ef0e58194: Pull complete 01:47:56 9712f1f96733: Pull complete 01:47:57 63f879dbbcfc: Pull complete 01:48:02 0d9ebad4ef96: Pull complete 01:48:02 e9a5061849ea: Pull complete 01:48:02 d747dcd14b5f: Pull complete 01:48:03 2de7ff778b66: Pull complete 01:48:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:48:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:48:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:03 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:48:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:48:08 $ docker top 61e9387182fa26212bdf7338d195ba6f27a80acf922bf236182a954ec28b570f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:48:08 provisioning config files... 01:48:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7387407866009961737tmp 01:48:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7850283131218573282tmp 01:48:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config140636690078985182tmp [Pipeline] { [Pipeline] echo 01:48:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:48:08 ---> sigul-configuration.sh 01:48:08 gpg: directory `/root/.gnupg' created 01:48:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:48:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:48:08 gpg: keyring `/root/.gnupg/secring.gpg' created 01:48:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:48:08 gpg: CAST5 encrypted data 01:48:08 gpg: encrypted with 1 passphrase 01:48:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:48:09 + mkdir /home/jenkins 01:48:09 + mkdir /home/jenkins/sigul [Pipeline] sh 01:48:09 + 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 01:48:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:48:09 ---> sigul-install.sh 01:48:09 Sigul already installed; skipping installation. [Pipeline] sh 01:48:10 + git tag --list 01:48:10 0.7.1 01:48:10 v1.0.0 01:48:10 v1.1.0 01:48:10 v1.1.1 01:48:10 v1.2.2 01:48:10 v1.3.0 01:48:10 v1.3.1 01:48:10 v2.0.0 01:48:10 v2.1.0 01:48:10 v2.1.1 01:48:10 v2.1.1-dev.1 01:48:10 v2.1.1-dev.2 01:48:10 v2.2.0 01:48:10 v2.2.1-dev.1 01:48:10 v2.2.1-dev.10 01:48:10 v2.2.1-dev.2 01:48:10 v2.2.1-dev.3 01:48:10 v2.2.1-dev.4 01:48:10 v2.2.1-dev.5 01:48:10 v2.2.1-dev.6 01:48:10 v2.2.1-dev.7 01:48:10 v2.2.1-dev.8 01:48:10 v2.2.1-dev.9 01:48:10 v2.3.0-dev.10 01:48:10 v2.3.0-dev.11 01:48:10 v2.3.0-dev.12 [Pipeline] sh 01:48:10 + lftools sign git-tag v2.3.0-dev.12 01:48:10 Signing Git tag with Sigul... 01:48:10 Signing v2.3.0-dev.12 [Pipeline] echo 01:48:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:48:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:48:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:48:11 $ docker stop --time=1 61e9387182fa26212bdf7338d195ba6f27a80acf922bf236182a954ec28b570f 01:48:12 $ docker rm -f 61e9387182fa26212bdf7338d195ba6f27a80acf922bf236182a954ec28b570f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:48:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:13 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:48:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:14 $ docker top e9b1238fb001b537de4cbc2129d7c971e5c1bfe4171caba6c28319e6c508e9ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:14 [ssh-agent] Looking for ssh-agent implementation... 01:48:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:14 $ docker exec e9b1238fb001b537de4cbc2129d7c971e5c1bfe4171caba6c28319e6c508e9ff ssh-agent 01:48:14 SSH_AUTH_SOCK=/tmp/ssh-KuNlbiV6i8vf/agent.32 01:48:14 SSH_AGENT_PID=38 01:48:14 Running ssh-add (command line suppressed) 01:48:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7558646729052822400.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7558646729052822400.key) 01:48:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:14 + git semver bump pre 01:48:15 2022-08-04 01:48:15,030 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:48:15 2022-08-04 01:48:15,031 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev 01:48:15 2022-08-04 01:48:15,031 [bump_version] DEBUG bumped version:2.3.0-dev.13 01:48:15 2022-08-04 01:48:15,031 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 01:48:15 2022-08-04 01:48:15,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:48:15 2022-08-04 01:48:15,031 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:48:15 2022-08-04 01:48:15,033 [execute] INFO git cat-file --batch-check 01:48:15 2022-08-04 01:48:15,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:48:15 2022-08-04 01:48:15,039 [execute] INFO git cat-file --batch 01:48:15 2022-08-04 01:48:15,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:48:15 2022-08-04 01:48:15,045 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:48:15 2.3.0-dev.13 [Pipeline] } 01:48:15 $ docker exec --env ******** --env ******** e9b1238fb001b537de4cbc2129d7c971e5c1bfe4171caba6c28319e6c508e9ff ssh-agent -k 01:48:15 unset SSH_AUTH_SOCK; 01:48:15 unset SSH_AGENT_PID; 01:48:15 echo Agent pid 38 killed; 01:48:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:15 + git semver [Pipeline] } 01:48:15 $ docker stop --time=1 e9b1238fb001b537de4cbc2129d7c971e5c1bfe4171caba6c28319e6c508e9ff 01:48:17 $ docker rm -f e9b1238fb001b537de4cbc2129d7c971e5c1bfe4171caba6c28319e6c508e9ff [Pipeline] // withDockerContainer [Pipeline] sh 01:48:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:17 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:48:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:18 $ docker top e7a0c3ce3e8a1a53034f630b7fdf66e513359341eded0a76fb90d7bce8f5a4ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:18 [ssh-agent] Looking for ssh-agent implementation... 01:48:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:18 $ docker exec e7a0c3ce3e8a1a53034f630b7fdf66e513359341eded0a76fb90d7bce8f5a4ea ssh-agent 01:48:18 SSH_AUTH_SOCK=/tmp/ssh-Gq21iIWeKkPp/agent.32 01:48:18 SSH_AGENT_PID=38 01:48:18 Running ssh-add (command line suppressed) 01:48:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1112445170459391424.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1112445170459391424.key) 01:48:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:19 + git semver push 01:48:19 2022-08-04 01:48:19,388 [run_push] DEBUG push 01:48:19 2022-08-04 01:48:19,388 [execute] INFO git cat-file --batch-check 01:48:19 2022-08-04 01:48:19,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:48:19 2022-08-04 01:48:19,392 [execute] INFO git rev-list 183284b66f0e9e19fdfd20371e392a6b8aaf9566 -- 01:48:19 2022-08-04 01:48:19,392 [execute] DEBUG Popen(['git', 'rev-list', '183284b66f0e9e19fdfd20371e392a6b8aaf9566', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:48:19 2022-08-04 01:48:19,399 [execute] INFO git fetch -v origin 01:48:19 2022-08-04 01:48:19,400 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:48:20 2022-08-04 01:48:19,876 [run_push] DEBUG no remote changes detected 01:48:20 2022-08-04 01:48:19,876 [execute] INFO git push origin semver 01:48:20 2022-08-04 01:48:19,877 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:48:20 2022-08-04 01:48:20,594 [run_push] DEBUG push all version tags 01:48:20 2022-08-04 01:48:20,594 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:48:20 2022-08-04 01:48:20,595 [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) 01:48:21 2022-08-04 01:48:21,362 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:48:21 2.3.0-dev.13 [Pipeline] } 01:48:21 $ docker exec --env ******** --env ******** e7a0c3ce3e8a1a53034f630b7fdf66e513359341eded0a76fb90d7bce8f5a4ea ssh-agent -k 01:48:21 unset SSH_AUTH_SOCK; 01:48:21 unset SSH_AGENT_PID; 01:48:21 echo Agent pid 38 killed; 01:48:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:21 + git semver [Pipeline] } 01:48:22 $ docker stop --time=1 e7a0c3ce3e8a1a53034f630b7fdf66e513359341eded0a76fb90d7bce8f5a4ea 01:48:23 $ docker rm -f e7a0c3ce3e8a1a53034f630b7fdf66e513359341eded0a76fb90d7bce8f5a4ea [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 01:48:24 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 01:48:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:48:24 total 16 01:48:24 drwxr-xr-x 3 root root 4096 Aug 4 01:38 . 01:48:24 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 01:48 .. 01:48:24 drwxr-xr-x 2 root root 4096 Aug 4 01:38 cost 01:48:24 -rw-r--r-- 1 root root 85 Aug 4 01:38 cost.csv 01:48:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:48:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:48:24 total 16 01:48:24 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:38 . 01:48:24 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 01:48 .. 01:48:24 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 01:38 cost 01:48:24 -rw-r--r-- 1 jenkins jenkins 85 Aug 4 01:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:48:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:25 ---> package-listing.sh 01:48:25 ++ facter osfamily 01:48:25 ++ tr '[:upper:]' '[:lower:]' 01:48:25 + OS_FAMILY=debian 01:48:25 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 01:48:25 + START_PACKAGES=/tmp/packages_start.txt 01:48:25 + END_PACKAGES=/tmp/packages_end.txt 01:48:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:25 + PACKAGES=/tmp/packages_start.txt 01:48:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:48:25 + PACKAGES=/tmp/packages_end.txt 01:48:25 + case "${OS_FAMILY}" in 01:48:25 + dpkg -l 01:48:25 + grep '^ii' 01:48:25 + '[' -f /tmp/packages_start.txt ']' 01:48:25 + '[' -f /tmp/packages_end.txt ']' 01:48:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:48:25 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 01:48:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 01:48:25 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 01:48:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:26 prd-ubuntu20.04-docker-8c-8g-21908 does not seem to be running inside a container 01:48:26 $ 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 01:48:26 $ docker top dfeff40ac9b1b0236899e64dd237099f6bfa22d358a5ff8292e4a3d1bf0aa95d -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:27 + touch /tmp/pre-build-complete [Pipeline] sh 01:48:27 + mkdir -p /var/log/sysstat [Pipeline] sh 01:48:27 + ls /var/log/sa-host 01:48:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:27 provisioning config files... 01:48:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1605922983127881595tmp [Pipeline] { [Pipeline] echo 01:48:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:28 ---> create-netrc.sh [Pipeline] } 01:48:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:48:28 ---> python-tools-install.sh [Pipeline] echo 01:48:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:48:28 ---> sudo-logs.sh 01:48:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:48:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:48:28 ---> job-cost.sh 01:48:28 lf-activate-venv: SKIPPING 01:48:28 DEBUG: total: 0.2199999988079071 01:48:28 INFO: Retrieving Stack Cost... 01:48:29 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:29 INFO: Archiving Costs [Pipeline] echo 01:48:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:30 ---> logs-deploy.sh 01:48:30 lf-activate-venv: SKIPPING 01:48:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/59 01:48:30 INFO: archiving workspace using pattern(s): 01:48:31 Archives upload complete. 01:48:31 INFO: archiving logs to Nexus