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 [2022-06-13T02:52:41.046Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-13T02:52:41.118Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-13T02:52:41.138Z] ========================================================= [2022-06-13T02:52:41.139Z] EdgeX Global Pipelines Version Info [2022-06-13T02:52:41.139Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-13T02:52:41.896Z] ------------------- [2022-06-13T02:52:41.896Z] stable info: [2022-06-13T02:52:41.896Z] ------------------- [2022-06-13T02:52:41.896Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-13T02:52:41.896Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T02:52:41.896Z] Message: update stable to v1.0.234 [2022-06-13T02:52:42.467Z] ------------------- [2022-06-13T02:52:42.467Z] experimental info: [2022-06-13T02:52:42.467Z] ------------------- [2022-06-13T02:52:42.467Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-13T02:52:42.467Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T02:52:42.467Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-13T02:52:42.762Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-13T02:52:42.777Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-13T02:52:42.792Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-13T02:52:42.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-13T02:52:42.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-13T02:52:42.835Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-13T02:52:42.847Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-13T02:52:42.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-13T02:52:42.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-13T02:52:42.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-13T02:52:42.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-13T02:52:42.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-13T02:52:42.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-13T02:52:42.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-13T02:52:42.966Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T02:52:42.986Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T02:52:43.000Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T02:52:43.016Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T02:52:43.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-13T02:52:43.050Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-13T02:52:43.065Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-13T02:52:43.081Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-13T02:52:43.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-13T02:52:43.113Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-13T02:52:43.128Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-13T02:52:43.139Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-13T02:52:43.153Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-13T02:52:43.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-13T02:52:43.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-13T02:52:43.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-13T02:52:43.206Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo [2022-06-13T02:52:43.221Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8114a0a [Pipeline] echo [2022-06-13T02:52:43.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T02:52:43.291Z] provisioning config files... [2022-06-13T02:52:43.309Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9164188836933774019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T02:52:43.619Z] ---> docker-login.sh [2022-06-13T02:52:43.619Z] nexus3.edgexfoundry.org:10001 [2022-06-13T02:52:43.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:52:43.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:52:43.880Z] Configure a credential helper to remove this warning. See [2022-06-13T02:52:43.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:52:43.880Z] [2022-06-13T02:52:43.880Z] Login Succeeded [2022-06-13T02:52:43.880Z] nexus3.edgexfoundry.org:10002 [2022-06-13T02:52:44.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:52:44.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:52:44.142Z] Configure a credential helper to remove this warning. See [2022-06-13T02:52:44.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:52:44.142Z] [2022-06-13T02:52:44.142Z] Login Succeeded [2022-06-13T02:52:44.142Z] nexus3.edgexfoundry.org:10003 [2022-06-13T02:52:44.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:52:44.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:52:44.142Z] Configure a credential helper to remove this warning. See [2022-06-13T02:52:44.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:52:44.142Z] [2022-06-13T02:52:44.142Z] Login Succeeded [2022-06-13T02:52:44.142Z] nexus3.edgexfoundry.org:10004 [2022-06-13T02:52:44.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:52:44.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:52:44.402Z] Configure a credential helper to remove this warning. See [2022-06-13T02:52:44.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:52:44.402Z] [2022-06-13T02:52:44.402Z] Login Succeeded [2022-06-13T02:52:44.402Z] docker.io [2022-06-13T02:52:44.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:52:44.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:52:44.974Z] Configure a credential helper to remove this warning. See [2022-06-13T02:52:44.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:52:44.974Z] [2022-06-13T02:52:44.974Z] Login Succeeded [2022-06-13T02:52:44.974Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T02:52:44.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-13T02:52:45.353Z] + git rev-list -1 --merges 8114a0a5788dfb33e69c59c13f1ac2f90e850568~1..8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo [2022-06-13T02:52:45.378Z] -----------> git rev-list -1 --merges 8114a0a5788dfb33e69c59c13f1ac2f90e850568~1..8114a0a5788dfb33e69c59c13f1ac2f90e850568 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T02:52:45.378Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [false] [Pipeline] sh [2022-06-13T02:52:45.670Z] + git log --format=format:%s -1 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo [2022-06-13T02:52:45.683Z] ========================================================= [2022-06-13T02:52:45.683Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-13T02:52:45.683Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T02:52:46.023Z] + git log --format=format:%s -1 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] echo [2022-06-13T02:52:46.034Z] [semverPrep] GIT_COMMIT: 8114a0a5788dfb33e69c59c13f1ac2f90e850568, Commit Message: Merge pull request #389 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2 [Pipeline] echo [2022-06-13T02:52:46.042Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-13T02:52:46.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T02:52:46.443Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-13T02:52:46.443Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-13T02:52:46.443Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-13T02:52:46.443Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-13T02:52:46.443Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-13T02:52:46.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:52:46.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T02:52:46.888Z] [2022-06-13T02:52:46.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:52:47.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T02:52:47.191Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-13T02:52:47.191Z] 42c077c10790: Pulling fs layer [2022-06-13T02:52:47.191Z] f63e77b7563a: Pulling fs layer [2022-06-13T02:52:47.191Z] bd5fdadae976: Pulling fs layer [2022-06-13T02:52:47.191Z] 205491f53016: Pulling fs layer [2022-06-13T02:52:47.191Z] df18705c85c3: Pulling fs layer [2022-06-13T02:52:47.191Z] bdb3f477010e: Pulling fs layer [2022-06-13T02:52:47.191Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-13T02:52:47.191Z] 2c6e9b1d212d: Pulling fs layer [2022-06-13T02:52:47.191Z] bdb8f0575790: Pulling fs layer [2022-06-13T02:52:47.191Z] 386e3cb2ff24: Pulling fs layer [2022-06-13T02:52:47.191Z] 2343380bae48: Pulling fs layer [2022-06-13T02:52:47.191Z] 2c6e9b1d212d: Waiting [2022-06-13T02:52:47.191Z] bdb8f0575790: Waiting [2022-06-13T02:52:47.191Z] 205491f53016: Waiting [2022-06-13T02:52:47.191Z] df18705c85c3: Waiting [2022-06-13T02:52:47.191Z] 386e3cb2ff24: Waiting [2022-06-13T02:52:47.191Z] c8a8fc8e1c8f: Waiting [2022-06-13T02:52:47.191Z] 2343380bae48: Waiting [2022-06-13T02:52:47.191Z] bdb3f477010e: Waiting [2022-06-13T02:52:47.191Z] f63e77b7563a: Verifying Checksum [2022-06-13T02:52:47.191Z] f63e77b7563a: Download complete [2022-06-13T02:52:47.191Z] 205491f53016: Verifying Checksum [2022-06-13T02:52:47.191Z] 205491f53016: Download complete [2022-06-13T02:52:47.452Z] df18705c85c3: Verifying Checksum [2022-06-13T02:52:47.452Z] df18705c85c3: Download complete [2022-06-13T02:52:47.452Z] bd5fdadae976: Verifying Checksum [2022-06-13T02:52:47.452Z] bd5fdadae976: Download complete [2022-06-13T02:52:47.452Z] bdb3f477010e: Download complete [2022-06-13T02:52:47.452Z] 2c6e9b1d212d: Verifying Checksum [2022-06-13T02:52:47.452Z] 2c6e9b1d212d: Download complete [2022-06-13T02:52:47.452Z] bdb8f0575790: Verifying Checksum [2022-06-13T02:52:47.452Z] bdb8f0575790: Download complete [2022-06-13T02:52:47.452Z] 386e3cb2ff24: Verifying Checksum [2022-06-13T02:52:47.452Z] 386e3cb2ff24: Download complete [2022-06-13T02:52:47.452Z] 2343380bae48: Verifying Checksum [2022-06-13T02:52:47.452Z] 2343380bae48: Download complete [2022-06-13T02:52:47.452Z] 42c077c10790: Download complete [2022-06-13T02:52:47.713Z] c8a8fc8e1c8f: Download complete [2022-06-13T02:52:49.095Z] 42c077c10790: Pull complete [2022-06-13T02:52:49.095Z] f63e77b7563a: Pull complete [2022-06-13T02:52:49.668Z] bd5fdadae976: Pull complete [2022-06-13T02:52:49.668Z] 205491f53016: Pull complete [2022-06-13T02:52:49.942Z] df18705c85c3: Pull complete [2022-06-13T02:52:49.943Z] bdb3f477010e: Pull complete [2022-06-13T02:52:52.486Z] c8a8fc8e1c8f: Pull complete [2022-06-13T02:52:52.486Z] 2c6e9b1d212d: Pull complete [2022-06-13T02:52:52.486Z] bdb8f0575790: Pull complete [2022-06-13T02:52:52.486Z] 386e3cb2ff24: Pull complete [2022-06-13T02:52:52.486Z] 2343380bae48: Pull complete [2022-06-13T02:52:52.486Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-13T02:52:52.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T02:52:52.486Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T02:52:52.593Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T02:52:52.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-13T02:52:53.891Z] $ docker top f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T02:52:54.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T02:52:54.005Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T02:52:54.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T02:52:54.138Z] $ docker exec f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent [2022-06-13T02:52:54.258Z] SSH_AUTH_SOCK=/tmp/ssh-OeOU9msa7mmF/agent.34 [2022-06-13T02:52:54.258Z] SSH_AGENT_PID=41 [2022-06-13T02:52:54.266Z] Running ssh-add (command line suppressed) [2022-06-13T02:52:54.385Z] 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) [2022-06-13T02:52:54.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T02:52:54.696Z] + git tag --points-at HEAD [Pipeline] } [2022-06-13T02:52:54.710Z] $ docker exec --env ******** --env ******** f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent -k [2022-06-13T02:52:54.825Z] unset SSH_AUTH_SOCK; [2022-06-13T02:52:54.825Z] unset SSH_AGENT_PID; [2022-06-13T02:52:54.825Z] echo Agent pid 41 killed; [2022-06-13T02:52:54.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-13T02:52:54.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T02:52:54.862Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T02:52:55.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T02:52:55.006Z] $ docker exec f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent [2022-06-13T02:52:55.155Z] SSH_AUTH_SOCK=/tmp/ssh-J1g7O1bMOj4U/agent.74 [2022-06-13T02:52:55.155Z] SSH_AGENT_PID=80 [2022-06-13T02:52:55.161Z] Running ssh-add (command line suppressed) [2022-06-13T02:52:55.270Z] 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) [2022-06-13T02:52:55.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T02:52:55.576Z] + git semver init [2022-06-13T02:52:56.144Z] 2022-06-13 02:52:55,838 [run_init] DEBUG init version:0.0.0 force:False [2022-06-13T02:52:56.144Z] 2022-06-13 02:52:55,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-06-13T02:52:56.144Z] 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 [2022-06-13T02:52:56.144Z] 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) [2022-06-13T02:52:56.713Z] 2022-06-13 02:52:56,561 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-06-13T02:52:56.713Z] 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 [2022-06-13T02:52:56.713Z] 2022-06-13 02:52:56,561 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T02:52:56.713Z] 2022-06-13 02:52:56,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T02:52:56.713Z] 2.2.1-dev.2 [Pipeline] } [2022-06-13T02:52:56.720Z] $ docker exec --env ******** --env ******** f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 ssh-agent -k [2022-06-13T02:52:56.825Z] unset SSH_AUTH_SOCK; [2022-06-13T02:52:56.826Z] unset SSH_AGENT_PID; [2022-06-13T02:52:56.826Z] echo Agent pid 80 killed; [2022-06-13T02:52:56.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T02:52:57.148Z] + git semver [Pipeline] } [2022-06-13T02:52:57.730Z] $ docker stop --time=1 f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 [2022-06-13T02:52:59.051Z] $ docker rm -f f65d1cbf70feb5e53b46b6a0ba7e4f35eb2c010860afbd449c0f311994105d65 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T02:52:59.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-13T02:52:59.705Z] Stashed 1 file(s) [Pipeline] echo [2022-06-13T02:52:59.707Z] [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 [2022-06-13T02:52:59.842Z] provisioning config files... [2022-06-13T02:52:59.853Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8625946581757387104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T02:53:00.156Z] ---> docker-login.sh [2022-06-13T02:53:00.156Z] nexus3.edgexfoundry.org:10001 [2022-06-13T02:53:00.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:53:00.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:53:00.156Z] Configure a credential helper to remove this warning. See [2022-06-13T02:53:00.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:53:00.156Z] [2022-06-13T02:53:00.156Z] Login Succeeded [2022-06-13T02:53:00.156Z] nexus3.edgexfoundry.org:10002 [2022-06-13T02:53:00.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:53:00.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:53:00.417Z] Configure a credential helper to remove this warning. See [2022-06-13T02:53:00.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:53:00.417Z] [2022-06-13T02:53:00.417Z] Login Succeeded [2022-06-13T02:53:00.417Z] nexus3.edgexfoundry.org:10003 [2022-06-13T02:53:00.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:53:00.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:53:00.417Z] Configure a credential helper to remove this warning. See [2022-06-13T02:53:00.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:53:00.417Z] [2022-06-13T02:53:00.417Z] Login Succeeded [2022-06-13T02:53:00.417Z] nexus3.edgexfoundry.org:10004 [2022-06-13T02:53:00.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:53:00.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:53:00.677Z] Configure a credential helper to remove this warning. See [2022-06-13T02:53:00.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:53:00.677Z] [2022-06-13T02:53:00.677Z] Login Succeeded [2022-06-13T02:53:00.677Z] docker.io [2022-06-13T02:53:00.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:53:00.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:53:00.939Z] Configure a credential helper to remove this warning. See [2022-06-13T02:53:00.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:53:00.939Z] [2022-06-13T02:53:00.939Z] Login Succeeded [2022-06-13T02:53:00.939Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T02:53:00.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T02:53:01.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T02:53:01.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T02:53:01.030Z] ========================================================= [2022-06-13T02:53:01.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-13T02:53:01.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:53:01.350Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-13T02:53:01.350Z] Sending build context to Docker daemon 5.975MB [2022-06-13T02:53:01.350Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T02:53:01.350Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-13T02:53:01.350Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-13T02:53:01.350Z] 59bf1c3509f3: Pulling fs layer [2022-06-13T02:53:01.350Z] 666ba61612fd: Pulling fs layer [2022-06-13T02:53:01.350Z] 8ed8ca486205: Pulling fs layer [2022-06-13T02:53:01.350Z] cc1cd167ecdc: Pulling fs layer [2022-06-13T02:53:01.350Z] c516ae0d96e1: Pulling fs layer [2022-06-13T02:53:01.350Z] 684cea983483: Pulling fs layer [2022-06-13T02:53:01.350Z] dd3240ac7de5: Pulling fs layer [2022-06-13T02:53:01.350Z] b1e948a4e11c: Pulling fs layer [2022-06-13T02:53:01.350Z] a8fd76ee1af6: Pulling fs layer [2022-06-13T02:53:01.350Z] 646ad004c059: Pulling fs layer [2022-06-13T02:53:01.350Z] c516ae0d96e1: Waiting [2022-06-13T02:53:01.350Z] 684cea983483: Waiting [2022-06-13T02:53:01.350Z] dd3240ac7de5: Waiting [2022-06-13T02:53:01.350Z] b1e948a4e11c: Waiting [2022-06-13T02:53:01.350Z] a8fd76ee1af6: Waiting [2022-06-13T02:53:01.350Z] 646ad004c059: Waiting [2022-06-13T02:53:01.350Z] cc1cd167ecdc: Waiting [2022-06-13T02:53:01.350Z] 8ed8ca486205: Verifying Checksum [2022-06-13T02:53:01.350Z] 8ed8ca486205: Download complete [2022-06-13T02:53:01.350Z] 666ba61612fd: Download complete [2022-06-13T02:53:01.350Z] c516ae0d96e1: Verifying Checksum [2022-06-13T02:53:01.350Z] c516ae0d96e1: Download complete [2022-06-13T02:53:01.612Z] 684cea983483: Verifying Checksum [2022-06-13T02:53:01.612Z] 684cea983483: Download complete [2022-06-13T02:53:01.612Z] 59bf1c3509f3: Verifying Checksum [2022-06-13T02:53:01.612Z] 59bf1c3509f3: Download complete [2022-06-13T02:53:01.612Z] dd3240ac7de5: Verifying Checksum [2022-06-13T02:53:01.612Z] b1e948a4e11c: Verifying Checksum [2022-06-13T02:53:01.612Z] b1e948a4e11c: Download complete [2022-06-13T02:53:01.612Z] 59bf1c3509f3: Pull complete [2022-06-13T02:53:01.883Z] 666ba61612fd: Pull complete [2022-06-13T02:53:01.883Z] 8ed8ca486205: Pull complete [2022-06-13T02:53:02.145Z] 646ad004c059: Verifying Checksum [2022-06-13T02:53:02.145Z] 646ad004c059: Download complete [2022-06-13T02:53:02.145Z] cc1cd167ecdc: Verifying Checksum [2022-06-13T02:53:02.145Z] cc1cd167ecdc: Download complete [2022-06-13T02:53:02.404Z] a8fd76ee1af6: Verifying Checksum [2022-06-13T02:53:02.404Z] a8fd76ee1af6: Download complete [2022-06-13T02:53:06.596Z] cc1cd167ecdc: Pull complete [2022-06-13T02:53:06.596Z] c516ae0d96e1: Pull complete [2022-06-13T02:53:06.596Z] 684cea983483: Pull complete [2022-06-13T02:53:06.596Z] dd3240ac7de5: Pull complete [2022-06-13T02:53:06.596Z] b1e948a4e11c: Pull complete [2022-06-13T02:53:09.146Z] a8fd76ee1af6: Pull complete [2022-06-13T02:53:10.086Z] 646ad004c059: Pull complete [2022-06-13T02:53:10.086Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-13T02:53:10.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-13T02:53:10.086Z] ---> 8f69c11f6b0c [2022-06-13T02:53:10.086Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T02:53:11.477Z] ---> Running in 1b254fa18275 [2022-06-13T02:53:11.477Z] Removing intermediate container 1b254fa18275 [2022-06-13T02:53:11.477Z] ---> e4299083ebf3 [2022-06-13T02:53:11.477Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T02:53:11.477Z] ---> Running in 52f776f8d29e [2022-06-13T02:53:11.477Z] Removing intermediate container 52f776f8d29e [2022-06-13T02:53:11.477Z] ---> dfaba3c14688 [2022-06-13T02:53:11.477Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T02:53:11.477Z] ---> Running in 927762ed1e61 [2022-06-13T02:53:12.414Z] Removing intermediate container 927762ed1e61 [2022-06-13T02:53:12.414Z] ---> 02e3e6d741cf [2022-06-13T02:53:12.414Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T02:53:12.414Z] ---> Running in be1042382846 [2022-06-13T02:53:12.673Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T02:53:13.612Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T02:53:13.874Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T02:53:13.874Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-13T02:53:14.136Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T02:53:14.136Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T02:53:14.136Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T02:53:14.136Z] OK: 224 MiB in 56 packages [2022-06-13T02:53:14.708Z] Removing intermediate container be1042382846 [2022-06-13T02:53:14.708Z] ---> 4717674af2af [2022-06-13T02:53:14.708Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-13T02:53:14.708Z] ---> Running in eeae080df8dc [2022-06-13T02:53:14.708Z] Removing intermediate container eeae080df8dc [2022-06-13T02:53:14.708Z] ---> 9d416cdde26e [2022-06-13T02:53:14.708Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-13T02:53:14.804Z] Still waiting to schedule task [2022-06-13T02:53:14.805Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-13T02:53:14.969Z] ---> b9fa1cd48f2f [2022-06-13T02:53:14.969Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T02:53:14.969Z] ---> Running in b43f673f5ae6 [2022-06-13T02:53:29.891Z] Removing intermediate container b43f673f5ae6 [2022-06-13T02:53:29.891Z] ---> 394af737e165 [2022-06-13T02:53:29.891Z] Step 10/12 : COPY . . [2022-06-13T02:53:29.891Z] ---> 98a138b2778b [2022-06-13T02:53:29.891Z] Step 11/12 : ARG MAKE='make build' [2022-06-13T02:53:29.891Z] ---> Running in 7b50e3d872fd [2022-06-13T02:53:30.149Z] Removing intermediate container 7b50e3d872fd [2022-06-13T02:53:30.149Z] ---> aca9d84eb8f5 [2022-06-13T02:53:30.149Z] Step 12/12 : RUN $MAKE [2022-06-13T02:53:30.149Z] ---> Running in 279ab7a2d628 [2022-06-13T02:53:30.411Z] noop [2022-06-13T02:53:30.982Z] Removing intermediate container 279ab7a2d628 [2022-06-13T02:53:30.982Z] ---> 08bf64e40f63 [2022-06-13T02:53:30.982Z] Successfully built 08bf64e40f63 [2022-06-13T02:53:30.982Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:53:31.297Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T02:53:31.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T02:53:31.376Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T02:53:31.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-13T02:53:31.811Z] $ docker top 2df93feba3a7ff6d996ccc72193ae3130c76733b5ba807e925b4606566ac8920 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T02:53:32.180Z] + go version [2022-06-13T02:53:32.180Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-13T02:53:32.200Z] $ docker stop --time=1 2df93feba3a7ff6d996ccc72193ae3130c76733b5ba807e925b4606566ac8920 [2022-06-13T02:53:33.469Z] $ 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 [2022-06-13T02:53:33.883Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T02:53:33.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T02:53:34.000Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T02:53:34.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-13T02:53:34.451Z] $ docker top e56ac0c233090daee2b0c11d6e6763839816825322e120bd3d7bf48faa2d250f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T02:53:34.845Z] + make test [2022-06-13T02:53:34.846Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T02:53:35.106Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-13T02:53:47.331Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-13T02:53:47.331Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-06-13T02:53:47.331Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-13T02:53:55.458Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T02:53:59.655Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T02:53:59.655Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T02:53:59.655Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T02:53:59.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T02:53:59.690Z] $ docker stop --time=1 e56ac0c233090daee2b0c11d6e6763839816825322e120bd3d7bf48faa2d250f [2022-06-13T02:54:01.362Z] $ docker rm -f e56ac0c233090daee2b0c11d6e6763839816825322e120bd3d7bf48faa2d250f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T02:54:01.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T02:54:01.879Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-13T02:54:02.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T02:54:02.708Z] + ls -al . [2022-06-13T02:54:02.708Z] total 180 [2022-06-13T02:54:02.708Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 02:53 . [2022-06-13T02:54:02.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:52 .. [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 02:52 .dockerignore [2022-06-13T02:54:02.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 02:52 .git [2022-06-13T02:54:02.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:52 .github [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 13 02:52 .gitignore [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 02:52 .golangci.yml [2022-06-13T02:54:02.708Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 02:52 .semver [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 8789 Jun 13 02:52 Attribution.txt [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 13 02:52 CHANGELOG.md [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:52 Dockerfile [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 02:52 GOVERNANCE.md [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 13 02:52 Jenkinsfile [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 02:52 LICENSE [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:52 Makefile [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 13 02:52 OWNERS.md [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 13 02:52 README.md [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 13 02:52 VERSION [2022-06-13T02:54:02.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:52 bin [2022-06-13T02:54:02.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:52 cmd [2022-06-13T02:54:02.708Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 13 02:53 coverage.out [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 3235 Jun 13 02:52 go.mod [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 13 02:52 go.sum [2022-06-13T02:54:02.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:52 internal [2022-06-13T02:54:02.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:52 mock [2022-06-13T02:54:02.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:52 snap [2022-06-13T02:54:02.708Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 13 02:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:03.022Z] + 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 . [2022-06-13T02:54:03.022Z] Sending build context to Docker daemon 5.993MB [2022-06-13T02:54:03.022Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T02:54:03.022Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-13T02:54:03.022Z] ---> 08bf64e40f63 [2022-06-13T02:54:03.022Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T02:54:03.022Z] ---> Running in cd3e428705e8 [2022-06-13T02:54:03.283Z] Removing intermediate container cd3e428705e8 [2022-06-13T02:54:03.283Z] ---> 42ca268eca19 [2022-06-13T02:54:03.283Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T02:54:03.283Z] ---> Running in c21e82a7d363 [2022-06-13T02:54:03.283Z] Removing intermediate container c21e82a7d363 [2022-06-13T02:54:03.283Z] ---> 79a94d4456f0 [2022-06-13T02:54:03.283Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T02:54:03.283Z] ---> Running in 10d33e7b2a6a [2022-06-13T02:54:03.853Z] Removing intermediate container 10d33e7b2a6a [2022-06-13T02:54:03.853Z] ---> 37186dd629bf [2022-06-13T02:54:03.853Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T02:54:03.853Z] ---> Running in 0307e8851371 [2022-06-13T02:54:04.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T02:54:05.361Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T02:54:05.361Z] OK: 224 MiB in 56 packages [2022-06-13T02:54:05.934Z] Removing intermediate container 0307e8851371 [2022-06-13T02:54:05.934Z] ---> 003e9836a3b1 [2022-06-13T02:54:05.934Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-13T02:54:05.934Z] ---> Running in a0cf17a25565 [2022-06-13T02:54:05.934Z] Removing intermediate container a0cf17a25565 [2022-06-13T02:54:05.934Z] ---> 1076270007fc [2022-06-13T02:54:05.934Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-13T02:54:06.196Z] ---> 6c0b40a251a8 [2022-06-13T02:54:06.196Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T02:54:06.196Z] ---> Running in 8aad6c993186 [2022-06-13T02:54:06.765Z] Removing intermediate container 8aad6c993186 [2022-06-13T02:54:06.765Z] ---> cb79a7b1b207 [2022-06-13T02:54:06.765Z] Step 10/24 : COPY . . [2022-06-13T02:54:07.026Z] ---> bf4c8e345409 [2022-06-13T02:54:07.026Z] Step 11/24 : ARG MAKE='make build' [2022-06-13T02:54:07.026Z] ---> Running in 97ab1e83b063 [2022-06-13T02:54:07.286Z] Removing intermediate container 97ab1e83b063 [2022-06-13T02:54:07.286Z] ---> 78e482fee330 [2022-06-13T02:54:07.286Z] Step 12/24 : RUN $MAKE [2022-06-13T02:54:07.286Z] ---> Running in e5998a6cc248 [2022-06-13T02:54:07.546Z] 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 [2022-06-13T02:54:29.501Z] Removing intermediate container e5998a6cc248 [2022-06-13T02:54:29.501Z] ---> 3e97023e1ed1 [2022-06-13T02:54:29.501Z] Step 13/24 : FROM alpine:3.14 [2022-06-13T02:54:29.762Z] 3.14: Pulling from library/alpine [2022-06-13T02:54:29.762Z] 8663204ce13b: Pulling fs layer [2022-06-13T02:54:30.021Z] 8663204ce13b: Download complete [2022-06-13T02:54:30.282Z] 8663204ce13b: Pull complete [2022-06-13T02:54:30.282Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-13T02:54:30.282Z] Status: Downloaded newer image for alpine:3.14 [2022-06-13T02:54:30.282Z] ---> e04c818066af [2022-06-13T02:54:30.282Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-13T02:54:30.282Z] ---> Running in fe514f5dd2fa [2022-06-13T02:54:30.282Z] Removing intermediate container fe514f5dd2fa [2022-06-13T02:54:30.282Z] ---> 3de1309426a5 [2022-06-13T02:54:30.282Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T02:54:30.282Z] ---> Running in 0acfe1eb2d4f [2022-06-13T02:54:30.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-13T02:54:30.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-13T02:54:31.112Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T02:54:31.112Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-13T02:54:31.112Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T02:54:31.112Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-13T02:54:31.112Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T02:54:31.112Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T02:54:31.112Z] Executing busybox-1.33.1-r7.trigger [2022-06-13T02:54:31.112Z] OK: 8 MiB in 20 packages [2022-06-13T02:54:31.373Z] Removing intermediate container 0acfe1eb2d4f [2022-06-13T02:54:31.373Z] ---> 65571c02b197 [2022-06-13T02:54:31.373Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-13T02:54:31.943Z] ---> d2a1eb353eba [2022-06-13T02:54:31.943Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-13T02:54:32.204Z] ---> c95c5feb4081 [2022-06-13T02:54:32.204Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-13T02:54:32.204Z] ---> e4fe20503cc4 [2022-06-13T02:54:32.204Z] Step 19/24 : EXPOSE 59982 [2022-06-13T02:54:32.204Z] ---> Running in 36080f37cabf [2022-06-13T02:54:32.468Z] Removing intermediate container 36080f37cabf [2022-06-13T02:54:32.468Z] ---> 7fc5c820a55a [2022-06-13T02:54:32.468Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-13T02:54:32.468Z] ---> Running in 51c4e309d865 [2022-06-13T02:54:32.468Z] Removing intermediate container 51c4e309d865 [2022-06-13T02:54:32.468Z] ---> 115657d6bb25 [2022-06-13T02:54:32.468Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T02:54:32.468Z] ---> Running in 9b489f97e4ba [2022-06-13T02:54:32.729Z] Removing intermediate container 9b489f97e4ba [2022-06-13T02:54:32.729Z] ---> 23a934132518 [2022-06-13T02:54:32.729Z] Step 22/24 : LABEL arch=amd64 [2022-06-13T02:54:32.729Z] ---> Running in 604a22c65540 [2022-06-13T02:54:32.729Z] Removing intermediate container 604a22c65540 [2022-06-13T02:54:32.729Z] ---> 5e7f0bee45b4 [2022-06-13T02:54:32.729Z] Step 23/24 : LABEL git_sha=8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T02:54:32.729Z] ---> Running in c16d8d6dd013 [2022-06-13T02:54:32.989Z] Removing intermediate container c16d8d6dd013 [2022-06-13T02:54:32.989Z] ---> d9495b28bc07 [2022-06-13T02:54:32.989Z] Step 24/24 : LABEL version=2.2.1-dev.2 [2022-06-13T02:54:32.989Z] ---> Running in 105e7576482c [2022-06-13T02:54:32.989Z] Removing intermediate container 105e7576482c [2022-06-13T02:54:32.989Z] ---> 140b32c11f8c [2022-06-13T02:54:32.989Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T02:54:32.989Z] Successfully built 140b32c11f8c [2022-06-13T02:54:32.989Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T02:54:33.103Z] provisioning config files... [2022-06-13T02:54:33.112Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9199314769846715535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T02:54:33.410Z] ---> docker-login.sh [2022-06-13T02:54:33.410Z] nexus3.edgexfoundry.org:10001 [2022-06-13T02:54:33.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:54:33.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:54:33.410Z] Configure a credential helper to remove this warning. See [2022-06-13T02:54:33.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:54:33.410Z] [2022-06-13T02:54:33.410Z] Login Succeeded [2022-06-13T02:54:33.410Z] nexus3.edgexfoundry.org:10002 [2022-06-13T02:54:33.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:54:33.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:54:33.670Z] Configure a credential helper to remove this warning. See [2022-06-13T02:54:33.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:54:33.670Z] [2022-06-13T02:54:33.670Z] Login Succeeded [2022-06-13T02:54:33.670Z] nexus3.edgexfoundry.org:10003 [2022-06-13T02:54:33.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:54:33.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:54:33.670Z] Configure a credential helper to remove this warning. See [2022-06-13T02:54:33.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:54:33.670Z] [2022-06-13T02:54:33.670Z] Login Succeeded [2022-06-13T02:54:33.670Z] nexus3.edgexfoundry.org:10004 [2022-06-13T02:54:33.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:54:33.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:54:33.930Z] Configure a credential helper to remove this warning. See [2022-06-13T02:54:33.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:54:33.930Z] [2022-06-13T02:54:33.930Z] Login Succeeded [2022-06-13T02:54:33.930Z] docker.io [2022-06-13T02:54:33.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:54:34.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:54:34.501Z] Configure a credential helper to remove this warning. See [2022-06-13T02:54:34.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:54:34.501Z] [2022-06-13T02:54:34.501Z] Login Succeeded [2022-06-13T02:54:34.501Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T02:54:34.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-13T02:54:34.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T02:54:34.571Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-06-13T02:54:34.571Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T02:54:34.571Z] latest [2022-06-13T02:54:34.571Z] 2.2.1-dev.2 [2022-06-13T02:54:34.571Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [2022-06-13T02:54:34.571Z] main [2022-06-13T02:54:34.571Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:34.886Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:35.193Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T02:54:35.194Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-13T02:54:35.194Z] e308c265790e: Preparing [2022-06-13T02:54:35.194Z] 8f3dcc6a0821: Preparing [2022-06-13T02:54:35.194Z] a5c187d90f25: Preparing [2022-06-13T02:54:35.194Z] f2120c2713a2: Preparing [2022-06-13T02:54:35.194Z] b541d28bf3b4: Preparing [2022-06-13T02:54:35.194Z] b541d28bf3b4: Layer already exists [2022-06-13T02:54:35.194Z] e308c265790e: Pushed [2022-06-13T02:54:35.194Z] 8f3dcc6a0821: Pushed [2022-06-13T02:54:35.453Z] f2120c2713a2: Pushed [2022-06-13T02:54:37.988Z] a5c187d90f25: Pushed [2022-06-13T02:54:37.988Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:38.299Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:38.609Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-13T02:54:38.609Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-13T02:54:38.609Z] e308c265790e: Preparing [2022-06-13T02:54:38.609Z] 8f3dcc6a0821: Preparing [2022-06-13T02:54:38.609Z] a5c187d90f25: Preparing [2022-06-13T02:54:38.609Z] f2120c2713a2: Preparing [2022-06-13T02:54:38.609Z] b541d28bf3b4: Preparing [2022-06-13T02:54:38.609Z] b541d28bf3b4: Layer already exists [2022-06-13T02:54:38.609Z] e308c265790e: Layer already exists [2022-06-13T02:54:38.609Z] f2120c2713a2: Layer already exists [2022-06-13T02:54:38.609Z] 8f3dcc6a0821: Layer already exists [2022-06-13T02:54:38.609Z] a5c187d90f25: Layer already exists [2022-06-13T02:54:38.609Z] latest: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:38.918Z] + 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 [2022-06-13T02:54:39.218Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.2 [2022-06-13T02:54:39.218Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-13T02:54:39.218Z] e308c265790e: Preparing [2022-06-13T02:54:39.218Z] 8f3dcc6a0821: Preparing [2022-06-13T02:54:39.218Z] a5c187d90f25: Preparing [2022-06-13T02:54:39.218Z] f2120c2713a2: Preparing [2022-06-13T02:54:39.218Z] b541d28bf3b4: Preparing [2022-06-13T02:54:39.218Z] 8f3dcc6a0821: Layer already exists [2022-06-13T02:54:39.218Z] f2120c2713a2: Layer already exists [2022-06-13T02:54:39.218Z] b541d28bf3b4: Layer already exists [2022-06-13T02:54:39.218Z] e308c265790e: Layer already exists [2022-06-13T02:54:39.218Z] a5c187d90f25: Layer already exists [2022-06-13T02:54:39.218Z] 2.2.1-dev.2: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:39.589Z] + 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 [2022-06-13T02:54:39.935Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [2022-06-13T02:54:39.935Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-13T02:54:39.935Z] e308c265790e: Preparing [2022-06-13T02:54:39.935Z] 8f3dcc6a0821: Preparing [2022-06-13T02:54:39.935Z] a5c187d90f25: Preparing [2022-06-13T02:54:39.935Z] f2120c2713a2: Preparing [2022-06-13T02:54:39.935Z] b541d28bf3b4: Preparing [2022-06-13T02:54:39.935Z] 8f3dcc6a0821: Layer already exists [2022-06-13T02:54:39.935Z] a5c187d90f25: Layer already exists [2022-06-13T02:54:39.935Z] f2120c2713a2: Layer already exists [2022-06-13T02:54:39.935Z] b541d28bf3b4: Layer already exists [2022-06-13T02:54:39.935Z] e308c265790e: Layer already exists [2022-06-13T02:54:39.935Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:40.243Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:40.549Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-06-13T02:54:40.549Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-13T02:54:40.549Z] e308c265790e: Preparing [2022-06-13T02:54:40.549Z] 8f3dcc6a0821: Preparing [2022-06-13T02:54:40.549Z] a5c187d90f25: Preparing [2022-06-13T02:54:40.549Z] f2120c2713a2: Preparing [2022-06-13T02:54:40.549Z] b541d28bf3b4: Preparing [2022-06-13T02:54:40.549Z] f2120c2713a2: Layer already exists [2022-06-13T02:54:40.549Z] b541d28bf3b4: Layer already exists [2022-06-13T02:54:40.549Z] e308c265790e: Layer already exists [2022-06-13T02:54:40.549Z] a5c187d90f25: Layer already exists [2022-06-13T02:54:40.549Z] 8f3dcc6a0821: Layer already exists [2022-06-13T02:54:40.549Z] main: digest: sha256:8fa22abcff3c2a6708ca7d18750e266681cbfcf0608f5b78d28cad93e9c86c45 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-13T02:54:40.596Z] ===================================================== [Pipeline] echo [2022-06-13T02:54:40.604Z] taggedImages: [2022-06-13T02:54:40.604Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T02:54:40.604Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-13T02:54:40.604Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.2 [2022-06-13T02:54:40.604Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [2022-06-13T02:54:40.604Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:40.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T02:54:40.993Z] [2022-06-13T02:54:40.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:54:41.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T02:54:41.289Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-13T02:54:41.289Z] 5eb5b503b376: Pulling fs layer [2022-06-13T02:54:41.289Z] 5c69ac0246d0: Pulling fs layer [2022-06-13T02:54:41.289Z] ec43610c2a17: Pulling fs layer [2022-06-13T02:54:41.289Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-13T02:54:41.289Z] 33b1e0a273af: Pulling fs layer [2022-06-13T02:54:41.289Z] 5d3b04190fa2: Pulling fs layer [2022-06-13T02:54:41.289Z] 2f39f015ded8: Pulling fs layer [2022-06-13T02:54:41.289Z] 33b1e0a273af: Waiting [2022-06-13T02:54:41.289Z] 5d3b04190fa2: Waiting [2022-06-13T02:54:41.289Z] 2f39f015ded8: Waiting [2022-06-13T02:54:41.289Z] 3a2ae6a8a46f: Waiting [2022-06-13T02:54:41.289Z] 5c69ac0246d0: Verifying Checksum [2022-06-13T02:54:41.289Z] 5c69ac0246d0: Download complete [2022-06-13T02:54:41.289Z] 3a2ae6a8a46f: Download complete [2022-06-13T02:54:41.289Z] 33b1e0a273af: Verifying Checksum [2022-06-13T02:54:41.289Z] 33b1e0a273af: Download complete [2022-06-13T02:54:41.289Z] ec43610c2a17: Verifying Checksum [2022-06-13T02:54:41.289Z] ec43610c2a17: Download complete [2022-06-13T02:54:41.289Z] 5d3b04190fa2: Download complete [2022-06-13T02:54:41.548Z] 5eb5b503b376: Verifying Checksum [2022-06-13T02:54:41.548Z] 5eb5b503b376: Download complete [2022-06-13T02:54:42.114Z] 2f39f015ded8: Download complete [2022-06-13T02:54:43.055Z] 5eb5b503b376: Pull complete [2022-06-13T02:54:43.056Z] 5c69ac0246d0: Pull complete [2022-06-13T02:54:43.622Z] ec43610c2a17: Pull complete [2022-06-13T02:54:43.622Z] 3a2ae6a8a46f: Pull complete [2022-06-13T02:54:43.882Z] 33b1e0a273af: Pull complete [2022-06-13T02:54:43.882Z] 5d3b04190fa2: Pull complete [2022-06-13T02:54:47.057Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2300 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-06-13T02:54:47.069Z] Running in /w/workspace/device-mqtt-go/49 [Pipeline] { [Pipeline] checkout [2022-06-13T02:54:47.119Z] Selected Git installation does not exist. Using Default [2022-06-13T02:54:47.119Z] The recommended git tool is: NONE [2022-06-13T02:54:48.079Z] 2f39f015ded8: Pull complete [2022-06-13T02:54:48.338Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-13T02:54:48.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T02:54:48.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T02:54:48.422Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T02:54:48.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T02:54:50.038Z] $ docker top 188479c56ad0375b0c86bdf4b46e98b1bd359c34c262704eb91e8acf19a87f8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T02:54:50.429Z] ---> job-cost.sh [2022-06-13T02:54:50.429Z] lf-activate-venv: SKIPPING [2022-06-13T02:54:50.429Z] INFO: No Stack... [2022-06-13T02:54:50.688Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T02:54:51.257Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T02:54:51.546Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-06-13T02:54:51.546Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T02:54:51.558Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [2022-06-13T02:54:51.567Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] did not exist. Created. [2022-06-13T02:54:51.567Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T02:54:51.871Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-13T02:54:51.893Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T02:54:51.899Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T02:54:51.923Z] $ docker stop --time=1 188479c56ad0375b0c86bdf4b46e98b1bd359c34c262704eb91e8acf19a87f8b [2022-06-13T02:54:53.077Z] $ docker rm -f 188479c56ad0375b0c86bdf4b46e98b1bd359c34c262704eb91e8acf19a87f8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-13T02:54:53.636Z] using credential edgex-jenkins-ssh [2022-06-13T02:54:53.657Z] Cloning the remote Git repository [2022-06-13T02:54:53.716Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T02:54:53.793Z] > git init /w/workspace/device-mqtt-go/49 # timeout=10 [2022-06-13T02:54:53.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T02:54:53.858Z] > git --version # timeout=10 [2022-06-13T02:54:53.876Z] > git --version # 'git version 2.25.1' [2022-06-13T02:54:53.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T02:54:54.056Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T02:54:55.310Z] Avoid second fetch [2022-06-13T02:54:55.311Z] Checking out Revision 8114a0a5788dfb33e69c59c13f1ac2f90e850568 (main) [2022-06-13T02:54:55.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-13T02:54:55.280Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T02:54:55.343Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T02:54:55.368Z] > git checkout -f 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 [2022-06-13T02:54:59.592Z] 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 [2022-06-13T02:55:00.475Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-13T02:55:00.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T02:55:00.475Z] Dload Upload Total Spent Left Speed [2022-06-13T02:55:00.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 72502 0 --:--:-- --:--:-- --:--:-- 72502 [Pipeline] sh [2022-06-13T02:55:01.270Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-13T02:55:01.618Z] + sudo tee /etc/docker/daemon.new [2022-06-13T02:55:01.618Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-13T02:55:01.618Z] { [2022-06-13T02:55:01.618Z] "registry-mirrors": [ [2022-06-13T02:55:01.618Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-13T02:55:01.618Z] ], [2022-06-13T02:55:01.618Z] "bip": "10.250.0.254/24", [2022-06-13T02:55:01.618Z] "hosts": [ [2022-06-13T02:55:01.618Z] "tcp://0.0.0.0:5555", [2022-06-13T02:55:01.618Z] "unix:///var/run/docker.sock" [2022-06-13T02:55:01.618Z] ], [2022-06-13T02:55:01.618Z] "mtu": 1458, [2022-06-13T02:55:01.618Z] "selinux-enabled": true, [2022-06-13T02:55:01.618Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-13T02:55:01.618Z] } [Pipeline] sh [2022-06-13T02:55:01.986Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-13T02:55:02.330Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T02:55:20.668Z] provisioning config files... [2022-06-13T02:55:20.692Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config43771724174748438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T02:55:21.231Z] ---> docker-login.sh [2022-06-13T02:55:21.231Z] nexus3.edgexfoundry.org:10001 [2022-06-13T02:55:21.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:55:22.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:55:22.104Z] Configure a credential helper to remove this warning. See [2022-06-13T02:55:22.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:55:22.104Z] [2022-06-13T02:55:22.104Z] Login Succeeded [2022-06-13T02:55:22.104Z] nexus3.edgexfoundry.org:10002 [2022-06-13T02:55:22.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:55:22.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:55:22.378Z] Configure a credential helper to remove this warning. See [2022-06-13T02:55:22.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:55:22.378Z] [2022-06-13T02:55:22.378Z] Login Succeeded [2022-06-13T02:55:22.378Z] nexus3.edgexfoundry.org:10003 [2022-06-13T02:55:22.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:55:22.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:55:22.976Z] Configure a credential helper to remove this warning. See [2022-06-13T02:55:22.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:55:22.976Z] [2022-06-13T02:55:22.976Z] Login Succeeded [2022-06-13T02:55:22.976Z] nexus3.edgexfoundry.org:10004 [2022-06-13T02:55:23.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:55:23.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:55:23.256Z] Configure a credential helper to remove this warning. See [2022-06-13T02:55:23.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:55:23.256Z] [2022-06-13T02:55:23.256Z] Login Succeeded [2022-06-13T02:55:23.530Z] docker.io [2022-06-13T02:55:23.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T02:55:24.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T02:55:24.076Z] Configure a credential helper to remove this warning. See [2022-06-13T02:55:24.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T02:55:24.076Z] [2022-06-13T02:55:24.076Z] Login Succeeded [2022-06-13T02:55:24.076Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T02:55:24.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T02:55:24.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T02:55:24.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T02:55:24.377Z] ========================================================= [2022-06-13T02:55:24.377Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-13T02:55:24.377Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:55:24.739Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-13T02:55:25.013Z] Sending build context to Docker daemon 3.083MB [2022-06-13T02:55:25.013Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T02:55:25.013Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-13T02:55:25.287Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-13T02:55:25.287Z] 9b3977197b4f: Pulling fs layer [2022-06-13T02:55:25.287Z] 1a89e8eeedd5: Pulling fs layer [2022-06-13T02:55:25.287Z] 94645a83ff95: Pulling fs layer [2022-06-13T02:55:25.287Z] e6fb740bc735: Pulling fs layer [2022-06-13T02:55:25.287Z] 3a77bd46dcc9: Pulling fs layer [2022-06-13T02:55:25.287Z] 355e64cbe906: Pulling fs layer [2022-06-13T02:55:25.287Z] 63ab81a10011: Pulling fs layer [2022-06-13T02:55:25.287Z] 555d1d1c4555: Pulling fs layer [2022-06-13T02:55:25.287Z] 7d9057610161: Pulling fs layer [2022-06-13T02:55:25.287Z] 3a77bd46dcc9: Waiting [2022-06-13T02:55:25.287Z] 355e64cbe906: Waiting [2022-06-13T02:55:25.287Z] 63ab81a10011: Waiting [2022-06-13T02:55:25.287Z] 555d1d1c4555: Waiting [2022-06-13T02:55:25.287Z] 7d9057610161: Waiting [2022-06-13T02:55:25.287Z] e6fb740bc735: Waiting [2022-06-13T02:55:25.287Z] 94645a83ff95: Download complete [2022-06-13T02:55:25.287Z] 1a89e8eeedd5: Verifying Checksum [2022-06-13T02:55:25.287Z] 1a89e8eeedd5: Download complete [2022-06-13T02:55:25.287Z] 3a77bd46dcc9: Verifying Checksum [2022-06-13T02:55:25.287Z] 3a77bd46dcc9: Download complete [2022-06-13T02:55:25.287Z] 355e64cbe906: Download complete [2022-06-13T02:55:25.287Z] 9b3977197b4f: Verifying Checksum [2022-06-13T02:55:25.287Z] 63ab81a10011: Verifying Checksum [2022-06-13T02:55:25.287Z] 63ab81a10011: Download complete [2022-06-13T02:55:26.284Z] 9b3977197b4f: Pull complete [2022-06-13T02:55:26.577Z] 7d9057610161: Verifying Checksum [2022-06-13T02:55:26.577Z] 7d9057610161: Download complete [2022-06-13T02:55:26.852Z] 1a89e8eeedd5: Pull complete [2022-06-13T02:55:27.129Z] 94645a83ff95: Pull complete [2022-06-13T02:55:27.731Z] 555d1d1c4555: Verifying Checksum [2022-06-13T02:55:27.731Z] 555d1d1c4555: Download complete [2022-06-13T02:55:28.005Z] e6fb740bc735: Verifying Checksum [2022-06-13T02:55:28.005Z] e6fb740bc735: Download complete [2022-06-13T02:55:40.418Z] e6fb740bc735: Pull complete [2022-06-13T02:55:40.418Z] 3a77bd46dcc9: Pull complete [2022-06-13T02:55:40.418Z] 355e64cbe906: Pull complete [2022-06-13T02:55:40.692Z] 63ab81a10011: Pull complete [2022-06-13T02:55:47.437Z] 555d1d1c4555: Pull complete [2022-06-13T02:55:48.881Z] 7d9057610161: Pull complete [2022-06-13T02:55:48.881Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-13T02:55:48.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-13T02:55:49.158Z] ---> 819e984ddca1 [2022-06-13T02:55:49.158Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T02:55:50.624Z] ---> Running in 4f6776c9589b [2022-06-13T02:55:50.900Z] Removing intermediate container 4f6776c9589b [2022-06-13T02:55:50.900Z] ---> ebfc71e782f7 [2022-06-13T02:55:50.900Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T02:55:51.182Z] ---> Running in 865ebe91c32b [2022-06-13T02:55:51.454Z] Removing intermediate container 865ebe91c32b [2022-06-13T02:55:51.454Z] ---> f0472fd78ed2 [2022-06-13T02:55:51.454Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T02:55:51.454Z] ---> Running in 253c261895fb [2022-06-13T02:55:53.447Z] Removing intermediate container 253c261895fb [2022-06-13T02:55:53.447Z] ---> 02cbcf59a371 [2022-06-13T02:55:53.447Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T02:55:53.447Z] ---> Running in adc1acf084f0 [2022-06-13T02:55:54.431Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T02:55:55.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T02:55:56.010Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T02:55:56.286Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-13T02:55:56.286Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T02:55:56.566Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T02:55:56.566Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T02:55:56.846Z] OK: 224 MiB in 56 packages [2022-06-13T02:55:58.302Z] Removing intermediate container adc1acf084f0 [2022-06-13T02:55:58.302Z] ---> 8d1f98f33ca0 [2022-06-13T02:55:58.302Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-13T02:55:58.588Z] ---> Running in d47e4b9e5ad4 [2022-06-13T02:55:58.867Z] Removing intermediate container d47e4b9e5ad4 [2022-06-13T02:55:58.867Z] ---> 89f074449590 [2022-06-13T02:55:58.867Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-13T02:55:59.466Z] ---> 11524ddf505b [2022-06-13T02:55:59.466Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T02:55:59.466Z] ---> Running in 6705951ae8b9 [2022-06-13T02:56:46.466Z] Removing intermediate container 6705951ae8b9 [2022-06-13T02:56:46.466Z] ---> a145c0f74676 [2022-06-13T02:56:46.466Z] Step 10/12 : COPY . . [2022-06-13T02:56:46.466Z] ---> 3c3adea8d004 [2022-06-13T02:56:46.466Z] Step 11/12 : ARG MAKE='make build' [2022-06-13T02:56:46.466Z] ---> Running in 440b199d5959 [2022-06-13T02:56:46.466Z] Removing intermediate container 440b199d5959 [2022-06-13T02:56:46.466Z] ---> b94cad100725 [2022-06-13T02:56:46.466Z] Step 12/12 : RUN $MAKE [2022-06-13T02:56:46.466Z] ---> Running in 7bf977a4465f [2022-06-13T02:56:46.466Z] noop [2022-06-13T02:56:47.062Z] Removing intermediate container 7bf977a4465f [2022-06-13T02:56:47.062Z] ---> cc8a786dc35e [2022-06-13T02:56:47.062Z] Successfully built cc8a786dc35e [2022-06-13T02:56:47.337Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:56:47.710Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T02:56:47.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T02:56:47.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-2300 does not seem to be running inside a container [2022-06-13T02:56:48.058Z] $ 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 [2022-06-13T02:56:49.385Z] $ docker top 5af0ac3bec8cdb0cd4356d4e2e543fecb17c1af7a33cdaf967eeb4b9d7256e96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T02:56:50.355Z] + go version [2022-06-13T02:56:50.355Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-13T02:56:50.381Z] $ docker stop --time=1 5af0ac3bec8cdb0cd4356d4e2e543fecb17c1af7a33cdaf967eeb4b9d7256e96 [2022-06-13T02:56:52.083Z] $ 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 [2022-06-13T02:56:52.718Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T02:56:52.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T02:56:52.972Z] prd-ubuntu20.04-docker-arm64-4c-16g-2300 does not seem to be running inside a container [2022-06-13T02:56:53.070Z] $ 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 [2022-06-13T02:56:54.432Z] $ docker top e228673cac503d47dcb6b389f6e3ddb20020d05f8c024b102c6a998316d21d33 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T02:56:55.357Z] + make test [2022-06-13T02:56:55.357Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T02:56:57.353Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-13T02:58:19.211Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-13T02:58:19.211Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements [2022-06-13T02:58:19.211Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-13T02:58:19.484Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-13T02:58:19.484Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T02:58:51.889Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T02:58:51.889Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T02:58:51.889Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T02:58:51.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T02:58:51.933Z] $ docker stop --time=1 e228673cac503d47dcb6b389f6e3ddb20020d05f8c024b102c6a998316d21d33 [2022-06-13T02:58:53.750Z] $ docker rm -f e228673cac503d47dcb6b389f6e3ddb20020d05f8c024b102c6a998316d21d33 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T02:58:54.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T02:58:54.769Z] Warning: overwriting stash ‘coverage-report’ [2022-06-13T02:58:55.267Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T02:58:55.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T02:58:56.022Z] + ls -al . [2022-06-13T02:58:56.022Z] total 176 [2022-06-13T02:58:56.022Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 13 02:58 . [2022-06-13T02:58:56.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:54 .. [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 02:54 .dockerignore [2022-06-13T02:58:56.022Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 02:54 .git [2022-06-13T02:58:56.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:54 .github [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 13 02:54 .gitignore [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 02:54 .golangci.yml [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 8789 Jun 13 02:54 Attribution.txt [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 13 02:54 CHANGELOG.md [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:54 Dockerfile [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 02:54 GOVERNANCE.md [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 13 02:54 Jenkinsfile [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 02:54 LICENSE [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 13 02:54 Makefile [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 13 02:54 OWNERS.md [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 13 02:54 README.md [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 13 02:52 VERSION [2022-06-13T02:58:56.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:54 bin [2022-06-13T02:58:56.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:54 cmd [2022-06-13T02:58:56.022Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 13 02:58 coverage.out [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 3235 Jun 13 02:54 go.mod [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 13 02:54 go.sum [2022-06-13T02:58:56.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 02:54 internal [2022-06-13T02:58:56.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 02:54 mock [2022-06-13T02:58:56.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 02:54 snap [2022-06-13T02:58:56.022Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 13 02:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T02:58:56.381Z] + 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 . [2022-06-13T02:58:56.654Z] Sending build context to Docker daemon 3.102MB [2022-06-13T02:58:56.654Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T02:58:56.654Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-13T02:58:56.654Z] ---> cc8a786dc35e [2022-06-13T02:58:56.654Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T02:58:56.927Z] ---> Running in c93d8c2fc425 [2022-06-13T02:58:57.198Z] Removing intermediate container c93d8c2fc425 [2022-06-13T02:58:57.198Z] ---> 3834ff37cd80 [2022-06-13T02:58:57.198Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T02:58:57.198Z] ---> Running in 10cf34d6c1ca [2022-06-13T02:58:57.475Z] Removing intermediate container 10cf34d6c1ca [2022-06-13T02:58:57.475Z] ---> 51ab04dafe50 [2022-06-13T02:58:57.475Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T02:58:57.746Z] ---> Running in 97de344fdd42 [2022-06-13T02:58:59.197Z] Removing intermediate container 97de344fdd42 [2022-06-13T02:58:59.197Z] ---> eaceaa1f9723 [2022-06-13T02:58:59.197Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T02:58:59.197Z] ---> Running in 8c2b00960929 [2022-06-13T02:59:00.186Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T02:59:01.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T02:59:02.149Z] OK: 224 MiB in 56 packages [2022-06-13T02:59:02.753Z] Removing intermediate container 8c2b00960929 [2022-06-13T02:59:02.753Z] ---> 30d17c81e685 [2022-06-13T02:59:02.753Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-13T02:59:03.029Z] ---> Running in 24cf0f88eafd [2022-06-13T02:59:03.302Z] Removing intermediate container 24cf0f88eafd [2022-06-13T02:59:03.302Z] ---> 54b5eb0adee3 [2022-06-13T02:59:03.302Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-13T02:59:03.900Z] ---> cfd3adced8c3 [2022-06-13T02:59:03.900Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T02:59:03.900Z] ---> Running in 6a74d6b54ba2 [2022-06-13T02:59:05.888Z] Removing intermediate container 6a74d6b54ba2 [2022-06-13T02:59:05.888Z] ---> 3d856b9c944e [2022-06-13T02:59:05.888Z] Step 10/24 : COPY . . [2022-06-13T02:59:06.484Z] ---> a9b984b76219 [2022-06-13T02:59:06.484Z] Step 11/24 : ARG MAKE='make build' [2022-06-13T02:59:06.770Z] ---> Running in 101be6f78c1c [2022-06-13T02:59:07.046Z] Removing intermediate container 101be6f78c1c [2022-06-13T02:59:07.046Z] ---> 9834714be723 [2022-06-13T02:59:07.046Z] Step 12/24 : RUN $MAKE [2022-06-13T02:59:07.046Z] ---> Running in ff68875fa32a [2022-06-13T02:59:08.031Z] 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 [2022-06-13T03:01:14.942Z] Removing intermediate container ff68875fa32a [2022-06-13T03:01:14.942Z] ---> 768e9b8d9589 [2022-06-13T03:01:14.942Z] Step 13/24 : FROM alpine:3.14 [2022-06-13T03:01:14.942Z] 3.14: Pulling from library/alpine [2022-06-13T03:01:14.942Z] 455c02918c45: Pulling fs layer [2022-06-13T03:01:14.943Z] 455c02918c45: Verifying Checksum [2022-06-13T03:01:14.943Z] 455c02918c45: Download complete [2022-06-13T03:01:14.943Z] 455c02918c45: Pull complete [2022-06-13T03:01:14.943Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-13T03:01:14.943Z] Status: Downloaded newer image for alpine:3.14 [2022-06-13T03:01:14.943Z] ---> ac73e934f311 [2022-06-13T03:01:14.943Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-13T03:01:14.943Z] ---> Running in 41277f954324 [2022-06-13T03:01:15.216Z] Removing intermediate container 41277f954324 [2022-06-13T03:01:15.216Z] ---> 52dc824c07dc [2022-06-13T03:01:15.216Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T03:01:15.216Z] ---> Running in 8be633f9248c [2022-06-13T03:01:16.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-13T03:01:16.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-13T03:01:17.459Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T03:01:17.460Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-13T03:01:17.460Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T03:01:17.460Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-13T03:01:17.460Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T03:01:17.460Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T03:01:17.460Z] Executing busybox-1.33.1-r7.trigger [2022-06-13T03:01:17.460Z] OK: 8 MiB in 20 packages [2022-06-13T03:01:18.449Z] Removing intermediate container 8be633f9248c [2022-06-13T03:01:18.449Z] ---> 58b82e94eb7f [2022-06-13T03:01:18.449Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-13T03:01:20.441Z] ---> db75dd39f614 [2022-06-13T03:01:20.441Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-13T03:01:20.715Z] ---> abb642cfd75b [2022-06-13T03:01:20.715Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-13T03:01:21.316Z] ---> b9bac37d5ebe [2022-06-13T03:01:21.316Z] Step 19/24 : EXPOSE 59982 [2022-06-13T03:01:21.316Z] ---> Running in 43c23a45cb7e [2022-06-13T03:01:21.590Z] Removing intermediate container 43c23a45cb7e [2022-06-13T03:01:21.591Z] ---> d3706b75d6df [2022-06-13T03:01:21.591Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-13T03:01:21.591Z] ---> Running in ce9b2e1eda80 [2022-06-13T03:01:21.868Z] Removing intermediate container ce9b2e1eda80 [2022-06-13T03:01:21.868Z] ---> 6549a48988a1 [2022-06-13T03:01:21.868Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T03:01:22.143Z] ---> Running in 2e37b44caed3 [2022-06-13T03:01:22.421Z] Removing intermediate container 2e37b44caed3 [2022-06-13T03:01:22.421Z] ---> 96ab08746b91 [2022-06-13T03:01:22.421Z] Step 22/24 : LABEL arch=arm64 [2022-06-13T03:01:22.421Z] ---> Running in a312add27e38 [2022-06-13T03:01:22.696Z] Removing intermediate container a312add27e38 [2022-06-13T03:01:22.696Z] ---> 45ec61d3d9e6 [2022-06-13T03:01:22.696Z] Step 23/24 : LABEL git_sha=8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T03:01:22.970Z] ---> Running in a4bebbd56094 [2022-06-13T03:01:23.251Z] Removing intermediate container a4bebbd56094 [2022-06-13T03:01:23.251Z] ---> 169be3c822ac [2022-06-13T03:01:23.251Z] Step 24/24 : LABEL version=2.2.1-dev.2 [2022-06-13T03:01:23.251Z] ---> Running in f145261ade76 [2022-06-13T03:01:23.525Z] Removing intermediate container f145261ade76 [2022-06-13T03:01:23.525Z] ---> d51fc2f400d0 [2022-06-13T03:01:23.525Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T03:01:23.525Z] Successfully built d51fc2f400d0 [2022-06-13T03:01:23.525Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T03:01:23.621Z] provisioning config files... [2022-06-13T03:01:23.642Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config6834941156100119702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:01:24.003Z] ---> docker-login.sh [2022-06-13T03:01:24.003Z] nexus3.edgexfoundry.org:10001 [2022-06-13T03:01:24.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:01:24.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:01:24.277Z] Configure a credential helper to remove this warning. See [2022-06-13T03:01:24.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:01:24.277Z] [2022-06-13T03:01:24.277Z] Login Succeeded [2022-06-13T03:01:24.277Z] nexus3.edgexfoundry.org:10002 [2022-06-13T03:01:24.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:01:24.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:01:24.876Z] Configure a credential helper to remove this warning. See [2022-06-13T03:01:24.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:01:24.876Z] [2022-06-13T03:01:24.876Z] Login Succeeded [2022-06-13T03:01:24.876Z] nexus3.edgexfoundry.org:10003 [2022-06-13T03:01:25.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:01:25.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:01:25.426Z] Configure a credential helper to remove this warning. See [2022-06-13T03:01:25.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:01:25.426Z] [2022-06-13T03:01:25.426Z] Login Succeeded [2022-06-13T03:01:25.426Z] nexus3.edgexfoundry.org:10004 [2022-06-13T03:01:25.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:01:25.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:01:25.975Z] Configure a credential helper to remove this warning. See [2022-06-13T03:01:25.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:01:25.975Z] [2022-06-13T03:01:25.975Z] Login Succeeded [2022-06-13T03:01:25.975Z] docker.io [2022-06-13T03:01:26.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:01:26.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:01:26.521Z] Configure a credential helper to remove this warning. See [2022-06-13T03:01:26.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:01:26.521Z] [2022-06-13T03:01:26.521Z] Login Succeeded [2022-06-13T03:01:26.521Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T03:01:26.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-13T03:01:26.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T03:01:26.589Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-06-13T03:01:26.589Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T03:01:26.589Z] latest [2022-06-13T03:01:26.589Z] 2.2.1-dev.2 [2022-06-13T03:01:26.589Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [2022-06-13T03:01:26.589Z] main [2022-06-13T03:01:26.589Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:26.954Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:27.326Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T03:01:27.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-13T03:01:27.326Z] dd18cc5794d2: Preparing [2022-06-13T03:01:27.326Z] 321eaa747dae: Preparing [2022-06-13T03:01:27.326Z] 538590fba707: Preparing [2022-06-13T03:01:27.326Z] ae72a60f13d4: Preparing [2022-06-13T03:01:27.326Z] f73e7dbfee58: Preparing [2022-06-13T03:01:27.601Z] f73e7dbfee58: Layer already exists [2022-06-13T03:01:27.601Z] dd18cc5794d2: Pushed [2022-06-13T03:01:27.601Z] 321eaa747dae: Pushed [2022-06-13T03:01:28.204Z] ae72a60f13d4: Pushed [2022-06-13T03:01:33.607Z] 538590fba707: Pushed [2022-06-13T03:01:33.881Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:34.255Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:34.624Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-13T03:01:34.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-13T03:01:34.624Z] dd18cc5794d2: Preparing [2022-06-13T03:01:34.624Z] 321eaa747dae: Preparing [2022-06-13T03:01:34.624Z] 538590fba707: Preparing [2022-06-13T03:01:34.624Z] ae72a60f13d4: Preparing [2022-06-13T03:01:34.624Z] f73e7dbfee58: Preparing [2022-06-13T03:01:34.624Z] f73e7dbfee58: Layer already exists [2022-06-13T03:01:34.624Z] dd18cc5794d2: Layer already exists [2022-06-13T03:01:34.624Z] ae72a60f13d4: Layer already exists [2022-06-13T03:01:34.624Z] 321eaa747dae: Layer already exists [2022-06-13T03:01:34.624Z] 538590fba707: Layer already exists [2022-06-13T03:01:34.896Z] latest: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:35.269Z] + 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 [2022-06-13T03:01:35.634Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.2 [2022-06-13T03:01:35.634Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-13T03:01:35.634Z] dd18cc5794d2: Preparing [2022-06-13T03:01:35.634Z] 321eaa747dae: Preparing [2022-06-13T03:01:35.634Z] 538590fba707: Preparing [2022-06-13T03:01:35.634Z] ae72a60f13d4: Preparing [2022-06-13T03:01:35.634Z] f73e7dbfee58: Preparing [2022-06-13T03:01:35.634Z] f73e7dbfee58: Layer already exists [2022-06-13T03:01:35.634Z] 321eaa747dae: Layer already exists [2022-06-13T03:01:35.634Z] ae72a60f13d4: Layer already exists [2022-06-13T03:01:35.634Z] 538590fba707: Layer already exists [2022-06-13T03:01:35.634Z] dd18cc5794d2: Layer already exists [2022-06-13T03:01:35.908Z] 2.2.1-dev.2: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:36.282Z] + 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 [2022-06-13T03:01:36.648Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [2022-06-13T03:01:36.648Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-13T03:01:36.648Z] dd18cc5794d2: Preparing [2022-06-13T03:01:36.648Z] 321eaa747dae: Preparing [2022-06-13T03:01:36.648Z] 538590fba707: Preparing [2022-06-13T03:01:36.648Z] ae72a60f13d4: Preparing [2022-06-13T03:01:36.648Z] f73e7dbfee58: Preparing [2022-06-13T03:01:36.648Z] 321eaa747dae: Layer already exists [2022-06-13T03:01:36.648Z] 538590fba707: Layer already exists [2022-06-13T03:01:36.648Z] f73e7dbfee58: Layer already exists [2022-06-13T03:01:36.648Z] dd18cc5794d2: Layer already exists [2022-06-13T03:01:36.648Z] ae72a60f13d4: Layer already exists [2022-06-13T03:01:36.922Z] 8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:37.289Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:37.651Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-06-13T03:01:37.651Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-13T03:01:37.651Z] dd18cc5794d2: Preparing [2022-06-13T03:01:37.651Z] 321eaa747dae: Preparing [2022-06-13T03:01:37.651Z] 538590fba707: Preparing [2022-06-13T03:01:37.651Z] ae72a60f13d4: Preparing [2022-06-13T03:01:37.651Z] f73e7dbfee58: Preparing [2022-06-13T03:01:37.651Z] f73e7dbfee58: Layer already exists [2022-06-13T03:01:37.651Z] ae72a60f13d4: Layer already exists [2022-06-13T03:01:37.651Z] 321eaa747dae: Layer already exists [2022-06-13T03:01:37.651Z] dd18cc5794d2: Layer already exists [2022-06-13T03:01:37.651Z] 538590fba707: Layer already exists [2022-06-13T03:01:37.923Z] main: digest: sha256:f9a98d92189628c9e5d91cdaa266c450e9e46931cfae66dd14cf407ce2b8e19c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-13T03:01:37.979Z] ===================================================== [Pipeline] echo [2022-06-13T03:01:37.988Z] taggedImages: [2022-06-13T03:01:37.988Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568 [2022-06-13T03:01:37.988Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-13T03:01:37.988Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.2 [2022-06-13T03:01:37.988Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8114a0a5788dfb33e69c59c13f1ac2f90e850568-2.2.1-dev.2 [2022-06-13T03:01:37.988Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:38.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T03:01:38.362Z] [2022-06-13T03:01:38.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:01:38.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T03:01:38.997Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-13T03:01:38.998Z] 8998bd30e6a1: Pulling fs layer [2022-06-13T03:01:38.998Z] 04944245beec: Pulling fs layer [2022-06-13T03:01:38.998Z] 699f458cf7ca: Pulling fs layer [2022-06-13T03:01:38.998Z] 765212b225bb: Pulling fs layer [2022-06-13T03:01:38.998Z] f23df028b6ca: Pulling fs layer [2022-06-13T03:01:38.998Z] d65c8cfc05b1: Pulling fs layer [2022-06-13T03:01:38.998Z] 2437ff75d9bd: Pulling fs layer [2022-06-13T03:01:38.998Z] f23df028b6ca: Waiting [2022-06-13T03:01:38.998Z] d65c8cfc05b1: Waiting [2022-06-13T03:01:38.998Z] 2437ff75d9bd: Waiting [2022-06-13T03:01:38.998Z] 765212b225bb: Waiting [2022-06-13T03:01:38.998Z] 04944245beec: Verifying Checksum [2022-06-13T03:01:38.998Z] 04944245beec: Download complete [2022-06-13T03:01:38.998Z] 765212b225bb: Verifying Checksum [2022-06-13T03:01:38.998Z] 765212b225bb: Download complete [2022-06-13T03:01:38.998Z] f23df028b6ca: Verifying Checksum [2022-06-13T03:01:38.998Z] f23df028b6ca: Download complete [2022-06-13T03:01:38.998Z] d65c8cfc05b1: Verifying Checksum [2022-06-13T03:01:38.998Z] d65c8cfc05b1: Download complete [2022-06-13T03:01:39.277Z] 699f458cf7ca: Verifying Checksum [2022-06-13T03:01:39.277Z] 699f458cf7ca: Download complete [2022-06-13T03:01:39.552Z] 8998bd30e6a1: Verifying Checksum [2022-06-13T03:01:39.552Z] 8998bd30e6a1: Download complete [2022-06-13T03:01:42.185Z] 2437ff75d9bd: Verifying Checksum [2022-06-13T03:01:42.185Z] 2437ff75d9bd: Download complete [2022-06-13T03:01:44.173Z] 8998bd30e6a1: Pull complete [2022-06-13T03:01:44.448Z] 04944245beec: Pull complete [2022-06-13T03:01:45.895Z] 699f458cf7ca: Pull complete [2022-06-13T03:01:46.170Z] 765212b225bb: Pull complete [2022-06-13T03:01:47.162Z] f23df028b6ca: Pull complete [2022-06-13T03:01:47.437Z] d65c8cfc05b1: Pull complete [2022-06-13T03:02:02.546Z] 2437ff75d9bd: Pull complete [2022-06-13T03:02:02.546Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-13T03:02:02.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T03:02:02.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:02:02.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-2300 does not seem to be running inside a container [2022-06-13T03:02:02.919Z] $ 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 [2022-06-13T03:02:05.470Z] $ docker top 5b8c6fb488459bfdc1be4e7cb2138de021c83c9754cff9a74b1f965a58ffa65e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:02:06.409Z] ---> job-cost.sh [2022-06-13T03:02:06.409Z] lf-activate-venv: SKIPPING [2022-06-13T03:02:06.409Z] INFO: No Stack... [2022-06-13T03:02:06.686Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-13T03:02:07.662Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T03:02:08.326Z] + cat /w/workspace/device-mqtt-go/49/archives/cost.csv [2022-06-13T03:02:08.326Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T03:02:08.385Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [2022-06-13T03:02:08.391Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] did not exist. Created. [2022-06-13T03:02:08.391Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T03:02:09.146Z] /w/workspace/device-mqtt-go/49@tmp/durable-d055d4f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-13T03:02:09.869Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-13T03:02:09.891Z] Warning: overwriting stash ‘stack-cost’ [2022-06-13T03:02:09.947Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T03:02:09.953Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T03:02:09.975Z] $ docker stop --time=1 5b8c6fb488459bfdc1be4e7cb2138de021c83c9754cff9a74b1f965a58ffa65e [2022-06-13T03:02:11.519Z] $ 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 [2022-06-13T03:02:12.086Z] provisioning config files... [2022-06-13T03:02:12.095Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4435927993406485174tmp [Pipeline] { [Pipeline] sh [2022-06-13T03:02:12.388Z] + set +x [2022-06-13T03:02:12.388Z] + curl -s https://codecov.io/bash [2022-06-13T03:02:12.388Z] + bash -s -- [2022-06-13T03:02:12.388Z] [2022-06-13T03:02:12.388Z] _____ _ [2022-06-13T03:02:12.388Z] / ____| | | [2022-06-13T03:02:12.388Z] | | ___ __| | ___ ___ _____ __ [2022-06-13T03:02:12.388Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-13T03:02:12.388Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-13T03:02:12.388Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-13T03:02:12.388Z] Bash-1.0.6 [2022-06-13T03:02:12.388Z] [2022-06-13T03:02:12.388Z] [2022-06-13T03:02:12.388Z] ==> git version 2.25.1 found [2022-06-13T03:02:12.388Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-13T03:02:12.388Z] Release-Date: 2020-01-08 [2022-06-13T03:02:12.388Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-13T03:02:12.388Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-13T03:02:12.388Z] ==> Jenkins CI detected. [2022-06-13T03:02:12.388Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-13T03:02:12.388Z] project root: . [2022-06-13T03:02:12.388Z] --> token set from env [2022-06-13T03:02:12.388Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-13T03:02:12.388Z] ==> Running gcov in . (disable via -X gcov) [2022-06-13T03:02:12.388Z] ==> Python coveragepy not found [2022-06-13T03:02:12.388Z] ==> Searching for coverage reports in: [2022-06-13T03:02:12.388Z] + . [2022-06-13T03:02:12.388Z] -> Found 1 reports [2022-06-13T03:02:12.388Z] ==> Detecting git/mercurial file structure [2022-06-13T03:02:12.388Z] ==> Reading reports [2022-06-13T03:02:12.388Z] + ./coverage.out bytes=17887 [2022-06-13T03:02:12.388Z] ==> Appending adjustments [2022-06-13T03:02:12.388Z] https://docs.codecov.io/docs/fixing-reports [2022-06-13T03:02:12.648Z] + Found adjustments [2022-06-13T03:02:12.648Z] ==> Gzipping contents [2022-06-13T03:02:12.648Z] 4.0K /tmp/codecov.R8axFR.gz [2022-06-13T03:02:12.648Z] ==> Uploading reports [2022-06-13T03:02:12.648Z] url: https://codecov.io [2022-06-13T03:02:12.648Z] 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= [2022-06-13T03:02:12.648Z] -> Pinging Codecov [2022-06-13T03:02:12.648Z] 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= [2022-06-13T03:02:12.908Z] -> Uploading to [2022-06-13T03:02:12.908Z] 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 [2022-06-13T03:02:12.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T03:02:12.908Z] Dload Upload Total Spent Left Speed [2022-06-13T03:02:13.168Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3261 0 0 100 3261 0 14890 --:--:-- --:--:-- --:--:-- 14958 [2022-06-13T03:02:13.168Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] } [2022-06-13T03:02:13.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-13T03:02:13.379Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-13T03:02:13.388Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:02:13.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-13T03:02:13.692Z] [2022-06-13T03:02:13.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:02:13.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-13T03:02:13.991Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-13T03:02:13.991Z] df9b9388f04a: Pulling fs layer [2022-06-13T03:02:13.991Z] 52dc419b0ee2: Pulling fs layer [2022-06-13T03:02:13.991Z] 25bc292e5bac: Pulling fs layer [2022-06-13T03:02:13.991Z] 114826534d7a: Pulling fs layer [2022-06-13T03:02:13.991Z] 4657fd5d0bcf: Pulling fs layer [2022-06-13T03:02:13.991Z] 6ad1cebc031e: Pulling fs layer [2022-06-13T03:02:13.991Z] 8a3aa393b2d8: Pulling fs layer [2022-06-13T03:02:13.991Z] 114826534d7a: Waiting [2022-06-13T03:02:13.991Z] 4657fd5d0bcf: Waiting [2022-06-13T03:02:13.991Z] 6ad1cebc031e: Waiting [2022-06-13T03:02:13.991Z] 8a3aa393b2d8: Waiting [2022-06-13T03:02:13.991Z] 25bc292e5bac: Download complete [2022-06-13T03:02:13.991Z] 52dc419b0ee2: Verifying Checksum [2022-06-13T03:02:13.991Z] 52dc419b0ee2: Download complete [2022-06-13T03:02:13.991Z] 4657fd5d0bcf: Verifying Checksum [2022-06-13T03:02:13.991Z] 4657fd5d0bcf: Download complete [2022-06-13T03:02:13.991Z] df9b9388f04a: Download complete [2022-06-13T03:02:14.250Z] df9b9388f04a: Pull complete [2022-06-13T03:02:14.251Z] 6ad1cebc031e: Verifying Checksum [2022-06-13T03:02:14.251Z] 6ad1cebc031e: Download complete [2022-06-13T03:02:14.251Z] 52dc419b0ee2: Pull complete [2022-06-13T03:02:14.509Z] 25bc292e5bac: Pull complete [2022-06-13T03:02:14.770Z] 114826534d7a: Download complete [2022-06-13T03:02:15.029Z] 8a3aa393b2d8: Verifying Checksum [2022-06-13T03:02:15.029Z] 8a3aa393b2d8: Download complete [2022-06-13T03:02:18.316Z] 114826534d7a: Pull complete [2022-06-13T03:02:18.316Z] 4657fd5d0bcf: Pull complete [2022-06-13T03:02:18.885Z] 6ad1cebc031e: Pull complete [2022-06-13T03:02:21.421Z] 8a3aa393b2d8: Pull complete [2022-06-13T03:02:21.421Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-13T03:02:21.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-13T03:02:21.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:02:21.516Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T03:02:21.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-13T03:02:23.299Z] $ docker top cec49cfe9797e6a3e50dc5adaed8d73dc82b757feb2e329b4a090d277dc499bf -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-13T03:02:23.361Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-06-13T03:02:23.637Z] + set -o pipefail [2022-06-13T03:02:23.637Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-06-13T03:02:28.914Z] [2022-06-13T03:02:28.914Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-06-13T03:02:28.914Z] [2022-06-13T03:02:28.914Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/c9ed2edb-7d48-4b1e-bb79-0e3b013a2d6d [2022-06-13T03:02:28.914Z] [2022-06-13T03:02:28.914Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-13T03:02:28.914Z] [2022-06-13T03:02:28.914Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-13T03:02:28.914Z] [2022-06-13T03:02:28.914Z] [2022-06-13T03:02:28.914Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-13T03:02:28.914Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-13T03:02:28.939Z] $ docker stop --time=1 cec49cfe9797e6a3e50dc5adaed8d73dc82b757feb2e329b4a090d277dc499bf [2022-06-13T03:02:30.930Z] $ 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 [2022-06-13T03:02:31.642Z] + git log --format=format:%s -1 8114a0a5788dfb33e69c59c13f1ac2f90e850568 [Pipeline] sh [2022-06-13T03:02:31.939Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T03:02:31.939Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:02:32.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T03:02:32.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:02:32.339Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T03:02:32.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-13T03:02:32.833Z] $ docker top 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T03:02:32.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T03:02:32.928Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T03:02:33.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T03:02:33.092Z] $ docker exec 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f ssh-agent [2022-06-13T03:02:33.195Z] SSH_AUTH_SOCK=/tmp/ssh-AQBytQqoIOUz/agent.33 [2022-06-13T03:02:33.195Z] SSH_AGENT_PID=40 [2022-06-13T03:02:33.200Z] Running ssh-add (command line suppressed) [2022-06-13T03:02:33.319Z] 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) [2022-06-13T03:02:33.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T03:02:33.617Z] + git semver tag [2022-06-13T03:02:33.878Z] 2022-06-13 03:02:33,808 [run_tag] DEBUG tag force:False [2022-06-13T03:02:33.878Z] 2022-06-13 03:02:33,808 [check_head_tag] DEBUG check head tag [2022-06-13T03:02:33.878Z] 2022-06-13 03:02:33,808 [execute] INFO git cat-file --batch-check [2022-06-13T03:02:33.878Z] 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=) [2022-06-13T03:02:33.878Z] 2022-06-13 03:02:33,811 [execute] INFO git cat-file --batch [2022-06-13T03:02:33.878Z] 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=) [2022-06-13T03:02:33.878Z] 2022-06-13 03:02:33,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T03:02:33.878Z] 2022-06-13 03:02:33,818 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 [2022-06-13T03:02:33.878Z] 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) [2022-06-13T03:02:33.878Z] 2022-06-13 03:02:33,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T03:02:33.878Z] 2.2.1-dev.2 [Pipeline] } [2022-06-13T03:02:33.898Z] $ docker exec --env ******** --env ******** 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f ssh-agent -k [2022-06-13T03:02:34.019Z] unset SSH_AUTH_SOCK; [2022-06-13T03:02:34.020Z] unset SSH_AGENT_PID; [2022-06-13T03:02:34.020Z] echo Agent pid 40 killed; [2022-06-13T03:02:34.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T03:02:34.327Z] + git semver [Pipeline] } [2022-06-13T03:02:34.919Z] $ docker stop --time=1 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f [2022-06-13T03:02:36.248Z] $ docker rm -f 9b70f4f1747b4684071a5cd8da4639d4f7b2a933bfeb79ff65a60e7e02fbe12f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:02:36.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-13T03:02:36.640Z] [2022-06-13T03:02:36.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:02:36.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-13T03:02:36.942Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-13T03:02:36.942Z] ab5ef0e58194: Pulling fs layer [2022-06-13T03:02:36.942Z] 9712f1f96733: Pulling fs layer [2022-06-13T03:02:36.942Z] 63f879dbbcfc: Pulling fs layer [2022-06-13T03:02:36.942Z] 0d9ebad4ef96: Pulling fs layer [2022-06-13T03:02:36.942Z] e9a5061849ea: Pulling fs layer [2022-06-13T03:02:36.942Z] d747dcd14b5f: Pulling fs layer [2022-06-13T03:02:36.942Z] 2de7ff778b66: Pulling fs layer [2022-06-13T03:02:36.942Z] e9a5061849ea: Waiting [2022-06-13T03:02:36.942Z] d747dcd14b5f: Waiting [2022-06-13T03:02:36.942Z] 2de7ff778b66: Waiting [2022-06-13T03:02:36.942Z] 0d9ebad4ef96: Waiting [2022-06-13T03:02:36.942Z] 9712f1f96733: Verifying Checksum [2022-06-13T03:02:36.942Z] 9712f1f96733: Download complete [2022-06-13T03:02:37.208Z] 63f879dbbcfc: Verifying Checksum [2022-06-13T03:02:37.208Z] 63f879dbbcfc: Download complete [2022-06-13T03:02:37.470Z] 0d9ebad4ef96: Verifying Checksum [2022-06-13T03:02:37.470Z] 0d9ebad4ef96: Download complete [2022-06-13T03:02:37.470Z] d747dcd14b5f: Download complete [2022-06-13T03:02:37.470Z] e9a5061849ea: Verifying Checksum [2022-06-13T03:02:37.470Z] e9a5061849ea: Download complete [2022-06-13T03:02:37.470Z] ab5ef0e58194: Download complete [2022-06-13T03:02:37.470Z] 2de7ff778b66: Verifying Checksum [2022-06-13T03:02:37.470Z] 2de7ff778b66: Download complete [2022-06-13T03:02:40.759Z] ab5ef0e58194: Pull complete [2022-06-13T03:02:40.759Z] 9712f1f96733: Pull complete [2022-06-13T03:02:41.326Z] 63f879dbbcfc: Pull complete [2022-06-13T03:02:45.517Z] 0d9ebad4ef96: Pull complete [2022-06-13T03:02:45.517Z] e9a5061849ea: Pull complete [2022-06-13T03:02:45.517Z] d747dcd14b5f: Pull complete [2022-06-13T03:02:46.453Z] 2de7ff778b66: Pull complete [2022-06-13T03:02:46.453Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-13T03:02:46.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-13T03:02:46.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:02:46.547Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T03:02:46.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-13T03:02:48.521Z] $ docker top b46a27cb6c9bc19315972eac28611fc8acb4a635ada12d507af34f2673b23585 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-13T03:02:48.585Z] provisioning config files... [2022-06-13T03:02:48.592Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6329485567698548492tmp [2022-06-13T03:02:48.603Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2321316779202812508tmp [2022-06-13T03:02:48.612Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4213137172336800676tmp [Pipeline] { [Pipeline] echo [2022-06-13T03:02:48.625Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:02:48.909Z] ---> sigul-configuration.sh [2022-06-13T03:02:48.910Z] gpg: directory `/root/.gnupg' created [2022-06-13T03:02:48.910Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-13T03:02:48.910Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-13T03:02:48.910Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-13T03:02:48.910Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-13T03:02:48.910Z] gpg: CAST5 encrypted data [2022-06-13T03:02:48.910Z] gpg: encrypted with 1 passphrase [2022-06-13T03:02:48.910Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-13T03:02:49.196Z] + mkdir /home/jenkins [2022-06-13T03:02:49.197Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-13T03:02:49.480Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-06-13T03:02:49.489Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:02:49.776Z] ---> sigul-install.sh [2022-06-13T03:02:49.776Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-13T03:02:50.064Z] + git tag --list [2022-06-13T03:02:50.065Z] 0.7.1 [2022-06-13T03:02:50.065Z] v1.0.0 [2022-06-13T03:02:50.065Z] v1.1.0 [2022-06-13T03:02:50.065Z] v1.1.1 [2022-06-13T03:02:50.065Z] v1.2.2 [2022-06-13T03:02:50.065Z] v1.3.0 [2022-06-13T03:02:50.065Z] v1.3.1 [2022-06-13T03:02:50.065Z] v2.0.0 [2022-06-13T03:02:50.065Z] v2.1.0 [2022-06-13T03:02:50.065Z] v2.1.1 [2022-06-13T03:02:50.065Z] v2.1.1-dev.1 [2022-06-13T03:02:50.065Z] v2.1.1-dev.2 [2022-06-13T03:02:50.065Z] v2.2.0 [2022-06-13T03:02:50.065Z] v2.2.1-dev.1 [2022-06-13T03:02:50.065Z] v2.2.1-dev.2 [Pipeline] sh [2022-06-13T03:02:50.358Z] + lftools sign git-tag v2.2.1-dev.2 [2022-06-13T03:02:50.931Z] Signing Git tag with Sigul... [2022-06-13T03:02:50.931Z] Signing v2.2.1-dev.2 [Pipeline] echo [2022-06-13T03:02:51.515Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:02:51.803Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-13T03:02:51.811Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-13T03:02:51.844Z] $ docker stop --time=1 b46a27cb6c9bc19315972eac28611fc8acb4a635ada12d507af34f2673b23585 [2022-06-13T03:02:53.142Z] $ docker rm -f b46a27cb6c9bc19315972eac28611fc8acb4a635ada12d507af34f2673b23585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-13T03:02:53.568Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T03:02:53.568Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:02:53.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T03:02:53.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:02:53.955Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T03:02:54.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-13T03:02:54.399Z] $ docker top aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T03:02:54.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T03:02:54.492Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T03:02:54.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T03:02:54.643Z] $ docker exec aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa ssh-agent [2022-06-13T03:02:54.760Z] SSH_AUTH_SOCK=/tmp/ssh-wAPkHEJxyAjf/agent.34 [2022-06-13T03:02:54.760Z] SSH_AGENT_PID=40 [2022-06-13T03:02:54.766Z] Running ssh-add (command line suppressed) [2022-06-13T03:02:54.920Z] 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) [2022-06-13T03:02:54.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T03:02:55.212Z] + git semver bump pre [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,423 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,423 [bump_version] DEBUG bumped version:2.2.1-dev.3 [2022-06-13T03:02:55.472Z] 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 [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,423 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,425 [execute] INFO git cat-file --batch-check [2022-06-13T03:02:55.472Z] 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=) [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,431 [execute] INFO git cat-file --batch [2022-06-13T03:02:55.472Z] 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=) [2022-06-13T03:02:55.472Z] 2022-06-13 03:02:55,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T03:02:55.472Z] 2.2.1-dev.3 [Pipeline] } [2022-06-13T03:02:55.491Z] $ docker exec --env ******** --env ******** aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa ssh-agent -k [2022-06-13T03:02:55.600Z] unset SSH_AUTH_SOCK; [2022-06-13T03:02:55.600Z] unset SSH_AGENT_PID; [2022-06-13T03:02:55.600Z] echo Agent pid 40 killed; [2022-06-13T03:02:55.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T03:02:55.904Z] + git semver [Pipeline] } [2022-06-13T03:02:56.186Z] $ docker stop --time=1 aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa [2022-06-13T03:02:57.480Z] $ docker rm -f aee8205745fef1198fd457eef2f2177611815c7b462e528ada05923de64662fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T03:02:57.807Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T03:02:57.807Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:02:58.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T03:02:58.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:02:58.187Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T03:02:58.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-13T03:02:58.700Z] $ docker top 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T03:02:58.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T03:02:58.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T03:02:58.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T03:02:58.898Z] $ docker exec 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 ssh-agent [2022-06-13T03:02:58.986Z] SSH_AUTH_SOCK=/tmp/ssh-tO4Zbru8UGyS/agent.32 [2022-06-13T03:02:58.986Z] SSH_AGENT_PID=38 [2022-06-13T03:02:58.990Z] Running ssh-add (command line suppressed) [2022-06-13T03:02:59.110Z] 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) [2022-06-13T03:02:59.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T03:02:59.396Z] + git semver push [2022-06-13T03:02:59.655Z] 2022-06-13 03:02:59,653 [run_push] DEBUG push [2022-06-13T03:02:59.655Z] 2022-06-13 03:02:59,653 [execute] INFO git cat-file --batch-check [2022-06-13T03:02:59.655Z] 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=) [2022-06-13T03:02:59.655Z] 2022-06-13 03:02:59,657 [execute] INFO git rev-list 9319ed0327df7e10f1514ec9a41afdf21ee4ed5b -- [2022-06-13T03:02:59.655Z] 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) [2022-06-13T03:02:59.655Z] 2022-06-13 03:02:59,662 [execute] INFO git fetch -v origin [2022-06-13T03:02:59.655Z] 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) [2022-06-13T03:03:00.224Z] 2022-06-13 03:03:00,132 [run_push] DEBUG no remote changes detected [2022-06-13T03:03:00.224Z] 2022-06-13 03:03:00,132 [execute] INFO git push origin semver [2022-06-13T03:03:00.224Z] 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) [2022-06-13T03:03:00.789Z] 2022-06-13 03:03:00,774 [run_push] DEBUG push all version tags [2022-06-13T03:03:00.789Z] 2022-06-13 03:03:00,774 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-13T03:03:00.789Z] 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) [2022-06-13T03:03:01.725Z] 2022-06-13 03:03:01,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-13T03:03:01.725Z] 2.2.1-dev.3 [Pipeline] } [2022-06-13T03:03:01.745Z] $ docker exec --env ******** --env ******** 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 ssh-agent -k [2022-06-13T03:03:01.850Z] unset SSH_AUTH_SOCK; [2022-06-13T03:03:01.850Z] unset SSH_AGENT_PID; [2022-06-13T03:03:01.850Z] echo Agent pid 38 killed; [2022-06-13T03:03:01.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T03:03:02.149Z] + git semver [Pipeline] } [2022-06-13T03:03:02.433Z] $ docker stop --time=1 1f1a1b3563ca354299a16b6e8654d123ae5384cf877e90ea6c528c77a4e4bdd6 [2022-06-13T03:03:03.726Z] $ 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 [2022-06-13T03:03:04.303Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-06-13T03:03:04.303Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-13T03:03:04.303Z] total 16 [2022-06-13T03:03:04.303Z] drwxr-xr-x 3 root root 4096 Jun 13 02:54 . [2022-06-13T03:03:04.303Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:02 .. [2022-06-13T03:03:04.303Z] drwxr-xr-x 2 root root 4096 Jun 13 02:54 cost [2022-06-13T03:03:04.303Z] -rw-r--r-- 1 root root 84 Jun 13 02:54 cost.csv [2022-06-13T03:03:04.303Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-13T03:03:04.303Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-13T03:03:04.303Z] total 16 [2022-06-13T03:03:04.303Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 02:54 . [2022-06-13T03:03:04.303Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:02 .. [2022-06-13T03:03:04.303Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 02:54 cost [2022-06-13T03:03:04.303Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 13 02:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:03:04.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:03:05.451Z] ---> package-listing.sh [2022-06-13T03:03:05.451Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-13T03:03:05.451Z] ++ facter osfamily [2022-06-13T03:03:05.712Z] + OS_FAMILY=debian [2022-06-13T03:03:05.712Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-13T03:03:05.712Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-13T03:03:05.712Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-13T03:03:05.712Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-13T03:03:05.712Z] + PACKAGES=/tmp/packages_start.txt [2022-06-13T03:03:05.712Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-13T03:03:05.712Z] + PACKAGES=/tmp/packages_end.txt [2022-06-13T03:03:05.712Z] + case "${OS_FAMILY}" in [2022-06-13T03:03:05.712Z] + dpkg -l [2022-06-13T03:03:05.712Z] + grep '^ii' [2022-06-13T03:03:05.712Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-13T03:03:05.712Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-13T03:03:05.712Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-13T03:03:05.712Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-13T03:03:05.712Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-06-13T03:03:05.712Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-06-13T03:03:05.723Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-13T03:03:06.002Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:03:06.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T03:03:06.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:03:06.647Z] prd-ubuntu20.04-docker-8c-8g-2298 does not seem to be running inside a container [2022-06-13T03:03:06.691Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T03:03:06.921Z] $ docker top 793b646b0b539dc26dcfa4c018a44e6351697504e2efd33d19e8760b89b1cddf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T03:03:07.259Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-13T03:03:07.541Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-13T03:03:07.830Z] + ls /var/log/sa-host [2022-06-13T03:03:07.831Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T03:03:08.036Z] provisioning config files... [2022-06-13T03:03:08.045Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2491248936184410728tmp [Pipeline] { [Pipeline] echo [2022-06-13T03:03:08.060Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:03:08.345Z] ---> create-netrc.sh [Pipeline] } [2022-06-13T03:03:08.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:03:08.686Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-13T03:03:08.694Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:03:08.975Z] ---> sudo-logs.sh [2022-06-13T03:03:08.975Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-13T03:03:08.997Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:03:09.286Z] ---> job-cost.sh [2022-06-13T03:03:09.286Z] lf-activate-venv: SKIPPING [2022-06-13T03:03:09.286Z] DEBUG: total: 0.2199999988079071 [2022-06-13T03:03:09.286Z] INFO: Retrieving Stack Cost... [2022-06-13T03:03:09.856Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T03:03:10.116Z] INFO: Archiving Costs [Pipeline] echo [2022-06-13T03:03:10.128Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:03:10.409Z] ---> logs-deploy.sh [2022-06-13T03:03:10.409Z] lf-activate-venv: SKIPPING [2022-06-13T03:03:10.409Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/49 [2022-06-13T03:03:10.409Z] INFO: archiving workspace using pattern(s): [2022-06-13T03:03:11.346Z] Archives upload complete. [2022-06-13T03:03:11.346Z] INFO: archiving logs to Nexus