Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8114a0a5788dfb33e69c59c13f1ac2f90e850568 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-ssh8499060335755632792.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-ssh7384422674673214181.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-ssh8258605165948252198.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-ssh8028015708274153654.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-ssh2473498733932629197.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2298 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 8114a0a5788dfb33e69c59c13f1ac2f90e850568 (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 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 Commit message: "Merge pull request #389 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" > git rev-list --no-walk 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:52:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:52:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:52:41 ========================================================= 02:52:41 EdgeX Global Pipelines Version Info 02:52:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:52:41 ------------------- 02:52:41 stable info: 02:52:41 ------------------- 02:52:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:52:41 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:52:41 Message: update stable to v1.0.234 02:52:42 ------------------- 02:52:42 experimental info: 02:52:42 ------------------- 02:52:42 Commited By: **** collab-it+edgex@linuxfoundation.org 02:52:42 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:52:42 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:52:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8114a0a [Pipeline] echo 02:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:43 provisioning config files... 02:52:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9164188836933774019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:43 ---> docker-login.sh 02:52:43 nexus3.edgexfoundry.org:10001 02:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:43 Configure a credential helper to remove this warning. See 02:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:43 02:52:43 Login Succeeded 02:52:43 nexus3.edgexfoundry.org:10002 02:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:44 Configure a credential helper to remove this warning. See 02:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:44 02:52:44 Login Succeeded 02:52:44 nexus3.edgexfoundry.org:10003 02:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:44 Configure a credential helper to remove this warning. See 02:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:44 02:52:44 Login Succeeded 02:52:44 nexus3.edgexfoundry.org:10004 02:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:44 Configure a credential helper to remove this warning. See 02:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:44 02:52:44 Login Succeeded 02:52:44 docker.io 02:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:44 Configure a credential helper to remove this warning. See 02:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:44 02:52:44 Login Succeeded 02:52:44 ---> docker-login.sh ends [Pipeline] } 02:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:52:45 + git rev-list -1 --merges 8114a0a5788dfb33e69c59c13f1ac2f90e850568~1..8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo 02:52:45 -----------> git rev-list -1 --merges 8114a0a5788dfb33e69c59c13f1ac2f90e850568~1..8114a0a5788dfb33e69c59c13f1ac2f90e850568 8114a0a5788dfb33e69c59c13f1ac2f90e850568 02:52:45 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [false] [Pipeline] sh 02:52:45 + git log --format=format:%s -1 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo 02:52:45 ========================================================= 02:52:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:52:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:46 + git log --format=format:%s -1 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo 02:52:46 [semverPrep] GIT_COMMIT: 8114a0a5788dfb33e69c59c13f1ac2f90e850568, Commit Message: Merge pull request #389 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2 [Pipeline] echo 02:52:46 [semverPrep] This is not a build commit. [Pipeline] sh 02:52:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:52:46 + grep -v github /etc/ssh/ssh_known_hosts 02:52:46 + [ -e /tmp/ssh_known_hosts ] 02:52:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:52:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:52:46 + sudo tee -a /etc/ssh/ssh_known_hosts 02:52:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:46 02:52:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:47 0.1.4: Pulling from edgex-devops/py-git-semver 02:52:47 42c077c10790: Pulling fs layer 02:52:47 f63e77b7563a: Pulling fs layer 02:52:47 bd5fdadae976: Pulling fs layer 02:52:47 205491f53016: Pulling fs layer 02:52:47 df18705c85c3: Pulling fs layer 02:52:47 bdb3f477010e: Pulling fs layer 02:52:47 c8a8fc8e1c8f: Pulling fs layer 02:52:47 2c6e9b1d212d: Pulling fs layer 02:52:47 bdb8f0575790: Pulling fs layer 02:52:47 386e3cb2ff24: Pulling fs layer 02:52:47 2343380bae48: Pulling fs layer 02:52:47 2c6e9b1d212d: Waiting 02:52:47 bdb8f0575790: Waiting 02:52:47 205491f53016: Waiting 02:52:47 df18705c85c3: Waiting 02:52:47 386e3cb2ff24: Waiting 02:52:47 c8a8fc8e1c8f: Waiting 02:52:47 2343380bae48: Waiting 02:52:47 bdb3f477010e: Waiting 02:52:47 f63e77b7563a: Verifying Checksum 02:52:47 f63e77b7563a: Download complete 02:52:47 205491f53016: Verifying Checksum 02:52:47 205491f53016: Download complete 02:52:47 df18705c85c3: Verifying Checksum 02:52:47 df18705c85c3: Download complete 02:52:47 bd5fdadae976: Verifying Checksum 02:52:47 bd5fdadae976: Download complete 02:52:47 bdb3f477010e: Download complete 02:52:47 2c6e9b1d212d: Verifying Checksum 02:52:47 2c6e9b1d212d: Download complete 02:52:47 bdb8f0575790: Verifying Checksum 02:52:47 bdb8f0575790: Download complete 02:52:47 386e3cb2ff24: Verifying Checksum 02:52:47 386e3cb2ff24: Download complete 02:52:47 2343380bae48: Verifying Checksum 02:52:47 2343380bae48: Download complete 02:52:47 42c077c10790: Download complete 02:52:47 c8a8fc8e1c8f: Download complete 02:52:49 42c077c10790: Pull complete 02:52:49 f63e77b7563a: Pull complete 02:52:49 bd5fdadae976: Pull complete 02:52:49 205491f53016: Pull complete 02:52:49 df18705c85c3: Pull complete 02:52:49 bdb3f477010e: Pull complete 02:52:52 c8a8fc8e1c8f: Pull complete 02:52:52 2c6e9b1d212d: Pull complete 02:52:52 bdb8f0575790: Pull complete 02:52:52 386e3cb2ff24: Pull complete 02:52:52 2343380bae48: Pull complete 02:52:52 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 02:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:52 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 02:52:52 $ 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 02:52:53 $ docker top f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:54 [ssh-agent] Looking for ssh-agent implementation... 02:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:54 $ docker exec f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent 02:52:54 SSH_AUTH_SOCK=/tmp/ssh-OeOU9msa7mmF/agent.34 02:52:54 SSH_AGENT_PID=41 02:52:54 Running ssh-add (command line suppressed) 02:52:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5433960308914745545.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5433960308914745545.key) 02:52:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:54 + git tag --points-at HEAD [Pipeline] } 02:52:54 $ docker exec --env ******** --env ******** f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent -k 02:52:54 unset SSH_AUTH_SOCK; 02:52:54 unset SSH_AGENT_PID; 02:52:54 echo Agent pid 41 killed; 02:52:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:54 [ssh-agent] Looking for ssh-agent implementation... 02:52:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:55 $ docker exec f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent 02:52:55 SSH_AUTH_SOCK=/tmp/ssh-J1g7O1bMOj4U/agent.74 02:52:55 SSH_AGENT_PID=80 02:52:55 Running ssh-add (command line suppressed) 02:52:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1716230757287982185.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1716230757287982185.key) 02:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:55 + git semver init 02:52:56 2022-06-13 02:52:55,838 [run_init] DEBUG init version:0.0.0 force:False 02:52:56 2022-06-13 02:52:55,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:52:56 2022-06-13 02:52:55,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:52:56 2022-06-13 02:52:55,840 [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) 02:52:56 2022-06-13 02:52:56,561 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:52:56 2022-06-13 02:52:56,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:52:56 2022-06-13 02:52:56,561 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:52:56 2022-06-13 02:52:56,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:52:56 2.2.1-dev.2 [Pipeline] } 02:52:56 $ docker exec --env ******** --env ******** f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent -k 02:52:56 unset SSH_AUTH_SOCK; 02:52:56 unset SSH_AGENT_PID; 02:52:56 echo Agent pid 80 killed; 02:52:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:52:57 + git semver [Pipeline] } 02:52:57 $ docker stop --time=1 f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 02:52:59 $ docker rm -f f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 [Pipeline] // withDockerContainer [Pipeline] sh 02:52:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:52:59 Stashed 1 file(s) [Pipeline] echo 02:52:59 [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [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 02:52:59 provisioning config files... 02:52:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8625946581757387104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:00 ---> docker-login.sh 02:53:00 nexus3.edgexfoundry.org:10001 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 nexus3.edgexfoundry.org:10002 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 nexus3.edgexfoundry.org:10003 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 nexus3.edgexfoundry.org:10004 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 docker.io 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 ---> docker-login.sh ends [Pipeline] } 02:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:01 ========================================================= 02:53:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:53:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:01 + 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 . 02:53:01 Sending build context to Docker daemon 5.975MB 02:53:01 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:53:01 Step 2/12 : FROM ${BASE} AS builder 02:53:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:53:01 59bf1c3509f3: Pulling fs layer 02:53:01 666ba61612fd: Pulling fs layer 02:53:01 8ed8ca486205: Pulling fs layer 02:53:01 cc1cd167ecdc: Pulling fs layer 02:53:01 c516ae0d96e1: Pulling fs layer 02:53:01 684cea983483: Pulling fs layer 02:53:01 dd3240ac7de5: Pulling fs layer 02:53:01 b1e948a4e11c: Pulling fs layer 02:53:01 a8fd76ee1af6: Pulling fs layer 02:53:01 646ad004c059: Pulling fs layer 02:53:01 c516ae0d96e1: Waiting 02:53:01 684cea983483: Waiting 02:53:01 dd3240ac7de5: Waiting 02:53:01 b1e948a4e11c: Waiting 02:53:01 a8fd76ee1af6: Waiting 02:53:01 646ad004c059: Waiting 02:53:01 cc1cd167ecdc: Waiting 02:53:01 8ed8ca486205: Verifying Checksum 02:53:01 8ed8ca486205: Download complete 02:53:01 666ba61612fd: Download complete 02:53:01 c516ae0d96e1: Verifying Checksum 02:53:01 c516ae0d96e1: Download complete 02:53:01 684cea983483: Verifying Checksum 02:53:01 684cea983483: Download complete 02:53:01 59bf1c3509f3: Verifying Checksum 02:53:01 59bf1c3509f3: Download complete 02:53:01 dd3240ac7de5: Verifying Checksum 02:53:01 b1e948a4e11c: Verifying Checksum 02:53:01 b1e948a4e11c: Download complete 02:53:01 59bf1c3509f3: Pull complete 02:53:01 666ba61612fd: Pull complete 02:53:01 8ed8ca486205: Pull complete 02:53:02 646ad004c059: Verifying Checksum 02:53:02 646ad004c059: Download complete 02:53:02 cc1cd167ecdc: Verifying Checksum 02:53:02 cc1cd167ecdc: Download complete 02:53:02 a8fd76ee1af6: Verifying Checksum 02:53:02 a8fd76ee1af6: Download complete 02:53:06 cc1cd167ecdc: Pull complete 02:53:06 c516ae0d96e1: Pull complete 02:53:06 684cea983483: Pull complete 02:53:06 dd3240ac7de5: Pull complete 02:53:06 b1e948a4e11c: Pull complete 02:53:09 a8fd76ee1af6: Pull complete 02:53:10 646ad004c059: Pull complete 02:53:10 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 02:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:53:10 ---> 8f69c11f6b0c 02:53:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:53:11 ---> Running in 1b254fa18275 02:53:11 Removing intermediate container 1b254fa18275 02:53:11 ---> e4299083ebf3 02:53:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:53:11 ---> Running in 52f776f8d29e 02:53:11 Removing intermediate container 52f776f8d29e 02:53:11 ---> dfaba3c14688 02:53:11 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:53:11 ---> Running in 927762ed1e61 02:53:12 Removing intermediate container 927762ed1e61 02:53:12 ---> 02e3e6d741cf 02:53:12 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:12 ---> Running in be1042382846 02:53:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:53:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:53:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:53:13 (2/4) Installing libedit (20210910.3.1-r0) 02:53:14 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:53:14 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:53:14 Executing busybox-1.34.1-r3.trigger 02:53:14 OK: 224 MiB in 56 packages 02:53:14 Removing intermediate container be1042382846 02:53:14 ---> 4717674af2af 02:53:14 Step 7/12 : WORKDIR /device-mqtt-go 02:53:14 ---> Running in eeae080df8dc 02:53:14 Removing intermediate container eeae080df8dc 02:53:14 ---> 9d416cdde26e 02:53:14 Step 8/12 : COPY go.mod vendor* ./ 02:53:14 Still waiting to schedule task 02:53:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:53:14 ---> b9fa1cd48f2f 02:53:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:14 ---> Running in b43f673f5ae6 02:53:29 Removing intermediate container b43f673f5ae6 02:53:29 ---> 394af737e165 02:53:29 Step 10/12 : COPY . . 02:53:29 ---> 98a138b2778b 02:53:29 Step 11/12 : ARG MAKE='make build' 02:53:29 ---> Running in 7b50e3d872fd 02:53:30 Removing intermediate container 7b50e3d872fd 02:53:30 ---> aca9d84eb8f5 02:53:30 Step 12/12 : RUN $MAKE 02:53:30 ---> Running in 279ab7a2d628 02:53:30 noop 02:53:30 Removing intermediate container 279ab7a2d628 02:53:30 ---> 08bf64e40f63 02:53:30 Successfully built 08bf64e40f63 02:53:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:31 + docker inspect -f . ci-base-image-x86_64 02:53:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:31 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 02:53:31 $ 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 02:53:31 $ docker top 2df93feba3a7ff6d996ccc72193ae3130c76733b5ba807e925b4606566ac8920 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:32 + go version 02:53:32 go version go1.17.7 linux/amd64 [Pipeline] } 02:53:32 $ docker stop --time=1 2df93feba3a7ff6d996ccc72193ae3130c76733b5ba807e925b4606566ac8920 02:53:33 $ docker rm -f 2df93feba3a7ff6d996ccc72193ae3130c76733b5ba807e925b4606566ac8920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:33 + docker inspect -f . ci-base-image-x86_64 02:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:34 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 02:53:34 $ 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 02:53:34 $ docker top e56ac0c233090daee2b0c11d6e6763839816825322e120bd3d7bf48faa2d250f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:53:34 + make test 02:53:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:53:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:53:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:53:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 02:53:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:53:55 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:53:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:53:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:53:59 ./bin/test-attribution-txt.sh [Pipeline] echo 02:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:53:59 $ docker stop --time=1 e56ac0c233090daee2b0c11d6e6763839816825322e120bd3d7bf48faa2d250f 02:54:01 $ docker rm -f e56ac0c233090daee2b0c11d6e6763839816825322e120bd3d7bf48faa2d250f [Pipeline] // withDockerContainer [Pipeline] sh 02:54:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:54:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:54:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:02 + ls -al . 02:54:02 total 180 02:54:02 drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 02:53 . 02:54:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:52 .. 02:54:02 -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 02:52 .dockerignore 02:54:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 02:52 .git 02:54:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:52 .github 02:54:02 -rw-rw-r-- 1 jenkins jenkins 329 Jun 13 02:52 .gitignore 02:54:02 -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 02:52 .golangci.yml 02:54:02 drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 02:52 .semver 02:54:02 -rw-rw-r-- 1 jenkins jenkins 8789 Jun 13 02:52 Attribution.txt 02:54:02 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 13 02:52 CHANGELOG.md 02:54:02 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:52 Dockerfile 02:54:02 -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 02:52 GOVERNANCE.md 02:54:02 -rw-rw-r-- 1 jenkins jenkins 678 Jun 13 02:52 Jenkinsfile 02:54:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 02:52 LICENSE 02:54:02 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:52 Makefile 02:54:02 -rw-rw-r-- 1 jenkins jenkins 620 Jun 13 02:52 OWNERS.md 02:54:02 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 13 02:52 README.md 02:54:02 -rw-rw-r-- 1 jenkins jenkins 11 Jun 13 02:52 VERSION 02:54:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:52 bin 02:54:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:52 cmd 02:54:02 -rw-r--r-- 1 jenkins jenkins 17887 Jun 13 02:53 coverage.out 02:54:02 -rw-rw-r-- 1 jenkins jenkins 3235 Jun 13 02:52 go.mod 02:54:02 -rw-rw-r-- 1 jenkins jenkins 35308 Jun 13 02:52 go.sum 02:54:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:52 internal 02:54:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:52 mock 02:54:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:52 snap 02:54:02 -rw-rw-r-- 1 jenkins jenkins 227 Jun 13 02:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:03 + 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=8114a0a5788dfb33e69c59c13f1ac2f90e850568 --label arch=amd64 --label version=2.2.1-dev.2 . 02:54:03 Sending build context to Docker daemon 5.993MB 02:54:03 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:54:03 Step 2/24 : FROM ${BASE} AS builder 02:54:03 ---> 08bf64e40f63 02:54:03 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:54:03 ---> Running in cd3e428705e8 02:54:03 Removing intermediate container cd3e428705e8 02:54:03 ---> 42ca268eca19 02:54:03 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 02:54:03 ---> Running in c21e82a7d363 02:54:03 Removing intermediate container c21e82a7d363 02:54:03 ---> 79a94d4456f0 02:54:03 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:54:03 ---> Running in 10d33e7b2a6a 02:54:03 Removing intermediate container 10d33e7b2a6a 02:54:03 ---> 37186dd629bf 02:54:03 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:03 ---> Running in 0307e8851371 02:54:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:54:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:54:05 OK: 224 MiB in 56 packages 02:54:05 Removing intermediate container 0307e8851371 02:54:05 ---> 003e9836a3b1 02:54:05 Step 7/24 : WORKDIR /device-mqtt-go 02:54:05 ---> Running in a0cf17a25565 02:54:05 Removing intermediate container a0cf17a25565 02:54:05 ---> 1076270007fc 02:54:05 Step 8/24 : COPY go.mod vendor* ./ 02:54:06 ---> 6c0b40a251a8 02:54:06 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:06 ---> Running in 8aad6c993186 02:54:06 Removing intermediate container 8aad6c993186 02:54:06 ---> cb79a7b1b207 02:54:06 Step 10/24 : COPY . . 02:54:07 ---> bf4c8e345409 02:54:07 Step 11/24 : ARG MAKE='make build' 02:54:07 ---> Running in 97ab1e83b063 02:54:07 Removing intermediate container 97ab1e83b063 02:54:07 ---> 78e482fee330 02:54:07 Step 12/24 : RUN $MAKE 02:54:07 ---> Running in e5998a6cc248 02:54:07 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:54:29 Removing intermediate container e5998a6cc248 02:54:29 ---> 3e97023e1ed1 02:54:29 Step 13/24 : FROM alpine:3.14 02:54:29 3.14: Pulling from library/alpine 02:54:29 8663204ce13b: Pulling fs layer 02:54:30 8663204ce13b: Download complete 02:54:30 8663204ce13b: Pull complete 02:54:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:54:30 Status: Downloaded newer image for alpine:3.14 02:54:30 ---> e04c818066af 02:54:30 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:54:30 ---> Running in fe514f5dd2fa 02:54:30 Removing intermediate container fe514f5dd2fa 02:54:30 ---> 3de1309426a5 02:54:30 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:54:30 ---> Running in 0acfe1eb2d4f 02:54:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:54:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:54:31 (1/6) Installing dumb-init (1.2.5-r1) 02:54:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:54:31 (3/6) Installing libsodium (1.0.18-r0) 02:54:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:54:31 (5/6) Installing libzmq (4.3.4-r0) 02:54:31 (6/6) Installing zeromq (4.3.4-r0) 02:54:31 Executing busybox-1.33.1-r7.trigger 02:54:31 OK: 8 MiB in 20 packages 02:54:31 Removing intermediate container 0acfe1eb2d4f 02:54:31 ---> 65571c02b197 02:54:31 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:54:31 ---> d2a1eb353eba 02:54:31 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:54:32 ---> c95c5feb4081 02:54:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:54:32 ---> e4fe20503cc4 02:54:32 Step 19/24 : EXPOSE 59982 02:54:32 ---> Running in 36080f37cabf 02:54:32 Removing intermediate container 36080f37cabf 02:54:32 ---> 7fc5c820a55a 02:54:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:54:32 ---> Running in 51c4e309d865 02:54:32 Removing intermediate container 51c4e309d865 02:54:32 ---> 115657d6bb25 02:54:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:54:32 ---> Running in 9b489f97e4ba 02:54:32 Removing intermediate container 9b489f97e4ba 02:54:32 ---> 23a934132518 02:54:32 Step 22/24 : LABEL arch=amd64 02:54:32 ---> Running in 604a22c65540 02:54:32 Removing intermediate container 604a22c65540 02:54:32 ---> 5e7f0bee45b4 02:54:32 Step 23/24 : LABEL git_sha=8114a0a5788dfb33e69c59c13f1ac2f90e850568 02:54:32 ---> Running in c16d8d6dd013 02:54:32 Removing intermediate container c16d8d6dd013 02:54:32 ---> d9495b28bc07 02:54:32 Step 24/24 : LABEL version=2.2.1-dev.2 02:54:32 ---> Running in 105e7576482c 02:54:32 Removing intermediate container 105e7576482c 02:54:32 ---> 140b32c11f8c 02:54:32 [Warning] One or more build-args [ARCH] were not consumed 02:54:32 Successfully built 140b32c11f8c 02:54:32 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:33 provisioning config files... 02:54:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9199314769846715535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:33 ---> docker-login.sh 02:54:33 nexus3.edgexfoundry.org:10001 02:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:33 Configure a credential helper to remove this warning. See 02:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:33 02:54:33 Login Succeeded 02:54:33 nexus3.edgexfoundry.org:10002 02:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:33 Configure a credential helper to remove this warning. See 02:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:33 02:54:33 Login Succeeded 02:54:33 nexus3.edgexfoundry.org:10003 02:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:33 Configure a credential helper to remove this warning. See 02:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:33 02:54:33 Login Succeeded 02:54:33 nexus3.edgexfoundry.org:10004 02:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:33 Configure a credential helper to remove this warning. See 02:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:33 02:54:33 Login Succeeded 02:54:33 docker.io 02:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:34 Configure a credential helper to remove this warning. See 02:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:34 02:54:34 Login Succeeded 02:54:34 ---> docker-login.sh ends [Pipeline] } 02:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:34 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:54:34 8114a0a5788dfb33e69c59c13f1ac2f90e850568 02:54:34 latest 02:54:34 2.2.1-dev.2 02:54:34 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 02:54:34 main 02:54:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568 02:54:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:54:35 e308c265790e: Preparing 02:54:35 8f3dcc6a0821: Preparing 02:54:35 a5c187d90f25: Preparing 02:54:35 f2120c2713a2: Preparing 02:54:35 b541d28bf3b4: Preparing 02:54:35 b541d28bf3b4: Layer already exists 02:54:35 e308c265790e: Pushed 02:54:35 8f3dcc6a0821: Pushed 02:54:35 f2120c2713a2: Pushed 02:54:37 a5c187d90f25: Pushed 02:54:37 8114a0a5788dfb33e69c59c13f1ac2f90e850568: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:54:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:54:38 e308c265790e: Preparing 02:54:38 8f3dcc6a0821: Preparing 02:54:38 a5c187d90f25: Preparing 02:54:38 f2120c2713a2: Preparing 02:54:38 b541d28bf3b4: Preparing 02:54:38 b541d28bf3b4: Layer already exists 02:54:38 e308c265790e: Layer already exists 02:54:38 f2120c2713a2: Layer already exists 02:54:38 8f3dcc6a0821: Layer already exists 02:54:38 a5c187d90f25: Layer already exists 02:54:38 latest: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.2 02:54:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:54:39 e308c265790e: Preparing 02:54:39 8f3dcc6a0821: Preparing 02:54:39 a5c187d90f25: Preparing 02:54:39 f2120c2713a2: Preparing 02:54:39 b541d28bf3b4: Preparing 02:54:39 8f3dcc6a0821: Layer already exists 02:54:39 f2120c2713a2: Layer already exists 02:54:39 b541d28bf3b4: Layer already exists 02:54:39 e308c265790e: Layer already exists 02:54:39 a5c187d90f25: Layer already exists 02:54:39 2.2.1-dev.2: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 02:54:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:54:39 e308c265790e: Preparing 02:54:39 8f3dcc6a0821: Preparing 02:54:39 a5c187d90f25: Preparing 02:54:39 f2120c2713a2: Preparing 02:54:39 b541d28bf3b4: Preparing 02:54:39 8f3dcc6a0821: Layer already exists 02:54:39 a5c187d90f25: Layer already exists 02:54:39 f2120c2713a2: Layer already exists 02:54:39 b541d28bf3b4: Layer already exists 02:54:39 e308c265790e: Layer already exists 02:54:39 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:54:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:54:40 e308c265790e: Preparing 02:54:40 8f3dcc6a0821: Preparing 02:54:40 a5c187d90f25: Preparing 02:54:40 f2120c2713a2: Preparing 02:54:40 b541d28bf3b4: Preparing 02:54:40 f2120c2713a2: Layer already exists 02:54:40 b541d28bf3b4: Layer already exists 02:54:40 e308c265790e: Layer already exists 02:54:40 a5c187d90f25: Layer already exists 02:54:40 8f3dcc6a0821: Layer already exists 02:54:40 main: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:40 ===================================================== [Pipeline] echo 02:54:40 taggedImages: 02:54:40 - nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568 02:54:40 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:54:40 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.2 02:54:40 - nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 02:54:40 - 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 02:54:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:40 02:54:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:41 latest: Pulling from edgex-lftools-log-publisher 02:54:41 5eb5b503b376: Pulling fs layer 02:54:41 5c69ac0246d0: Pulling fs layer 02:54:41 ec43610c2a17: Pulling fs layer 02:54:41 3a2ae6a8a46f: Pulling fs layer 02:54:41 33b1e0a273af: Pulling fs layer 02:54:41 5d3b04190fa2: Pulling fs layer 02:54:41 2f39f015ded8: Pulling fs layer 02:54:41 33b1e0a273af: Waiting 02:54:41 5d3b04190fa2: Waiting 02:54:41 2f39f015ded8: Waiting 02:54:41 3a2ae6a8a46f: Waiting 02:54:41 5c69ac0246d0: Verifying Checksum 02:54:41 5c69ac0246d0: Download complete 02:54:41 3a2ae6a8a46f: Download complete 02:54:41 33b1e0a273af: Verifying Checksum 02:54:41 33b1e0a273af: Download complete 02:54:41 ec43610c2a17: Verifying Checksum 02:54:41 ec43610c2a17: Download complete 02:54:41 5d3b04190fa2: Download complete 02:54:41 5eb5b503b376: Verifying Checksum 02:54:41 5eb5b503b376: Download complete 02:54:42 2f39f015ded8: Download complete 02:54:43 5eb5b503b376: Pull complete 02:54:43 5c69ac0246d0: Pull complete 02:54:43 ec43610c2a17: Pull complete 02:54:43 3a2ae6a8a46f: Pull complete 02:54:43 33b1e0a273af: Pull complete 02:54:43 5d3b04190fa2: Pull complete 02:54:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2300 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:54:47 Running in /w/workspace/device-mqtt-go/49 [Pipeline] { [Pipeline] checkout 02:54:47 Selected Git installation does not exist. Using Default 02:54:47 The recommended git tool is: NONE 02:54:48 2f39f015ded8: Pull complete 02:54:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:48 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 02:54:48 $ 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 02:54:50 $ docker top 188479c56ad0375b0c86bdf4b46e98b1bd359c34c262704eb91e8acf19a87f8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:50 ---> job-cost.sh 02:54:50 lf-activate-venv: SKIPPING 02:54:50 INFO: No Stack... 02:54:50 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:51 INFO: Archiving Costs [Pipeline] sh 02:54:51 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:54:51 + cut -d, -f6 [Pipeline] lock 02:54:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] 02:54:51 Resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] did not exist. Created. 02:54:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:51 + echo total: 0.2199999988079071 [Pipeline] stash 02:54:51 Stashed 1 file(s) [Pipeline] } 02:54:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:51 $ docker stop --time=1 188479c56ad0375b0c86bdf4b46e98b1bd359c34c262704eb91e8acf19a87f8b 02:54:53 $ docker rm -f 188479c56ad0375b0c86bdf4b46e98b1bd359c34c262704eb91e8acf19a87f8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:54:53 using credential edgex-jenkins-ssh 02:54:53 Cloning the remote Git repository 02:54:53 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:54:53 > git init /w/workspace/device-mqtt-go/49 # timeout=10 02:54:53 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:54:53 > git --version # timeout=10 02:54:53 > git --version # 'git version 2.25.1' 02:54:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:54:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:55 Avoid second fetch 02:54:55 Checking out Revision 8114a0a5788dfb33e69c59c13f1ac2f90e850568 (main) 02:54:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:54:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:55 > git config core.sparsecheckout # timeout=10 02:54:55 > git checkout -f 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 02:54:59 Commit message: "Merge pull request #389 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:55:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:55:00 % Total % Received % Xferd Average Speed Time Time Time Current 02:55:00 Dload Upload Total Spent Left Speed 02:55:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 72502 0 --:--:-- --:--:-- --:--:-- 72502 [Pipeline] sh 02:55:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:55:01 + sudo tee /etc/docker/daemon.new 02:55:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:55:01 { 02:55:01 "registry-mirrors": [ 02:55:01 "https://nexus3.edgexfoundry.org:10001" 02:55:01 ], 02:55:01 "bip": "10.250.0.254/24", 02:55:01 "hosts": [ 02:55:01 "tcp://0.0.0.0:5555", 02:55:01 "unix:///var/run/docker.sock" 02:55:01 ], 02:55:01 "mtu": 1458, 02:55:01 "selinux-enabled": true, 02:55:01 "seccomp-profile": "/etc/docker/seccomp.json" 02:55:01 } [Pipeline] sh 02:55:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:55:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:55:20 provisioning config files... 02:55:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config43771724174748438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:21 ---> docker-login.sh 02:55:21 nexus3.edgexfoundry.org:10001 02:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:22 Configure a credential helper to remove this warning. See 02:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:22 02:55:22 Login Succeeded 02:55:22 nexus3.edgexfoundry.org:10002 02:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:22 Configure a credential helper to remove this warning. See 02:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:22 02:55:22 Login Succeeded 02:55:22 nexus3.edgexfoundry.org:10003 02:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:22 Configure a credential helper to remove this warning. See 02:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:22 02:55:22 Login Succeeded 02:55:22 nexus3.edgexfoundry.org:10004 02:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:23 Configure a credential helper to remove this warning. See 02:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:23 02:55:23 Login Succeeded 02:55:23 docker.io 02:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:24 Configure a credential helper to remove this warning. See 02:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:24 02:55:24 Login Succeeded 02:55:24 ---> docker-login.sh ends [Pipeline] } 02:55:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:55:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:55:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:55:24 ========================================================= 02:55:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:55:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:24 + 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 . 02:55:25 Sending build context to Docker daemon 3.083MB 02:55:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:55:25 Step 2/12 : FROM ${BASE} AS builder 02:55:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:55:25 9b3977197b4f: Pulling fs layer 02:55:25 1a89e8eeedd5: Pulling fs layer 02:55:25 94645a83ff95: Pulling fs layer 02:55:25 e6fb740bc735: Pulling fs layer 02:55:25 3a77bd46dcc9: Pulling fs layer 02:55:25 355e64cbe906: Pulling fs layer 02:55:25 63ab81a10011: Pulling fs layer 02:55:25 555d1d1c4555: Pulling fs layer 02:55:25 7d9057610161: Pulling fs layer 02:55:25 3a77bd46dcc9: Waiting 02:55:25 355e64cbe906: Waiting 02:55:25 63ab81a10011: Waiting 02:55:25 555d1d1c4555: Waiting 02:55:25 7d9057610161: Waiting 02:55:25 e6fb740bc735: Waiting 02:55:25 94645a83ff95: Download complete 02:55:25 1a89e8eeedd5: Verifying Checksum 02:55:25 1a89e8eeedd5: Download complete 02:55:25 3a77bd46dcc9: Verifying Checksum 02:55:25 3a77bd46dcc9: Download complete 02:55:25 355e64cbe906: Download complete 02:55:25 9b3977197b4f: Verifying Checksum 02:55:25 63ab81a10011: Verifying Checksum 02:55:25 63ab81a10011: Download complete 02:55:26 9b3977197b4f: Pull complete 02:55:26 7d9057610161: Verifying Checksum 02:55:26 7d9057610161: Download complete 02:55:26 1a89e8eeedd5: Pull complete 02:55:27 94645a83ff95: Pull complete 02:55:27 555d1d1c4555: Verifying Checksum 02:55:27 555d1d1c4555: Download complete 02:55:28 e6fb740bc735: Verifying Checksum 02:55:28 e6fb740bc735: Download complete 02:55:40 e6fb740bc735: Pull complete 02:55:40 3a77bd46dcc9: Pull complete 02:55:40 355e64cbe906: Pull complete 02:55:40 63ab81a10011: Pull complete 02:55:47 555d1d1c4555: Pull complete 02:55:48 7d9057610161: Pull complete 02:55:48 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 02:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:55:49 ---> 819e984ddca1 02:55:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:55:50 ---> Running in 4f6776c9589b 02:55:50 Removing intermediate container 4f6776c9589b 02:55:50 ---> ebfc71e782f7 02:55:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:55:51 ---> Running in 865ebe91c32b 02:55:51 Removing intermediate container 865ebe91c32b 02:55:51 ---> f0472fd78ed2 02:55:51 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:55:51 ---> Running in 253c261895fb 02:55:53 Removing intermediate container 253c261895fb 02:55:53 ---> 02cbcf59a371 02:55:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:53 ---> Running in adc1acf084f0 02:55:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:55:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:55:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:55:56 (2/4) Installing libedit (20210910.3.1-r0) 02:55:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:55:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:55:56 Executing busybox-1.34.1-r3.trigger 02:55:56 OK: 224 MiB in 56 packages 02:55:58 Removing intermediate container adc1acf084f0 02:55:58 ---> 8d1f98f33ca0 02:55:58 Step 7/12 : WORKDIR /device-mqtt-go 02:55:58 ---> Running in d47e4b9e5ad4 02:55:58 Removing intermediate container d47e4b9e5ad4 02:55:58 ---> 89f074449590 02:55:58 Step 8/12 : COPY go.mod vendor* ./ 02:55:59 ---> 11524ddf505b 02:55:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:59 ---> Running in 6705951ae8b9 02:56:46 Removing intermediate container 6705951ae8b9 02:56:46 ---> a145c0f74676 02:56:46 Step 10/12 : COPY . . 02:56:46 ---> 3c3adea8d004 02:56:46 Step 11/12 : ARG MAKE='make build' 02:56:46 ---> Running in 440b199d5959 02:56:46 Removing intermediate container 440b199d5959 02:56:46 ---> b94cad100725 02:56:46 Step 12/12 : RUN $MAKE 02:56:46 ---> Running in 7bf977a4465f 02:56:46 noop 02:56:47 Removing intermediate container 7bf977a4465f 02:56:47 ---> cc8a786dc35e 02:56:47 Successfully built cc8a786dc35e 02:56:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:47 + docker inspect -f . ci-base-image-arm64 02:56:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:47 prd-ubuntu20.04-docker-arm64-4c-16g-2300 does not seem to be running inside a container 02:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/49 -v /w/workspace/device-mqtt-go/49:/w/workspace/device-mqtt-go/49:rw,z -v /w/workspace/device-mqtt-go/49@tmp:/w/workspace/device-mqtt-go/49@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 02:56:49 $ docker top 5af0ac3bec8cdb0cd4356d4e2e543fecb17c1af7a33cdaf967eeb4b9d7256e96 -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:50 + go version 02:56:50 go version go1.17.7 linux/arm64 [Pipeline] } 02:56:50 $ docker stop --time=1 5af0ac3bec8cdb0cd4356d4e2e543fecb17c1af7a33cdaf967eeb4b9d7256e96 02:56:52 $ docker rm -f 5af0ac3bec8cdb0cd4356d4e2e543fecb17c1af7a33cdaf967eeb4b9d7256e96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:52 + docker inspect -f . ci-base-image-arm64 02:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:52 prd-ubuntu20.04-docker-arm64-4c-16g-2300 does not seem to be running inside a container 02:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/49 -v /w/workspace/device-mqtt-go/49:/w/workspace/device-mqtt-go/49:rw,z -v /w/workspace/device-mqtt-go/49@tmp:/w/workspace/device-mqtt-go/49@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 02:56:54 $ docker top e228673cac503d47dcb6b389f6e3ddb20020d05f8c024b102c6a998316d21d33 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:56:55 + make test 02:56:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:56:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:58:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:58:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements 02:58:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:58:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:58:19 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:58:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:58:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:58:51 ./bin/test-attribution-txt.sh [Pipeline] echo 02:58:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:58:51 $ docker stop --time=1 e228673cac503d47dcb6b389f6e3ddb20020d05f8c024b102c6a998316d21d33 02:58:53 $ docker rm -f e228673cac503d47dcb6b389f6e3ddb20020d05f8c024b102c6a998316d21d33 [Pipeline] // withDockerContainer [Pipeline] sh 02:58:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:58:54 Warning: overwriting stash ‘coverage-report’ 02:58:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:58:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:58:56 + ls -al . 02:58:56 total 176 02:58:56 drwxrwxr-x 9 jenkins jenkins 4096 Jun 13 02:58 . 02:58:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:54 .. 02:58:56 -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 02:54 .dockerignore 02:58:56 drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 02:54 .git 02:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:54 .github 02:58:56 -rw-rw-r-- 1 jenkins jenkins 329 Jun 13 02:54 .gitignore 02:58:56 -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 02:54 .golangci.yml 02:58:56 -rw-rw-r-- 1 jenkins jenkins 8789 Jun 13 02:54 Attribution.txt 02:58:56 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 13 02:54 CHANGELOG.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:54 Dockerfile 02:58:56 -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 02:54 GOVERNANCE.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 678 Jun 13 02:54 Jenkinsfile 02:58:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 02:54 LICENSE 02:58:56 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:54 Makefile 02:58:56 -rw-rw-r-- 1 jenkins jenkins 620 Jun 13 02:54 OWNERS.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 13 02:54 README.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 11 Jun 13 02:52 VERSION 02:58:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:54 bin 02:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:54 cmd 02:58:56 -rw-r--r-- 1 jenkins jenkins 17887 Jun 13 02:58 coverage.out 02:58:56 -rw-rw-r-- 1 jenkins jenkins 3235 Jun 13 02:54 go.mod 02:58:56 -rw-rw-r-- 1 jenkins jenkins 35308 Jun 13 02:54 go.sum 02:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:54 internal 02:58:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:54 mock 02:58:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:54 snap 02:58:56 -rw-rw-r-- 1 jenkins jenkins 227 Jun 13 02:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:56 + 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=8114a0a5788dfb33e69c59c13f1ac2f90e850568 --label arch=arm64 --label version=2.2.1-dev.2 . 02:58:56 Sending build context to Docker daemon 3.102MB 02:58:56 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:58:56 Step 2/24 : FROM ${BASE} AS builder 02:58:56 ---> cc8a786dc35e 02:58:56 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:58:56 ---> Running in c93d8c2fc425 02:58:57 Removing intermediate container c93d8c2fc425 02:58:57 ---> 3834ff37cd80 02:58:57 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 02:58:57 ---> Running in 10cf34d6c1ca 02:58:57 Removing intermediate container 10cf34d6c1ca 02:58:57 ---> 51ab04dafe50 02:58:57 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:58:57 ---> Running in 97de344fdd42 02:58:59 Removing intermediate container 97de344fdd42 02:58:59 ---> eaceaa1f9723 02:58:59 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:58:59 ---> Running in 8c2b00960929 02:59:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:59:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:59:02 OK: 224 MiB in 56 packages 02:59:02 Removing intermediate container 8c2b00960929 02:59:02 ---> 30d17c81e685 02:59:02 Step 7/24 : WORKDIR /device-mqtt-go 02:59:03 ---> Running in 24cf0f88eafd 02:59:03 Removing intermediate container 24cf0f88eafd 02:59:03 ---> 54b5eb0adee3 02:59:03 Step 8/24 : COPY go.mod vendor* ./ 02:59:03 ---> cfd3adced8c3 02:59:03 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:03 ---> Running in 6a74d6b54ba2 02:59:05 Removing intermediate container 6a74d6b54ba2 02:59:05 ---> 3d856b9c944e 02:59:05 Step 10/24 : COPY . . 02:59:06 ---> a9b984b76219 02:59:06 Step 11/24 : ARG MAKE='make build' 02:59:06 ---> Running in 101be6f78c1c 02:59:07 Removing intermediate container 101be6f78c1c 02:59:07 ---> 9834714be723 02:59:07 Step 12/24 : RUN $MAKE 02:59:07 ---> Running in ff68875fa32a 02:59:08 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:01:14 Removing intermediate container ff68875fa32a 03:01:14 ---> 768e9b8d9589 03:01:14 Step 13/24 : FROM alpine:3.14 03:01:14 3.14: Pulling from library/alpine 03:01:14 455c02918c45: Pulling fs layer 03:01:14 455c02918c45: Verifying Checksum 03:01:14 455c02918c45: Download complete 03:01:14 455c02918c45: Pull complete 03:01:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:01:14 Status: Downloaded newer image for alpine:3.14 03:01:14 ---> ac73e934f311 03:01:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:01:14 ---> Running in 41277f954324 03:01:15 Removing intermediate container 41277f954324 03:01:15 ---> 52dc824c07dc 03:01:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:01:15 ---> Running in 8be633f9248c 03:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:01:17 (1/6) Installing dumb-init (1.2.5-r1) 03:01:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:01:17 (3/6) Installing libsodium (1.0.18-r0) 03:01:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:01:17 (5/6) Installing libzmq (4.3.4-r0) 03:01:17 (6/6) Installing zeromq (4.3.4-r0) 03:01:17 Executing busybox-1.33.1-r7.trigger 03:01:17 OK: 8 MiB in 20 packages 03:01:18 Removing intermediate container 8be633f9248c 03:01:18 ---> 58b82e94eb7f 03:01:18 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:01:20 ---> db75dd39f614 03:01:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:01:20 ---> abb642cfd75b 03:01:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:01:21 ---> b9bac37d5ebe 03:01:21 Step 19/24 : EXPOSE 59982 03:01:21 ---> Running in 43c23a45cb7e 03:01:21 Removing intermediate container 43c23a45cb7e 03:01:21 ---> d3706b75d6df 03:01:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:01:21 ---> Running in ce9b2e1eda80 03:01:21 Removing intermediate container ce9b2e1eda80 03:01:21 ---> 6549a48988a1 03:01:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:01:22 ---> Running in 2e37b44caed3 03:01:22 Removing intermediate container 2e37b44caed3 03:01:22 ---> 96ab08746b91 03:01:22 Step 22/24 : LABEL arch=arm64 03:01:22 ---> Running in a312add27e38 03:01:22 Removing intermediate container a312add27e38 03:01:22 ---> 45ec61d3d9e6 03:01:22 Step 23/24 : LABEL git_sha=8114a0a5788dfb33e69c59c13f1ac2f90e850568 03:01:22 ---> Running in a4bebbd56094 03:01:23 Removing intermediate container a4bebbd56094 03:01:23 ---> 169be3c822ac 03:01:23 Step 24/24 : LABEL version=2.2.1-dev.2 03:01:23 ---> Running in f145261ade76 03:01:23 Removing intermediate container f145261ade76 03:01:23 ---> d51fc2f400d0 03:01:23 [Warning] One or more build-args [ARCH] were not consumed 03:01:23 Successfully built d51fc2f400d0 03:01:23 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 03:01:23 provisioning config files... 03:01:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config6834941156100119702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:01:24 ---> docker-login.sh 03:01:24 nexus3.edgexfoundry.org:10001 03:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:24 Configure a credential helper to remove this warning. See 03:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:24 03:01:24 Login Succeeded 03:01:24 nexus3.edgexfoundry.org:10002 03:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:24 Configure a credential helper to remove this warning. See 03:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:24 03:01:24 Login Succeeded 03:01:24 nexus3.edgexfoundry.org:10003 03:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:25 Configure a credential helper to remove this warning. See 03:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:25 03:01:25 Login Succeeded 03:01:25 nexus3.edgexfoundry.org:10004 03:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:25 Configure a credential helper to remove this warning. See 03:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:25 03:01:25 Login Succeeded 03:01:25 docker.io 03:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:26 Configure a credential helper to remove this warning. See 03:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:26 03:01:26 Login Succeeded 03:01:26 ---> docker-login.sh ends [Pipeline] } 03:01:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:01:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:01:26 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:01:26 8114a0a5788dfb33e69c59c13f1ac2f90e850568 03:01:26 latest 03:01:26 2.2.1-dev.2 03:01:26 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 03:01:26 main 03:01:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568 03:01:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:01:27 dd18cc5794d2: Preparing 03:01:27 321eaa747dae: Preparing 03:01:27 538590fba707: Preparing 03:01:27 ae72a60f13d4: Preparing 03:01:27 f73e7dbfee58: Preparing 03:01:27 f73e7dbfee58: Layer already exists 03:01:27 dd18cc5794d2: Pushed 03:01:27 321eaa747dae: Pushed 03:01:28 ae72a60f13d4: Pushed 03:01:33 538590fba707: Pushed 03:01:33 8114a0a5788dfb33e69c59c13f1ac2f90e850568: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:01:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:01:34 dd18cc5794d2: Preparing 03:01:34 321eaa747dae: Preparing 03:01:34 538590fba707: Preparing 03:01:34 ae72a60f13d4: Preparing 03:01:34 f73e7dbfee58: Preparing 03:01:34 f73e7dbfee58: Layer already exists 03:01:34 dd18cc5794d2: Layer already exists 03:01:34 ae72a60f13d4: Layer already exists 03:01:34 321eaa747dae: Layer already exists 03:01:34 538590fba707: Layer already exists 03:01:34 latest: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.2 03:01:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:01:35 dd18cc5794d2: Preparing 03:01:35 321eaa747dae: Preparing 03:01:35 538590fba707: Preparing 03:01:35 ae72a60f13d4: Preparing 03:01:35 f73e7dbfee58: Preparing 03:01:35 f73e7dbfee58: Layer already exists 03:01:35 321eaa747dae: Layer already exists 03:01:35 ae72a60f13d4: Layer already exists 03:01:35 538590fba707: Layer already exists 03:01:35 dd18cc5794d2: Layer already exists 03:01:35 2.2.1-dev.2: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 03:01:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:01:36 dd18cc5794d2: Preparing 03:01:36 321eaa747dae: Preparing 03:01:36 538590fba707: Preparing 03:01:36 ae72a60f13d4: Preparing 03:01:36 f73e7dbfee58: Preparing 03:01:36 321eaa747dae: Layer already exists 03:01:36 538590fba707: Layer already exists 03:01:36 f73e7dbfee58: Layer already exists 03:01:36 dd18cc5794d2: Layer already exists 03:01:36 ae72a60f13d4: Layer already exists 03:01:36 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:01:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:01:37 dd18cc5794d2: Preparing 03:01:37 321eaa747dae: Preparing 03:01:37 538590fba707: Preparing 03:01:37 ae72a60f13d4: Preparing 03:01:37 f73e7dbfee58: Preparing 03:01:37 f73e7dbfee58: Layer already exists 03:01:37 ae72a60f13d4: Layer already exists 03:01:37 321eaa747dae: Layer already exists 03:01:37 dd18cc5794d2: Layer already exists 03:01:37 538590fba707: Layer already exists 03:01:37 main: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:01:37 ===================================================== [Pipeline] echo 03:01:37 taggedImages: 03:01:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568 03:01:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:01:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.2 03:01:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 03:01:37 - 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 03:01:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:01:38 03:01:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:01:38 arm64: Pulling from edgex-lftools-log-publisher 03:01:38 8998bd30e6a1: Pulling fs layer 03:01:38 04944245beec: Pulling fs layer 03:01:38 699f458cf7ca: Pulling fs layer 03:01:38 765212b225bb: Pulling fs layer 03:01:38 f23df028b6ca: Pulling fs layer 03:01:38 d65c8cfc05b1: Pulling fs layer 03:01:38 2437ff75d9bd: Pulling fs layer 03:01:38 f23df028b6ca: Waiting 03:01:38 d65c8cfc05b1: Waiting 03:01:38 2437ff75d9bd: Waiting 03:01:38 765212b225bb: Waiting 03:01:38 04944245beec: Verifying Checksum 03:01:38 04944245beec: Download complete 03:01:38 765212b225bb: Verifying Checksum 03:01:38 765212b225bb: Download complete 03:01:38 f23df028b6ca: Verifying Checksum 03:01:38 f23df028b6ca: Download complete 03:01:38 d65c8cfc05b1: Verifying Checksum 03:01:38 d65c8cfc05b1: Download complete 03:01:39 699f458cf7ca: Verifying Checksum 03:01:39 699f458cf7ca: Download complete 03:01:39 8998bd30e6a1: Verifying Checksum 03:01:39 8998bd30e6a1: Download complete 03:01:42 2437ff75d9bd: Verifying Checksum 03:01:42 2437ff75d9bd: Download complete 03:01:44 8998bd30e6a1: Pull complete 03:01:44 04944245beec: Pull complete 03:01:45 699f458cf7ca: Pull complete 03:01:46 765212b225bb: Pull complete 03:01:47 f23df028b6ca: Pull complete 03:01:47 d65c8cfc05b1: Pull complete 03:02:02 2437ff75d9bd: Pull complete 03:02:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:02:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:02 prd-ubuntu20.04-docker-arm64-4c-16g-2300 does not seem to be running inside a container 03:02:02 $ 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/49 -v /w/workspace/device-mqtt-go/49:/w/workspace/device-mqtt-go/49:rw,z -v /w/workspace/device-mqtt-go/49@tmp:/w/workspace/device-mqtt-go/49@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 03:02:05 $ docker top 5b8c6fb488459bfdc1be4e7cb2138de021c83c9754cff9a74b1f965a58ffa65e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:06 ---> job-cost.sh 03:02:06 lf-activate-venv: SKIPPING 03:02:06 INFO: No Stack... 03:02:06 INFO: Retrieving Pricing Info for: v3-standard-4 03:02:07 INFO: Archiving Costs [Pipeline] sh 03:02:08 + cat /w/workspace/device-mqtt-go/49/archives/cost.csv 03:02:08 + cut -d, -f6 [Pipeline] lock 03:02:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] 03:02:08 Resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] did not exist. Created. 03:02:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:02:09 /w/workspace/device-mqtt-go/49@tmp/durable-d055d4f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:02:09 + echo total: 0.10999999940395355 [Pipeline] stash 03:02:09 Warning: overwriting stash ‘stack-cost’ 03:02:09 Stashed 1 file(s) [Pipeline] } 03:02:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 03:02:09 $ docker stop --time=1 5b8c6fb488459bfdc1be4e7cb2138de021c83c9754cff9a74b1f965a58ffa65e 03:02:11 $ docker rm -f 5b8c6fb488459bfdc1be4e7cb2138de021c83c9754cff9a74b1f965a58ffa65e [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 03:02:12 provisioning config files... 03:02:12 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4435927993406485174tmp [Pipeline] { [Pipeline] sh 03:02:12 + set +x 03:02:12 + curl -s https://codecov.io/bash 03:02:12 + bash -s -- 03:02:12 03:02:12 _____ _ 03:02:12 / ____| | | 03:02:12 | | ___ __| | ___ ___ _____ __ 03:02:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:02:12 | |___| (_) | (_| | __/ (_| (_) \ V / 03:02:12 \_____\___/ \__,_|\___|\___\___/ \_/ 03:02:12 Bash-1.0.6 03:02:12 03:02:12 03:02:12 ==> git version 2.25.1 found 03:02:12 ==> 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 03:02:12 Release-Date: 2020-01-08 03:02:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:02:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:02:12 ==> Jenkins CI detected. 03:02:12 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:02:12 project root: . 03:02:12 --> token set from env 03:02:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:02:12 ==> Running gcov in . (disable via -X gcov) 03:02:12 ==> Python coveragepy not found 03:02:12 ==> Searching for coverage reports in: 03:02:12 + . 03:02:12 -> Found 1 reports 03:02:12 ==> Detecting git/mercurial file structure 03:02:12 ==> Reading reports 03:02:12 + ./coverage.out bytes=17887 03:02:12 ==> Appending adjustments 03:02:12 https://docs.codecov.io/docs/fixing-reports 03:02:12 + Found adjustments 03:02:12 ==> Gzipping contents 03:02:12 4.0K /tmp/codecov.R8axFR.gz 03:02:12 ==> Uploading reports 03:02:12 url: https://codecov.io 03:02:12 query: branch=main&commit=8114a0a5788dfb33e69c59c13f1ac2f90e850568&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:02:12 -> Pinging Codecov 03:02:12 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=8114a0a5788dfb33e69c59c13f1ac2f90e850568&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:02:12 -> Uploading to 03:02:12 https://storage.googleapis.com/codecov/v4/raw/2022-06-13/7D719EC7BBE17E464838252E33014C33/8114a0a5788dfb33e69c59c13f1ac2f90e850568/f903599e-5098-4e7b-8a59-fb66f4943cb4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220613%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220613T030212Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02c2087a9aaeba5cac11c053259ea4ac7ae6ab6a183198ae7bb0a4a1c15ad753 03:02:12 % Total % Received % Xferd Average Speed Time Time Time Current 03:02:12 Dload Upload Total Spent Left Speed 03:02:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3261 0 0 100 3261 0 14890 --:--:-- --:--:-- --:--:-- 14958 03:02:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] } 03:02:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:02:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:02:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:02:13 03:02:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:02:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:02:13 df9b9388f04a: Pulling fs layer 03:02:13 52dc419b0ee2: Pulling fs layer 03:02:13 25bc292e5bac: Pulling fs layer 03:02:13 114826534d7a: Pulling fs layer 03:02:13 4657fd5d0bcf: Pulling fs layer 03:02:13 6ad1cebc031e: Pulling fs layer 03:02:13 8a3aa393b2d8: Pulling fs layer 03:02:13 114826534d7a: Waiting 03:02:13 4657fd5d0bcf: Waiting 03:02:13 6ad1cebc031e: Waiting 03:02:13 8a3aa393b2d8: Waiting 03:02:13 25bc292e5bac: Download complete 03:02:13 52dc419b0ee2: Verifying Checksum 03:02:13 52dc419b0ee2: Download complete 03:02:13 4657fd5d0bcf: Verifying Checksum 03:02:13 4657fd5d0bcf: Download complete 03:02:13 df9b9388f04a: Download complete 03:02:14 df9b9388f04a: Pull complete 03:02:14 6ad1cebc031e: Verifying Checksum 03:02:14 6ad1cebc031e: Download complete 03:02:14 52dc419b0ee2: Pull complete 03:02:14 25bc292e5bac: Pull complete 03:02:14 114826534d7a: Download complete 03:02:15 8a3aa393b2d8: Verifying Checksum 03:02:15 8a3aa393b2d8: Download complete 03:02:18 114826534d7a: Pull complete 03:02:18 4657fd5d0bcf: Pull complete 03:02:18 6ad1cebc031e: Pull complete 03:02:21 8a3aa393b2d8: Pull complete 03:02:21 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:02:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:02:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:21 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 03:02:21 $ 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 03:02:23 $ docker top cec49cfe9797e6a3e50dc5adaed8d73dc82b757feb2e329b4a090d277dc499bf -eo pid,comm [Pipeline] { [Pipeline] echo 03:02:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 03:02:23 + set -o pipefail 03:02:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 03:02:28 03:02:28 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 03:02:28 03:02:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/c9ed2edb-7d48-4b1e-bb79-0e3b013a2d6d 03:02:28 03:02:28 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:02:28 03:02:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:02:28 03:02:28 03:02:28 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 03:02:28 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:02:28 $ docker stop --time=1 cec49cfe9797e6a3e50dc5adaed8d73dc82b757feb2e329b4a090d277dc499bf 03:02:30 $ docker rm -f cec49cfe9797e6a3e50dc5adaed8d73dc82b757feb2e329b4a090d277dc499bf [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 03:02:31 + git log --format=format:%s -1 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] sh 03:02:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:02:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:02:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:32 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 03:02:32 $ 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 03:02:32 $ docker top 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:02:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:02:32 [ssh-agent] Looking for ssh-agent implementation... 03:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:02:33 $ docker exec 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f ssh-agent 03:02:33 SSH_AUTH_SOCK=/tmp/ssh-AQBytQqoIOUz/agent.33 03:02:33 SSH_AGENT_PID=40 03:02:33 Running ssh-add (command line suppressed) 03:02:33 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3551826996922554060.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3551826996922554060.key) 03:02:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:02:33 + git semver tag 03:02:33 2022-06-13 03:02:33,808 [run_tag] DEBUG tag force:False 03:02:33 2022-06-13 03:02:33,808 [check_head_tag] DEBUG check head tag 03:02:33 2022-06-13 03:02:33,808 [execute] INFO git cat-file --batch-check 03:02:33 2022-06-13 03:02:33,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:02:33 2022-06-13 03:02:33,811 [execute] INFO git cat-file --batch 03:02:33 2022-06-13 03:02:33,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:02:33 2022-06-13 03:02:33,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:02:33 2022-06-13 03:02:33,818 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 03:02:33 2022-06-13 03:02:33,818 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:02:33 2022-06-13 03:02:33,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:02:33 2.2.1-dev.2 [Pipeline] } 03:02:33 $ docker exec --env ******** --env ******** 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f ssh-agent -k 03:02:34 unset SSH_AUTH_SOCK; 03:02:34 unset SSH_AGENT_PID; 03:02:34 echo Agent pid 40 killed; 03:02:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:02:34 + git semver [Pipeline] } 03:02:34 $ docker stop --time=1 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f 03:02:36 $ docker rm -f 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:02:36 03:02:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:02:36 0.23.1-centos7: Pulling from edgex-lftools 03:02:36 ab5ef0e58194: Pulling fs layer 03:02:36 9712f1f96733: Pulling fs layer 03:02:36 63f879dbbcfc: Pulling fs layer 03:02:36 0d9ebad4ef96: Pulling fs layer 03:02:36 e9a5061849ea: Pulling fs layer 03:02:36 d747dcd14b5f: Pulling fs layer 03:02:36 2de7ff778b66: Pulling fs layer 03:02:36 e9a5061849ea: Waiting 03:02:36 d747dcd14b5f: Waiting 03:02:36 2de7ff778b66: Waiting 03:02:36 0d9ebad4ef96: Waiting 03:02:36 9712f1f96733: Verifying Checksum 03:02:36 9712f1f96733: Download complete 03:02:37 63f879dbbcfc: Verifying Checksum 03:02:37 63f879dbbcfc: Download complete 03:02:37 0d9ebad4ef96: Verifying Checksum 03:02:37 0d9ebad4ef96: Download complete 03:02:37 d747dcd14b5f: Download complete 03:02:37 e9a5061849ea: Verifying Checksum 03:02:37 e9a5061849ea: Download complete 03:02:37 ab5ef0e58194: Download complete 03:02:37 2de7ff778b66: Verifying Checksum 03:02:37 2de7ff778b66: Download complete 03:02:40 ab5ef0e58194: Pull complete 03:02:40 9712f1f96733: Pull complete 03:02:41 63f879dbbcfc: Pull complete 03:02:45 0d9ebad4ef96: Pull complete 03:02:45 e9a5061849ea: Pull complete 03:02:45 d747dcd14b5f: Pull complete 03:02:46 2de7ff778b66: Pull complete 03:02:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:02:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:02:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:46 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 03:02: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 03:02:48 $ docker top b46a27cb6c9bc19315972eac28611fc8acb4a635ada12d507af34f2673b23585 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:02:48 provisioning config files... 03:02:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6329485567698548492tmp 03:02:48 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2321316779202812508tmp 03:02:48 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4213137172336800676tmp [Pipeline] { [Pipeline] echo 03:02:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:02:48 ---> sigul-configuration.sh 03:02:48 gpg: directory `/root/.gnupg' created 03:02:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:02:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:02:48 gpg: keyring `/root/.gnupg/secring.gpg' created 03:02:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:02:48 gpg: CAST5 encrypted data 03:02:48 gpg: encrypted with 1 passphrase 03:02:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:02:49 + mkdir /home/jenkins 03:02:49 + mkdir /home/jenkins/sigul [Pipeline] sh 03:02: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 03:02:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:02:49 ---> sigul-install.sh 03:02:49 Sigul already installed; skipping installation. [Pipeline] sh 03:02:50 + git tag --list 03:02:50 0.7.1 03:02:50 v1.0.0 03:02:50 v1.1.0 03:02:50 v1.1.1 03:02:50 v1.2.2 03:02:50 v1.3.0 03:02:50 v1.3.1 03:02:50 v2.0.0 03:02:50 v2.1.0 03:02:50 v2.1.1 03:02:50 v2.1.1-dev.1 03:02:50 v2.1.1-dev.2 03:02:50 v2.2.0 03:02:50 v2.2.1-dev.1 03:02:50 v2.2.1-dev.2 [Pipeline] sh 03:02:50 + lftools sign git-tag v2.2.1-dev.2 03:02:50 Signing Git tag with Sigul... 03:02:50 Signing v2.2.1-dev.2 [Pipeline] echo 03:02:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:02:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:02:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:02:51 $ docker stop --time=1 b46a27cb6c9bc19315972eac28611fc8acb4a635ada12d507af34f2673b23585 03:02:53 $ docker rm -f b46a27cb6c9bc19315972eac28611fc8acb4a635ada12d507af34f2673b23585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:02:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:02:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:02:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:53 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 03:02:54 $ 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 03:02:54 $ docker top aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:02:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:02:54 [ssh-agent] Looking for ssh-agent implementation... 03:02:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:02:54 $ docker exec aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa ssh-agent 03:02:54 SSH_AUTH_SOCK=/tmp/ssh-wAPkHEJxyAjf/agent.34 03:02:54 SSH_AGENT_PID=40 03:02:54 Running ssh-add (command line suppressed) 03:02:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4101888857433395320.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4101888857433395320.key) 03:02:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:02:55 + git semver bump pre 03:02:55 2022-06-13 03:02:55,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:02:55 2022-06-13 03:02:55,423 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev 03:02:55 2022-06-13 03:02:55,423 [bump_version] DEBUG bumped version:2.2.1-dev.3 03:02:55 2022-06-13 03:02:55,423 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 03:02:55 2022-06-13 03:02:55,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:02:55 2022-06-13 03:02:55,423 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:02:55 2022-06-13 03:02:55,425 [execute] INFO git cat-file --batch-check 03:02:55 2022-06-13 03:02:55,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:02:55 2022-06-13 03:02:55,431 [execute] INFO git cat-file --batch 03:02:55 2022-06-13 03:02:55,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:02:55 2022-06-13 03:02:55,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:02:55 2.2.1-dev.3 [Pipeline] } 03:02:55 $ docker exec --env ******** --env ******** aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa ssh-agent -k 03:02:55 unset SSH_AUTH_SOCK; 03:02:55 unset SSH_AGENT_PID; 03:02:55 echo Agent pid 40 killed; 03:02:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:02:55 + git semver [Pipeline] } 03:02:56 $ docker stop --time=1 aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa 03:02:57 $ docker rm -f aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa [Pipeline] // withDockerContainer [Pipeline] sh 03:02:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:02:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:02:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:58 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 03:02:58 $ 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 03:02:58 $ docker top 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:02:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:02:58 [ssh-agent] Looking for ssh-agent implementation... 03:02:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:02:58 $ docker exec 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 ssh-agent 03:02:58 SSH_AUTH_SOCK=/tmp/ssh-tO4Zbru8UGyS/agent.32 03:02:58 SSH_AGENT_PID=38 03:02:58 Running ssh-add (command line suppressed) 03:02:59 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1005119478739545436.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1005119478739545436.key) 03:02:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:02:59 + git semver push 03:02:59 2022-06-13 03:02:59,653 [run_push] DEBUG push 03:02:59 2022-06-13 03:02:59,653 [execute] INFO git cat-file --batch-check 03:02:59 2022-06-13 03:02:59,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:02:59 2022-06-13 03:02:59,657 [execute] INFO git rev-list 9319ed0327df7e10f1514ec9a41afdf21ee4ed5b -- 03:02:59 2022-06-13 03:02:59,657 [execute] DEBUG Popen(['git', 'rev-list', '9319ed0327df7e10f1514ec9a41afdf21ee4ed5b', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:02:59 2022-06-13 03:02:59,662 [execute] INFO git fetch -v origin 03:02:59 2022-06-13 03:02:59,662 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:03:00 2022-06-13 03:03:00,132 [run_push] DEBUG no remote changes detected 03:03:00 2022-06-13 03:03:00,132 [execute] INFO git push origin semver 03:03:00 2022-06-13 03:03:00,133 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:03:00 2022-06-13 03:03:00,774 [run_push] DEBUG push all version tags 03:03:00 2022-06-13 03:03:00,774 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:03:00 2022-06-13 03:03:00,775 [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) 03:03:01 2022-06-13 03:03:01,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:03:01 2.2.1-dev.3 [Pipeline] } 03:03:01 $ docker exec --env ******** --env ******** 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 ssh-agent -k 03:03:01 unset SSH_AUTH_SOCK; 03:03:01 unset SSH_AGENT_PID; 03:03:01 echo Agent pid 38 killed; 03:03:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:03:02 + git semver [Pipeline] } 03:03:02 $ docker stop --time=1 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 03:03:03 $ docker rm -f 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 [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 03:03:04 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:03:04 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:03:04 total 16 03:03:04 drwxr-xr-x 3 root root 4096 Jun 13 02:54 . 03:03:04 drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:02 .. 03:03:04 drwxr-xr-x 2 root root 4096 Jun 13 02:54 cost 03:03:04 -rw-r--r-- 1 root root 84 Jun 13 02:54 cost.csv 03:03:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:03:04 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:03:04 total 16 03:03:04 drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 02:54 . 03:03:04 drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:02 .. 03:03:04 drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 02:54 cost 03:03:04 -rw-r--r-- 1 jenkins jenkins 84 Jun 13 02:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:03:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:03:05 ---> package-listing.sh 03:03:05 ++ tr '[:upper:]' '[:lower:]' 03:03:05 ++ facter osfamily 03:03:05 + OS_FAMILY=debian 03:03:05 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:03:05 + START_PACKAGES=/tmp/packages_start.txt 03:03:05 + END_PACKAGES=/tmp/packages_end.txt 03:03:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:03:05 + PACKAGES=/tmp/packages_start.txt 03:03:05 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:03:05 + PACKAGES=/tmp/packages_end.txt 03:03:05 + case "${OS_FAMILY}" in 03:03:05 + dpkg -l 03:03:05 + grep '^ii' 03:03:05 + '[' -f /tmp/packages_start.txt ']' 03:03:05 + '[' -f /tmp/packages_end.txt ']' 03:03:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:03:05 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:03:05 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:03: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 03:03: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 03:03:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:06 prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container 03:03: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 03:03:06 $ docker top 793b646b0b539dc26dcfa4c018a44e6351697504e2efd33d19e8760b89b1cddf -eo pid,comm [Pipeline] { [Pipeline] sh 03:03:07 + touch /tmp/pre-build-complete [Pipeline] sh 03:03:07 + mkdir -p /var/log/sysstat [Pipeline] sh 03:03:07 + ls /var/log/sa-host 03:03:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:03:08 provisioning config files... 03:03:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2491248936184410728tmp [Pipeline] { [Pipeline] echo 03:03:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:03:08 ---> create-netrc.sh [Pipeline] } 03:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:03:08 ---> python-tools-install.sh [Pipeline] echo 03:03:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:03:08 ---> sudo-logs.sh 03:03:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:03:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:03:09 ---> job-cost.sh 03:03:09 lf-activate-venv: SKIPPING 03:03:09 DEBUG: total: 0.2199999988079071 03:03:09 INFO: Retrieving Stack Cost... 03:03:09 INFO: Retrieving Pricing Info for: v3-standard-8 03:03:10 INFO: Archiving Costs [Pipeline] echo 03:03:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:03:10 ---> logs-deploy.sh 03:03:10 lf-activate-venv: SKIPPING 03:03:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/49 03:03:10 INFO: archiving workspace using pattern(s): 03:03:11 Archives upload complete. 03:03:11 INFO: archiving logs to Nexus 03:03:12 ---> uname -a: 03:03:12 Linux prd-ubuntu20-04-docker-8c-8g-2298 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 03:03:12 03:03:12 03:03:12 ---> lscpu: 03:03:12 Architecture: x86_64 03:03:12 CPU op-mode(s): 32-bit, 64-bit 03:03:12 Byte Order: Little Endian 03:03:12 Address sizes: 40 bits physical, 48 bits virtual 03:03:12 CPU(s): 8 03:03:12 On-line CPU(s) list: 0-7 03:03:12 Thread(s) per core: 1 03:03:12 Core(s) per socket: 1 03:03:12 Socket(s): 8 03:03:12 NUMA node(s): 1 03:03:12 Vendor ID: AuthenticAMD 03:03:12 CPU family: 23 03:03:12 Model: 49 03:03:12 Model name: AMD EPYC-Rome Processor 03:03:12 Stepping: 0 03:03:12 CPU MHz: 2799.998 03:03:12 BogoMIPS: 5599.99 03:03:12 Virtualization: AMD-V 03:03:12 Hypervisor vendor: KVM 03:03:12 Virtualization type: full 03:03:12 L1d cache: 256 KiB 03:03:12 L1i cache: 256 KiB 03:03:12 L2 cache: 4 MiB 03:03:12 L3 cache: 128 MiB 03:03:12 NUMA node0 CPU(s): 0-7 03:03:12 Vulnerability Itlb multihit: Not affected 03:03:12 Vulnerability L1tf: Not affected 03:03:12 Vulnerability Mds: Not affected 03:03:12 Vulnerability Meltdown: Not affected 03:03:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:03:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:03:12 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:03:12 Vulnerability Srbds: Not affected 03:03:12 Vulnerability Tsx async abort: Not affected 03:03:12 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:03:12 03:03:12 03:03:12 ---> nproc: 03:03:12 8 03:03:12 03:03:12 03:03:12 ---> df -h: 03:03:12 Filesystem Size Used Avail Use% Mounted on 03:03:12 overlay 155G 12G 143G 8% / 03:03:12 tmpfs 64M 0 64M 0% /dev 03:03:12 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:03:12 shm 64M 0 64M 0% /dev/shm 03:03:12 /dev/vda1 155G 12G 143G 8% /facter-os 03:03:12 03:03:12 03:03:12 ---> sar -b -r -n DEV: 03:03:12 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-2298) 06/13/22 _x86_64_ (8 CPU) 03:03:12 03:03:12 02:52:02 LINUX RESTART (8 CPU) 03:03:12 03:03:12 02:53:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:03:12 02:54:01 169.29 1.40 167.89 0.00 19.46 60127.45 0.00 03:03:12 02:55:01 178.74 0.12 178.62 0.00 9.86 35184.27 0.00 03:03:12 02:56:01 1.45 0.00 1.45 0.00 0.00 16.28 0.00 03:03:12 02:57:01 1.67 0.00 1.67 0.00 0.00 18.93 0.00 03:03:12 02:58:01 0.95 0.02 0.93 0.00 0.13 11.46 0.00 03:03:12 02:59:01 1.62 0.00 1.62 0.00 0.00 18.00 0.00 03:03:12 03:00:01 0.92 0.00 0.92 0.00 0.00 10.93 0.00 03:03:12 03:01:01 1.75 0.00 1.75 0.00 0.00 19.60 0.00 03:03:12 03:02:01 1.08 0.00 1.08 0.00 0.00 13.06 0.00 03:03:12 03:03:01 123.93 0.32 123.61 0.00 15.33 58454.92 0.00 03:03:12 Average: 48.14 0.18 47.96 0.00 4.48 15387.56 0.00 03:03:12 03:03:12 02:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:03:12 02:54:01 28302008 31748464 535948 1.63 161544 3484476 2000004 5.89 1303760 2809836 7432 03:03:12 02:55:01 27706536 31776056 515484 1.57 173372 4044764 1810520 5.34 1329372 3333040 168 03:03:12 02:56:01 27707912 31777568 513728 1.56 173404 4044768 1810520 5.34 1328108 3333044 8 03:03:12 02:57:01 27712376 31782044 509116 1.55 173440 4044760 1810520 5.34 1324092 3333052 24 03:03:12 02:58:01 27711892 31781608 509344 1.55 173464 4044776 1810520 5.34 1324292 3333060 12 03:03:12 02:59:01 27713200 31782864 508056 1.55 173476 4044780 1810520 5.34 1322916 3333064 16 03:03:12 03:00:01 27718980 31788816 502192 1.53 173492 4044784 1810520 5.34 1317432 3333232 12 03:03:12 03:01:01 27719652 31789548 501624 1.53 173532 4044788 1810520 5.34 1317496 3333240 12 03:03:12 03:02:01 27719416 31789400 501792 1.53 173572 4044784 1810520 5.34 1318236 3333300 12 03:03:12 03:03:01 26184876 31737764 545512 1.66 216756 5353104 1991228 5.87 1462920 4580996 684 03:03:12 Average: 27619685 31775413 514280 1.56 176605 4119578 1847539 5.44 1334862 3405586 838 03:03:12 03:03:12 02:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:03:12 02:54:01 ens3 328.38 243.21 4937.59 84.44 0.00 0.00 0.00 0.00 03:03:12 02:54:01 docker0 106.35 130.54 8.46 1041.83 0.00 0.00 0.00 0.00 03:03:12 02:54:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 03:03:12 02:55:01 ens3 236.77 173.34 2718.82 279.50 0.00 0.00 0.00 0.00 03:03:12 02:55:01 docker0 9.98 14.13 0.59 89.57 0.00 0.00 0.00 0.00 03:03:12 02:55:01 lo 7.80 7.80 0.77 0.77 0.00 0.00 0.00 0.00 03:03:12 02:56:01 ens3 0.13 0.02 0.01 0.00 0.00 0.00 0.00 0.00 03:03:12 02:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 02:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 02:57:01 ens3 0.80 0.23 0.15 0.08 0.00 0.00 0.00 0.00 03:03:12 02:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 02:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:03:12 02:58:01 ens3 0.60 0.32 0.34 0.26 0.00 0.00 0.00 0.00 03:03:12 02:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 02:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 02:59:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 03:03:12 02:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 02:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:03:12 03:00:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 03:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 03:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 03:01:01 ens3 0.55 0.12 0.05 0.01 0.00 0.00 0.00 0.00 03:03:12 03:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 03:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:03:12 03:02:01 ens3 0.50 0.43 0.30 0.21 0.00 0.00 0.00 0.00 03:03:12 03:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 03:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:03:12 03:03:01 veth3c163f5 1.70 1.47 0.29 0.37 0.00 0.00 0.00 0.00 03:03:12 03:03:01 ens3 423.30 282.70 7903.64 123.07 0.00 0.00 0.00 0.00 03:03:12 03:03:01 docker0 41.73 50.74 3.74 684.73 0.00 0.00 0.00 0.00 03:03:12 03:03:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 03:03:12 Average: veth3c163f5 0.17 0.15 0.03 0.04 0.00 0.00 0.00 0.00 03:03:12 Average: ens3 99.12 70.05 1556.08 48.76 0.00 0.00 0.00 0.00 03:03:12 Average: docker0 15.81 19.54 1.28 181.61 0.00 0.00 0.00 0.00 03:03:12 Average: lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 03:03:12 03:03:12 03:03:12 ---> sar -P ALL: 03:03:12 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-2298) 06/13/22 _x86_64_ (8 CPU) 03:03:12 03:03:12 02:52:02 LINUX RESTART (8 CPU) 03:03:12 03:03:12 02:53:01 CPU %user %nice %system %iowait %steal %idle 03:03:12 02:54:01 all 33.21 0.00 7.40 0.93 0.20 58.25 03:03:12 02:54:01 0 32.26 0.00 7.22 0.05 0.19 60.29 03:03:12 02:54:01 1 32.83 0.00 8.49 2.37 0.22 56.09 03:03:12 02:54:01 2 33.75 0.00 7.08 0.12 0.27 58.79 03:03:12 02:54:01 3 33.33 0.00 7.96 4.17 0.19 54.35 03:03:12 02:54:01 4 32.30 0.00 7.02 0.15 0.20 60.33 03:03:12 02:54:01 5 31.96 0.00 6.87 0.08 0.19 60.90 03:03:12 02:54:01 6 34.89 0.00 6.91 0.10 0.17 57.92 03:03:12 02:54:01 7 34.36 0.00 7.71 0.41 0.20 57.32 03:03:12 02:55:01 all 20.34 0.00 4.38 0.87 0.15 74.26 03:03:12 02:55:01 0 19.33 0.00 4.37 0.15 0.12 76.03 03:03:12 02:55:01 1 19.32 0.00 4.23 2.64 0.17 73.64 03:03:12 02:55:01 2 19.08 0.00 4.52 0.44 0.17 75.80 03:03:12 02:55:01 3 20.69 0.00 4.63 1.72 0.19 72.78 03:03:12 02:55:01 4 22.03 0.00 5.21 1.51 0.15 71.09 03:03:12 02:55:01 5 20.41 0.00 4.24 0.24 0.15 74.96 03:03:12 02:55:01 6 21.53 0.00 3.76 0.08 0.13 74.49 03:03:12 02:55:01 7 20.34 0.00 4.05 0.19 0.15 75.27 03:03:12 02:56:01 all 0.01 0.00 0.01 0.01 0.00 99.97 03:03:12 02:56:01 0 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 02:56:01 1 0.02 0.00 0.02 0.02 0.00 99.95 03:03:12 02:56:01 2 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 02:56:01 3 0.00 0.00 0.00 0.03 0.00 99.97 03:03:12 02:56:01 4 0.02 0.00 0.00 0.00 0.02 99.97 03:03:12 02:56:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 02:56:01 6 0.02 0.00 0.03 0.00 0.00 99.95 03:03:12 02:56:01 7 0.00 0.00 0.00 0.00 0.02 99.98 03:03:12 02:57:01 all 0.03 0.00 0.01 0.00 0.01 99.95 03:03:12 02:57:01 0 0.05 0.00 0.02 0.00 0.02 99.92 03:03:12 02:57:01 1 0.02 0.00 0.03 0.02 0.00 99.93 03:03:12 02:57:01 2 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 02:57:01 3 0.03 0.00 0.02 0.02 0.02 99.92 03:03:12 02:57:01 4 0.03 0.00 0.02 0.00 0.00 99.95 03:03:12 02:57:01 5 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 02:57:01 6 0.05 0.00 0.02 0.00 0.02 99.92 03:03:12 02:57:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 02:58:01 all 0.01 0.00 0.01 0.00 0.00 99.97 03:03:12 02:58:01 0 0.02 0.00 0.02 0.00 0.00 99.97 03:03:12 02:58:01 1 0.00 0.00 0.02 0.02 0.02 99.95 03:03:12 02:58:01 2 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 02:58:01 3 0.00 0.00 0.02 0.00 0.00 99.98 03:03:12 02:58:01 4 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 02:58:01 5 0.00 0.00 0.03 0.00 0.00 99.97 03:03:12 02:58:01 6 0.02 0.00 0.02 0.00 0.00 99.97 03:03:12 02:58:01 7 0.03 0.00 0.02 0.00 0.00 99.95 03:03:12 02:59:01 all 0.01 0.00 0.01 0.01 0.00 99.97 03:03:12 02:59:01 0 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 02:59:01 1 0.03 0.00 0.02 0.03 0.00 99.92 03:03:12 02:59:01 2 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 02:59:01 3 0.00 0.00 0.02 0.02 0.00 99.97 03:03:12 02:59:01 4 0.02 0.00 0.02 0.00 0.02 99.95 03:03:12 02:59:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 02:59:01 6 0.00 0.00 0.03 0.00 0.02 99.95 03:03:12 02:59:01 7 0.00 0.00 0.02 0.00 0.00 99.98 03:03:12 03:00:01 all 0.01 0.00 0.01 0.00 0.00 99.98 03:03:12 03:00:01 0 0.00 0.00 0.03 0.00 0.00 99.97 03:03:12 03:00:01 1 0.03 0.00 0.02 0.00 0.02 99.93 03:03:12 03:00:01 2 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 03:00:01 3 0.03 0.00 0.00 0.02 0.00 99.95 03:03:12 03:00:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 03:00:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 03:00:01 6 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 03:00:01 7 0.00 0.00 0.02 0.00 0.00 99.98 03:03:12 03:01:01 all 0.13 0.00 0.01 0.00 0.00 99.86 03:03:12 03:01:01 0 0.02 0.00 0.00 0.00 0.02 99.97 03:03:12 03:01:01 1 0.02 0.00 0.00 0.03 0.00 99.95 03:03:12 03:01:01 2 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 03:01:01 3 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 03:01:01 4 0.91 0.00 0.03 0.00 0.00 99.05 03:03:12 03:01:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 03:01:01 6 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 03:01:01 7 0.03 0.00 0.03 0.00 0.02 99.92 03:03:12 03:02:01 all 0.26 0.00 0.01 0.00 0.00 99.72 03:03:12 03:02:01 0 0.00 0.00 0.00 0.00 0.00 100.00 03:03:12 03:02:01 1 0.02 0.00 0.02 0.02 0.00 99.95 03:03:12 03:02:01 2 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 03:02:01 3 0.00 0.00 0.03 0.02 0.00 99.95 03:03:12 03:02:01 4 1.97 0.00 0.00 0.00 0.00 98.03 03:03:12 03:02:01 5 0.02 0.00 0.00 0.00 0.00 99.98 03:03:12 03:02:01 6 0.03 0.00 0.00 0.00 0.00 99.97 03:03:12 03:02:01 7 0.03 0.00 0.02 0.00 0.00 99.95 03:03:12 03:03:01 all 9.82 0.00 4.08 0.82 0.12 85.17 03:03:12 03:03:01 0 9.98 0.00 4.11 0.34 0.13 85.43 03:03:12 03:03:01 1 9.45 0.00 3.86 0.07 0.14 86.49 03:03:12 03:03:01 2 10.04 0.00 4.52 0.86 0.12 84.47 03:03:12 03:03:01 3 7.77 0.00 4.59 1.35 0.10 86.19 03:03:12 03:03:01 4 11.15 0.00 4.05 1.72 0.13 82.94 03:03:12 03:03:01 5 8.79 0.00 3.39 0.07 0.12 87.63 03:03:12 03:03:01 6 11.28 0.00 3.64 0.13 0.10 84.85 03:03:12 03:03:01 7 10.09 0.00 4.44 2.02 0.12 83.32 03:03:12 Average: all 6.32 0.00 1.58 0.26 0.05 91.79 03:03:12 Average: 0 6.12 0.00 1.56 0.05 0.05 92.22 03:03:12 Average: 1 6.12 0.00 1.65 0.52 0.06 91.66 03:03:12 Average: 2 6.24 0.00 1.60 0.14 0.06 91.97 03:03:12 Average: 3 6.13 0.00 1.71 0.73 0.05 91.39 03:03:12 Average: 4 6.80 0.00 1.62 0.34 0.05 91.19 03:03:12 Average: 5 6.06 0.00 1.44 0.04 0.05 92.42 03:03:12 Average: 6 6.72 0.00 1.43 0.03 0.04 91.78 03:03:12 Average: 7 6.41 0.00 1.61 0.26 0.05 91.67 03:03:12 03:03:12 03:03:12