Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 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-ssh15332500944749709068.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh17735896322056581026.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2276915341778217304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh1671097212465504236.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15384626467763413487.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 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 ‘prd-ubuntu20.04-docker-8c-8g-2675’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2677 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 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b (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 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b # timeout=10 Commit message: "Merge pull request #391 from weichou1229/issue-390" > git rev-list --no-walk 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-19T06:09:05.423Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-19T06:09:05.462Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-19T06:09:05.476Z] ========================================================= [2022-06-19T06:09:05.476Z] EdgeX Global Pipelines Version Info [2022-06-19T06:09:05.476Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:09:06.229Z] ------------------- [2022-06-19T06:09:06.229Z] stable info: [2022-06-19T06:09:06.229Z] ------------------- [2022-06-19T06:09:06.229Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-19T06:09:06.229Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-19T06:09:06.229Z] Message: update stable to v1.0.234 [2022-06-19T06:09:06.801Z] ------------------- [2022-06-19T06:09:06.801Z] experimental info: [2022-06-19T06:09:06.801Z] ------------------- [2022-06-19T06:09:06.801Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-19T06:09:06.801Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-19T06:09:06.801Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-19T06:09:07.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-19T06:09:07.081Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-19T06:09:07.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-19T06:09:07.098Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-19T06:09:07.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-19T06:09:07.115Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-19T06:09:07.123Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-19T06:09:07.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-19T06:09:07.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-19T06:09:07.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-19T06:09:07.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-19T06:09:07.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-19T06:09:07.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-19T06:09:07.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-19T06:09:07.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-19T06:09:07.236Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-19T06:09:07.246Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-19T06:09:07.257Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-19T06:09:07.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-19T06:09:07.280Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-19T06:09:07.290Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-19T06:09:07.304Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-19T06:09:07.318Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-19T06:09:07.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-19T06:09:07.346Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-19T06:09:07.360Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-19T06:09:07.371Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-19T06:09:07.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-19T06:09:07.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-19T06:09:07.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-19T06:09:07.417Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo [2022-06-19T06:09:07.432Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06aa87a [Pipeline] echo [2022-06-19T06:09:07.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:09:07.492Z] provisioning config files... [2022-06-19T06:09:07.504Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7396438868307198971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:09:07.833Z] ---> docker-login.sh [2022-06-19T06:09:07.833Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:09:08.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:08.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:08.094Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:08.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:08.094Z] [2022-06-19T06:09:08.094Z] Login Succeeded [2022-06-19T06:09:08.094Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:09:08.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:08.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:08.355Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:08.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:08.355Z] [2022-06-19T06:09:08.355Z] Login Succeeded [2022-06-19T06:09:08.355Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:09:08.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:08.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:08.355Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:08.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:08.355Z] [2022-06-19T06:09:08.355Z] Login Succeeded [2022-06-19T06:09:08.355Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:09:08.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:08.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:08.616Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:08.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:08.616Z] [2022-06-19T06:09:08.616Z] Login Succeeded [2022-06-19T06:09:08.616Z] docker.io [2022-06-19T06:09:08.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:08.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:08.878Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:08.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:08.878Z] [2022-06-19T06:09:08.878Z] Login Succeeded [2022-06-19T06:09:08.878Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:09:08.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-19T06:09:09.245Z] + git rev-list -1 --merges 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b~1..06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo [2022-06-19T06:09:09.273Z] -----------> git rev-list -1 --merges 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b~1..06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:09:09.273Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [false] [Pipeline] sh [2022-06-19T06:09:09.572Z] + git log --format=format:%s -1 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo [2022-06-19T06:09:09.587Z] ========================================================= [2022-06-19T06:09:09.587Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-19T06:09:09.587Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T06:09:09.924Z] + git log --format=format:%s -1 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo [2022-06-19T06:09:09.935Z] [semverPrep] GIT_COMMIT: 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b, Commit Message: Merge pull request #391 from weichou1229/issue-390 [Pipeline] echo [2022-06-19T06:09:09.945Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-19T06:09:10.289Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:09:10.289Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-19T06:09:10.289Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-19T06:09:10.289Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-19T06:09:10.289Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-19T06:09:10.289Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-19T06:09:10.289Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:10.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:09:10.649Z] [2022-06-19T06:09:10.649Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:10.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:09:10.958Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-19T06:09:10.958Z] 42c077c10790: Pulling fs layer [2022-06-19T06:09:10.958Z] f63e77b7563a: Pulling fs layer [2022-06-19T06:09:10.958Z] bd5fdadae976: Pulling fs layer [2022-06-19T06:09:10.958Z] 205491f53016: Pulling fs layer [2022-06-19T06:09:10.958Z] df18705c85c3: Pulling fs layer [2022-06-19T06:09:10.958Z] bdb3f477010e: Pulling fs layer [2022-06-19T06:09:10.958Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-19T06:09:10.958Z] 2c6e9b1d212d: Pulling fs layer [2022-06-19T06:09:10.958Z] bdb8f0575790: Pulling fs layer [2022-06-19T06:09:10.958Z] 386e3cb2ff24: Pulling fs layer [2022-06-19T06:09:10.958Z] 2343380bae48: Pulling fs layer [2022-06-19T06:09:10.958Z] 386e3cb2ff24: Waiting [2022-06-19T06:09:10.958Z] c8a8fc8e1c8f: Waiting [2022-06-19T06:09:10.958Z] 205491f53016: Waiting [2022-06-19T06:09:10.958Z] 2c6e9b1d212d: Waiting [2022-06-19T06:09:10.958Z] bdb8f0575790: Waiting [2022-06-19T06:09:10.958Z] 2343380bae48: Waiting [2022-06-19T06:09:10.958Z] df18705c85c3: Waiting [2022-06-19T06:09:10.958Z] bdb3f477010e: Waiting [2022-06-19T06:09:10.958Z] f63e77b7563a: Download complete [2022-06-19T06:09:10.958Z] 205491f53016: Verifying Checksum [2022-06-19T06:09:10.958Z] 205491f53016: Download complete [2022-06-19T06:09:11.218Z] df18705c85c3: Verifying Checksum [2022-06-19T06:09:11.218Z] df18705c85c3: Download complete [2022-06-19T06:09:11.218Z] bdb3f477010e: Verifying Checksum [2022-06-19T06:09:11.218Z] bdb3f477010e: Download complete [2022-06-19T06:09:11.218Z] bd5fdadae976: Verifying Checksum [2022-06-19T06:09:11.218Z] bd5fdadae976: Download complete [2022-06-19T06:09:11.218Z] 2c6e9b1d212d: Download complete [2022-06-19T06:09:11.218Z] bdb8f0575790: Verifying Checksum [2022-06-19T06:09:11.218Z] bdb8f0575790: Download complete [2022-06-19T06:09:11.218Z] 386e3cb2ff24: Verifying Checksum [2022-06-19T06:09:11.218Z] 386e3cb2ff24: Download complete [2022-06-19T06:09:11.218Z] 2343380bae48: Download complete [2022-06-19T06:09:11.218Z] 42c077c10790: Download complete [2022-06-19T06:09:11.478Z] c8a8fc8e1c8f: Download complete [2022-06-19T06:09:12.419Z] 42c077c10790: Pull complete [2022-06-19T06:09:12.682Z] f63e77b7563a: Pull complete [2022-06-19T06:09:13.254Z] bd5fdadae976: Pull complete [2022-06-19T06:09:13.254Z] 205491f53016: Pull complete [2022-06-19T06:09:13.516Z] df18705c85c3: Pull complete [2022-06-19T06:09:13.516Z] bdb3f477010e: Pull complete [2022-06-19T06:09:15.425Z] c8a8fc8e1c8f: Pull complete [2022-06-19T06:09:15.425Z] 2c6e9b1d212d: Pull complete [2022-06-19T06:09:15.425Z] bdb8f0575790: Pull complete [2022-06-19T06:09:15.685Z] 386e3cb2ff24: Pull complete [2022-06-19T06:09:15.685Z] 2343380bae48: Pull complete [2022-06-19T06:09:15.685Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-19T06:09:15.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:09:15.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:09:15.783Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:09:15.818Z] $ 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 [2022-06-19T06:09:17.038Z] $ docker top 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad -eo pid,comm [2022-06-19T06:09:17.111Z] 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). [2022-06-19T06:09:17.112Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:09:17.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:09:17.146Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:09:17.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:09:17.277Z] $ docker exec 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent [2022-06-19T06:09:17.408Z] SSH_AUTH_SOCK=/tmp/ssh-2puAXPNhTaSs/agent.33 [2022-06-19T06:09:17.408Z] SSH_AGENT_PID=39 [2022-06-19T06:09:17.415Z] Running ssh-add (command line suppressed) [2022-06-19T06:09:17.537Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7690083467002228785.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7690083467002228785.key) [2022-06-19T06:09:17.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:09:17.840Z] + git tag --points-at HEAD [Pipeline] } [2022-06-19T06:09:17.858Z] $ docker exec --env ******** --env ******** 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent -k [2022-06-19T06:09:17.960Z] unset SSH_AUTH_SOCK; [2022-06-19T06:09:17.960Z] unset SSH_AGENT_PID; [2022-06-19T06:09:17.960Z] echo Agent pid 39 killed; [2022-06-19T06:09:17.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-19T06:09:18.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:09:18.001Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:09:18.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:09:18.155Z] $ docker exec 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent [2022-06-19T06:09:18.296Z] SSH_AUTH_SOCK=/tmp/ssh-TWoFGtIgxKuo/agent.71 [2022-06-19T06:09:18.296Z] SSH_AGENT_PID=77 [2022-06-19T06:09:18.300Z] Running ssh-add (command line suppressed) [2022-06-19T06:09:18.419Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5570401723616280864.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5570401723616280864.key) [2022-06-19T06:09:18.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:09:18.723Z] + git semver init [2022-06-19T06:09:18.985Z] 2022-06-19 06:09:18,903 [run_init] DEBUG init version:0.0.0 force:False [2022-06-19T06:09:18.985Z] 2022-06-19 06:09:18,904 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-06-19T06:09:18.985Z] 2022-06-19 06:09:18,904 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-06-19T06:09:18.985Z] 2022-06-19 06:09:18,905 [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) [2022-06-19T06:09:19.926Z] 2022-06-19 06:09:19,596 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-06-19T06:09:19.926Z] 2022-06-19 06:09:19,597 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-06-19T06:09:19.926Z] 2022-06-19 06:09:19,597 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:09:19.926Z] 2022-06-19 06:09:19,597 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:09:19.926Z] 2.2.1-dev.3 [Pipeline] } [2022-06-19T06:09:19.938Z] $ docker exec --env ******** --env ******** 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent -k [2022-06-19T06:09:20.049Z] unset SSH_AUTH_SOCK; [2022-06-19T06:09:20.050Z] unset SSH_AGENT_PID; [2022-06-19T06:09:20.050Z] echo Agent pid 77 killed; [2022-06-19T06:09:20.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:09:20.368Z] + git semver [Pipeline] } [2022-06-19T06:09:20.645Z] $ docker stop --time=1 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad [2022-06-19T06:09:21.933Z] $ docker rm -f 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:09:22.285Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-19T06:09:22.525Z] Stashed 1 file(s) [Pipeline] echo [2022-06-19T06:09:22.528Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [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 [2022-06-19T06:09:22.671Z] provisioning config files... [2022-06-19T06:09:22.682Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1745877296773594823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:09:22.985Z] ---> docker-login.sh [2022-06-19T06:09:22.985Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:09:22.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:22.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:22.985Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:22.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:22.985Z] [2022-06-19T06:09:22.985Z] Login Succeeded [2022-06-19T06:09:22.985Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:09:22.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:23.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:23.245Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:23.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:23.245Z] [2022-06-19T06:09:23.245Z] Login Succeeded [2022-06-19T06:09:23.245Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:09:23.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:23.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:23.245Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:23.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:23.245Z] [2022-06-19T06:09:23.245Z] Login Succeeded [2022-06-19T06:09:23.245Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:09:23.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:23.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:23.505Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:23.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:23.505Z] [2022-06-19T06:09:23.505Z] Login Succeeded [2022-06-19T06:09:23.505Z] docker.io [2022-06-19T06:09:23.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:23.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:23.767Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:23.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:23.767Z] [2022-06-19T06:09:23.767Z] Login Succeeded [2022-06-19T06:09:23.767Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:09:23.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-19T06:09:23.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:09:23.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:09:23.876Z] ========================================================= [2022-06-19T06:09:23.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-19T06:09:23.876Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:24.205Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-19T06:09:24.205Z] Sending build context to Docker daemon 5.978MB [2022-06-19T06:09:24.205Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:09:24.205Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-19T06:09:24.205Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-19T06:09:24.205Z] 59bf1c3509f3: Pulling fs layer [2022-06-19T06:09:24.205Z] 666ba61612fd: Pulling fs layer [2022-06-19T06:09:24.205Z] 8ed8ca486205: Pulling fs layer [2022-06-19T06:09:24.205Z] cc1cd167ecdc: Pulling fs layer [2022-06-19T06:09:24.205Z] c516ae0d96e1: Pulling fs layer [2022-06-19T06:09:24.205Z] 684cea983483: Pulling fs layer [2022-06-19T06:09:24.205Z] dd3240ac7de5: Pulling fs layer [2022-06-19T06:09:24.205Z] b1e948a4e11c: Pulling fs layer [2022-06-19T06:09:24.205Z] a8fd76ee1af6: Pulling fs layer [2022-06-19T06:09:24.205Z] 646ad004c059: Pulling fs layer [2022-06-19T06:09:24.205Z] cc1cd167ecdc: Waiting [2022-06-19T06:09:24.205Z] 684cea983483: Waiting [2022-06-19T06:09:24.205Z] dd3240ac7de5: Waiting [2022-06-19T06:09:24.205Z] b1e948a4e11c: Waiting [2022-06-19T06:09:24.205Z] 646ad004c059: Waiting [2022-06-19T06:09:24.205Z] a8fd76ee1af6: Waiting [2022-06-19T06:09:24.205Z] 8ed8ca486205: Verifying Checksum [2022-06-19T06:09:24.205Z] 8ed8ca486205: Download complete [2022-06-19T06:09:24.205Z] 666ba61612fd: Download complete [2022-06-19T06:09:24.205Z] c516ae0d96e1: Verifying Checksum [2022-06-19T06:09:24.205Z] c516ae0d96e1: Download complete [2022-06-19T06:09:24.468Z] 684cea983483: Verifying Checksum [2022-06-19T06:09:24.468Z] 684cea983483: Download complete [2022-06-19T06:09:24.468Z] dd3240ac7de5: Verifying Checksum [2022-06-19T06:09:24.468Z] dd3240ac7de5: Download complete [2022-06-19T06:09:24.468Z] 59bf1c3509f3: Verifying Checksum [2022-06-19T06:09:24.468Z] 59bf1c3509f3: Download complete [2022-06-19T06:09:24.468Z] b1e948a4e11c: Verifying Checksum [2022-06-19T06:09:24.468Z] b1e948a4e11c: Download complete [2022-06-19T06:09:24.468Z] 59bf1c3509f3: Pull complete [2022-06-19T06:09:24.736Z] 666ba61612fd: Pull complete [2022-06-19T06:09:24.736Z] 8ed8ca486205: Pull complete [2022-06-19T06:09:24.998Z] a8fd76ee1af6: Verifying Checksum [2022-06-19T06:09:24.998Z] a8fd76ee1af6: Download complete [2022-06-19T06:09:24.998Z] 646ad004c059: Verifying Checksum [2022-06-19T06:09:24.998Z] 646ad004c059: Download complete [2022-06-19T06:09:25.257Z] cc1cd167ecdc: Verifying Checksum [2022-06-19T06:09:25.257Z] cc1cd167ecdc: Download complete [2022-06-19T06:09:28.547Z] cc1cd167ecdc: Pull complete [2022-06-19T06:09:28.806Z] c516ae0d96e1: Pull complete [2022-06-19T06:09:28.806Z] 684cea983483: Pull complete [2022-06-19T06:09:28.806Z] dd3240ac7de5: Pull complete [2022-06-19T06:09:28.806Z] b1e948a4e11c: Pull complete [2022-06-19T06:09:31.341Z] a8fd76ee1af6: Pull complete [2022-06-19T06:09:31.607Z] 646ad004c059: Pull complete [2022-06-19T06:09:31.607Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-19T06:09:31.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-19T06:09:31.607Z] ---> 8f69c11f6b0c [2022-06-19T06:09:31.607Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T06:09:33.520Z] ---> Running in e35e52da9edd [2022-06-19T06:09:33.520Z] Removing intermediate container e35e52da9edd [2022-06-19T06:09:33.520Z] ---> 3326c3f6dacd [2022-06-19T06:09:33.520Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T06:09:33.520Z] ---> Running in ece0980ade2a [2022-06-19T06:09:33.520Z] Removing intermediate container ece0980ade2a [2022-06-19T06:09:33.520Z] ---> dc793ff962e9 [2022-06-19T06:09:33.520Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:09:33.520Z] ---> Running in 0a77aef0a1ac [2022-06-19T06:09:33.780Z] Removing intermediate container 0a77aef0a1ac [2022-06-19T06:09:33.780Z] ---> fad54db13774 [2022-06-19T06:09:33.780Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T06:09:34.039Z] ---> Running in 94d5b9f9a6fe [2022-06-19T06:09:34.299Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:09:34.870Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:09:35.439Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-19T06:09:35.439Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-19T06:09:35.439Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-19T06:09:35.700Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-19T06:09:35.700Z] Executing busybox-1.34.1-r3.trigger [2022-06-19T06:09:35.700Z] OK: 224 MiB in 56 packages [2022-06-19T06:09:36.273Z] Removing intermediate container 94d5b9f9a6fe [2022-06-19T06:09:36.273Z] ---> 9ac1ea41a6f4 [2022-06-19T06:09:36.273Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-19T06:09:36.273Z] ---> Running in 7fb9f178546a [2022-06-19T06:09:36.273Z] Removing intermediate container 7fb9f178546a [2022-06-19T06:09:36.273Z] ---> c26ab4d9e5ef [2022-06-19T06:09:36.273Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-19T06:09:36.273Z] ---> 76954d4db063 [2022-06-19T06:09:36.273Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:09:36.534Z] ---> Running in da390453960a [2022-06-19T06:09:37.629Z] Still waiting to schedule task [2022-06-19T06:09:37.629Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2676’ [2022-06-19T06:09:48.758Z] Removing intermediate container da390453960a [2022-06-19T06:09:48.759Z] ---> 910477937289 [2022-06-19T06:09:48.759Z] Step 10/12 : COPY . . [2022-06-19T06:09:49.019Z] ---> 0eac4476d6a6 [2022-06-19T06:09:49.019Z] Step 11/12 : ARG MAKE='make build' [2022-06-19T06:09:49.019Z] ---> Running in 732e5ef5fdf2 [2022-06-19T06:09:49.019Z] Removing intermediate container 732e5ef5fdf2 [2022-06-19T06:09:49.019Z] ---> c5d893a60383 [2022-06-19T06:09:49.019Z] Step 12/12 : RUN $MAKE [2022-06-19T06:09:49.019Z] ---> Running in 5ce2f7e9246f [2022-06-19T06:09:49.279Z] noop [2022-06-19T06:09:49.540Z] Removing intermediate container 5ce2f7e9246f [2022-06-19T06:09:49.540Z] ---> 90fc664d865b [2022-06-19T06:09:49.540Z] Successfully built 90fc664d865b [2022-06-19T06:09:49.540Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:49.867Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-19T06:09:49.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:09:49.948Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:09:49.992Z] $ 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 [2022-06-19T06:09:50.395Z] $ docker top 66649185151d6b0b46fa4ecc2c0ce5f7c77e2717d3c90b2166cfcf26a577686a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T06:09:50.747Z] + go version [2022-06-19T06:09:50.747Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-19T06:09:50.767Z] $ docker stop --time=1 66649185151d6b0b46fa4ecc2c0ce5f7c77e2717d3c90b2166cfcf26a577686a [2022-06-19T06:09:52.084Z] $ docker rm -f 66649185151d6b0b46fa4ecc2c0ce5f7c77e2717d3c90b2166cfcf26a577686a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:52.495Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-19T06:09:52.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:09:52.607Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:09:52.668Z] $ 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 [2022-06-19T06:09:53.110Z] $ docker top 2d6f1e684d89b88ddd986f6a6e41c37c113169f9c1d4fdfcfca60cdc30455071 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-19T06:09:53.477Z] + make test [2022-06-19T06:09:53.477Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-19T06:09:53.736Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-19T06:10:03.724Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-19T06:10:03.724Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-06-19T06:10:03.724Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-19T06:10:09.008Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-19T06:10:13.205Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-19T06:10:13.205Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-19T06:10:13.205Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-19T06:10:13.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-19T06:10:13.495Z] $ docker stop --time=1 2d6f1e684d89b88ddd986f6a6e41c37c113169f9c1d4fdfcfca60cdc30455071 [2022-06-19T06:10:15.145Z] $ docker rm -f 2d6f1e684d89b88ddd986f6a6e41c37c113169f9c1d4fdfcfca60cdc30455071 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:10:15.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-19T06:10:15.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-19T06:10:16.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-19T06:10:16.346Z] + ls -al . [2022-06-19T06:10:16.346Z] total 180 [2022-06-19T06:10:16.346Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 06:10 . [2022-06-19T06:10:16.346Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:09 .. [2022-06-19T06:10:16.346Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 06:09 .dockerignore [2022-06-19T06:10:16.346Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:09 .git [2022-06-19T06:10:16.346Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 .github [2022-06-19T06:10:16.346Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 19 06:09 .gitignore [2022-06-19T06:10:16.346Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:09 .golangci.yml [2022-06-19T06:10:16.346Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:09 .semver [2022-06-19T06:10:16.346Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 19 06:09 Attribution.txt [2022-06-19T06:10:16.346Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 19 06:09 CHANGELOG.md [2022-06-19T06:10:16.346Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:09 Dockerfile [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:09 GOVERNANCE.md [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 19 06:09 Jenkinsfile [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:09 LICENSE [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:09 Makefile [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 06:09 OWNERS.md [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 19 06:09 README.md [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:09 VERSION [2022-06-19T06:10:16.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:09 bin [2022-06-19T06:10:16.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 cmd [2022-06-19T06:10:16.347Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 19 06:10 coverage.out [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 3313 Jun 19 06:09 go.mod [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 35836 Jun 19 06:09 go.sum [2022-06-19T06:10:16.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 internal [2022-06-19T06:10:16.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:09 mock [2022-06-19T06:10:16.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:09 snap [2022-06-19T06:10:16.347Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 19 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:16.653Z] + 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=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b --label arch=amd64 --label version=2.2.1-dev.3 . [2022-06-19T06:10:16.653Z] Sending build context to Docker daemon 5.997MB [2022-06-19T06:10:16.653Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:10:16.653Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-19T06:10:16.653Z] ---> 90fc664d865b [2022-06-19T06:10:16.653Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T06:10:16.653Z] ---> Running in 552df4277cd5 [2022-06-19T06:10:16.912Z] Removing intermediate container 552df4277cd5 [2022-06-19T06:10:16.912Z] ---> 518e4d82c447 [2022-06-19T06:10:16.912Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T06:10:16.912Z] ---> Running in 8d3c42db5774 [2022-06-19T06:10:16.912Z] Removing intermediate container 8d3c42db5774 [2022-06-19T06:10:16.912Z] ---> a04a8ed8b125 [2022-06-19T06:10:16.912Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:10:16.912Z] ---> Running in df18c1b2ca76 [2022-06-19T06:10:17.483Z] Removing intermediate container df18c1b2ca76 [2022-06-19T06:10:17.483Z] ---> 0550c5340607 [2022-06-19T06:10:17.483Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T06:10:17.483Z] ---> Running in c8e36a2f6d53 [2022-06-19T06:10:17.743Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:10:18.687Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:10:18.947Z] OK: 224 MiB in 56 packages [2022-06-19T06:10:19.206Z] Removing intermediate container c8e36a2f6d53 [2022-06-19T06:10:19.206Z] ---> feb80a32d04b [2022-06-19T06:10:19.206Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-19T06:10:19.464Z] ---> Running in 39fc9ad0a2ad [2022-06-19T06:10:19.464Z] Removing intermediate container 39fc9ad0a2ad [2022-06-19T06:10:19.464Z] ---> b22126100e44 [2022-06-19T06:10:19.464Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-19T06:10:19.464Z] ---> 71dbd74d3beb [2022-06-19T06:10:19.464Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:10:19.464Z] ---> Running in 5971c57028f4 [2022-06-19T06:10:20.405Z] Removing intermediate container 5971c57028f4 [2022-06-19T06:10:20.405Z] ---> a54c1931e38c [2022-06-19T06:10:20.405Z] Step 10/24 : COPY . . [2022-06-19T06:10:20.405Z] ---> 14da8b508132 [2022-06-19T06:10:20.405Z] Step 11/24 : ARG MAKE='make build' [2022-06-19T06:10:20.405Z] ---> Running in d8041506bb97 [2022-06-19T06:10:20.666Z] Removing intermediate container d8041506bb97 [2022-06-19T06:10:20.666Z] ---> 9b240ce6bafd [2022-06-19T06:10:20.666Z] Step 12/24 : RUN $MAKE [2022-06-19T06:10:20.666Z] ---> Running in d6b7d1eefe84 [2022-06-19T06:10:20.927Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-19T06:10:39.026Z] Removing intermediate container d6b7d1eefe84 [2022-06-19T06:10:39.026Z] ---> 56fe487381d6 [2022-06-19T06:10:39.026Z] Step 13/24 : FROM alpine:3.14 [2022-06-19T06:10:39.596Z] 3.14: Pulling from library/alpine [2022-06-19T06:10:39.596Z] 8663204ce13b: Pulling fs layer [2022-06-19T06:10:39.857Z] 8663204ce13b: Verifying Checksum [2022-06-19T06:10:39.857Z] 8663204ce13b: Download complete [2022-06-19T06:10:40.117Z] 8663204ce13b: Pull complete [2022-06-19T06:10:40.117Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-19T06:10:40.117Z] Status: Downloaded newer image for alpine:3.14 [2022-06-19T06:10:40.117Z] ---> e04c818066af [2022-06-19T06:10:40.117Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-19T06:10:40.117Z] ---> Running in 2974d136816f [2022-06-19T06:10:40.117Z] Removing intermediate container 2974d136816f [2022-06-19T06:10:40.117Z] ---> 37fc1f00ec38 [2022-06-19T06:10:40.117Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-19T06:10:40.117Z] ---> Running in 1c44e3b7bd1e [2022-06-19T06:10:40.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:10:40.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:10:40.640Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-19T06:10:40.640Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-19T06:10:40.640Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-19T06:10:40.640Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-19T06:10:40.640Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-19T06:10:40.640Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-19T06:10:40.640Z] Executing busybox-1.33.1-r7.trigger [2022-06-19T06:10:40.640Z] OK: 8 MiB in 20 packages [2022-06-19T06:10:41.208Z] Removing intermediate container 1c44e3b7bd1e [2022-06-19T06:10:41.208Z] ---> 0c23f8c08130 [2022-06-19T06:10:41.208Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-19T06:10:41.467Z] ---> 8ea16466a676 [2022-06-19T06:10:41.467Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-19T06:10:41.726Z] ---> 6e984336ea38 [2022-06-19T06:10:41.726Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-19T06:10:41.726Z] ---> 708b2e2184e4 [2022-06-19T06:10:41.726Z] Step 19/24 : EXPOSE 59982 [2022-06-19T06:10:41.985Z] ---> Running in 86761a866e1e [2022-06-19T06:10:41.985Z] Removing intermediate container 86761a866e1e [2022-06-19T06:10:41.985Z] ---> 176a33969ade [2022-06-19T06:10:41.985Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-19T06:10:41.985Z] ---> Running in 166811a9023a [2022-06-19T06:10:41.985Z] Removing intermediate container 166811a9023a [2022-06-19T06:10:41.985Z] ---> df37f25e4edd [2022-06-19T06:10:41.985Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-19T06:10:41.985Z] ---> Running in c9ce42d833d1 [2022-06-19T06:10:42.244Z] Removing intermediate container c9ce42d833d1 [2022-06-19T06:10:42.244Z] ---> f3b83ea5d86a [2022-06-19T06:10:42.244Z] Step 22/24 : LABEL arch=amd64 [2022-06-19T06:10:42.244Z] ---> Running in 352d0795fe4a [2022-06-19T06:10:42.244Z] Removing intermediate container 352d0795fe4a [2022-06-19T06:10:42.244Z] ---> 0d2449e57797 [2022-06-19T06:10:42.244Z] Step 23/24 : LABEL git_sha=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:10:42.244Z] ---> Running in 5313c010fc39 [2022-06-19T06:10:42.503Z] Removing intermediate container 5313c010fc39 [2022-06-19T06:10:42.504Z] ---> ef2e16c63939 [2022-06-19T06:10:42.504Z] Step 24/24 : LABEL version=2.2.1-dev.3 [2022-06-19T06:10:42.504Z] ---> Running in c80593aa0c7b [2022-06-19T06:10:42.504Z] Removing intermediate container c80593aa0c7b [2022-06-19T06:10:42.504Z] ---> 2d39e38ab7a6 [2022-06-19T06:10:42.504Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-19T06:10:42.504Z] Successfully built 2d39e38ab7a6 [2022-06-19T06:10:42.504Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:10:42.599Z] provisioning config files... [2022-06-19T06:10:42.608Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config206055468561146918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:10:42.904Z] ---> docker-login.sh [2022-06-19T06:10:42.904Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:10:42.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:42.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:42.904Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:42.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:42.904Z] [2022-06-19T06:10:42.904Z] Login Succeeded [2022-06-19T06:10:42.904Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:10:42.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:43.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:43.165Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:43.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:43.165Z] [2022-06-19T06:10:43.165Z] Login Succeeded [2022-06-19T06:10:43.165Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:10:43.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:43.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:43.165Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:43.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:43.165Z] [2022-06-19T06:10:43.165Z] Login Succeeded [2022-06-19T06:10:43.165Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:10:43.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:43.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:43.428Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:43.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:43.428Z] [2022-06-19T06:10:43.428Z] Login Succeeded [2022-06-19T06:10:43.428Z] docker.io [2022-06-19T06:10:43.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:43.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:43.689Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:43.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:43.689Z] [2022-06-19T06:10:43.689Z] Login Succeeded [2022-06-19T06:10:43.689Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:10:43.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:10:43.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:10:43.745Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-06-19T06:10:43.745Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:10:43.745Z] latest [2022-06-19T06:10:43.745Z] 2.2.1-dev.3 [2022-06-19T06:10:43.745Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [2022-06-19T06:10:43.745Z] main [2022-06-19T06:10:43.745Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:44.076Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:44.391Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:10:44.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-19T06:10:44.391Z] 71b0fb0d141d: Preparing [2022-06-19T06:10:44.391Z] fd7e913778b8: Preparing [2022-06-19T06:10:44.391Z] 4c35a97417a4: Preparing [2022-06-19T06:10:44.391Z] bbb1c1c7160a: Preparing [2022-06-19T06:10:44.391Z] b541d28bf3b4: Preparing [2022-06-19T06:10:44.391Z] b541d28bf3b4: Layer already exists [2022-06-19T06:10:44.391Z] fd7e913778b8: Pushed [2022-06-19T06:10:44.391Z] 71b0fb0d141d: Pushed [2022-06-19T06:10:44.655Z] bbb1c1c7160a: Pushed [2022-06-19T06:10:47.194Z] 4c35a97417a4: Pushed [2022-06-19T06:10:47.194Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:47.512Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:47.830Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-19T06:10:47.830Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-19T06:10:47.830Z] 71b0fb0d141d: Preparing [2022-06-19T06:10:47.830Z] fd7e913778b8: Preparing [2022-06-19T06:10:47.830Z] 4c35a97417a4: Preparing [2022-06-19T06:10:47.830Z] bbb1c1c7160a: Preparing [2022-06-19T06:10:47.830Z] b541d28bf3b4: Preparing [2022-06-19T06:10:47.830Z] bbb1c1c7160a: Layer already exists [2022-06-19T06:10:47.830Z] b541d28bf3b4: Layer already exists [2022-06-19T06:10:47.830Z] 4c35a97417a4: Layer already exists [2022-06-19T06:10:47.830Z] fd7e913778b8: Layer already exists [2022-06-19T06:10:47.830Z] 71b0fb0d141d: Layer already exists [2022-06-19T06:10:47.830Z] latest: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:48.136Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:48.443Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.3 [2022-06-19T06:10:48.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-19T06:10:48.443Z] 71b0fb0d141d: Preparing [2022-06-19T06:10:48.443Z] fd7e913778b8: Preparing [2022-06-19T06:10:48.443Z] 4c35a97417a4: Preparing [2022-06-19T06:10:48.443Z] bbb1c1c7160a: Preparing [2022-06-19T06:10:48.443Z] b541d28bf3b4: Preparing [2022-06-19T06:10:48.443Z] 4c35a97417a4: Layer already exists [2022-06-19T06:10:48.443Z] b541d28bf3b4: Layer already exists [2022-06-19T06:10:48.443Z] 71b0fb0d141d: Layer already exists [2022-06-19T06:10:48.443Z] fd7e913778b8: Layer already exists [2022-06-19T06:10:48.443Z] bbb1c1c7160a: Layer already exists [2022-06-19T06:10:48.443Z] 2.2.1-dev.3: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:48.753Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:49.054Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [2022-06-19T06:10:49.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-19T06:10:49.054Z] 71b0fb0d141d: Preparing [2022-06-19T06:10:49.054Z] fd7e913778b8: Preparing [2022-06-19T06:10:49.054Z] 4c35a97417a4: Preparing [2022-06-19T06:10:49.054Z] bbb1c1c7160a: Preparing [2022-06-19T06:10:49.054Z] b541d28bf3b4: Preparing [2022-06-19T06:10:49.054Z] 71b0fb0d141d: Layer already exists [2022-06-19T06:10:49.054Z] bbb1c1c7160a: Layer already exists [2022-06-19T06:10:49.054Z] b541d28bf3b4: Layer already exists [2022-06-19T06:10:49.054Z] 4c35a97417a4: Layer already exists [2022-06-19T06:10:49.054Z] fd7e913778b8: Layer already exists [2022-06-19T06:10:49.054Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:49.366Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:49.678Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-06-19T06:10:49.678Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-19T06:10:49.678Z] 71b0fb0d141d: Preparing [2022-06-19T06:10:49.678Z] fd7e913778b8: Preparing [2022-06-19T06:10:49.678Z] 4c35a97417a4: Preparing [2022-06-19T06:10:49.678Z] bbb1c1c7160a: Preparing [2022-06-19T06:10:49.678Z] b541d28bf3b4: Preparing [2022-06-19T06:10:49.678Z] b541d28bf3b4: Layer already exists [2022-06-19T06:10:49.678Z] fd7e913778b8: Layer already exists [2022-06-19T06:10:49.678Z] 71b0fb0d141d: Layer already exists [2022-06-19T06:10:49.678Z] 4c35a97417a4: Layer already exists [2022-06-19T06:10:49.678Z] bbb1c1c7160a: Layer already exists [2022-06-19T06:10:49.678Z] main: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:10:49.719Z] ===================================================== [Pipeline] echo [2022-06-19T06:10:49.724Z] taggedImages: [2022-06-19T06:10:49.724Z] - nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:10:49.724Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-19T06:10:49.724Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.3 [2022-06-19T06:10:49.724Z] - nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [2022-06-19T06:10:49.724Z] - 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 [2022-06-19T06:10:50.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:10:50.068Z] [2022-06-19T06:10:50.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:50.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:10:50.365Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-19T06:10:50.365Z] 5eb5b503b376: Pulling fs layer [2022-06-19T06:10:50.365Z] 5c69ac0246d0: Pulling fs layer [2022-06-19T06:10:50.365Z] ec43610c2a17: Pulling fs layer [2022-06-19T06:10:50.365Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-19T06:10:50.365Z] 33b1e0a273af: Pulling fs layer [2022-06-19T06:10:50.365Z] 5d3b04190fa2: Pulling fs layer [2022-06-19T06:10:50.365Z] 2f39f015ded8: Pulling fs layer [2022-06-19T06:10:50.365Z] 3a2ae6a8a46f: Waiting [2022-06-19T06:10:50.365Z] 5d3b04190fa2: Waiting [2022-06-19T06:10:50.365Z] 33b1e0a273af: Waiting [2022-06-19T06:10:50.365Z] 5c69ac0246d0: Verifying Checksum [2022-06-19T06:10:50.365Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-19T06:10:50.365Z] 3a2ae6a8a46f: Download complete [2022-06-19T06:10:50.365Z] 33b1e0a273af: Verifying Checksum [2022-06-19T06:10:50.365Z] 33b1e0a273af: Download complete [2022-06-19T06:10:50.365Z] 5d3b04190fa2: Verifying Checksum [2022-06-19T06:10:50.365Z] 5d3b04190fa2: Download complete [2022-06-19T06:10:50.625Z] ec43610c2a17: Verifying Checksum [2022-06-19T06:10:50.625Z] ec43610c2a17: Download complete [2022-06-19T06:10:50.625Z] 5eb5b503b376: Verifying Checksum [2022-06-19T06:10:50.625Z] 5eb5b503b376: Download complete [2022-06-19T06:10:51.190Z] 2f39f015ded8: Download complete [2022-06-19T06:10:51.757Z] 5eb5b503b376: Pull complete [2022-06-19T06:10:52.016Z] 5c69ac0246d0: Pull complete [2022-06-19T06:10:52.275Z] ec43610c2a17: Pull complete [2022-06-19T06:10:52.534Z] 3a2ae6a8a46f: Pull complete [2022-06-19T06:10:52.534Z] 33b1e0a273af: Pull complete [2022-06-19T06:10:52.794Z] 5d3b04190fa2: Pull complete [2022-06-19T06:10:56.998Z] 2f39f015ded8: Pull complete [2022-06-19T06:10:56.998Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-19T06:10:56.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:10:56.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:10:57.097Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:10:57.138Z] $ 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 [2022-06-19T06:10:58.561Z] $ docker top 2ec5351d254503d8e960f4e7fa99eabaf61602019688ead0ef6cc2b436cf4ebc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:10:58.995Z] ---> job-cost.sh [2022-06-19T06:10:58.995Z] lf-activate-venv: SKIPPING [2022-06-19T06:10:58.995Z] INFO: No Stack... [2022-06-19T06:10:59.572Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-19T06:10:59.832Z] INFO: Archiving Costs [Pipeline] sh [2022-06-19T06:11:00.124Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-06-19T06:11:00.124Z] + cut -d, -f6 [Pipeline] lock [2022-06-19T06:11:00.138Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [2022-06-19T06:11:00.144Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] did not exist. Created. [2022-06-19T06:11:00.144Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-19T06:11:00.460Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-19T06:11:00.496Z] Stashed 1 file(s) [Pipeline] } [2022-06-19T06:11:00.502Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-19T06:11:00.527Z] $ docker stop --time=1 2ec5351d254503d8e960f4e7fa99eabaf61602019688ead0ef6cc2b436cf4ebc [2022-06-19T06:11:01.698Z] $ docker rm -f 2ec5351d254503d8e960f4e7fa99eabaf61602019688ead0ef6cc2b436cf4ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-19T06:11:55.408Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2678 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-06-19T06:11:55.417Z] Running in /w/workspace/device-mqtt-go/50 [Pipeline] { [Pipeline] checkout [2022-06-19T06:11:55.451Z] Selected Git installation does not exist. Using Default [2022-06-19T06:11:55.451Z] The recommended git tool is: NONE [2022-06-19T06:12:02.664Z] using credential edgex-jenkins-ssh [2022-06-19T06:12:02.683Z] Cloning the remote Git repository [2022-06-19T06:12:02.747Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-19T06:12:02.884Z] > git init /w/workspace/device-mqtt-go/50 # timeout=10 [2022-06-19T06:12:02.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-19T06:12:02.978Z] > git --version # timeout=10 [2022-06-19T06:12:03.024Z] > git --version # 'git version 2.25.1' [2022-06-19T06:12:03.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-19T06:12:03.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-19T06:12:04.108Z] Avoid second fetch [2022-06-19T06:12:04.109Z] Checking out Revision 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b (main) [2022-06-19T06:12:04.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-19T06:12:04.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-19T06:12:04.134Z] > git config core.sparsecheckout # timeout=10 [2022-06-19T06:12:04.150Z] > git checkout -f 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b # timeout=10 [2022-06-19T06:12:08.377Z] Commit message: "Merge pull request #391 from weichou1229/issue-390" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T06:12:09.201Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-19T06:12:09.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-19T06:12:09.201Z] Dload Upload Total Spent Left Speed [2022-06-19T06:12:09.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 217k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2022-06-19T06:12:09.985Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-19T06:12:10.336Z] + sudo tee /etc/docker/daemon.new [2022-06-19T06:12:10.336Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-19T06:12:10.336Z] { [2022-06-19T06:12:10.336Z] "registry-mirrors": [ [2022-06-19T06:12:10.336Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-19T06:12:10.336Z] ], [2022-06-19T06:12:10.336Z] "bip": "10.250.0.254/24", [2022-06-19T06:12:10.336Z] "hosts": [ [2022-06-19T06:12:10.336Z] "tcp://0.0.0.0:5555", [2022-06-19T06:12:10.336Z] "unix:///var/run/docker.sock" [2022-06-19T06:12:10.336Z] ], [2022-06-19T06:12:10.336Z] "mtu": 1458, [2022-06-19T06:12:10.336Z] "selinux-enabled": true, [2022-06-19T06:12:10.336Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-19T06:12:10.336Z] } [Pipeline] sh [2022-06-19T06:12:10.691Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-19T06:12:11.034Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:12:29.378Z] provisioning config files... [2022-06-19T06:12:29.402Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config7044969628203105037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:12:29.974Z] ---> docker-login.sh [2022-06-19T06:12:29.974Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:12:30.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:12:30.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:12:30.857Z] Configure a credential helper to remove this warning. See [2022-06-19T06:12:30.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:12:30.857Z] [2022-06-19T06:12:30.857Z] Login Succeeded [2022-06-19T06:12:31.132Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:12:31.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:12:31.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:12:31.407Z] Configure a credential helper to remove this warning. See [2022-06-19T06:12:31.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:12:31.407Z] [2022-06-19T06:12:31.407Z] Login Succeeded [2022-06-19T06:12:31.407Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:12:32.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:12:32.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:12:32.010Z] Configure a credential helper to remove this warning. See [2022-06-19T06:12:32.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:12:32.010Z] [2022-06-19T06:12:32.010Z] Login Succeeded [2022-06-19T06:12:32.010Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:12:32.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:12:32.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:12:32.606Z] Configure a credential helper to remove this warning. See [2022-06-19T06:12:32.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:12:32.606Z] [2022-06-19T06:12:32.606Z] Login Succeeded [2022-06-19T06:12:32.606Z] docker.io [2022-06-19T06:12:32.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:12:33.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:12:33.479Z] Configure a credential helper to remove this warning. See [2022-06-19T06:12:33.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:12:33.479Z] [2022-06-19T06:12:33.479Z] Login Succeeded [2022-06-19T06:12:33.479Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:12:33.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-19T06:12:33.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:12:33.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:12:33.834Z] ========================================================= [2022-06-19T06:12:33.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-19T06:12:33.834Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:12:34.201Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-19T06:12:34.479Z] Sending build context to Docker daemon 3.087MB [2022-06-19T06:12:34.479Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:12:34.479Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-19T06:12:34.754Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-19T06:12:34.754Z] 9b3977197b4f: Pulling fs layer [2022-06-19T06:12:34.754Z] 1a89e8eeedd5: Pulling fs layer [2022-06-19T06:12:34.754Z] 94645a83ff95: Pulling fs layer [2022-06-19T06:12:34.754Z] e6fb740bc735: Pulling fs layer [2022-06-19T06:12:34.754Z] 3a77bd46dcc9: Pulling fs layer [2022-06-19T06:12:34.754Z] 355e64cbe906: Pulling fs layer [2022-06-19T06:12:34.754Z] 63ab81a10011: Pulling fs layer [2022-06-19T06:12:34.754Z] 555d1d1c4555: Pulling fs layer [2022-06-19T06:12:34.754Z] 7d9057610161: Pulling fs layer [2022-06-19T06:12:34.754Z] e6fb740bc735: Waiting [2022-06-19T06:12:34.754Z] 63ab81a10011: Waiting [2022-06-19T06:12:34.754Z] 555d1d1c4555: Waiting [2022-06-19T06:12:34.754Z] 7d9057610161: Waiting [2022-06-19T06:12:34.754Z] 3a77bd46dcc9: Waiting [2022-06-19T06:12:34.754Z] 355e64cbe906: Waiting [2022-06-19T06:12:34.754Z] 94645a83ff95: Verifying Checksum [2022-06-19T06:12:34.754Z] 94645a83ff95: Download complete [2022-06-19T06:12:34.754Z] 1a89e8eeedd5: Verifying Checksum [2022-06-19T06:12:34.754Z] 1a89e8eeedd5: Download complete [2022-06-19T06:12:34.754Z] 3a77bd46dcc9: Verifying Checksum [2022-06-19T06:12:34.754Z] 3a77bd46dcc9: Download complete [2022-06-19T06:12:34.754Z] 355e64cbe906: Verifying Checksum [2022-06-19T06:12:34.754Z] 355e64cbe906: Download complete [2022-06-19T06:12:34.754Z] 9b3977197b4f: Download complete [2022-06-19T06:12:35.032Z] 63ab81a10011: Verifying Checksum [2022-06-19T06:12:35.032Z] 63ab81a10011: Download complete [2022-06-19T06:12:36.017Z] 9b3977197b4f: Pull complete [2022-06-19T06:12:36.017Z] 7d9057610161: Verifying Checksum [2022-06-19T06:12:36.017Z] 7d9057610161: Download complete [2022-06-19T06:12:36.296Z] 1a89e8eeedd5: Pull complete [2022-06-19T06:12:36.906Z] 94645a83ff95: Pull complete [2022-06-19T06:12:37.180Z] 555d1d1c4555: Verifying Checksum [2022-06-19T06:12:37.180Z] 555d1d1c4555: Download complete [2022-06-19T06:12:37.780Z] e6fb740bc735: Verifying Checksum [2022-06-19T06:12:37.780Z] e6fb740bc735: Download complete [2022-06-19T06:12:50.206Z] e6fb740bc735: Pull complete [2022-06-19T06:12:50.206Z] 3a77bd46dcc9: Pull complete [2022-06-19T06:12:50.206Z] 355e64cbe906: Pull complete [2022-06-19T06:12:50.206Z] 63ab81a10011: Pull complete [2022-06-19T06:12:56.934Z] 555d1d1c4555: Pull complete [2022-06-19T06:12:58.379Z] 7d9057610161: Pull complete [2022-06-19T06:12:58.379Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-19T06:12:58.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-19T06:12:58.379Z] ---> 819e984ddca1 [2022-06-19T06:12:58.379Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T06:12:59.841Z] ---> Running in a7f114fc6fd7 [2022-06-19T06:13:00.118Z] Removing intermediate container a7f114fc6fd7 [2022-06-19T06:13:00.118Z] ---> e4e0162f82b5 [2022-06-19T06:13:00.118Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T06:13:00.118Z] ---> Running in 6b7f80cb0a73 [2022-06-19T06:13:00.394Z] Removing intermediate container 6b7f80cb0a73 [2022-06-19T06:13:00.394Z] ---> 1a538ec9ddf3 [2022-06-19T06:13:00.394Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:13:00.394Z] ---> Running in 99cbfa157f0a [2022-06-19T06:13:02.384Z] Removing intermediate container 99cbfa157f0a [2022-06-19T06:13:02.384Z] ---> 7d7cbd796538 [2022-06-19T06:13:02.384Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T06:13:02.384Z] ---> Running in 9d45a88ea8af [2022-06-19T06:13:03.845Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-19T06:13:04.563Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-19T06:13:05.549Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-19T06:13:05.549Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-19T06:13:05.549Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-19T06:13:05.829Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-19T06:13:05.829Z] Executing busybox-1.34.1-r3.trigger [2022-06-19T06:13:06.103Z] OK: 224 MiB in 56 packages [2022-06-19T06:13:07.110Z] Removing intermediate container 9d45a88ea8af [2022-06-19T06:13:07.110Z] ---> a623f25f46cd [2022-06-19T06:13:07.110Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-19T06:13:07.110Z] ---> Running in e0ad05da050a [2022-06-19T06:13:07.389Z] Removing intermediate container e0ad05da050a [2022-06-19T06:13:07.389Z] ---> d05c27ebe102 [2022-06-19T06:13:07.389Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-19T06:13:07.995Z] ---> 62de00956330 [2022-06-19T06:13:07.995Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:13:07.995Z] ---> Running in a0dca4ef3d32 [2022-06-19T06:14:04.567Z] Removing intermediate container a0dca4ef3d32 [2022-06-19T06:14:04.567Z] ---> 2ff527827a53 [2022-06-19T06:14:04.567Z] Step 10/12 : COPY . . [2022-06-19T06:14:04.567Z] ---> 097b92f3940b [2022-06-19T06:14:04.567Z] Step 11/12 : ARG MAKE='make build' [2022-06-19T06:14:04.567Z] ---> Running in c3921f6f395e [2022-06-19T06:14:04.567Z] Removing intermediate container c3921f6f395e [2022-06-19T06:14:04.567Z] ---> a79b1e062b24 [2022-06-19T06:14:04.567Z] Step 12/12 : RUN $MAKE [2022-06-19T06:14:04.567Z] ---> Running in 04f8a2985d17 [2022-06-19T06:14:04.567Z] noop [2022-06-19T06:14:04.567Z] Removing intermediate container 04f8a2985d17 [2022-06-19T06:14:04.567Z] ---> 5c36fa2fe10e [2022-06-19T06:14:04.567Z] Successfully built 5c36fa2fe10e [2022-06-19T06:14:04.567Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:14:04.938Z] + docker inspect -f . ci-base-image-arm64 [2022-06-19T06:14:04.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:14:05.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container [2022-06-19T06:14:05.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/50 -v /w/workspace/device-mqtt-go/50:/w/workspace/device-mqtt-go/50:rw,z -v /w/workspace/device-mqtt-go/50@tmp:/w/workspace/device-mqtt-go/50@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 [2022-06-19T06:14:06.713Z] $ docker top 5ec719d69a4f80f8ff6f2eb8455a5c1aa669919d1b9c77b513771e38c6ace59e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T06:14:07.630Z] + go version [2022-06-19T06:14:07.630Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-19T06:14:07.666Z] $ docker stop --time=1 5ec719d69a4f80f8ff6f2eb8455a5c1aa669919d1b9c77b513771e38c6ace59e [2022-06-19T06:14:09.339Z] $ docker rm -f 5ec719d69a4f80f8ff6f2eb8455a5c1aa669919d1b9c77b513771e38c6ace59e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:14:09.963Z] + docker inspect -f . ci-base-image-arm64 [2022-06-19T06:14:09.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:14:10.222Z] prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container [2022-06-19T06:14:10.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/50 -v /w/workspace/device-mqtt-go/50:/w/workspace/device-mqtt-go/50:rw,z -v /w/workspace/device-mqtt-go/50@tmp:/w/workspace/device-mqtt-go/50@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 [2022-06-19T06:14:11.608Z] $ docker top 8fc20483b00f5532fe0fe6df866246b2e3e75f87adcd2207c9d87ac12f259727 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-19T06:14:12.515Z] + make test [2022-06-19T06:14:12.515Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-19T06:14:13.960Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-19T06:15:35.801Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-19T06:15:35.801Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements [2022-06-19T06:15:35.801Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-19T06:15:35.801Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-19T06:15:35.801Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-19T06:16:02.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-19T06:16:02.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-19T06:16:02.619Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-19T06:16:03.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-19T06:16:03.262Z] $ docker stop --time=1 8fc20483b00f5532fe0fe6df866246b2e3e75f87adcd2207c9d87ac12f259727 [2022-06-19T06:16:05.051Z] $ docker rm -f 8fc20483b00f5532fe0fe6df866246b2e3e75f87adcd2207c9d87ac12f259727 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:16:06.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-19T06:16:06.028Z] Warning: overwriting stash ‘coverage-report’ [2022-06-19T06:16:06.481Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T06:16:06.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-19T06:16:07.216Z] + ls -al . [2022-06-19T06:16:07.216Z] total 176 [2022-06-19T06:16:07.216Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 06:16 . [2022-06-19T06:16:07.217Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:12 .. [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 06:12 .dockerignore [2022-06-19T06:16:07.217Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:12 .git [2022-06-19T06:16:07.217Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:12 .github [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 19 06:12 .gitignore [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:12 .golangci.yml [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 19 06:12 Attribution.txt [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 19 06:12 CHANGELOG.md [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:12 Dockerfile [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:12 GOVERNANCE.md [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 19 06:12 Jenkinsfile [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:12 LICENSE [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:12 Makefile [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 06:12 OWNERS.md [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 19 06:12 README.md [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:09 VERSION [2022-06-19T06:16:07.217Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:12 bin [2022-06-19T06:16:07.217Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:12 cmd [2022-06-19T06:16:07.217Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 19 06:15 coverage.out [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 3313 Jun 19 06:12 go.mod [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 35836 Jun 19 06:12 go.sum [2022-06-19T06:16:07.217Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:12 internal [2022-06-19T06:16:07.217Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:12 mock [2022-06-19T06:16:07.217Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:12 snap [2022-06-19T06:16:07.217Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 19 06:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:07.579Z] + 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=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b --label arch=arm64 --label version=2.2.1-dev.3 . [2022-06-19T06:16:07.857Z] Sending build context to Docker daemon 3.105MB [2022-06-19T06:16:07.857Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:16:07.857Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-19T06:16:07.857Z] ---> 5c36fa2fe10e [2022-06-19T06:16:07.857Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T06:16:08.129Z] ---> Running in 8660fc2c5168 [2022-06-19T06:16:08.402Z] Removing intermediate container 8660fc2c5168 [2022-06-19T06:16:08.402Z] ---> 7801e305a23d [2022-06-19T06:16:08.402Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T06:16:08.402Z] ---> Running in abff50c8517a [2022-06-19T06:16:08.675Z] Removing intermediate container abff50c8517a [2022-06-19T06:16:08.675Z] ---> fe7f58d8e18c [2022-06-19T06:16:08.675Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:16:08.675Z] ---> Running in 6eb2b5a06f0b [2022-06-19T06:16:10.656Z] Removing intermediate container 6eb2b5a06f0b [2022-06-19T06:16:10.656Z] ---> d4b6a215840d [2022-06-19T06:16:10.656Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T06:16:10.656Z] ---> Running in f8342daf1b8b [2022-06-19T06:16:11.646Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-19T06:16:12.616Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-19T06:16:13.598Z] OK: 224 MiB in 56 packages [2022-06-19T06:16:14.195Z] Removing intermediate container f8342daf1b8b [2022-06-19T06:16:14.195Z] ---> c28e9a4a9678 [2022-06-19T06:16:14.195Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-19T06:16:14.195Z] ---> Running in c14e55f0c95b [2022-06-19T06:16:14.468Z] Removing intermediate container c14e55f0c95b [2022-06-19T06:16:14.468Z] ---> b4ca6495993a [2022-06-19T06:16:14.468Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-19T06:16:15.074Z] ---> 2f20c8de6a68 [2022-06-19T06:16:15.074Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:16:15.351Z] ---> Running in f28172fbc0b2 [2022-06-19T06:16:17.328Z] Removing intermediate container f28172fbc0b2 [2022-06-19T06:16:17.328Z] ---> 29a0c6f2e7eb [2022-06-19T06:16:17.328Z] Step 10/24 : COPY . . [2022-06-19T06:16:17.923Z] ---> 268f3086b04f [2022-06-19T06:16:17.923Z] Step 11/24 : ARG MAKE='make build' [2022-06-19T06:16:18.198Z] ---> Running in 33feedd58393 [2022-06-19T06:16:18.474Z] Removing intermediate container 33feedd58393 [2022-06-19T06:16:18.474Z] ---> 130dd76b370c [2022-06-19T06:16:18.474Z] Step 12/24 : RUN $MAKE [2022-06-19T06:16:18.474Z] ---> Running in cae4224e36a0 [2022-06-19T06:16:19.455Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-19T06:18:26.380Z] Removing intermediate container cae4224e36a0 [2022-06-19T06:18:26.380Z] ---> 88754f8a5be6 [2022-06-19T06:18:26.380Z] Step 13/24 : FROM alpine:3.14 [2022-06-19T06:18:26.380Z] 3.14: Pulling from library/alpine [2022-06-19T06:18:26.380Z] 455c02918c45: Pulling fs layer [2022-06-19T06:18:26.380Z] 455c02918c45: Verifying Checksum [2022-06-19T06:18:26.380Z] 455c02918c45: Download complete [2022-06-19T06:18:26.380Z] 455c02918c45: Pull complete [2022-06-19T06:18:26.380Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-19T06:18:26.380Z] Status: Downloaded newer image for alpine:3.14 [2022-06-19T06:18:26.380Z] ---> ac73e934f311 [2022-06-19T06:18:26.380Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-19T06:18:26.380Z] ---> Running in 5e134abb58f8 [2022-06-19T06:18:26.380Z] Removing intermediate container 5e134abb58f8 [2022-06-19T06:18:26.380Z] ---> 05df6a7f7a09 [2022-06-19T06:18:26.380Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-19T06:18:26.380Z] ---> Running in 37b7db6e9afd [2022-06-19T06:18:26.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-19T06:18:26.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-19T06:18:26.380Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-19T06:18:26.380Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-19T06:18:26.380Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-19T06:18:26.380Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-19T06:18:26.380Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-19T06:18:26.380Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-19T06:18:26.380Z] Executing busybox-1.33.1-r7.trigger [2022-06-19T06:18:26.380Z] OK: 8 MiB in 20 packages [2022-06-19T06:18:26.380Z] Removing intermediate container 37b7db6e9afd [2022-06-19T06:18:26.380Z] ---> 761313b74298 [2022-06-19T06:18:26.380Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-19T06:18:26.380Z] ---> a4eca7aa341d [2022-06-19T06:18:26.380Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-19T06:18:26.380Z] ---> b83977dfa826 [2022-06-19T06:18:26.381Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-19T06:18:26.381Z] ---> 305334ae8afb [2022-06-19T06:18:26.381Z] Step 19/24 : EXPOSE 59982 [2022-06-19T06:18:26.381Z] ---> Running in 02fe3db4dff0 [2022-06-19T06:18:26.381Z] Removing intermediate container 02fe3db4dff0 [2022-06-19T06:18:26.381Z] ---> 2a500d343f0a [2022-06-19T06:18:26.381Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-19T06:18:26.381Z] ---> Running in 27ee1a6d4e1f [2022-06-19T06:18:26.381Z] Removing intermediate container 27ee1a6d4e1f [2022-06-19T06:18:26.381Z] ---> e30f5b97e74d [2022-06-19T06:18:26.381Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-19T06:18:26.381Z] ---> Running in 786fcda7797e [2022-06-19T06:18:26.381Z] Removing intermediate container 786fcda7797e [2022-06-19T06:18:26.381Z] ---> ed3862bef032 [2022-06-19T06:18:26.381Z] Step 22/24 : LABEL arch=arm64 [2022-06-19T06:18:26.381Z] ---> Running in 02d397766df5 [2022-06-19T06:18:26.381Z] Removing intermediate container 02d397766df5 [2022-06-19T06:18:26.381Z] ---> 6e52fb3e8da8 [2022-06-19T06:18:26.381Z] Step 23/24 : LABEL git_sha=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:18:26.381Z] ---> Running in f9d404ecf6df [2022-06-19T06:18:26.381Z] Removing intermediate container f9d404ecf6df [2022-06-19T06:18:26.381Z] ---> 282bf13f8d77 [2022-06-19T06:18:26.381Z] Step 24/24 : LABEL version=2.2.1-dev.3 [2022-06-19T06:18:26.381Z] ---> Running in 85a02831c703 [2022-06-19T06:18:26.982Z] Removing intermediate container 85a02831c703 [2022-06-19T06:18:26.982Z] ---> d4fbeab35e45 [2022-06-19T06:18:26.982Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-19T06:18:26.982Z] Successfully built d4fbeab35e45 [2022-06-19T06:18:26.982Z] 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 [2022-06-19T06:18:27.100Z] provisioning config files... [2022-06-19T06:18:27.118Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config4414029089043415441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:18:27.470Z] ---> docker-login.sh [2022-06-19T06:18:27.470Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:18:27.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:18:27.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:18:27.745Z] Configure a credential helper to remove this warning. See [2022-06-19T06:18:27.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:18:27.745Z] [2022-06-19T06:18:27.745Z] Login Succeeded [2022-06-19T06:18:27.745Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:18:28.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:18:28.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:18:28.342Z] Configure a credential helper to remove this warning. See [2022-06-19T06:18:28.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:18:28.342Z] [2022-06-19T06:18:28.342Z] Login Succeeded [2022-06-19T06:18:28.342Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:18:28.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:18:28.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:18:28.891Z] Configure a credential helper to remove this warning. See [2022-06-19T06:18:28.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:18:28.891Z] [2022-06-19T06:18:28.891Z] Login Succeeded [2022-06-19T06:18:28.891Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:18:29.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:18:29.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:18:29.439Z] Configure a credential helper to remove this warning. See [2022-06-19T06:18:29.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:18:29.439Z] [2022-06-19T06:18:29.439Z] Login Succeeded [2022-06-19T06:18:29.439Z] docker.io [2022-06-19T06:18:29.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:18:29.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:18:29.988Z] Configure a credential helper to remove this warning. See [2022-06-19T06:18:29.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:18:29.988Z] [2022-06-19T06:18:29.988Z] Login Succeeded [2022-06-19T06:18:29.988Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:18:30.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:18:30.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:18:30.061Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-06-19T06:18:30.061Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:18:30.061Z] latest [2022-06-19T06:18:30.061Z] 2.2.1-dev.3 [2022-06-19T06:18:30.061Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [2022-06-19T06:18:30.061Z] main [2022-06-19T06:18:30.061Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:30.409Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:30.775Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:18:30.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-19T06:18:30.775Z] 0eaa327a79ba: Preparing [2022-06-19T06:18:30.775Z] 824e84662bab: Preparing [2022-06-19T06:18:30.775Z] 77eddbcf9689: Preparing [2022-06-19T06:18:30.775Z] 91531ab507b0: Preparing [2022-06-19T06:18:30.775Z] f73e7dbfee58: Preparing [2022-06-19T06:18:30.775Z] f73e7dbfee58: Layer already exists [2022-06-19T06:18:31.054Z] 824e84662bab: Pushed [2022-06-19T06:18:31.054Z] 0eaa327a79ba: Pushed [2022-06-19T06:18:31.654Z] 91531ab507b0: Pushed [2022-06-19T06:18:37.053Z] 77eddbcf9689: Pushed [2022-06-19T06:18:37.327Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:37.703Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:38.066Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-19T06:18:38.066Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-19T06:18:38.066Z] 0eaa327a79ba: Preparing [2022-06-19T06:18:38.066Z] 824e84662bab: Preparing [2022-06-19T06:18:38.066Z] 77eddbcf9689: Preparing [2022-06-19T06:18:38.066Z] 91531ab507b0: Preparing [2022-06-19T06:18:38.066Z] f73e7dbfee58: Preparing [2022-06-19T06:18:38.066Z] f73e7dbfee58: Layer already exists [2022-06-19T06:18:38.066Z] 0eaa327a79ba: Layer already exists [2022-06-19T06:18:38.066Z] 91531ab507b0: Layer already exists [2022-06-19T06:18:38.066Z] 77eddbcf9689: Layer already exists [2022-06-19T06:18:38.066Z] 824e84662bab: Layer already exists [2022-06-19T06:18:38.337Z] latest: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:38.713Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:39.076Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.3 [2022-06-19T06:18:39.076Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-19T06:18:39.076Z] 0eaa327a79ba: Preparing [2022-06-19T06:18:39.076Z] 824e84662bab: Preparing [2022-06-19T06:18:39.076Z] 77eddbcf9689: Preparing [2022-06-19T06:18:39.076Z] 91531ab507b0: Preparing [2022-06-19T06:18:39.076Z] f73e7dbfee58: Preparing [2022-06-19T06:18:39.076Z] 824e84662bab: Layer already exists [2022-06-19T06:18:39.076Z] f73e7dbfee58: Layer already exists [2022-06-19T06:18:39.076Z] 77eddbcf9689: Layer already exists [2022-06-19T06:18:39.076Z] 0eaa327a79ba: Layer already exists [2022-06-19T06:18:39.076Z] 91531ab507b0: Layer already exists [2022-06-19T06:18:39.348Z] 2.2.1-dev.3: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:39.715Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:40.074Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [2022-06-19T06:18:40.074Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-19T06:18:40.074Z] 0eaa327a79ba: Preparing [2022-06-19T06:18:40.074Z] 824e84662bab: Preparing [2022-06-19T06:18:40.074Z] 77eddbcf9689: Preparing [2022-06-19T06:18:40.074Z] 91531ab507b0: Preparing [2022-06-19T06:18:40.074Z] f73e7dbfee58: Preparing [2022-06-19T06:18:40.074Z] 77eddbcf9689: Layer already exists [2022-06-19T06:18:40.074Z] 0eaa327a79ba: Layer already exists [2022-06-19T06:18:40.074Z] f73e7dbfee58: Layer already exists [2022-06-19T06:18:40.074Z] 91531ab507b0: Layer already exists [2022-06-19T06:18:40.074Z] 824e84662bab: Layer already exists [2022-06-19T06:18:40.347Z] 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:40.716Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:41.090Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-06-19T06:18:41.090Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-19T06:18:41.090Z] 0eaa327a79ba: Preparing [2022-06-19T06:18:41.090Z] 824e84662bab: Preparing [2022-06-19T06:18:41.090Z] 77eddbcf9689: Preparing [2022-06-19T06:18:41.090Z] 91531ab507b0: Preparing [2022-06-19T06:18:41.090Z] f73e7dbfee58: Preparing [2022-06-19T06:18:41.090Z] f73e7dbfee58: Layer already exists [2022-06-19T06:18:41.090Z] 824e84662bab: Layer already exists [2022-06-19T06:18:41.090Z] 77eddbcf9689: Layer already exists [2022-06-19T06:18:41.090Z] 91531ab507b0: Layer already exists [2022-06-19T06:18:41.090Z] 0eaa327a79ba: Layer already exists [2022-06-19T06:18:41.362Z] main: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:18:41.428Z] ===================================================== [Pipeline] echo [2022-06-19T06:18:41.437Z] taggedImages: [2022-06-19T06:18:41.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [2022-06-19T06:18:41.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-19T06:18:41.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.3 [2022-06-19T06:18:41.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 [2022-06-19T06:18:41.437Z] - 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 [2022-06-19T06:18:41.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T06:18:41.806Z] [2022-06-19T06:18:41.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:18:42.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T06:18:42.149Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-19T06:18:42.149Z] 8998bd30e6a1: Pulling fs layer [2022-06-19T06:18:42.149Z] 04944245beec: Pulling fs layer [2022-06-19T06:18:42.149Z] 699f458cf7ca: Pulling fs layer [2022-06-19T06:18:42.150Z] 765212b225bb: Pulling fs layer [2022-06-19T06:18:42.150Z] f23df028b6ca: Pulling fs layer [2022-06-19T06:18:42.150Z] d65c8cfc05b1: Pulling fs layer [2022-06-19T06:18:42.150Z] 2437ff75d9bd: Pulling fs layer [2022-06-19T06:18:42.150Z] f23df028b6ca: Waiting [2022-06-19T06:18:42.150Z] 765212b225bb: Waiting [2022-06-19T06:18:42.150Z] d65c8cfc05b1: Waiting [2022-06-19T06:18:42.424Z] 04944245beec: Verifying Checksum [2022-06-19T06:18:42.424Z] 04944245beec: Download complete [2022-06-19T06:18:42.424Z] 765212b225bb: Verifying Checksum [2022-06-19T06:18:42.424Z] 765212b225bb: Download complete [2022-06-19T06:18:42.424Z] f23df028b6ca: Verifying Checksum [2022-06-19T06:18:42.424Z] f23df028b6ca: Download complete [2022-06-19T06:18:42.424Z] d65c8cfc05b1: Verifying Checksum [2022-06-19T06:18:42.424Z] d65c8cfc05b1: Download complete [2022-06-19T06:18:42.424Z] 699f458cf7ca: Verifying Checksum [2022-06-19T06:18:42.424Z] 699f458cf7ca: Download complete [2022-06-19T06:18:43.022Z] 8998bd30e6a1: Verifying Checksum [2022-06-19T06:18:43.022Z] 8998bd30e6a1: Download complete [2022-06-19T06:18:44.998Z] 2437ff75d9bd: Download complete [2022-06-19T06:18:46.972Z] 8998bd30e6a1: Pull complete [2022-06-19T06:18:47.579Z] 04944245beec: Pull complete [2022-06-19T06:18:49.015Z] 699f458cf7ca: Pull complete [2022-06-19T06:18:49.290Z] 765212b225bb: Pull complete [2022-06-19T06:18:49.892Z] f23df028b6ca: Pull complete [2022-06-19T06:18:50.169Z] d65c8cfc05b1: Pull complete [2022-06-19T06:19:05.262Z] 2437ff75d9bd: Pull complete [2022-06-19T06:19:05.262Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-19T06:19:05.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T06:19:05.262Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:19:05.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container [2022-06-19T06:19:05.606Z] $ 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/50 -v /w/workspace/device-mqtt-go/50:/w/workspace/device-mqtt-go/50:rw,z -v /w/workspace/device-mqtt-go/50@tmp:/w/workspace/device-mqtt-go/50@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 [2022-06-19T06:19:08.053Z] $ docker top e6c471ce7d42345fdf509f9e3ca03758c27666318b13381c9bf05c7ed02a22f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:19:08.985Z] ---> job-cost.sh [2022-06-19T06:19:08.985Z] lf-activate-venv: SKIPPING [2022-06-19T06:19:08.985Z] INFO: No Stack... [2022-06-19T06:19:09.257Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-19T06:19:10.234Z] INFO: Archiving Costs [Pipeline] sh [2022-06-19T06:19:10.900Z] + cat /w/workspace/device-mqtt-go/50/archives/cost.csv [2022-06-19T06:19:10.900Z] + cut -d, -f6 [Pipeline] lock [2022-06-19T06:19:10.962Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [2022-06-19T06:19:10.967Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] did not exist. Created. [2022-06-19T06:19:10.967Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-19T06:19:11.646Z] /w/workspace/device-mqtt-go/50@tmp/durable-c79aac4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-19T06:19:12.344Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-19T06:19:12.364Z] Warning: overwriting stash ‘stack-cost’ [2022-06-19T06:19:12.411Z] Stashed 1 file(s) [Pipeline] } [2022-06-19T06:19:12.420Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-19T06:19:12.452Z] $ docker stop --time=1 e6c471ce7d42345fdf509f9e3ca03758c27666318b13381c9bf05c7ed02a22f7 [2022-06-19T06:19:13.962Z] $ docker rm -f e6c471ce7d42345fdf509f9e3ca03758c27666318b13381c9bf05c7ed02a22f7 [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 [2022-06-19T06:19:14.404Z] provisioning config files... [2022-06-19T06:19:14.412Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2538765213244189144tmp [Pipeline] { [Pipeline] sh [2022-06-19T06:19:14.702Z] + set +x [2022-06-19T06:19:14.702Z] + curl -s https://codecov.io/bash [2022-06-19T06:19:14.702Z] + bash -s -- [2022-06-19T06:19:14.702Z] [2022-06-19T06:19:14.702Z] _____ _ [2022-06-19T06:19:14.702Z] / ____| | | [2022-06-19T06:19:14.702Z] | | ___ __| | ___ ___ _____ __ [2022-06-19T06:19:14.702Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-19T06:19:14.702Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-19T06:19:14.702Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-19T06:19:14.702Z] Bash-1.0.6 [2022-06-19T06:19:14.702Z] [2022-06-19T06:19:14.702Z] [2022-06-19T06:19:14.702Z] ==> git version 2.25.1 found [2022-06-19T06:19:14.703Z] ==> 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 [2022-06-19T06:19:14.703Z] Release-Date: 2020-01-08 [2022-06-19T06:19:14.703Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-19T06:19:14.703Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-19T06:19:14.703Z] ==> Jenkins CI detected. [2022-06-19T06:19:14.703Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-19T06:19:14.703Z] project root: . [2022-06-19T06:19:14.703Z] --> token set from env [2022-06-19T06:19:14.703Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-19T06:19:14.703Z] ==> Running gcov in . (disable via -X gcov) [2022-06-19T06:19:14.703Z] ==> Python coveragepy not found [2022-06-19T06:19:14.703Z] ==> Searching for coverage reports in: [2022-06-19T06:19:14.703Z] + . [2022-06-19T06:19:14.703Z] -> Found 1 reports [2022-06-19T06:19:14.703Z] ==> Detecting git/mercurial file structure [2022-06-19T06:19:14.703Z] ==> Reading reports [2022-06-19T06:19:14.703Z] + ./coverage.out bytes=17887 [2022-06-19T06:19:14.703Z] ==> Appending adjustments [2022-06-19T06:19:14.703Z] https://docs.codecov.io/docs/fixing-reports [2022-06-19T06:19:14.962Z] + Found adjustments [2022-06-19T06:19:14.962Z] ==> Gzipping contents [2022-06-19T06:19:14.962Z] 4.0K /tmp/codecov.ui4XRy.gz [2022-06-19T06:19:14.962Z] ==> Uploading reports [2022-06-19T06:19:14.962Z] url: https://codecov.io [2022-06-19T06:19:14.962Z] query: branch=main&commit=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-19T06:19:14.962Z] -> Pinging Codecov [2022-06-19T06:19:14.962Z] 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=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-19T06:19:15.223Z] -> Uploading to [2022-06-19T06:19:15.223Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-19/7D719EC7BBE17E464838252E33014C33/06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b/a1ac4bd0-7219-4a30-895b-e51f3230c498.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220619%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220619T061915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=727f7f6bd4d81a8675fde9e6eda3d51748f108a3db6508b5a27b757dd15a5e9f [2022-06-19T06:19:15.223Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-19T06:19:15.223Z] Dload Upload Total Spent Left Speed [2022-06-19T06:19:15.485Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3239 0 0 100 3239 0 11246 --:--:-- --:--:-- --:--:-- 11246 [2022-06-19T06:19:15.485Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] } [2022-06-19T06:19:15.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-19T06:19:15.614Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-19T06:19:15.625Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:19:15.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T06:19:15.927Z] [2022-06-19T06:19:15.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:19:16.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T06:19:16.232Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-19T06:19:16.232Z] df9b9388f04a: Pulling fs layer [2022-06-19T06:19:16.232Z] 52dc419b0ee2: Pulling fs layer [2022-06-19T06:19:16.232Z] 25bc292e5bac: Pulling fs layer [2022-06-19T06:19:16.232Z] 114826534d7a: Pulling fs layer [2022-06-19T06:19:16.232Z] 4657fd5d0bcf: Pulling fs layer [2022-06-19T06:19:16.232Z] 6ad1cebc031e: Pulling fs layer [2022-06-19T06:19:16.232Z] 8a3aa393b2d8: Pulling fs layer [2022-06-19T06:19:16.232Z] 114826534d7a: Waiting [2022-06-19T06:19:16.232Z] 6ad1cebc031e: Waiting [2022-06-19T06:19:16.232Z] 4657fd5d0bcf: Waiting [2022-06-19T06:19:16.232Z] 8a3aa393b2d8: Waiting [2022-06-19T06:19:16.232Z] 25bc292e5bac: Verifying Checksum [2022-06-19T06:19:16.232Z] 25bc292e5bac: Download complete [2022-06-19T06:19:16.232Z] 52dc419b0ee2: Download complete [2022-06-19T06:19:16.232Z] 4657fd5d0bcf: Verifying Checksum [2022-06-19T06:19:16.232Z] 4657fd5d0bcf: Download complete [2022-06-19T06:19:16.232Z] df9b9388f04a: Verifying Checksum [2022-06-19T06:19:16.232Z] df9b9388f04a: Download complete [2022-06-19T06:19:16.494Z] df9b9388f04a: Pull complete [2022-06-19T06:19:16.494Z] 6ad1cebc031e: Verifying Checksum [2022-06-19T06:19:16.494Z] 52dc419b0ee2: Pull complete [2022-06-19T06:19:16.494Z] 25bc292e5bac: Pull complete [2022-06-19T06:19:17.064Z] 114826534d7a: Verifying Checksum [2022-06-19T06:19:17.064Z] 114826534d7a: Download complete [2022-06-19T06:19:17.064Z] 8a3aa393b2d8: Verifying Checksum [2022-06-19T06:19:17.064Z] 8a3aa393b2d8: Download complete [2022-06-19T06:19:20.354Z] 114826534d7a: Pull complete [2022-06-19T06:19:20.613Z] 4657fd5d0bcf: Pull complete [2022-06-19T06:19:20.874Z] 6ad1cebc031e: Pull complete [2022-06-19T06:19:23.412Z] 8a3aa393b2d8: Pull complete [2022-06-19T06:19:23.412Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-19T06:19:23.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T06:19:23.673Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:19:23.774Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:19:23.824Z] $ 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 [2022-06-19T06:19:25.664Z] $ docker top b2e4fc07784db14a73de01c6cd55ca4170a608e677348f787f3896b79668a3b4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-19T06:19:25.739Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-06-19T06:19:26.020Z] + set -o pipefail [2022-06-19T06:19:26.021Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-06-19T06:19:30.216Z] [2022-06-19T06:19:30.216Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-06-19T06:19:30.216Z] [2022-06-19T06:19:30.216Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/f3200340-3e46-4d7e-8a36-10f4fec626d4 [2022-06-19T06:19:30.216Z] [2022-06-19T06:19:30.216Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-19T06:19:30.216Z] [2022-06-19T06:19:30.216Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-19T06:19:30.216Z] [2022-06-19T06:19:30.216Z] [Pipeline] } [2022-06-19T06:19:30.240Z] $ docker stop --time=1 b2e4fc07784db14a73de01c6cd55ca4170a608e677348f787f3896b79668a3b4 [2022-06-19T06:19:32.270Z] $ docker rm -f b2e4fc07784db14a73de01c6cd55ca4170a608e677348f787f3896b79668a3b4 [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 [2022-06-19T06:19:33.029Z] + git log --format=format:%s -1 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] sh [2022-06-19T06:19:33.326Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:19:33.326Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:19:33.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:19:33.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:19:33.730Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:19:33.776Z] $ 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 [2022-06-19T06:19:34.141Z] $ docker top b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:19:34.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:19:34.228Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:19:34.345Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:19:34.356Z] $ docker exec b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 ssh-agent [2022-06-19T06:19:34.462Z] SSH_AUTH_SOCK=/tmp/ssh-AUjak4Xwl6Jh/agent.34 [2022-06-19T06:19:34.462Z] SSH_AGENT_PID=40 [2022-06-19T06:19:34.467Z] Running ssh-add (command line suppressed) [2022-06-19T06:19:34.585Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2843183379947377432.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2843183379947377432.key) [2022-06-19T06:19:34.592Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:19:34.987Z] + git semver tag [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,077 [run_tag] DEBUG tag force:False [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,077 [check_head_tag] DEBUG check head tag [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,077 [execute] INFO git cat-file --batch-check [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,081 [execute] INFO git cat-file --batch [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,089 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,089 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:19:35.248Z] 2022-06-19 06:19:35,095 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:19:35.248Z] 2.2.1-dev.3 [Pipeline] } [2022-06-19T06:19:35.269Z] $ docker exec --env ******** --env ******** b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 ssh-agent -k [2022-06-19T06:19:35.383Z] unset SSH_AUTH_SOCK; [2022-06-19T06:19:35.384Z] unset SSH_AGENT_PID; [2022-06-19T06:19:35.384Z] echo Agent pid 40 killed; [2022-06-19T06:19:35.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:19:35.714Z] + git semver [Pipeline] } [2022-06-19T06:19:35.999Z] $ docker stop --time=1 b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 [2022-06-19T06:19:37.307Z] $ docker rm -f b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:19:37.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T06:19:37.727Z] [2022-06-19T06:19:37.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:19:38.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T06:19:38.034Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-19T06:19:38.034Z] ab5ef0e58194: Pulling fs layer [2022-06-19T06:19:38.034Z] 9712f1f96733: Pulling fs layer [2022-06-19T06:19:38.034Z] 63f879dbbcfc: Pulling fs layer [2022-06-19T06:19:38.034Z] 0d9ebad4ef96: Pulling fs layer [2022-06-19T06:19:38.034Z] e9a5061849ea: Pulling fs layer [2022-06-19T06:19:38.034Z] d747dcd14b5f: Pulling fs layer [2022-06-19T06:19:38.034Z] 2de7ff778b66: Pulling fs layer [2022-06-19T06:19:38.034Z] e9a5061849ea: Waiting [2022-06-19T06:19:38.034Z] d747dcd14b5f: Waiting [2022-06-19T06:19:38.034Z] 0d9ebad4ef96: Waiting [2022-06-19T06:19:38.035Z] 2de7ff778b66: Waiting [2022-06-19T06:19:38.295Z] 63f879dbbcfc: Verifying Checksum [2022-06-19T06:19:38.295Z] 63f879dbbcfc: Download complete [2022-06-19T06:19:38.554Z] e9a5061849ea: Verifying Checksum [2022-06-19T06:19:38.554Z] e9a5061849ea: Download complete [2022-06-19T06:19:38.554Z] d747dcd14b5f: Verifying Checksum [2022-06-19T06:19:38.554Z] d747dcd14b5f: Download complete [2022-06-19T06:19:38.554Z] ab5ef0e58194: Verifying Checksum [2022-06-19T06:19:38.554Z] ab5ef0e58194: Download complete [2022-06-19T06:19:38.554Z] 0d9ebad4ef96: Verifying Checksum [2022-06-19T06:19:38.554Z] 0d9ebad4ef96: Download complete [2022-06-19T06:19:38.554Z] 2de7ff778b66: Verifying Checksum [2022-06-19T06:19:38.554Z] 2de7ff778b66: Download complete [2022-06-19T06:19:41.088Z] ab5ef0e58194: Pull complete [2022-06-19T06:19:41.088Z] 9712f1f96733: Pull complete [2022-06-19T06:19:42.023Z] 63f879dbbcfc: Pull complete [2022-06-19T06:19:45.316Z] 0d9ebad4ef96: Pull complete [2022-06-19T06:19:45.576Z] e9a5061849ea: Pull complete [2022-06-19T06:19:45.576Z] d747dcd14b5f: Pull complete [2022-06-19T06:19:46.516Z] 2de7ff778b66: Pull complete [2022-06-19T06:19:46.516Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-19T06:19:46.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T06:19:46.516Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:19:46.608Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:19:46.654Z] $ 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 [2022-06-19T06:19:48.565Z] $ docker top f5a1459c749c46f19b49e93c22b580ca860817cb1925ac382ff8ae033953e9ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:19:48.636Z] provisioning config files... [2022-06-19T06:19:48.644Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2117690670759891224tmp [2022-06-19T06:19:48.654Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6035786061247442075tmp [2022-06-19T06:19:48.665Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2926793593399035978tmp [Pipeline] { [Pipeline] echo [2022-06-19T06:19:48.680Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:19:48.967Z] ---> sigul-configuration.sh [2022-06-19T06:19:48.967Z] gpg: directory `/root/.gnupg' created [2022-06-19T06:19:48.967Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-19T06:19:48.967Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-19T06:19:48.967Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-19T06:19:48.967Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-19T06:19:48.967Z] gpg: CAST5 encrypted data [2022-06-19T06:19:48.967Z] gpg: encrypted with 1 passphrase [2022-06-19T06:19:48.967Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-19T06:19:49.267Z] + mkdir /home/jenkins [2022-06-19T06:19:49.267Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-19T06:19:49.559Z] + 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 [2022-06-19T06:19:49.569Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:19:49.857Z] ---> sigul-install.sh [2022-06-19T06:19:49.857Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-19T06:19:50.149Z] + git tag --list [2022-06-19T06:19:50.149Z] 0.7.1 [2022-06-19T06:19:50.149Z] v1.0.0 [2022-06-19T06:19:50.149Z] v1.1.0 [2022-06-19T06:19:50.149Z] v1.1.1 [2022-06-19T06:19:50.149Z] v1.2.2 [2022-06-19T06:19:50.149Z] v1.3.0 [2022-06-19T06:19:50.149Z] v1.3.1 [2022-06-19T06:19:50.149Z] v2.0.0 [2022-06-19T06:19:50.149Z] v2.1.0 [2022-06-19T06:19:50.149Z] v2.1.1 [2022-06-19T06:19:50.149Z] v2.1.1-dev.1 [2022-06-19T06:19:50.149Z] v2.1.1-dev.2 [2022-06-19T06:19:50.149Z] v2.2.0 [2022-06-19T06:19:50.149Z] v2.2.1-dev.1 [2022-06-19T06:19:50.149Z] v2.2.1-dev.2 [2022-06-19T06:19:50.149Z] v2.2.1-dev.3 [Pipeline] sh [2022-06-19T06:19:50.444Z] + lftools sign git-tag v2.2.1-dev.3 [2022-06-19T06:19:51.017Z] Signing Git tag with Sigul... [2022-06-19T06:19:51.017Z] Signing v2.2.1-dev.3 [Pipeline] echo [2022-06-19T06:19:51.288Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:19:51.575Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-19T06:19:51.585Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-19T06:19:51.612Z] $ docker stop --time=1 f5a1459c749c46f19b49e93c22b580ca860817cb1925ac382ff8ae033953e9ed [2022-06-19T06:19:52.915Z] $ docker rm -f f5a1459c749c46f19b49e93c22b580ca860817cb1925ac382ff8ae033953e9ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-19T06:19:53.323Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:19:53.323Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:19:53.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:19:53.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:19:53.713Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:19:53.757Z] $ 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 [2022-06-19T06:19:54.138Z] $ docker top c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:19:54.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:19:54.227Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:19:54.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:19:54.372Z] $ docker exec c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa ssh-agent [2022-06-19T06:19:54.484Z] SSH_AUTH_SOCK=/tmp/ssh-Bx5XRlP85HQx/agent.33 [2022-06-19T06:19:54.485Z] SSH_AGENT_PID=39 [2022-06-19T06:19:54.491Z] Running ssh-add (command line suppressed) [2022-06-19T06:19:54.622Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_132319941720553786.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_132319941720553786.key) [2022-06-19T06:19:54.631Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:19:54.920Z] + git semver bump pre [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,122 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,122 [bump_version] DEBUG bumped version:2.2.1-dev.4 [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,122 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,122 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,124 [execute] INFO git cat-file --batch-check [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,129 [execute] INFO git cat-file --batch [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,129 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T06:19:55.181Z] 2022-06-19 06:19:55,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:19:55.181Z] 2.2.1-dev.4 [Pipeline] } [2022-06-19T06:19:55.202Z] $ docker exec --env ******** --env ******** c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa ssh-agent -k [2022-06-19T06:19:55.318Z] unset SSH_AUTH_SOCK; [2022-06-19T06:19:55.318Z] unset SSH_AGENT_PID; [2022-06-19T06:19:55.318Z] echo Agent pid 39 killed; [2022-06-19T06:19:55.320Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:19:55.619Z] + git semver [Pipeline] } [2022-06-19T06:19:55.901Z] $ docker stop --time=1 c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa [2022-06-19T06:19:57.173Z] $ docker rm -f c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:19:57.512Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:19:57.513Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:19:57.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:19:57.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:19:57.900Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:19:57.944Z] $ 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 [2022-06-19T06:19:58.302Z] $ docker top afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:19:58.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:19:58.390Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:19:58.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:19:58.531Z] $ docker exec afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 ssh-agent [2022-06-19T06:19:58.645Z] SSH_AUTH_SOCK=/tmp/ssh-bVBcNJV7zCNf/agent.31 [2022-06-19T06:19:58.645Z] SSH_AGENT_PID=37 [2022-06-19T06:19:58.650Z] Running ssh-add (command line suppressed) [2022-06-19T06:19:58.778Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3618262257789355132.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3618262257789355132.key) [2022-06-19T06:19:58.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:19:59.077Z] + git semver push [2022-06-19T06:19:59.337Z] 2022-06-19 06:19:59,262 [run_push] DEBUG push [2022-06-19T06:19:59.337Z] 2022-06-19 06:19:59,262 [execute] INFO git cat-file --batch-check [2022-06-19T06:19:59.337Z] 2022-06-19 06:19:59,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T06:19:59.337Z] 2022-06-19 06:19:59,266 [execute] INFO git rev-list 8f277b5d6eaf3e22bc7a76217572e12453e43fd5 -- [2022-06-19T06:19:59.337Z] 2022-06-19 06:19:59,266 [execute] DEBUG Popen(['git', 'rev-list', '8f277b5d6eaf3e22bc7a76217572e12453e43fd5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:19:59.337Z] 2022-06-19 06:19:59,273 [execute] INFO git fetch -v origin [2022-06-19T06:19:59.337Z] 2022-06-19 06:19:59,273 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-19T06:19:59.910Z] 2022-06-19 06:19:59,729 [run_push] DEBUG no remote changes detected [2022-06-19T06:19:59.910Z] 2022-06-19 06:19:59,729 [execute] INFO git push origin semver [2022-06-19T06:19:59.910Z] 2022-06-19 06:19:59,729 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:20:00.481Z] 2022-06-19 06:20:00,454 [run_push] DEBUG push all version tags [2022-06-19T06:20:00.481Z] 2022-06-19 06:20:00,455 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-19T06:20:00.481Z] 2022-06-19 06:20:00,455 [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) [2022-06-19T06:20:01.434Z] 2022-06-19 06:20:01,154 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-19T06:20:01.434Z] 2.2.1-dev.4 [Pipeline] } [2022-06-19T06:20:01.459Z] $ docker exec --env ******** --env ******** afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 ssh-agent -k [2022-06-19T06:20:01.588Z] unset SSH_AUTH_SOCK; [2022-06-19T06:20:01.589Z] unset SSH_AGENT_PID; [2022-06-19T06:20:01.589Z] echo Agent pid 37 killed; [2022-06-19T06:20:01.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:20:01.901Z] + git semver [Pipeline] } [2022-06-19T06:20:02.184Z] $ docker stop --time=1 afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 [2022-06-19T06:20:03.500Z] $ docker rm -f afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 [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 [2022-06-19T06:20:04.115Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-06-19T06:20:04.115Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-19T06:20:04.115Z] total 16 [2022-06-19T06:20:04.115Z] drwxr-xr-x 3 root root 4096 Jun 19 06:10 . [2022-06-19T06:20:04.115Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 06:19 .. [2022-06-19T06:20:04.115Z] drwxr-xr-x 2 root root 4096 Jun 19 06:10 cost [2022-06-19T06:20:04.115Z] -rw-r--r-- 1 root root 84 Jun 19 06:10 cost.csv [2022-06-19T06:20:04.115Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-19T06:20:04.115Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-19T06:20:04.115Z] total 16 [2022-06-19T06:20:04.116Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:10 . [2022-06-19T06:20:04.116Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 06:19 .. [2022-06-19T06:20:04.116Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 06:10 cost [2022-06-19T06:20:04.116Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 19 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:20:04.456Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:20:05.360Z] ---> package-listing.sh [2022-06-19T06:20:05.360Z] ++ facter osfamily [2022-06-19T06:20:05.360Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-19T06:20:05.621Z] + OS_FAMILY=debian [2022-06-19T06:20:05.621Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-19T06:20:05.621Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-19T06:20:05.621Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-19T06:20:05.621Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-19T06:20:05.621Z] + PACKAGES=/tmp/packages_start.txt [2022-06-19T06:20:05.621Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-19T06:20:05.621Z] + PACKAGES=/tmp/packages_end.txt [2022-06-19T06:20:05.621Z] + case "${OS_FAMILY}" in [2022-06-19T06:20:05.621Z] + dpkg -l [2022-06-19T06:20:05.621Z] + grep '^ii' [2022-06-19T06:20:05.621Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-19T06:20:05.621Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-19T06:20:05.621Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-19T06:20:05.621Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-19T06:20:05.621Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-06-19T06:20:05.621Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-06-19T06:20:05.634Z] 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 [2022-06-19T06:20:05.913Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:20:06.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:20:06.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:20:06.563Z] prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container [2022-06-19T06:20:06.609Z] $ 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 [2022-06-19T06:20:06.825Z] $ docker top fcc6aafe5afda64a25bf18136d35eb3d7a21c77533312642f99bc4b42d038a05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T06:20:07.174Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-19T06:20:07.461Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-19T06:20:07.750Z] + ls /var/log/sa-host [2022-06-19T06:20:07.750Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:20:07.830Z] provisioning config files... [2022-06-19T06:20:07.839Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5062050025842271122tmp [Pipeline] { [Pipeline] echo [2022-06-19T06:20:07.850Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:20:08.132Z] ---> create-netrc.sh [Pipeline] } [2022-06-19T06:20:08.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:20:08.478Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-19T06:20:08.488Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:20:08.776Z] ---> sudo-logs.sh [2022-06-19T06:20:08.776Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-19T06:20:08.807Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:20:09.092Z] ---> job-cost.sh [2022-06-19T06:20:09.092Z] lf-activate-venv: SKIPPING [2022-06-19T06:20:09.092Z] DEBUG: total: 0.2199999988079071 [2022-06-19T06:20:09.092Z] INFO: Retrieving Stack Cost... [2022-06-19T06:20:09.352Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-19T06:20:09.924Z] INFO: Archiving Costs [Pipeline] echo [2022-06-19T06:20:09.937Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:20:10.223Z] ---> logs-deploy.sh [2022-06-19T06:20:10.223Z] lf-activate-venv: SKIPPING [2022-06-19T06:20:10.223Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/50 [2022-06-19T06:20:10.223Z] INFO: archiving workspace using pattern(s): [2022-06-19T06:20:11.163Z] Archives upload complete. [2022-06-19T06:20:11.164Z] INFO: archiving logs to Nexus [2022-06-19T06:20:11.738Z] ---> uname -a: [2022-06-19T06:20:11.738Z] Linux prd-ubuntu20-04-docker-8c-8g-2677 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-06-19T06:20:11.738Z] [2022-06-19T06:20:11.738Z]