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 06:09:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:09:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:09:05 ========================================================= 06:09:05 EdgeX Global Pipelines Version Info 06:09:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:09:06 ------------------- 06:09:06 stable info: 06:09:06 ------------------- 06:09:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:06 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:09:06 Message: update stable to v1.0.234 06:09:06 ------------------- 06:09:06 experimental info: 06:09:06 ------------------- 06:09:06 Commited By: **** collab-it+edgex@linuxfoundation.org 06:09:06 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:09:06 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06aa87a [Pipeline] echo 06:09:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:07 provisioning config files... 06:09:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7396438868307198971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:07 ---> docker-login.sh 06:09:07 nexus3.edgexfoundry.org:10001 06:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:08 Configure a credential helper to remove this warning. See 06:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:08 06:09:08 Login Succeeded 06:09:08 nexus3.edgexfoundry.org:10002 06:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:08 Configure a credential helper to remove this warning. See 06:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:08 06:09:08 Login Succeeded 06:09:08 nexus3.edgexfoundry.org:10003 06:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:08 Configure a credential helper to remove this warning. See 06:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:08 06:09:08 Login Succeeded 06:09:08 nexus3.edgexfoundry.org:10004 06:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:08 Configure a credential helper to remove this warning. See 06:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:08 06:09:08 Login Succeeded 06:09:08 docker.io 06:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:08 Configure a credential helper to remove this warning. See 06:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:08 06:09:08 Login Succeeded 06:09:08 ---> docker-login.sh ends [Pipeline] } 06:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:09:09 + git rev-list -1 --merges 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b~1..06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo 06:09:09 -----------> git rev-list -1 --merges 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b~1..06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:09:09 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [false] [Pipeline] sh 06:09:09 + git log --format=format:%s -1 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo 06:09:09 ========================================================= 06:09:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:09:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:09 + git log --format=format:%s -1 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] echo 06:09:09 [semverPrep] GIT_COMMIT: 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b, Commit Message: Merge pull request #391 from weichou1229/issue-390 [Pipeline] echo 06:09:09 [semverPrep] This is not a build commit. [Pipeline] sh 06:09:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:10 + grep -v github /etc/ssh/ssh_known_hosts 06:09:10 + [ -e /tmp/ssh_known_hosts ] 06:09:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:09:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:09:10 + sudo tee -a /etc/ssh/ssh_known_hosts 06:09:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:10 06:09:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:10 0.1.4: Pulling from edgex-devops/py-git-semver 06:09:10 42c077c10790: Pulling fs layer 06:09:10 f63e77b7563a: Pulling fs layer 06:09:10 bd5fdadae976: Pulling fs layer 06:09:10 205491f53016: Pulling fs layer 06:09:10 df18705c85c3: Pulling fs layer 06:09:10 bdb3f477010e: Pulling fs layer 06:09:10 c8a8fc8e1c8f: Pulling fs layer 06:09:10 2c6e9b1d212d: Pulling fs layer 06:09:10 bdb8f0575790: Pulling fs layer 06:09:10 386e3cb2ff24: Pulling fs layer 06:09:10 2343380bae48: Pulling fs layer 06:09:10 386e3cb2ff24: Waiting 06:09:10 c8a8fc8e1c8f: Waiting 06:09:10 205491f53016: Waiting 06:09:10 2c6e9b1d212d: Waiting 06:09:10 bdb8f0575790: Waiting 06:09:10 2343380bae48: Waiting 06:09:10 df18705c85c3: Waiting 06:09:10 bdb3f477010e: Waiting 06:09:10 f63e77b7563a: Download complete 06:09:10 205491f53016: Verifying Checksum 06:09:10 205491f53016: Download complete 06:09:11 df18705c85c3: Verifying Checksum 06:09:11 df18705c85c3: Download complete 06:09:11 bdb3f477010e: Verifying Checksum 06:09:11 bdb3f477010e: Download complete 06:09:11 bd5fdadae976: Verifying Checksum 06:09:11 bd5fdadae976: Download complete 06:09:11 2c6e9b1d212d: Download complete 06:09:11 bdb8f0575790: Verifying Checksum 06:09:11 bdb8f0575790: Download complete 06:09:11 386e3cb2ff24: Verifying Checksum 06:09:11 386e3cb2ff24: Download complete 06:09:11 2343380bae48: Download complete 06:09:11 42c077c10790: Download complete 06:09:11 c8a8fc8e1c8f: Download complete 06:09:12 42c077c10790: Pull complete 06:09:12 f63e77b7563a: Pull complete 06:09:13 bd5fdadae976: Pull complete 06:09:13 205491f53016: Pull complete 06:09:13 df18705c85c3: Pull complete 06:09:13 bdb3f477010e: Pull complete 06:09:15 c8a8fc8e1c8f: Pull complete 06:09:15 2c6e9b1d212d: Pull complete 06:09:15 bdb8f0575790: Pull complete 06:09:15 386e3cb2ff24: Pull complete 06:09:15 2343380bae48: Pull complete 06:09:15 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:09:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:15 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:09:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:09:17 $ docker top 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad -eo pid,comm 06:09:17 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). 06:09:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:17 [ssh-agent] Looking for ssh-agent implementation... 06:09:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:17 $ docker exec 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent 06:09:17 SSH_AUTH_SOCK=/tmp/ssh-2puAXPNhTaSs/agent.33 06:09:17 SSH_AGENT_PID=39 06:09:17 Running ssh-add (command line suppressed) 06:09:17 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) 06:09:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:17 + git tag --points-at HEAD [Pipeline] } 06:09:17 $ docker exec --env ******** --env ******** 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent -k 06:09:17 unset SSH_AUTH_SOCK; 06:09:17 unset SSH_AGENT_PID; 06:09:17 echo Agent pid 39 killed; 06:09:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:09:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:18 [ssh-agent] Looking for ssh-agent implementation... 06:09:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:18 $ docker exec 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent 06:09:18 SSH_AUTH_SOCK=/tmp/ssh-TWoFGtIgxKuo/agent.71 06:09:18 SSH_AGENT_PID=77 06:09:18 Running ssh-add (command line suppressed) 06:09:18 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) 06:09:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:18 + git semver init 06:09:18 2022-06-19 06:09:18,903 [run_init] DEBUG init version:0.0.0 force:False 06:09:18 2022-06-19 06:09:18,904 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:09:18 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 06:09:18 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) 06:09:19 2022-06-19 06:09:19,596 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 06:09:19 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 06:09:19 2022-06-19 06:09:19,597 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:09:19 2022-06-19 06:09:19,597 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:09:19 2.2.1-dev.3 [Pipeline] } 06:09:19 $ docker exec --env ******** --env ******** 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad ssh-agent -k 06:09:20 unset SSH_AUTH_SOCK; 06:09:20 unset SSH_AGENT_PID; 06:09:20 echo Agent pid 77 killed; 06:09:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:20 + git semver [Pipeline] } 06:09:20 $ docker stop --time=1 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad 06:09:21 $ docker rm -f 668cbe50fc00a3cb96c68cdd84abbda9b7f3199965d9d5a44e276f146a28acad [Pipeline] // withDockerContainer [Pipeline] sh 06:09:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:09:22 Stashed 1 file(s) [Pipeline] echo 06:09:22 [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 06:09:22 provisioning config files... 06:09:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1745877296773594823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:22 ---> docker-login.sh 06:09:22 nexus3.edgexfoundry.org:10001 06:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:22 Configure a credential helper to remove this warning. See 06:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:22 06:09:22 Login Succeeded 06:09:22 nexus3.edgexfoundry.org:10002 06:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:23 Configure a credential helper to remove this warning. See 06:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:23 06:09:23 Login Succeeded 06:09:23 nexus3.edgexfoundry.org:10003 06:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:23 Configure a credential helper to remove this warning. See 06:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:23 06:09:23 Login Succeeded 06:09:23 nexus3.edgexfoundry.org:10004 06:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:23 Configure a credential helper to remove this warning. See 06:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:23 06:09:23 Login Succeeded 06:09:23 docker.io 06:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:23 Configure a credential helper to remove this warning. See 06:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:23 06:09:23 Login Succeeded 06:09:23 ---> docker-login.sh ends [Pipeline] } 06:09:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:09:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:09:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:09:23 ========================================================= 06:09:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:09:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:24 + 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 . 06:09:24 Sending build context to Docker daemon 5.978MB 06:09:24 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:09:24 Step 2/12 : FROM ${BASE} AS builder 06:09:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:09:24 59bf1c3509f3: Pulling fs layer 06:09:24 666ba61612fd: Pulling fs layer 06:09:24 8ed8ca486205: Pulling fs layer 06:09:24 cc1cd167ecdc: Pulling fs layer 06:09:24 c516ae0d96e1: Pulling fs layer 06:09:24 684cea983483: Pulling fs layer 06:09:24 dd3240ac7de5: Pulling fs layer 06:09:24 b1e948a4e11c: Pulling fs layer 06:09:24 a8fd76ee1af6: Pulling fs layer 06:09:24 646ad004c059: Pulling fs layer 06:09:24 cc1cd167ecdc: Waiting 06:09:24 684cea983483: Waiting 06:09:24 dd3240ac7de5: Waiting 06:09:24 b1e948a4e11c: Waiting 06:09:24 646ad004c059: Waiting 06:09:24 a8fd76ee1af6: Waiting 06:09:24 8ed8ca486205: Verifying Checksum 06:09:24 8ed8ca486205: Download complete 06:09:24 666ba61612fd: Download complete 06:09:24 c516ae0d96e1: Verifying Checksum 06:09:24 c516ae0d96e1: Download complete 06:09:24 684cea983483: Verifying Checksum 06:09:24 684cea983483: Download complete 06:09:24 dd3240ac7de5: Verifying Checksum 06:09:24 dd3240ac7de5: Download complete 06:09:24 59bf1c3509f3: Verifying Checksum 06:09:24 59bf1c3509f3: Download complete 06:09:24 b1e948a4e11c: Verifying Checksum 06:09:24 b1e948a4e11c: Download complete 06:09:24 59bf1c3509f3: Pull complete 06:09:24 666ba61612fd: Pull complete 06:09:24 8ed8ca486205: Pull complete 06:09:24 a8fd76ee1af6: Verifying Checksum 06:09:24 a8fd76ee1af6: Download complete 06:09:24 646ad004c059: Verifying Checksum 06:09:24 646ad004c059: Download complete 06:09:25 cc1cd167ecdc: Verifying Checksum 06:09:25 cc1cd167ecdc: Download complete 06:09:28 cc1cd167ecdc: Pull complete 06:09:28 c516ae0d96e1: Pull complete 06:09:28 684cea983483: Pull complete 06:09:28 dd3240ac7de5: Pull complete 06:09:28 b1e948a4e11c: Pull complete 06:09:31 a8fd76ee1af6: Pull complete 06:09:31 646ad004c059: Pull complete 06:09:31 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:09:31 ---> 8f69c11f6b0c 06:09:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:09:33 ---> Running in e35e52da9edd 06:09:33 Removing intermediate container e35e52da9edd 06:09:33 ---> 3326c3f6dacd 06:09:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:09:33 ---> Running in ece0980ade2a 06:09:33 Removing intermediate container ece0980ade2a 06:09:33 ---> dc793ff962e9 06:09:33 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:09:33 ---> Running in 0a77aef0a1ac 06:09:33 Removing intermediate container 0a77aef0a1ac 06:09:33 ---> fad54db13774 06:09:33 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:34 ---> Running in 94d5b9f9a6fe 06:09:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:09:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:09:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:09:35 (2/4) Installing libedit (20210910.3.1-r0) 06:09:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:09:35 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:09:35 Executing busybox-1.34.1-r3.trigger 06:09:35 OK: 224 MiB in 56 packages 06:09:36 Removing intermediate container 94d5b9f9a6fe 06:09:36 ---> 9ac1ea41a6f4 06:09:36 Step 7/12 : WORKDIR /device-mqtt-go 06:09:36 ---> Running in 7fb9f178546a 06:09:36 Removing intermediate container 7fb9f178546a 06:09:36 ---> c26ab4d9e5ef 06:09:36 Step 8/12 : COPY go.mod vendor* ./ 06:09:36 ---> 76954d4db063 06:09:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:36 ---> Running in da390453960a 06:09:37 Still waiting to schedule task 06:09:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2676’ 06:09:48 Removing intermediate container da390453960a 06:09:48 ---> 910477937289 06:09:48 Step 10/12 : COPY . . 06:09:49 ---> 0eac4476d6a6 06:09:49 Step 11/12 : ARG MAKE='make build' 06:09:49 ---> Running in 732e5ef5fdf2 06:09:49 Removing intermediate container 732e5ef5fdf2 06:09:49 ---> c5d893a60383 06:09:49 Step 12/12 : RUN $MAKE 06:09:49 ---> Running in 5ce2f7e9246f 06:09:49 noop 06:09:49 Removing intermediate container 5ce2f7e9246f 06:09:49 ---> 90fc664d865b 06:09:49 Successfully built 90fc664d865b 06:09:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:49 + docker inspect -f . ci-base-image-x86_64 06:09:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:49 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:09:49 $ 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 06:09:50 $ docker top 66649185151d6b0b46fa4ecc2c0ce5f7c77e2717d3c90b2166cfcf26a577686a -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:50 + go version 06:09:50 go version go1.17.7 linux/amd64 [Pipeline] } 06:09:50 $ docker stop --time=1 66649185151d6b0b46fa4ecc2c0ce5f7c77e2717d3c90b2166cfcf26a577686a 06:09:52 $ 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 06:09:52 + docker inspect -f . ci-base-image-x86_64 06:09:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:52 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:09:52 $ 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 06:09:53 $ docker top 2d6f1e684d89b88ddd986f6a6e41c37c113169f9c1d4fdfcfca60cdc30455071 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:09:53 + make test 06:09:53 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:09:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:10:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:10:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 06:10:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:10:09 GCO_ENABLED=1 GO111MODULE=on go vet ./... 06:10:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:13 ./bin/test-attribution-txt.sh [Pipeline] echo 06:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:10:13 $ docker stop --time=1 2d6f1e684d89b88ddd986f6a6e41c37c113169f9c1d4fdfcfca60cdc30455071 06:10:15 $ docker rm -f 2d6f1e684d89b88ddd986f6a6e41c37c113169f9c1d4fdfcfca60cdc30455071 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:16 + ls -al . 06:10:16 total 180 06:10:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 06:10 . 06:10:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:09 .. 06:10:16 -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 06:09 .dockerignore 06:10:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:09 .git 06:10:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 .github 06:10:16 -rw-rw-r-- 1 jenkins jenkins 329 Jun 19 06:09 .gitignore 06:10:16 -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:09 .golangci.yml 06:10:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:09 .semver 06:10:16 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 19 06:09 Attribution.txt 06:10:16 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 19 06:09 CHANGELOG.md 06:10:16 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:09 Dockerfile 06:10:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:09 GOVERNANCE.md 06:10:16 -rw-rw-r-- 1 jenkins jenkins 678 Jun 19 06:09 Jenkinsfile 06:10:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:09 LICENSE 06:10:16 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:09 Makefile 06:10:16 -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 06:09 OWNERS.md 06:10:16 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 19 06:09 README.md 06:10:16 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:09 VERSION 06:10:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:09 bin 06:10:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 cmd 06:10:16 -rw-r--r-- 1 jenkins jenkins 17887 Jun 19 06:10 coverage.out 06:10:16 -rw-rw-r-- 1 jenkins jenkins 3313 Jun 19 06:09 go.mod 06:10:16 -rw-rw-r-- 1 jenkins jenkins 35836 Jun 19 06:09 go.sum 06:10:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 internal 06:10:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:09 mock 06:10:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:09 snap 06:10:16 -rw-rw-r-- 1 jenkins jenkins 227 Jun 19 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:16 + 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 . 06:10:16 Sending build context to Docker daemon 5.997MB 06:10:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:10:16 Step 2/24 : FROM ${BASE} AS builder 06:10:16 ---> 90fc664d865b 06:10:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:10:16 ---> Running in 552df4277cd5 06:10:16 Removing intermediate container 552df4277cd5 06:10:16 ---> 518e4d82c447 06:10:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 06:10:16 ---> Running in 8d3c42db5774 06:10:16 Removing intermediate container 8d3c42db5774 06:10:16 ---> a04a8ed8b125 06:10:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:16 ---> Running in df18c1b2ca76 06:10:17 Removing intermediate container df18c1b2ca76 06:10:17 ---> 0550c5340607 06:10:17 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:17 ---> Running in c8e36a2f6d53 06:10:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:10:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:10:18 OK: 224 MiB in 56 packages 06:10:19 Removing intermediate container c8e36a2f6d53 06:10:19 ---> feb80a32d04b 06:10:19 Step 7/24 : WORKDIR /device-mqtt-go 06:10:19 ---> Running in 39fc9ad0a2ad 06:10:19 Removing intermediate container 39fc9ad0a2ad 06:10:19 ---> b22126100e44 06:10:19 Step 8/24 : COPY go.mod vendor* ./ 06:10:19 ---> 71dbd74d3beb 06:10:19 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:19 ---> Running in 5971c57028f4 06:10:20 Removing intermediate container 5971c57028f4 06:10:20 ---> a54c1931e38c 06:10:20 Step 10/24 : COPY . . 06:10:20 ---> 14da8b508132 06:10:20 Step 11/24 : ARG MAKE='make build' 06:10:20 ---> Running in d8041506bb97 06:10:20 Removing intermediate container d8041506bb97 06:10:20 ---> 9b240ce6bafd 06:10:20 Step 12/24 : RUN $MAKE 06:10:20 ---> Running in d6b7d1eefe84 06:10:20 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 06:10:39 Removing intermediate container d6b7d1eefe84 06:10:39 ---> 56fe487381d6 06:10:39 Step 13/24 : FROM alpine:3.14 06:10:39 3.14: Pulling from library/alpine 06:10:39 8663204ce13b: Pulling fs layer 06:10:39 8663204ce13b: Verifying Checksum 06:10:39 8663204ce13b: Download complete 06:10:40 8663204ce13b: Pull complete 06:10:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:10:40 Status: Downloaded newer image for alpine:3.14 06:10:40 ---> e04c818066af 06:10:40 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:10:40 ---> Running in 2974d136816f 06:10:40 Removing intermediate container 2974d136816f 06:10:40 ---> 37fc1f00ec38 06:10:40 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:10:40 ---> Running in 1c44e3b7bd1e 06:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:10:40 (1/6) Installing dumb-init (1.2.5-r1) 06:10:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:10:40 (3/6) Installing libsodium (1.0.18-r0) 06:10:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:10:40 (5/6) Installing libzmq (4.3.4-r0) 06:10:40 (6/6) Installing zeromq (4.3.4-r0) 06:10:40 Executing busybox-1.33.1-r7.trigger 06:10:40 OK: 8 MiB in 20 packages 06:10:41 Removing intermediate container 1c44e3b7bd1e 06:10:41 ---> 0c23f8c08130 06:10:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:10:41 ---> 8ea16466a676 06:10:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:10:41 ---> 6e984336ea38 06:10:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:10:41 ---> 708b2e2184e4 06:10:41 Step 19/24 : EXPOSE 59982 06:10:41 ---> Running in 86761a866e1e 06:10:41 Removing intermediate container 86761a866e1e 06:10:41 ---> 176a33969ade 06:10:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:10:41 ---> Running in 166811a9023a 06:10:41 Removing intermediate container 166811a9023a 06:10:41 ---> df37f25e4edd 06:10:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:10:41 ---> Running in c9ce42d833d1 06:10:42 Removing intermediate container c9ce42d833d1 06:10:42 ---> f3b83ea5d86a 06:10:42 Step 22/24 : LABEL arch=amd64 06:10:42 ---> Running in 352d0795fe4a 06:10:42 Removing intermediate container 352d0795fe4a 06:10:42 ---> 0d2449e57797 06:10:42 Step 23/24 : LABEL git_sha=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:10:42 ---> Running in 5313c010fc39 06:10:42 Removing intermediate container 5313c010fc39 06:10:42 ---> ef2e16c63939 06:10:42 Step 24/24 : LABEL version=2.2.1-dev.3 06:10:42 ---> Running in c80593aa0c7b 06:10:42 Removing intermediate container c80593aa0c7b 06:10:42 ---> 2d39e38ab7a6 06:10:42 [Warning] One or more build-args [ARCH] were not consumed 06:10:42 Successfully built 2d39e38ab7a6 06:10:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:42 provisioning config files... 06:10:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config206055468561146918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:42 ---> docker-login.sh 06:10:42 nexus3.edgexfoundry.org:10001 06:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:42 Configure a credential helper to remove this warning. See 06:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:42 06:10:42 Login Succeeded 06:10:42 nexus3.edgexfoundry.org:10002 06:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:43 Configure a credential helper to remove this warning. See 06:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:43 06:10:43 Login Succeeded 06:10:43 nexus3.edgexfoundry.org:10003 06:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:43 Configure a credential helper to remove this warning. See 06:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:43 06:10:43 Login Succeeded 06:10:43 nexus3.edgexfoundry.org:10004 06:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:43 Configure a credential helper to remove this warning. See 06:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:43 06:10:43 Login Succeeded 06:10:43 docker.io 06:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:43 Configure a credential helper to remove this warning. See 06:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:43 06:10:43 Login Succeeded 06:10:43 ---> docker-login.sh ends [Pipeline] } 06:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:43 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 06:10:43 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:10:43 latest 06:10:43 2.2.1-dev.3 06:10:43 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 06:10:43 main 06:10:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:10:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:10:44 71b0fb0d141d: Preparing 06:10:44 fd7e913778b8: Preparing 06:10:44 4c35a97417a4: Preparing 06:10:44 bbb1c1c7160a: Preparing 06:10:44 b541d28bf3b4: Preparing 06:10:44 b541d28bf3b4: Layer already exists 06:10:44 fd7e913778b8: Pushed 06:10:44 71b0fb0d141d: Pushed 06:10:44 bbb1c1c7160a: Pushed 06:10:47 4c35a97417a4: Pushed 06:10:47 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:10:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:10:47 71b0fb0d141d: Preparing 06:10:47 fd7e913778b8: Preparing 06:10:47 4c35a97417a4: Preparing 06:10:47 bbb1c1c7160a: Preparing 06:10:47 b541d28bf3b4: Preparing 06:10:47 bbb1c1c7160a: Layer already exists 06:10:47 b541d28bf3b4: Layer already exists 06:10:47 4c35a97417a4: Layer already exists 06:10:47 fd7e913778b8: Layer already exists 06:10:47 71b0fb0d141d: Layer already exists 06:10:47 latest: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:48 + 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 06:10:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.3 06:10:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:10:48 71b0fb0d141d: Preparing 06:10:48 fd7e913778b8: Preparing 06:10:48 4c35a97417a4: Preparing 06:10:48 bbb1c1c7160a: Preparing 06:10:48 b541d28bf3b4: Preparing 06:10:48 4c35a97417a4: Layer already exists 06:10:48 b541d28bf3b4: Layer already exists 06:10:48 71b0fb0d141d: Layer already exists 06:10:48 fd7e913778b8: Layer already exists 06:10:48 bbb1c1c7160a: Layer already exists 06:10:48 2.2.1-dev.3: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:48 + 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 06:10:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 06:10:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:10:49 71b0fb0d141d: Preparing 06:10:49 fd7e913778b8: Preparing 06:10:49 4c35a97417a4: Preparing 06:10:49 bbb1c1c7160a: Preparing 06:10:49 b541d28bf3b4: Preparing 06:10:49 71b0fb0d141d: Layer already exists 06:10:49 bbb1c1c7160a: Layer already exists 06:10:49 b541d28bf3b4: Layer already exists 06:10:49 4c35a97417a4: Layer already exists 06:10:49 fd7e913778b8: Layer already exists 06:10:49 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 06:10:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:10:49 71b0fb0d141d: Preparing 06:10:49 fd7e913778b8: Preparing 06:10:49 4c35a97417a4: Preparing 06:10:49 bbb1c1c7160a: Preparing 06:10:49 b541d28bf3b4: Preparing 06:10:49 b541d28bf3b4: Layer already exists 06:10:49 fd7e913778b8: Layer already exists 06:10:49 71b0fb0d141d: Layer already exists 06:10:49 4c35a97417a4: Layer already exists 06:10:49 bbb1c1c7160a: Layer already exists 06:10:49 main: digest: sha256:5346a5084ad290131297b5037cab036ae62b72a8ec4df37070361ec589f8cdfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:49 ===================================================== [Pipeline] echo 06:10:49 taggedImages: 06:10:49 - nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:10:49 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:10:49 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.3 06:10:49 - nexus3.edgexfoundry.org:10004/device-mqtt:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 06:10:49 - 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 06:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:50 06:10:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:50 latest: Pulling from edgex-lftools-log-publisher 06:10:50 5eb5b503b376: Pulling fs layer 06:10:50 5c69ac0246d0: Pulling fs layer 06:10:50 ec43610c2a17: Pulling fs layer 06:10:50 3a2ae6a8a46f: Pulling fs layer 06:10:50 33b1e0a273af: Pulling fs layer 06:10:50 5d3b04190fa2: Pulling fs layer 06:10:50 2f39f015ded8: Pulling fs layer 06:10:50 3a2ae6a8a46f: Waiting 06:10:50 5d3b04190fa2: Waiting 06:10:50 33b1e0a273af: Waiting 06:10:50 5c69ac0246d0: Verifying Checksum 06:10:50 3a2ae6a8a46f: Verifying Checksum 06:10:50 3a2ae6a8a46f: Download complete 06:10:50 33b1e0a273af: Verifying Checksum 06:10:50 33b1e0a273af: Download complete 06:10:50 5d3b04190fa2: Verifying Checksum 06:10:50 5d3b04190fa2: Download complete 06:10:50 ec43610c2a17: Verifying Checksum 06:10:50 ec43610c2a17: Download complete 06:10:50 5eb5b503b376: Verifying Checksum 06:10:50 5eb5b503b376: Download complete 06:10:51 2f39f015ded8: Download complete 06:10:51 5eb5b503b376: Pull complete 06:10:52 5c69ac0246d0: Pull complete 06:10:52 ec43610c2a17: Pull complete 06:10:52 3a2ae6a8a46f: Pull complete 06:10:52 33b1e0a273af: Pull complete 06:10:52 5d3b04190fa2: Pull complete 06:10:56 2f39f015ded8: Pull complete 06:10:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:57 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:10:57 $ 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 06:10:58 $ docker top 2ec5351d254503d8e960f4e7fa99eabaf61602019688ead0ef6cc2b436cf4ebc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:58 ---> job-cost.sh 06:10:58 lf-activate-venv: SKIPPING 06:10:58 INFO: No Stack... 06:10:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:10:59 INFO: Archiving Costs [Pipeline] sh 06:11:00 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 06:11:00 + cut -d, -f6 [Pipeline] lock 06:11:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] 06:11:00 Resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] did not exist. Created. 06:11:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:00 + echo total: 0.2199999988079071 [Pipeline] stash 06:11:00 Stashed 1 file(s) [Pipeline] } 06:11:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:00 $ docker stop --time=1 2ec5351d254503d8e960f4e7fa99eabaf61602019688ead0ef6cc2b436cf4ebc 06:11:01 $ docker rm -f 2ec5351d254503d8e960f4e7fa99eabaf61602019688ead0ef6cc2b436cf4ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:11:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2678 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 06:11:55 Running in /w/workspace/device-mqtt-go/50 [Pipeline] { [Pipeline] checkout 06:11:55 Selected Git installation does not exist. Using Default 06:11:55 The recommended git tool is: NONE 06:12:02 using credential edgex-jenkins-ssh 06:12:02 Cloning the remote Git repository 06:12:02 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:12:02 > git init /w/workspace/device-mqtt-go/50 # timeout=10 06:12:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:12:02 > git --version # timeout=10 06:12:03 > git --version # 'git version 2.25.1' 06:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:04 Avoid second fetch 06:12:04 Checking out Revision 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b (main) 06:12:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:12:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:04 > git config core.sparsecheckout # timeout=10 06:12:04 > git checkout -f 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b # timeout=10 06:12:08 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 06:12:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:12:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:09 Dload Upload Total Spent Left Speed 06:12:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 217k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh 06:12:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:12:10 + sudo tee /etc/docker/daemon.new 06:12:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:12:10 { 06:12:10 "registry-mirrors": [ 06:12:10 "https://nexus3.edgexfoundry.org:10001" 06:12:10 ], 06:12:10 "bip": "10.250.0.254/24", 06:12:10 "hosts": [ 06:12:10 "tcp://0.0.0.0:5555", 06:12:10 "unix:///var/run/docker.sock" 06:12:10 ], 06:12:10 "mtu": 1458, 06:12:10 "selinux-enabled": true, 06:12:10 "seccomp-profile": "/etc/docker/seccomp.json" 06:12:10 } [Pipeline] sh 06:12:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:12:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:29 provisioning config files... 06:12:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config7044969628203105037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:29 ---> docker-login.sh 06:12:29 nexus3.edgexfoundry.org:10001 06:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:30 Configure a credential helper to remove this warning. See 06:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:30 06:12:30 Login Succeeded 06:12:31 nexus3.edgexfoundry.org:10002 06:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:31 Configure a credential helper to remove this warning. See 06:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:31 06:12:31 Login Succeeded 06:12:31 nexus3.edgexfoundry.org:10003 06:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:32 Configure a credential helper to remove this warning. See 06:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:32 06:12:32 Login Succeeded 06:12:32 nexus3.edgexfoundry.org:10004 06:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:32 Configure a credential helper to remove this warning. See 06:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:32 06:12:32 Login Succeeded 06:12:32 docker.io 06:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:33 Configure a credential helper to remove this warning. See 06:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:33 06:12:33 Login Succeeded 06:12:33 ---> docker-login.sh ends [Pipeline] } 06:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:33 ========================================================= 06:12:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:12:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:34 + 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 . 06:12:34 Sending build context to Docker daemon 3.087MB 06:12:34 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:12:34 Step 2/12 : FROM ${BASE} AS builder 06:12:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:12:34 9b3977197b4f: Pulling fs layer 06:12:34 1a89e8eeedd5: Pulling fs layer 06:12:34 94645a83ff95: Pulling fs layer 06:12:34 e6fb740bc735: Pulling fs layer 06:12:34 3a77bd46dcc9: Pulling fs layer 06:12:34 355e64cbe906: Pulling fs layer 06:12:34 63ab81a10011: Pulling fs layer 06:12:34 555d1d1c4555: Pulling fs layer 06:12:34 7d9057610161: Pulling fs layer 06:12:34 e6fb740bc735: Waiting 06:12:34 63ab81a10011: Waiting 06:12:34 555d1d1c4555: Waiting 06:12:34 7d9057610161: Waiting 06:12:34 3a77bd46dcc9: Waiting 06:12:34 355e64cbe906: Waiting 06:12:34 94645a83ff95: Verifying Checksum 06:12:34 94645a83ff95: Download complete 06:12:34 1a89e8eeedd5: Verifying Checksum 06:12:34 1a89e8eeedd5: Download complete 06:12:34 3a77bd46dcc9: Verifying Checksum 06:12:34 3a77bd46dcc9: Download complete 06:12:34 355e64cbe906: Verifying Checksum 06:12:34 355e64cbe906: Download complete 06:12:34 9b3977197b4f: Download complete 06:12:35 63ab81a10011: Verifying Checksum 06:12:35 63ab81a10011: Download complete 06:12:36 9b3977197b4f: Pull complete 06:12:36 7d9057610161: Verifying Checksum 06:12:36 7d9057610161: Download complete 06:12:36 1a89e8eeedd5: Pull complete 06:12:36 94645a83ff95: Pull complete 06:12:37 555d1d1c4555: Verifying Checksum 06:12:37 555d1d1c4555: Download complete 06:12:37 e6fb740bc735: Verifying Checksum 06:12:37 e6fb740bc735: Download complete 06:12:50 e6fb740bc735: Pull complete 06:12:50 3a77bd46dcc9: Pull complete 06:12:50 355e64cbe906: Pull complete 06:12:50 63ab81a10011: Pull complete 06:12:56 555d1d1c4555: Pull complete 06:12:58 7d9057610161: Pull complete 06:12:58 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 06:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:12:58 ---> 819e984ddca1 06:12:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:12:59 ---> Running in a7f114fc6fd7 06:13:00 Removing intermediate container a7f114fc6fd7 06:13:00 ---> e4e0162f82b5 06:13:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:13:00 ---> Running in 6b7f80cb0a73 06:13:00 Removing intermediate container 6b7f80cb0a73 06:13:00 ---> 1a538ec9ddf3 06:13:00 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:00 ---> Running in 99cbfa157f0a 06:13:02 Removing intermediate container 99cbfa157f0a 06:13:02 ---> 7d7cbd796538 06:13:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:13:02 ---> Running in 9d45a88ea8af 06:13:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:13:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:13:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:13:05 (2/4) Installing libedit (20210910.3.1-r0) 06:13:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:13:05 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:13:05 Executing busybox-1.34.1-r3.trigger 06:13:06 OK: 224 MiB in 56 packages 06:13:07 Removing intermediate container 9d45a88ea8af 06:13:07 ---> a623f25f46cd 06:13:07 Step 7/12 : WORKDIR /device-mqtt-go 06:13:07 ---> Running in e0ad05da050a 06:13:07 Removing intermediate container e0ad05da050a 06:13:07 ---> d05c27ebe102 06:13:07 Step 8/12 : COPY go.mod vendor* ./ 06:13:07 ---> 62de00956330 06:13:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:07 ---> Running in a0dca4ef3d32 06:14:04 Removing intermediate container a0dca4ef3d32 06:14:04 ---> 2ff527827a53 06:14:04 Step 10/12 : COPY . . 06:14:04 ---> 097b92f3940b 06:14:04 Step 11/12 : ARG MAKE='make build' 06:14:04 ---> Running in c3921f6f395e 06:14:04 Removing intermediate container c3921f6f395e 06:14:04 ---> a79b1e062b24 06:14:04 Step 12/12 : RUN $MAKE 06:14:04 ---> Running in 04f8a2985d17 06:14:04 noop 06:14:04 Removing intermediate container 04f8a2985d17 06:14:04 ---> 5c36fa2fe10e 06:14:04 Successfully built 5c36fa2fe10e 06:14:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:04 + docker inspect -f . ci-base-image-arm64 06:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:05 prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container 06:14:05 $ 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 06:14:06 $ docker top 5ec719d69a4f80f8ff6f2eb8455a5c1aa669919d1b9c77b513771e38c6ace59e -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:07 + go version 06:14:07 go version go1.17.7 linux/arm64 [Pipeline] } 06:14:07 $ docker stop --time=1 5ec719d69a4f80f8ff6f2eb8455a5c1aa669919d1b9c77b513771e38c6ace59e 06:14:09 $ 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 06:14:09 + docker inspect -f . ci-base-image-arm64 06:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:10 prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container 06:14:10 $ 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 06:14:11 $ docker top 8fc20483b00f5532fe0fe6df866246b2e3e75f87adcd2207c9d87ac12f259727 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:14:12 + make test 06:14:12 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:14:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:15:35 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:15:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements 06:15:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:15:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:15:35 GCO_ENABLED=1 GO111MODULE=on go vet ./... 06:16:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:02 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:03 $ docker stop --time=1 8fc20483b00f5532fe0fe6df866246b2e3e75f87adcd2207c9d87ac12f259727 06:16:05 $ docker rm -f 8fc20483b00f5532fe0fe6df866246b2e3e75f87adcd2207c9d87ac12f259727 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:06 Warning: overwriting stash ‘coverage-report’ 06:16:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:07 + ls -al . 06:16:07 total 176 06:16:07 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 06:16 . 06:16:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:12 .. 06:16:07 -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 06:12 .dockerignore 06:16:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:12 .git 06:16:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:12 .github 06:16:07 -rw-rw-r-- 1 jenkins jenkins 329 Jun 19 06:12 .gitignore 06:16:07 -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:12 .golangci.yml 06:16:07 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 19 06:12 Attribution.txt 06:16:07 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 19 06:12 CHANGELOG.md 06:16:07 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:12 Dockerfile 06:16:07 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:12 GOVERNANCE.md 06:16:07 -rw-rw-r-- 1 jenkins jenkins 678 Jun 19 06:12 Jenkinsfile 06:16:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:12 LICENSE 06:16:07 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 19 06:12 Makefile 06:16:07 -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 06:12 OWNERS.md 06:16:07 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 19 06:12 README.md 06:16:07 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:09 VERSION 06:16:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:12 bin 06:16:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:12 cmd 06:16:07 -rw-r--r-- 1 jenkins jenkins 17887 Jun 19 06:15 coverage.out 06:16:07 -rw-rw-r-- 1 jenkins jenkins 3313 Jun 19 06:12 go.mod 06:16:07 -rw-rw-r-- 1 jenkins jenkins 35836 Jun 19 06:12 go.sum 06:16:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:12 internal 06:16:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:12 mock 06:16:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:12 snap 06:16:07 -rw-rw-r-- 1 jenkins jenkins 227 Jun 19 06:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:07 + 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 . 06:16:07 Sending build context to Docker daemon 3.105MB 06:16:07 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:16:07 Step 2/24 : FROM ${BASE} AS builder 06:16:07 ---> 5c36fa2fe10e 06:16:07 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:16:08 ---> Running in 8660fc2c5168 06:16:08 Removing intermediate container 8660fc2c5168 06:16:08 ---> 7801e305a23d 06:16:08 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 06:16:08 ---> Running in abff50c8517a 06:16:08 Removing intermediate container abff50c8517a 06:16:08 ---> fe7f58d8e18c 06:16:08 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:08 ---> Running in 6eb2b5a06f0b 06:16:10 Removing intermediate container 6eb2b5a06f0b 06:16:10 ---> d4b6a215840d 06:16:10 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:10 ---> Running in f8342daf1b8b 06:16:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:16:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:16:13 OK: 224 MiB in 56 packages 06:16:14 Removing intermediate container f8342daf1b8b 06:16:14 ---> c28e9a4a9678 06:16:14 Step 7/24 : WORKDIR /device-mqtt-go 06:16:14 ---> Running in c14e55f0c95b 06:16:14 Removing intermediate container c14e55f0c95b 06:16:14 ---> b4ca6495993a 06:16:14 Step 8/24 : COPY go.mod vendor* ./ 06:16:15 ---> 2f20c8de6a68 06:16:15 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:15 ---> Running in f28172fbc0b2 06:16:17 Removing intermediate container f28172fbc0b2 06:16:17 ---> 29a0c6f2e7eb 06:16:17 Step 10/24 : COPY . . 06:16:17 ---> 268f3086b04f 06:16:17 Step 11/24 : ARG MAKE='make build' 06:16:18 ---> Running in 33feedd58393 06:16:18 Removing intermediate container 33feedd58393 06:16:18 ---> 130dd76b370c 06:16:18 Step 12/24 : RUN $MAKE 06:16:18 ---> Running in cae4224e36a0 06:16:19 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 06:18:26 Removing intermediate container cae4224e36a0 06:18:26 ---> 88754f8a5be6 06:18:26 Step 13/24 : FROM alpine:3.14 06:18:26 3.14: Pulling from library/alpine 06:18:26 455c02918c45: Pulling fs layer 06:18:26 455c02918c45: Verifying Checksum 06:18:26 455c02918c45: Download complete 06:18:26 455c02918c45: Pull complete 06:18:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:18:26 Status: Downloaded newer image for alpine:3.14 06:18:26 ---> ac73e934f311 06:18:26 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:18:26 ---> Running in 5e134abb58f8 06:18:26 Removing intermediate container 5e134abb58f8 06:18:26 ---> 05df6a7f7a09 06:18:26 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:18:26 ---> Running in 37b7db6e9afd 06:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:18:26 (1/6) Installing dumb-init (1.2.5-r1) 06:18:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:18:26 (3/6) Installing libsodium (1.0.18-r0) 06:18:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:18:26 (5/6) Installing libzmq (4.3.4-r0) 06:18:26 (6/6) Installing zeromq (4.3.4-r0) 06:18:26 Executing busybox-1.33.1-r7.trigger 06:18:26 OK: 8 MiB in 20 packages 06:18:26 Removing intermediate container 37b7db6e9afd 06:18:26 ---> 761313b74298 06:18:26 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:18:26 ---> a4eca7aa341d 06:18:26 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:18:26 ---> b83977dfa826 06:18:26 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:18:26 ---> 305334ae8afb 06:18:26 Step 19/24 : EXPOSE 59982 06:18:26 ---> Running in 02fe3db4dff0 06:18:26 Removing intermediate container 02fe3db4dff0 06:18:26 ---> 2a500d343f0a 06:18:26 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:18:26 ---> Running in 27ee1a6d4e1f 06:18:26 Removing intermediate container 27ee1a6d4e1f 06:18:26 ---> e30f5b97e74d 06:18:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:18:26 ---> Running in 786fcda7797e 06:18:26 Removing intermediate container 786fcda7797e 06:18:26 ---> ed3862bef032 06:18:26 Step 22/24 : LABEL arch=arm64 06:18:26 ---> Running in 02d397766df5 06:18:26 Removing intermediate container 02d397766df5 06:18:26 ---> 6e52fb3e8da8 06:18:26 Step 23/24 : LABEL git_sha=06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:18:26 ---> Running in f9d404ecf6df 06:18:26 Removing intermediate container f9d404ecf6df 06:18:26 ---> 282bf13f8d77 06:18:26 Step 24/24 : LABEL version=2.2.1-dev.3 06:18:26 ---> Running in 85a02831c703 06:18:26 Removing intermediate container 85a02831c703 06:18:26 ---> d4fbeab35e45 06:18:26 [Warning] One or more build-args [ARCH] were not consumed 06:18:26 Successfully built d4fbeab35e45 06:18:26 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 06:18:27 provisioning config files... 06:18:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/50@tmp/config4414029089043415441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:27 ---> docker-login.sh 06:18:27 nexus3.edgexfoundry.org:10001 06:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:27 Configure a credential helper to remove this warning. See 06:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:27 06:18:27 Login Succeeded 06:18:27 nexus3.edgexfoundry.org:10002 06:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:28 Configure a credential helper to remove this warning. See 06:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:28 06:18:28 Login Succeeded 06:18:28 nexus3.edgexfoundry.org:10003 06:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:28 Configure a credential helper to remove this warning. See 06:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:28 06:18:28 Login Succeeded 06:18:28 nexus3.edgexfoundry.org:10004 06:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:29 Configure a credential helper to remove this warning. See 06:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:29 06:18:29 Login Succeeded 06:18:29 docker.io 06:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:29 Configure a credential helper to remove this warning. See 06:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:29 06:18:29 Login Succeeded 06:18:29 ---> docker-login.sh ends [Pipeline] } 06:18:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:18:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:30 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:18:30 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:18:30 latest 06:18:30 2.2.1-dev.3 06:18:30 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 06:18:30 main 06:18:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:18:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:18:30 0eaa327a79ba: Preparing 06:18:30 824e84662bab: Preparing 06:18:30 77eddbcf9689: Preparing 06:18:30 91531ab507b0: Preparing 06:18:30 f73e7dbfee58: Preparing 06:18:30 f73e7dbfee58: Layer already exists 06:18:31 824e84662bab: Pushed 06:18:31 0eaa327a79ba: Pushed 06:18:31 91531ab507b0: Pushed 06:18:37 77eddbcf9689: Pushed 06:18:37 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:18:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:18:38 0eaa327a79ba: Preparing 06:18:38 824e84662bab: Preparing 06:18:38 77eddbcf9689: Preparing 06:18:38 91531ab507b0: Preparing 06:18:38 f73e7dbfee58: Preparing 06:18:38 f73e7dbfee58: Layer already exists 06:18:38 0eaa327a79ba: Layer already exists 06:18:38 91531ab507b0: Layer already exists 06:18:38 77eddbcf9689: Layer already exists 06:18:38 824e84662bab: Layer already exists 06:18:38 latest: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:38 + 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 06:18:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.3 06:18:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:18:39 0eaa327a79ba: Preparing 06:18:39 824e84662bab: Preparing 06:18:39 77eddbcf9689: Preparing 06:18:39 91531ab507b0: Preparing 06:18:39 f73e7dbfee58: Preparing 06:18:39 824e84662bab: Layer already exists 06:18:39 f73e7dbfee58: Layer already exists 06:18:39 77eddbcf9689: Layer already exists 06:18:39 0eaa327a79ba: Layer already exists 06:18:39 91531ab507b0: Layer already exists 06:18:39 2.2.1-dev.3: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:39 + 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 06:18:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 06:18:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:18:40 0eaa327a79ba: Preparing 06:18:40 824e84662bab: Preparing 06:18:40 77eddbcf9689: Preparing 06:18:40 91531ab507b0: Preparing 06:18:40 f73e7dbfee58: Preparing 06:18:40 77eddbcf9689: Layer already exists 06:18:40 0eaa327a79ba: Layer already exists 06:18:40 f73e7dbfee58: Layer already exists 06:18:40 91531ab507b0: Layer already exists 06:18:40 824e84662bab: Layer already exists 06:18:40 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:18:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:18:41 0eaa327a79ba: Preparing 06:18:41 824e84662bab: Preparing 06:18:41 77eddbcf9689: Preparing 06:18:41 91531ab507b0: Preparing 06:18:41 f73e7dbfee58: Preparing 06:18:41 f73e7dbfee58: Layer already exists 06:18:41 824e84662bab: Layer already exists 06:18:41 77eddbcf9689: Layer already exists 06:18:41 91531ab507b0: Layer already exists 06:18:41 0eaa327a79ba: Layer already exists 06:18:41 main: digest: sha256:c1831a14eff47227008c89921d698f327f8281540a6aae9d693cc523dd1722f3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:18:41 ===================================================== [Pipeline] echo 06:18:41 taggedImages: 06:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b 06:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.3 06:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b-2.2.1-dev.3 06:18:41 - 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 06:18:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:41 06:18:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:42 arm64: Pulling from edgex-lftools-log-publisher 06:18:42 8998bd30e6a1: Pulling fs layer 06:18:42 04944245beec: Pulling fs layer 06:18:42 699f458cf7ca: Pulling fs layer 06:18:42 765212b225bb: Pulling fs layer 06:18:42 f23df028b6ca: Pulling fs layer 06:18:42 d65c8cfc05b1: Pulling fs layer 06:18:42 2437ff75d9bd: Pulling fs layer 06:18:42 f23df028b6ca: Waiting 06:18:42 765212b225bb: Waiting 06:18:42 d65c8cfc05b1: Waiting 06:18:42 04944245beec: Verifying Checksum 06:18:42 04944245beec: Download complete 06:18:42 765212b225bb: Verifying Checksum 06:18:42 765212b225bb: Download complete 06:18:42 f23df028b6ca: Verifying Checksum 06:18:42 f23df028b6ca: Download complete 06:18:42 d65c8cfc05b1: Verifying Checksum 06:18:42 d65c8cfc05b1: Download complete 06:18:42 699f458cf7ca: Verifying Checksum 06:18:42 699f458cf7ca: Download complete 06:18:43 8998bd30e6a1: Verifying Checksum 06:18:43 8998bd30e6a1: Download complete 06:18:44 2437ff75d9bd: Download complete 06:18:46 8998bd30e6a1: Pull complete 06:18:47 04944245beec: Pull complete 06:18:49 699f458cf7ca: Pull complete 06:18:49 765212b225bb: Pull complete 06:18:49 f23df028b6ca: Pull complete 06:18:50 d65c8cfc05b1: Pull complete 06:19:05 2437ff75d9bd: Pull complete 06:19:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:19:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:05 prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container 06:19:05 $ 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 06:19:08 $ docker top e6c471ce7d42345fdf509f9e3ca03758c27666318b13381c9bf05c7ed02a22f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:08 ---> job-cost.sh 06:19:08 lf-activate-venv: SKIPPING 06:19:08 INFO: No Stack... 06:19:09 INFO: Retrieving Pricing Info for: v3-standard-4 06:19:10 INFO: Archiving Costs [Pipeline] sh 06:19:10 + cat /w/workspace/device-mqtt-go/50/archives/cost.csv 06:19:10 + cut -d, -f6 [Pipeline] lock 06:19:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] 06:19:10 Resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] did not exist. Created. 06:19:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:19:11 /w/workspace/device-mqtt-go/50@tmp/durable-c79aac4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:19:12 + echo total: 0.10999999940395355 [Pipeline] stash 06:19:12 Warning: overwriting stash ‘stack-cost’ 06:19:12 Stashed 1 file(s) [Pipeline] } 06:19:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 06:19:12 $ docker stop --time=1 e6c471ce7d42345fdf509f9e3ca03758c27666318b13381c9bf05c7ed02a22f7 06:19:13 $ 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 06:19:14 provisioning config files... 06:19:14 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2538765213244189144tmp [Pipeline] { [Pipeline] sh 06:19:14 + set +x 06:19:14 + curl -s https://codecov.io/bash 06:19:14 + bash -s -- 06:19:14 06:19:14 _____ _ 06:19:14 / ____| | | 06:19:14 | | ___ __| | ___ ___ _____ __ 06:19:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:19:14 | |___| (_) | (_| | __/ (_| (_) \ V / 06:19:14 \_____\___/ \__,_|\___|\___\___/ \_/ 06:19:14 Bash-1.0.6 06:19:14 06:19:14 06:19:14 ==> git version 2.25.1 found 06:19:14 ==> 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 06:19:14 Release-Date: 2020-01-08 06:19:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:19:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:19:14 ==> Jenkins CI detected. 06:19:14 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:19:14 project root: . 06:19:14 --> token set from env 06:19:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:19:14 ==> Running gcov in . (disable via -X gcov) 06:19:14 ==> Python coveragepy not found 06:19:14 ==> Searching for coverage reports in: 06:19:14 + . 06:19:14 -> Found 1 reports 06:19:14 ==> Detecting git/mercurial file structure 06:19:14 ==> Reading reports 06:19:14 + ./coverage.out bytes=17887 06:19:14 ==> Appending adjustments 06:19:14 https://docs.codecov.io/docs/fixing-reports 06:19:14 + Found adjustments 06:19:14 ==> Gzipping contents 06:19:14 4.0K /tmp/codecov.ui4XRy.gz 06:19:14 ==> Uploading reports 06:19:14 url: https://codecov.io 06:19:14 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= 06:19:14 -> Pinging Codecov 06:19:14 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= 06:19:15 -> Uploading to 06:19:15 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 06:19:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:15 Dload Upload Total Spent Left Speed 06:19:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3239 0 0 100 3239 0 11246 --:--:-- --:--:-- --:--:-- 11246 06:19:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] } 06:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:19:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:19:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:19:15 06:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:19:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:19:16 df9b9388f04a: Pulling fs layer 06:19:16 52dc419b0ee2: Pulling fs layer 06:19:16 25bc292e5bac: Pulling fs layer 06:19:16 114826534d7a: Pulling fs layer 06:19:16 4657fd5d0bcf: Pulling fs layer 06:19:16 6ad1cebc031e: Pulling fs layer 06:19:16 8a3aa393b2d8: Pulling fs layer 06:19:16 114826534d7a: Waiting 06:19:16 6ad1cebc031e: Waiting 06:19:16 4657fd5d0bcf: Waiting 06:19:16 8a3aa393b2d8: Waiting 06:19:16 25bc292e5bac: Verifying Checksum 06:19:16 25bc292e5bac: Download complete 06:19:16 52dc419b0ee2: Download complete 06:19:16 4657fd5d0bcf: Verifying Checksum 06:19:16 4657fd5d0bcf: Download complete 06:19:16 df9b9388f04a: Verifying Checksum 06:19:16 df9b9388f04a: Download complete 06:19:16 df9b9388f04a: Pull complete 06:19:16 6ad1cebc031e: Verifying Checksum 06:19:16 52dc419b0ee2: Pull complete 06:19:16 25bc292e5bac: Pull complete 06:19:17 114826534d7a: Verifying Checksum 06:19:17 114826534d7a: Download complete 06:19:17 8a3aa393b2d8: Verifying Checksum 06:19:17 8a3aa393b2d8: Download complete 06:19:20 114826534d7a: Pull complete 06:19:20 4657fd5d0bcf: Pull complete 06:19:20 6ad1cebc031e: Pull complete 06:19:23 8a3aa393b2d8: Pull complete 06:19:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:19:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:23 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:19:23 $ 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 06:19:25 $ docker top b2e4fc07784db14a73de01c6cd55ca4170a608e677348f787f3896b79668a3b4 -eo pid,comm [Pipeline] { [Pipeline] echo 06:19:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:19:26 + set -o pipefail 06:19:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:19:30 06:19:30 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:19:30 06:19:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/f3200340-3e46-4d7e-8a36-10f4fec626d4 06:19:30 06:19:30 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:19:30 06:19:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:19:30 06:19:30 [Pipeline] } 06:19:30 $ docker stop --time=1 b2e4fc07784db14a73de01c6cd55ca4170a608e677348f787f3896b79668a3b4 06:19:32 $ 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 06:19:33 + git log --format=format:%s -1 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b [Pipeline] sh 06:19:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:33 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:19:33 $ 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 06:19:34 $ docker top b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:34 [ssh-agent] Looking for ssh-agent implementation... 06:19:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:34 $ docker exec b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 ssh-agent 06:19:34 SSH_AUTH_SOCK=/tmp/ssh-AUjak4Xwl6Jh/agent.34 06:19:34 SSH_AGENT_PID=40 06:19:34 Running ssh-add (command line suppressed) 06:19:34 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) 06:19:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:34 + git semver tag 06:19:35 2022-06-19 06:19:35,077 [run_tag] DEBUG tag force:False 06:19:35 2022-06-19 06:19:35,077 [check_head_tag] DEBUG check head tag 06:19:35 2022-06-19 06:19:35,077 [execute] INFO git cat-file --batch-check 06:19:35 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=) 06:19:35 2022-06-19 06:19:35,081 [execute] INFO git cat-file --batch 06:19:35 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=) 06:19:35 2022-06-19 06:19:35,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:35 2022-06-19 06:19:35,089 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 06:19:35 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) 06:19:35 2022-06-19 06:19:35,095 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:35 2.2.1-dev.3 [Pipeline] } 06:19:35 $ docker exec --env ******** --env ******** b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 ssh-agent -k 06:19:35 unset SSH_AUTH_SOCK; 06:19:35 unset SSH_AGENT_PID; 06:19:35 echo Agent pid 40 killed; 06:19:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:35 + git semver [Pipeline] } 06:19:35 $ docker stop --time=1 b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 06:19:37 $ docker rm -f b93c7465e8176c9028bb0a550be62bcacb9eb509f5af3da1e7744deab3a58c31 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:19:37 06:19:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:19:38 0.23.1-centos7: Pulling from edgex-lftools 06:19:38 ab5ef0e58194: Pulling fs layer 06:19:38 9712f1f96733: Pulling fs layer 06:19:38 63f879dbbcfc: Pulling fs layer 06:19:38 0d9ebad4ef96: Pulling fs layer 06:19:38 e9a5061849ea: Pulling fs layer 06:19:38 d747dcd14b5f: Pulling fs layer 06:19:38 2de7ff778b66: Pulling fs layer 06:19:38 e9a5061849ea: Waiting 06:19:38 d747dcd14b5f: Waiting 06:19:38 0d9ebad4ef96: Waiting 06:19:38 2de7ff778b66: Waiting 06:19:38 63f879dbbcfc: Verifying Checksum 06:19:38 63f879dbbcfc: Download complete 06:19:38 e9a5061849ea: Verifying Checksum 06:19:38 e9a5061849ea: Download complete 06:19:38 d747dcd14b5f: Verifying Checksum 06:19:38 d747dcd14b5f: Download complete 06:19:38 ab5ef0e58194: Verifying Checksum 06:19:38 ab5ef0e58194: Download complete 06:19:38 0d9ebad4ef96: Verifying Checksum 06:19:38 0d9ebad4ef96: Download complete 06:19:38 2de7ff778b66: Verifying Checksum 06:19:38 2de7ff778b66: Download complete 06:19:41 ab5ef0e58194: Pull complete 06:19:41 9712f1f96733: Pull complete 06:19:42 63f879dbbcfc: Pull complete 06:19:45 0d9ebad4ef96: Pull complete 06:19:45 e9a5061849ea: Pull complete 06:19:45 d747dcd14b5f: Pull complete 06:19:46 2de7ff778b66: Pull complete 06:19:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:19:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:46 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:19:46 $ 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 06:19:48 $ docker top f5a1459c749c46f19b49e93c22b580ca860817cb1925ac382ff8ae033953e9ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:19:48 provisioning config files... 06:19:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2117690670759891224tmp 06:19:48 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6035786061247442075tmp 06:19:48 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2926793593399035978tmp [Pipeline] { [Pipeline] echo 06:19:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:19:48 ---> sigul-configuration.sh 06:19:48 gpg: directory `/root/.gnupg' created 06:19:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:19:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:19:48 gpg: keyring `/root/.gnupg/secring.gpg' created 06:19:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:19:48 gpg: CAST5 encrypted data 06:19:48 gpg: encrypted with 1 passphrase 06:19:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:19:49 + mkdir /home/jenkins 06:19:49 + mkdir /home/jenkins/sigul [Pipeline] sh 06:19:49 + 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 06:19:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:19:49 ---> sigul-install.sh 06:19:49 Sigul already installed; skipping installation. [Pipeline] sh 06:19:50 + git tag --list 06:19:50 0.7.1 06:19:50 v1.0.0 06:19:50 v1.1.0 06:19:50 v1.1.1 06:19:50 v1.2.2 06:19:50 v1.3.0 06:19:50 v1.3.1 06:19:50 v2.0.0 06:19:50 v2.1.0 06:19:50 v2.1.1 06:19:50 v2.1.1-dev.1 06:19:50 v2.1.1-dev.2 06:19:50 v2.2.0 06:19:50 v2.2.1-dev.1 06:19:50 v2.2.1-dev.2 06:19:50 v2.2.1-dev.3 [Pipeline] sh 06:19:50 + lftools sign git-tag v2.2.1-dev.3 06:19:51 Signing Git tag with Sigul... 06:19:51 Signing v2.2.1-dev.3 [Pipeline] echo 06:19:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:19:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:19:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:19:51 $ docker stop --time=1 f5a1459c749c46f19b49e93c22b580ca860817cb1925ac382ff8ae033953e9ed 06:19:52 $ docker rm -f f5a1459c749c46f19b49e93c22b580ca860817cb1925ac382ff8ae033953e9ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:19:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:53 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:19:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:19:54 $ docker top c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:54 [ssh-agent] Looking for ssh-agent implementation... 06:19:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:54 $ docker exec c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa ssh-agent 06:19:54 SSH_AUTH_SOCK=/tmp/ssh-Bx5XRlP85HQx/agent.33 06:19:54 SSH_AGENT_PID=39 06:19:54 Running ssh-add (command line suppressed) 06:19:54 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) 06:19:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:54 + git semver bump pre 06:19:55 2022-06-19 06:19:55,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:55 2022-06-19 06:19:55,122 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev 06:19:55 2022-06-19 06:19:55,122 [bump_version] DEBUG bumped version:2.2.1-dev.4 06:19:55 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 06:19:55 2022-06-19 06:19:55,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:55 2022-06-19 06:19:55,122 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:55 2022-06-19 06:19:55,124 [execute] INFO git cat-file --batch-check 06:19:55 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=) 06:19:55 2022-06-19 06:19:55,129 [execute] INFO git cat-file --batch 06:19:55 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=) 06:19:55 2022-06-19 06:19:55,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:55 2.2.1-dev.4 [Pipeline] } 06:19:55 $ docker exec --env ******** --env ******** c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa ssh-agent -k 06:19:55 unset SSH_AUTH_SOCK; 06:19:55 unset SSH_AGENT_PID; 06:19:55 echo Agent pid 39 killed; 06:19:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:55 + git semver [Pipeline] } 06:19:55 $ docker stop --time=1 c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa 06:19:57 $ docker rm -f c72e6cdc612e4d7d3b357308e706d18b476f788be096ee88807216db38c572aa [Pipeline] // withDockerContainer [Pipeline] sh 06:19:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:57 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:19:57 $ 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 06:19:58 $ docker top afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:58 [ssh-agent] Looking for ssh-agent implementation... 06:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:58 $ docker exec afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 ssh-agent 06:19:58 SSH_AUTH_SOCK=/tmp/ssh-bVBcNJV7zCNf/agent.31 06:19:58 SSH_AGENT_PID=37 06:19:58 Running ssh-add (command line suppressed) 06:19:58 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) 06:19:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:59 + git semver push 06:19:59 2022-06-19 06:19:59,262 [run_push] DEBUG push 06:19:59 2022-06-19 06:19:59,262 [execute] INFO git cat-file --batch-check 06:19:59 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=) 06:19:59 2022-06-19 06:19:59,266 [execute] INFO git rev-list 8f277b5d6eaf3e22bc7a76217572e12453e43fd5 -- 06:19:59 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) 06:19:59 2022-06-19 06:19:59,273 [execute] INFO git fetch -v origin 06:19:59 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) 06:19:59 2022-06-19 06:19:59,729 [run_push] DEBUG no remote changes detected 06:19:59 2022-06-19 06:19:59,729 [execute] INFO git push origin semver 06:19:59 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) 06:20:00 2022-06-19 06:20:00,454 [run_push] DEBUG push all version tags 06:20:00 2022-06-19 06:20:00,455 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:20:00 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) 06:20:01 2022-06-19 06:20:01,154 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:20:01 2.2.1-dev.4 [Pipeline] } 06:20:01 $ docker exec --env ******** --env ******** afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 ssh-agent -k 06:20:01 unset SSH_AUTH_SOCK; 06:20:01 unset SSH_AGENT_PID; 06:20:01 echo Agent pid 37 killed; 06:20:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:01 + git semver [Pipeline] } 06:20:02 $ docker stop --time=1 afcdb1c76bfbd2bf6e775ba87195d6989fac2c25c552e1af438883957f898661 06:20:03 $ 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 06:20:04 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:20:04 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:20:04 total 16 06:20:04 drwxr-xr-x 3 root root 4096 Jun 19 06:10 . 06:20:04 drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 06:19 .. 06:20:04 drwxr-xr-x 2 root root 4096 Jun 19 06:10 cost 06:20:04 -rw-r--r-- 1 root root 84 Jun 19 06:10 cost.csv 06:20:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:20:04 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:20:04 total 16 06:20:04 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:10 . 06:20:04 drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 06:19 .. 06:20:04 drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 06:10 cost 06:20:04 -rw-r--r-- 1 jenkins jenkins 84 Jun 19 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:20:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:20:05 ---> package-listing.sh 06:20:05 ++ facter osfamily 06:20:05 ++ tr '[:upper:]' '[:lower:]' 06:20:05 + OS_FAMILY=debian 06:20:05 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:20:05 + START_PACKAGES=/tmp/packages_start.txt 06:20:05 + END_PACKAGES=/tmp/packages_end.txt 06:20:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:20:05 + PACKAGES=/tmp/packages_start.txt 06:20:05 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:20:05 + PACKAGES=/tmp/packages_end.txt 06:20:05 + case "${OS_FAMILY}" in 06:20:05 + dpkg -l 06:20:05 + grep '^ii' 06:20:05 + '[' -f /tmp/packages_start.txt ']' 06:20:05 + '[' -f /tmp/packages_end.txt ']' 06:20:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:20:05 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:20:05 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:20:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:20:05 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 06:20:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:06 prd-ubuntu20.04-docker-8c-8g-2677 does not seem to be running inside a container 06:20:06 $ 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 06:20:06 $ docker top fcc6aafe5afda64a25bf18136d35eb3d7a21c77533312642f99bc4b42d038a05 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:07 + touch /tmp/pre-build-complete [Pipeline] sh 06:20:07 + mkdir -p /var/log/sysstat [Pipeline] sh 06:20:07 + ls /var/log/sa-host 06:20:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:07 provisioning config files... 06:20:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5062050025842271122tmp [Pipeline] { [Pipeline] echo 06:20:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:08 ---> create-netrc.sh [Pipeline] } 06:20:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:20:08 ---> python-tools-install.sh [Pipeline] echo 06:20:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:08 ---> sudo-logs.sh 06:20:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:20:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:09 ---> job-cost.sh 06:20:09 lf-activate-venv: SKIPPING 06:20:09 DEBUG: total: 0.2199999988079071 06:20:09 INFO: Retrieving Stack Cost... 06:20:09 INFO: Retrieving Pricing Info for: v3-standard-8 06:20:09 INFO: Archiving Costs [Pipeline] echo 06:20:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:20:10 ---> logs-deploy.sh 06:20:10 lf-activate-venv: SKIPPING 06:20:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/50 06:20:10 INFO: archiving workspace using pattern(s): 06:20:11 Archives upload complete. 06:20:11 INFO: archiving logs to Nexus 06:20:11 ---> uname -a: 06:20:11 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 06:20:11 06:20:11