Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c395e916656ff011f59f73b4cbc9d122ab02d46 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-ssh17453473987040932518.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-ssh5495772202847776908.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-ssh372670629302749395.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-ssh1742341247762712273.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-ssh11662555999760520710.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-16117 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 2c395e916656ff011f59f73b4cbc9d122ab02d46 (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 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 Commit message: "fix: replace broker host config with a valid example (#396)" > git rev-list --no-walk af7f42834155496da65d108934e36d5a2fb2bcc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T16:15:08.789Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T16:15:08.846Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T16:15:08.862Z] ========================================================= [2022-06-27T16:15:08.862Z] EdgeX Global Pipelines Version Info [2022-06-27T16:15:08.862Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:15:09.591Z] ------------------- [2022-06-27T16:15:09.591Z] stable info: [2022-06-27T16:15:09.591Z] ------------------- [2022-06-27T16:15:09.591Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T16:15:09.591Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T16:15:09.591Z] Message: update stable to v1.0.234 [2022-06-27T16:15:10.163Z] ------------------- [2022-06-27T16:15:10.163Z] experimental info: [2022-06-27T16:15:10.163Z] ------------------- [2022-06-27T16:15:10.163Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T16:15:10.164Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T16:15:10.164Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T16:15:10.466Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-27T16:15:10.481Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-27T16:15:10.491Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T16:15:10.502Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T16:15:10.513Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T16:15:10.524Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T16:15:10.535Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T16:15:10.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T16:15:10.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T16:15:10.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T16:15:10.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T16:15:10.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-27T16:15:10.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T16:15:10.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T16:15:10.619Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T16:15:10.630Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T16:15:10.643Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T16:15:10.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T16:15:10.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T16:15:10.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T16:15:10.696Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T16:15:10.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T16:15:10.718Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T16:15:10.729Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T16:15:10.740Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T16:15:10.751Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T16:15:10.765Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T16:15:10.784Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-27T16:15:10.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-27T16:15:10.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-27T16:15:10.812Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] echo [2022-06-27T16:15:10.820Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c395e9 [Pipeline] echo [2022-06-27T16:15:10.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T16:15:10.879Z] provisioning config files... [2022-06-27T16:15:10.894Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3939320929193167636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:15:11.204Z] ---> docker-login.sh [2022-06-27T16:15:11.205Z] nexus3.edgexfoundry.org:10001 [2022-06-27T16:15:11.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:11.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:11.467Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:11.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:11.467Z] [2022-06-27T16:15:11.467Z] Login Succeeded [2022-06-27T16:15:11.467Z] nexus3.edgexfoundry.org:10002 [2022-06-27T16:15:11.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:11.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:11.732Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:11.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:11.732Z] [2022-06-27T16:15:11.732Z] Login Succeeded [2022-06-27T16:15:11.732Z] nexus3.edgexfoundry.org:10003 [2022-06-27T16:15:11.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:11.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:11.732Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:11.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:11.732Z] [2022-06-27T16:15:11.732Z] Login Succeeded [2022-06-27T16:15:11.732Z] nexus3.edgexfoundry.org:10004 [2022-06-27T16:15:11.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:11.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:11.993Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:11.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:11.993Z] [2022-06-27T16:15:11.993Z] Login Succeeded [2022-06-27T16:15:11.993Z] docker.io [2022-06-27T16:15:11.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:12.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:12.568Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:12.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:12.568Z] [2022-06-27T16:15:12.568Z] Login Succeeded [2022-06-27T16:15:12.568Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T16:15:12.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T16:15:12.957Z] + git rev-list -1 --merges 2c395e916656ff011f59f73b4cbc9d122ab02d46~1..2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] echo [2022-06-27T16:15:12.991Z] -----------> git rev-list -1 --merges 2c395e916656ff011f59f73b4cbc9d122ab02d46~1..2c395e916656ff011f59f73b4cbc9d122ab02d46 2c395e916656ff011f59f73b4cbc9d122ab02d46 [false] [Pipeline] sh [2022-06-27T16:15:13.285Z] + git log --format=format:%s -1 2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] echo [2022-06-27T16:15:13.302Z] ========================================================= [2022-06-27T16:15:13.302Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T16:15:13.302Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T16:15:13.642Z] + git log --format=format:%s -1 2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] echo [2022-06-27T16:15:13.656Z] [semverPrep] GIT_COMMIT: 2c395e916656ff011f59f73b4cbc9d122ab02d46, Commit Message: fix: replace broker host config with a valid example (#396) [Pipeline] echo [2022-06-27T16:15:13.664Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T16:15:14.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T16:15:14.018Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T16:15:14.018Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T16:15:14.018Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T16:15:14.018Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T16:15:14.018Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T16:15:14.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:15:14.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T16:15:14.376Z] [2022-06-27T16:15:14.376Z] 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-27T16:15:14.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T16:15:14.685Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T16:15:14.685Z] 42c077c10790: Pulling fs layer [2022-06-27T16:15:14.685Z] f63e77b7563a: Pulling fs layer [2022-06-27T16:15:14.685Z] bd5fdadae976: Pulling fs layer [2022-06-27T16:15:14.685Z] 205491f53016: Pulling fs layer [2022-06-27T16:15:14.685Z] df18705c85c3: Pulling fs layer [2022-06-27T16:15:14.685Z] bdb3f477010e: Pulling fs layer [2022-06-27T16:15:14.685Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T16:15:14.685Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T16:15:14.685Z] bdb8f0575790: Pulling fs layer [2022-06-27T16:15:14.685Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T16:15:14.685Z] 2343380bae48: Pulling fs layer [2022-06-27T16:15:14.685Z] 205491f53016: Waiting [2022-06-27T16:15:14.685Z] df18705c85c3: Waiting [2022-06-27T16:15:14.685Z] bdb3f477010e: Waiting [2022-06-27T16:15:14.685Z] c8a8fc8e1c8f: Waiting [2022-06-27T16:15:14.685Z] 2c6e9b1d212d: Waiting [2022-06-27T16:15:14.685Z] bdb8f0575790: Waiting [2022-06-27T16:15:14.685Z] 386e3cb2ff24: Waiting [2022-06-27T16:15:14.685Z] 2343380bae48: Waiting [2022-06-27T16:15:14.685Z] f63e77b7563a: Verifying Checksum [2022-06-27T16:15:14.685Z] f63e77b7563a: Download complete [2022-06-27T16:15:14.685Z] 205491f53016: Download complete [2022-06-27T16:15:14.946Z] df18705c85c3: Verifying Checksum [2022-06-27T16:15:14.946Z] df18705c85c3: Download complete [2022-06-27T16:15:14.946Z] bdb3f477010e: Verifying Checksum [2022-06-27T16:15:14.946Z] bd5fdadae976: Verifying Checksum [2022-06-27T16:15:14.946Z] bd5fdadae976: Download complete [2022-06-27T16:15:14.946Z] 2c6e9b1d212d: Download complete [2022-06-27T16:15:14.946Z] bdb8f0575790: Verifying Checksum [2022-06-27T16:15:14.946Z] bdb8f0575790: Download complete [2022-06-27T16:15:14.946Z] 386e3cb2ff24: Download complete [2022-06-27T16:15:14.946Z] 2343380bae48: Verifying Checksum [2022-06-27T16:15:14.946Z] 2343380bae48: Download complete [2022-06-27T16:15:14.946Z] 42c077c10790: Verifying Checksum [2022-06-27T16:15:14.946Z] 42c077c10790: Download complete [2022-06-27T16:15:15.213Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T16:15:15.213Z] c8a8fc8e1c8f: Download complete [2022-06-27T16:15:16.619Z] 42c077c10790: Pull complete [2022-06-27T16:15:16.619Z] f63e77b7563a: Pull complete [2022-06-27T16:15:17.196Z] bd5fdadae976: Pull complete [2022-06-27T16:15:17.196Z] 205491f53016: Pull complete [2022-06-27T16:15:17.766Z] df18705c85c3: Pull complete [2022-06-27T16:15:17.766Z] bdb3f477010e: Pull complete [2022-06-27T16:15:19.688Z] c8a8fc8e1c8f: Pull complete [2022-06-27T16:15:19.688Z] 2c6e9b1d212d: Pull complete [2022-06-27T16:15:19.949Z] bdb8f0575790: Pull complete [2022-06-27T16:15:19.949Z] 386e3cb2ff24: Pull complete [2022-06-27T16:15:20.210Z] 2343380bae48: Pull complete [2022-06-27T16:15:20.210Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T16:15:20.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T16:15:20.210Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:15:20.326Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:15:20.373Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T16:15:22.487Z] $ docker top aee136a94005bfa3701baff7a5f447f05a1bfa57f1c739b86b1dc406430e115b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T16:15:22.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T16:15:22.598Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T16:15:22.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T16:15:22.736Z] $ docker exec aee136a94005bfa3701baff7a5f447f05a1bfa57f1c739b86b1dc406430e115b ssh-agent [2022-06-27T16:15:22.858Z] SSH_AUTH_SOCK=/tmp/ssh-jOs4cEHeyVwW/agent.32 [2022-06-27T16:15:22.858Z] SSH_AGENT_PID=38 [2022-06-27T16:15:22.864Z] Running ssh-add (command line suppressed) [2022-06-27T16:15:22.988Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_369474941748100830.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_369474941748100830.key) [2022-06-27T16:15:22.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T16:15:23.289Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T16:15:23.308Z] $ docker exec --env ******** --env ******** aee136a94005bfa3701baff7a5f447f05a1bfa57f1c739b86b1dc406430e115b ssh-agent -k [2022-06-27T16:15:23.418Z] unset SSH_AUTH_SOCK; [2022-06-27T16:15:23.418Z] unset SSH_AGENT_PID; [2022-06-27T16:15:23.418Z] echo Agent pid 38 killed; [2022-06-27T16:15:23.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T16:15:23.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T16:15:23.449Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T16:15:23.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T16:15:23.596Z] $ docker exec aee136a94005bfa3701baff7a5f447f05a1bfa57f1c739b86b1dc406430e115b ssh-agent [2022-06-27T16:15:23.731Z] SSH_AUTH_SOCK=/tmp/ssh-dHRHoLYrkBEN/agent.71 [2022-06-27T16:15:23.731Z] SSH_AGENT_PID=77 [2022-06-27T16:15:23.738Z] Running ssh-add (command line suppressed) [2022-06-27T16:15:23.851Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3436179603000912523.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3436179603000912523.key) [2022-06-27T16:15:23.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T16:15:24.152Z] + git semver init [2022-06-27T16:15:24.412Z] 2022-06-27 16:15:24,410 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T16:15:24.412Z] 2022-06-27 16:15:24,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-06-27T16:15:24.412Z] 2022-06-27 16:15:24,412 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-06-27T16:15:24.412Z] 2022-06-27 16:15:24,413 [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-27T16:15:25.357Z] 2022-06-27 16:15:25,284 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-06-27T16:15:25.357Z] 2022-06-27 16:15:25,284 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-06-27T16:15:25.357Z] 2022-06-27 16:15:25,285 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:15:25.357Z] 2022-06-27 16:15:25,285 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:15:25.357Z] 2.2.1-dev.5 [Pipeline] } [2022-06-27T16:15:25.373Z] $ docker exec --env ******** --env ******** aee136a94005bfa3701baff7a5f447f05a1bfa57f1c739b86b1dc406430e115b ssh-agent -k [2022-06-27T16:15:25.522Z] unset SSH_AUTH_SOCK; [2022-06-27T16:15:25.523Z] unset SSH_AGENT_PID; [2022-06-27T16:15:25.523Z] echo Agent pid 77 killed; [2022-06-27T16:15:25.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T16:15:25.837Z] + git semver [Pipeline] } [2022-06-27T16:15:26.120Z] $ docker stop --time=1 aee136a94005bfa3701baff7a5f447f05a1bfa57f1c739b86b1dc406430e115b [2022-06-27T16:15:27.489Z] $ docker rm -f aee136a94005bfa3701baff7a5f447f05a1bfa57f1c739b86b1dc406430e115b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T16:15:27.843Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T16:15:28.111Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T16:15:28.114Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [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-27T16:15:28.221Z] provisioning config files... [2022-06-27T16:15:28.231Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5887905800084713683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:15:28.532Z] ---> docker-login.sh [2022-06-27T16:15:28.532Z] nexus3.edgexfoundry.org:10001 [2022-06-27T16:15:28.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:28.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:28.532Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:28.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:28.532Z] [2022-06-27T16:15:28.532Z] Login Succeeded [2022-06-27T16:15:28.532Z] nexus3.edgexfoundry.org:10002 [2022-06-27T16:15:28.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:28.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:28.793Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:28.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:28.793Z] [2022-06-27T16:15:28.793Z] Login Succeeded [2022-06-27T16:15:28.793Z] nexus3.edgexfoundry.org:10003 [2022-06-27T16:15:28.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:28.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:28.793Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:28.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:28.793Z] [2022-06-27T16:15:28.793Z] Login Succeeded [2022-06-27T16:15:28.793Z] nexus3.edgexfoundry.org:10004 [2022-06-27T16:15:29.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:29.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:29.054Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:29.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:29.054Z] [2022-06-27T16:15:29.054Z] Login Succeeded [2022-06-27T16:15:29.054Z] docker.io [2022-06-27T16:15:29.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:15:29.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:15:29.317Z] Configure a credential helper to remove this warning. See [2022-06-27T16:15:29.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:15:29.317Z] [2022-06-27T16:15:29.317Z] Login Succeeded [2022-06-27T16:15:29.317Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T16:15:29.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T16:15:29.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T16:15:29.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T16:15:29.413Z] ========================================================= [2022-06-27T16:15:29.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T16:15:29.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:15:29.736Z] + 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-27T16:15:29.736Z] Sending build context to Docker daemon 6.004MB [2022-06-27T16:15:29.736Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T16:15:29.736Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T16:15:29.736Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T16:15:29.736Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T16:15:29.736Z] 666ba61612fd: Pulling fs layer [2022-06-27T16:15:29.736Z] 8ed8ca486205: Pulling fs layer [2022-06-27T16:15:29.736Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T16:15:29.736Z] c516ae0d96e1: Pulling fs layer [2022-06-27T16:15:29.736Z] 684cea983483: Pulling fs layer [2022-06-27T16:15:29.736Z] dd3240ac7de5: Pulling fs layer [2022-06-27T16:15:29.736Z] b1e948a4e11c: Pulling fs layer [2022-06-27T16:15:29.736Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T16:15:29.736Z] 646ad004c059: Pulling fs layer [2022-06-27T16:15:29.736Z] b1e948a4e11c: Waiting [2022-06-27T16:15:29.736Z] dd3240ac7de5: Waiting [2022-06-27T16:15:29.736Z] cc1cd167ecdc: Waiting [2022-06-27T16:15:29.736Z] a8fd76ee1af6: Waiting [2022-06-27T16:15:29.736Z] c516ae0d96e1: Waiting [2022-06-27T16:15:29.736Z] 646ad004c059: Waiting [2022-06-27T16:15:29.736Z] 684cea983483: Waiting [2022-06-27T16:15:29.736Z] 8ed8ca486205: Verifying Checksum [2022-06-27T16:15:29.736Z] 8ed8ca486205: Download complete [2022-06-27T16:15:29.998Z] 666ba61612fd: Verifying Checksum [2022-06-27T16:15:29.998Z] 666ba61612fd: Download complete [2022-06-27T16:15:29.998Z] c516ae0d96e1: Verifying Checksum [2022-06-27T16:15:29.998Z] c516ae0d96e1: Download complete [2022-06-27T16:15:29.998Z] 684cea983483: Verifying Checksum [2022-06-27T16:15:29.998Z] 684cea983483: Download complete [2022-06-27T16:15:29.998Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T16:15:29.998Z] dd3240ac7de5: Verifying Checksum [2022-06-27T16:15:29.998Z] dd3240ac7de5: Download complete [2022-06-27T16:15:29.998Z] b1e948a4e11c: Verifying Checksum [2022-06-27T16:15:29.998Z] b1e948a4e11c: Download complete [2022-06-27T16:15:29.998Z] 59bf1c3509f3: Pull complete [2022-06-27T16:15:30.262Z] 666ba61612fd: Pull complete [2022-06-27T16:15:30.262Z] 8ed8ca486205: Pull complete [2022-06-27T16:15:30.525Z] 646ad004c059: Verifying Checksum [2022-06-27T16:15:30.525Z] 646ad004c059: Download complete [2022-06-27T16:15:30.525Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T16:15:30.525Z] a8fd76ee1af6: Download complete [2022-06-27T16:15:30.787Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T16:15:30.787Z] cc1cd167ecdc: Download complete [2022-06-27T16:15:34.992Z] cc1cd167ecdc: Pull complete [2022-06-27T16:15:34.992Z] c516ae0d96e1: Pull complete [2022-06-27T16:15:34.992Z] 684cea983483: Pull complete [2022-06-27T16:15:34.992Z] dd3240ac7de5: Pull complete [2022-06-27T16:15:35.252Z] b1e948a4e11c: Pull complete [2022-06-27T16:15:37.794Z] a8fd76ee1af6: Pull complete [2022-06-27T16:15:38.364Z] 646ad004c059: Pull complete [2022-06-27T16:15:38.364Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T16:15:38.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T16:15:38.364Z] ---> 8f69c11f6b0c [2022-06-27T16:15:38.364Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T16:15:40.912Z] ---> Running in 7c826ba686bc [2022-06-27T16:15:40.912Z] Removing intermediate container 7c826ba686bc [2022-06-27T16:15:40.912Z] ---> 6cd04e53f379 [2022-06-27T16:15:40.912Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T16:15:40.912Z] ---> Running in be93535e40a9 [2022-06-27T16:15:40.912Z] Removing intermediate container be93535e40a9 [2022-06-27T16:15:40.912Z] ---> a1d84f613526 [2022-06-27T16:15:40.912Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T16:15:40.912Z] ---> Running in de88cc999b0e [2022-06-27T16:15:41.481Z] Removing intermediate container de88cc999b0e [2022-06-27T16:15:41.481Z] ---> 3f7afa51b02c [2022-06-27T16:15:41.481Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T16:15:41.481Z] ---> Running in ca545b68ca51 [2022-06-27T16:15:41.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T16:15:42.688Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T16:15:42.950Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T16:15:42.950Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T16:15:43.195Z] Still waiting to schedule task [2022-06-27T16:15:43.196Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-27T16:15:43.212Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T16:15:43.212Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T16:15:43.212Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T16:15:43.212Z] OK: 224 MiB in 56 packages [2022-06-27T16:15:43.785Z] Removing intermediate container ca545b68ca51 [2022-06-27T16:15:43.785Z] ---> 46a65f11921e [2022-06-27T16:15:43.785Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-27T16:15:43.785Z] ---> Running in 6089e8911d7f [2022-06-27T16:15:44.045Z] Removing intermediate container 6089e8911d7f [2022-06-27T16:15:44.045Z] ---> 2ab7bfa166e5 [2022-06-27T16:15:44.045Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T16:15:44.045Z] ---> 9aca434deeef [2022-06-27T16:15:44.045Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T16:15:44.045Z] ---> Running in bc154e683762 [2022-06-27T16:16:02.186Z] Removing intermediate container bc154e683762 [2022-06-27T16:16:02.186Z] ---> f4c4a0c98a8d [2022-06-27T16:16:02.186Z] Step 10/12 : COPY . . [2022-06-27T16:16:02.186Z] ---> f0904231fa40 [2022-06-27T16:16:02.186Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T16:16:02.186Z] ---> Running in b105a50452e6 [2022-06-27T16:16:02.186Z] Removing intermediate container b105a50452e6 [2022-06-27T16:16:02.186Z] ---> 45ba6fb19aa1 [2022-06-27T16:16:02.186Z] Step 12/12 : RUN $MAKE [2022-06-27T16:16:02.186Z] ---> Running in 397bc304fa9b [2022-06-27T16:16:02.186Z] noop [2022-06-27T16:16:02.186Z] Removing intermediate container 397bc304fa9b [2022-06-27T16:16:02.186Z] ---> b8374fd2fa26 [2022-06-27T16:16:02.186Z] Successfully built b8374fd2fa26 [2022-06-27T16:16:02.186Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:16:02.502Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T16:16:02.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:16:02.584Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:16:02.622Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-27T16:16:03.072Z] $ docker top 0cf74391881e383af5bef5d2bc783fb35f92c25f9efb5ae613ede63f3e46bc4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T16:16:03.428Z] + go version [2022-06-27T16:16:03.428Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T16:16:03.444Z] $ docker stop --time=1 0cf74391881e383af5bef5d2bc783fb35f92c25f9efb5ae613ede63f3e46bc4c [2022-06-27T16:16:04.710Z] $ docker rm -f 0cf74391881e383af5bef5d2bc783fb35f92c25f9efb5ae613ede63f3e46bc4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:16:05.126Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T16:16:05.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:16:05.227Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:16:05.287Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-27T16:16:05.680Z] $ docker top 7004ee7e9855d0c3574f2d9b7b4818324a6442b76d6292872494cf46195cfcb8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T16:16:06.074Z] + make test [2022-06-27T16:16:06.074Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T16:16:06.334Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-27T16:16:16.325Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-27T16:16:16.325Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-06-27T16:16:16.325Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-27T16:16:22.900Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T16:16:27.103Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T16:16:27.103Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T16:16:27.103Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T16:16:27.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T16:16:27.133Z] $ docker stop --time=1 7004ee7e9855d0c3574f2d9b7b4818324a6442b76d6292872494cf46195cfcb8 [2022-06-27T16:16:29.182Z] $ docker rm -f 7004ee7e9855d0c3574f2d9b7b4818324a6442b76d6292872494cf46195cfcb8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T16:16:29.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T16:16:29.705Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T16:16:30.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T16:16:30.475Z] + ls -al . [2022-06-27T16:16:30.475Z] total 180 [2022-06-27T16:16:30.475Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 16:16 . [2022-06-27T16:16:30.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 16:15 .. [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 16:15 .dockerignore [2022-06-27T16:16:30.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 16:15 .git [2022-06-27T16:16:30.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 16:15 .github [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 16:15 .gitignore [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 16:15 .golangci.yml [2022-06-27T16:16:30.475Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 16:15 .semver [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 16:15 Attribution.txt [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 16:15 CHANGELOG.md [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 16:15 Dockerfile [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 16:15 GOVERNANCE.md [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 16:15 Jenkinsfile [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 16:15 LICENSE [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 16:15 Makefile [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 16:15 OWNERS.md [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 16:15 README.md [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 16:15 VERSION [2022-06-27T16:16:30.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 16:15 bin [2022-06-27T16:16:30.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 16:15 cmd [2022-06-27T16:16:30.475Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 16:16 coverage.out [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 16:15 go.mod [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 16:15 go.sum [2022-06-27T16:16:30.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 16:15 internal [2022-06-27T16:16:30.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 16:15 mock [2022-06-27T16:16:30.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 16:15 snap [2022-06-27T16:16:30.475Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 16:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:16:30.780Z] + 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=2c395e916656ff011f59f73b4cbc9d122ab02d46 --label arch=amd64 --label version=2.2.1-dev.5 . [2022-06-27T16:16:30.780Z] Sending build context to Docker daemon 6.022MB [2022-06-27T16:16:30.780Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T16:16:30.780Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T16:16:30.780Z] ---> b8374fd2fa26 [2022-06-27T16:16:30.780Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T16:16:31.041Z] ---> Running in e020c0d80843 [2022-06-27T16:16:31.041Z] Removing intermediate container e020c0d80843 [2022-06-27T16:16:31.041Z] ---> 8f6571090880 [2022-06-27T16:16:31.041Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T16:16:31.041Z] ---> Running in 883f0b8c558d [2022-06-27T16:16:31.302Z] Removing intermediate container 883f0b8c558d [2022-06-27T16:16:31.302Z] ---> f3a5a390cca4 [2022-06-27T16:16:31.302Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T16:16:31.302Z] ---> Running in 87075cd66c8e [2022-06-27T16:16:31.876Z] Removing intermediate container 87075cd66c8e [2022-06-27T16:16:31.876Z] ---> 36b6b915748f [2022-06-27T16:16:31.876Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T16:16:31.876Z] ---> Running in c2219f842a15 [2022-06-27T16:16:32.137Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T16:16:33.083Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T16:16:33.344Z] OK: 224 MiB in 56 packages [2022-06-27T16:16:33.604Z] Removing intermediate container c2219f842a15 [2022-06-27T16:16:33.604Z] ---> 781e36573fef [2022-06-27T16:16:33.604Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-27T16:16:33.604Z] ---> Running in 9d6c9d2d866a [2022-06-27T16:16:33.604Z] Removing intermediate container 9d6c9d2d866a [2022-06-27T16:16:33.604Z] ---> d73efbe7c8c2 [2022-06-27T16:16:33.604Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-27T16:16:33.865Z] ---> dc3d31807342 [2022-06-27T16:16:33.865Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T16:16:33.865Z] ---> Running in 6151225b184f [2022-06-27T16:16:34.810Z] Removing intermediate container 6151225b184f [2022-06-27T16:16:34.810Z] ---> 6110b3b5e757 [2022-06-27T16:16:34.810Z] Step 10/24 : COPY . . [2022-06-27T16:16:35.069Z] ---> 0ddbe59b52ab [2022-06-27T16:16:35.069Z] Step 11/24 : ARG MAKE='make build' [2022-06-27T16:16:35.069Z] ---> Running in 01953c80347b [2022-06-27T16:16:35.069Z] Removing intermediate container 01953c80347b [2022-06-27T16:16:35.069Z] ---> 5c2992eded27 [2022-06-27T16:16:35.069Z] Step 12/24 : RUN $MAKE [2022-06-27T16:16:35.069Z] ---> Running in 072095c00179 [2022-06-27T16:16:35.330Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-27T16:16:57.295Z] Removing intermediate container 072095c00179 [2022-06-27T16:16:57.295Z] ---> 4a294bb2488f [2022-06-27T16:16:57.295Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T16:16:57.295Z] 3.14: Pulling from library/alpine [2022-06-27T16:16:57.295Z] 8663204ce13b: Pulling fs layer [2022-06-27T16:16:57.295Z] 8663204ce13b: Verifying Checksum [2022-06-27T16:16:57.295Z] 8663204ce13b: Download complete [2022-06-27T16:16:57.295Z] 8663204ce13b: Pull complete [2022-06-27T16:16:57.295Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T16:16:57.295Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T16:16:57.295Z] ---> e04c818066af [2022-06-27T16:16:57.295Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-27T16:16:57.295Z] ---> Running in 4c2e6a0c46a2 [2022-06-27T16:16:57.295Z] Removing intermediate container 4c2e6a0c46a2 [2022-06-27T16:16:57.295Z] ---> 1ed662016cf9 [2022-06-27T16:16:57.295Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T16:16:57.556Z] ---> Running in 20a062534a52 [2022-06-27T16:16:57.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T16:16:57.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T16:16:58.078Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T16:16:58.078Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T16:16:58.078Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T16:16:58.078Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T16:16:58.078Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T16:16:58.078Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T16:16:58.078Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T16:16:58.078Z] OK: 8 MiB in 20 packages [2022-06-27T16:16:58.649Z] Removing intermediate container 20a062534a52 [2022-06-27T16:16:58.649Z] ---> 6a0a062d6a9e [2022-06-27T16:16:58.649Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-27T16:16:59.220Z] ---> 92c224f86bfd [2022-06-27T16:16:59.220Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-27T16:16:59.220Z] ---> 4ae891685ca0 [2022-06-27T16:16:59.220Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-27T16:16:59.480Z] ---> 484eaf20ba26 [2022-06-27T16:16:59.480Z] Step 19/24 : EXPOSE 59982 [2022-06-27T16:16:59.480Z] ---> Running in c32ed00e00bd [2022-06-27T16:16:59.480Z] Removing intermediate container c32ed00e00bd [2022-06-27T16:16:59.480Z] ---> 720b8d3893d3 [2022-06-27T16:16:59.480Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-27T16:16:59.742Z] ---> Running in 90cb6ea8322c [2022-06-27T16:16:59.742Z] Removing intermediate container 90cb6ea8322c [2022-06-27T16:16:59.742Z] ---> 0e59195c4df8 [2022-06-27T16:16:59.742Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T16:16:59.742Z] ---> Running in 620c412931bd [2022-06-27T16:16:59.742Z] Removing intermediate container 620c412931bd [2022-06-27T16:16:59.742Z] ---> 8fabeb5066e9 [2022-06-27T16:16:59.742Z] Step 22/24 : LABEL arch=amd64 [2022-06-27T16:17:00.002Z] ---> Running in df5457626dad [2022-06-27T16:17:00.002Z] Removing intermediate container df5457626dad [2022-06-27T16:17:00.002Z] ---> e1d18f839926 [2022-06-27T16:17:00.002Z] Step 23/24 : LABEL git_sha=2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:17:00.002Z] ---> Running in 099d12d23a55 [2022-06-27T16:17:00.002Z] Removing intermediate container 099d12d23a55 [2022-06-27T16:17:00.002Z] ---> 4a3c7186fda4 [2022-06-27T16:17:00.002Z] Step 24/24 : LABEL version=2.2.1-dev.5 [2022-06-27T16:17:00.262Z] ---> Running in b229f1ac735f [2022-06-27T16:17:00.262Z] Removing intermediate container b229f1ac735f [2022-06-27T16:17:00.262Z] ---> eaf1a43a1423 [2022-06-27T16:17:00.262Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T16:17:00.262Z] Successfully built eaf1a43a1423 [2022-06-27T16:17:00.262Z] 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-27T16:17:00.339Z] provisioning config files... [2022-06-27T16:17:00.349Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4014248893481929709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:17:00.651Z] ---> docker-login.sh [2022-06-27T16:17:00.651Z] nexus3.edgexfoundry.org:10001 [2022-06-27T16:17:00.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:00.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:00.651Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:00.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:00.651Z] [2022-06-27T16:17:00.651Z] Login Succeeded [2022-06-27T16:17:00.651Z] nexus3.edgexfoundry.org:10002 [2022-06-27T16:17:00.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:00.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:00.912Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:00.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:00.912Z] [2022-06-27T16:17:00.912Z] Login Succeeded [2022-06-27T16:17:00.912Z] nexus3.edgexfoundry.org:10003 [2022-06-27T16:17:00.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:00.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:00.912Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:00.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:00.912Z] [2022-06-27T16:17:00.912Z] Login Succeeded [2022-06-27T16:17:00.912Z] nexus3.edgexfoundry.org:10004 [2022-06-27T16:17:01.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:01.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:01.174Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:01.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:01.174Z] [2022-06-27T16:17:01.174Z] Login Succeeded [2022-06-27T16:17:01.174Z] docker.io [2022-06-27T16:17:01.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:01.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:01.434Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:01.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:01.434Z] [2022-06-27T16:17:01.434Z] Login Succeeded [2022-06-27T16:17:01.434Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T16:17:01.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T16:17:01.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T16:17:01.512Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-06-27T16:17:01.512Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:17:01.512Z] latest [2022-06-27T16:17:01.512Z] 2.2.1-dev.5 [2022-06-27T16:17:01.512Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [2022-06-27T16:17:01.512Z] main [2022-06-27T16:17:01.512Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:01.834Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:02.150Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:17:02.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-27T16:17:02.150Z] 5ed4602bb3b6: Preparing [2022-06-27T16:17:02.150Z] 34b1e6179a2c: Preparing [2022-06-27T16:17:02.150Z] f012406c67a9: Preparing [2022-06-27T16:17:02.150Z] 24424f48f142: Preparing [2022-06-27T16:17:02.150Z] b541d28bf3b4: Preparing [2022-06-27T16:17:02.150Z] b541d28bf3b4: Layer already exists [2022-06-27T16:17:02.150Z] 34b1e6179a2c: Pushed [2022-06-27T16:17:02.150Z] 5ed4602bb3b6: Pushed [2022-06-27T16:17:02.411Z] 24424f48f142: Pushed [2022-06-27T16:17:04.958Z] f012406c67a9: Pushed [2022-06-27T16:17:05.218Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46: digest: sha256:042fe56669d7fc5c9821ea4cdfbb6d5fb74ae9f55bc7199672b3376452645d47 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:05.538Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:05.852Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-27T16:17:05.852Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-27T16:17:05.852Z] 5ed4602bb3b6: Preparing [2022-06-27T16:17:05.852Z] 34b1e6179a2c: Preparing [2022-06-27T16:17:05.852Z] f012406c67a9: Preparing [2022-06-27T16:17:05.852Z] 24424f48f142: Preparing [2022-06-27T16:17:05.852Z] b541d28bf3b4: Preparing [2022-06-27T16:17:05.852Z] 24424f48f142: Layer already exists [2022-06-27T16:17:05.852Z] 34b1e6179a2c: Layer already exists [2022-06-27T16:17:05.852Z] f012406c67a9: Layer already exists [2022-06-27T16:17:05.852Z] b541d28bf3b4: Layer already exists [2022-06-27T16:17:05.852Z] 5ed4602bb3b6: Layer already exists [2022-06-27T16:17:05.852Z] latest: digest: sha256:042fe56669d7fc5c9821ea4cdfbb6d5fb74ae9f55bc7199672b3376452645d47 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:06.173Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:06.485Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.5 [2022-06-27T16:17:06.485Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-27T16:17:06.485Z] 5ed4602bb3b6: Preparing [2022-06-27T16:17:06.485Z] 34b1e6179a2c: Preparing [2022-06-27T16:17:06.485Z] f012406c67a9: Preparing [2022-06-27T16:17:06.485Z] 24424f48f142: Preparing [2022-06-27T16:17:06.485Z] b541d28bf3b4: Preparing [2022-06-27T16:17:06.485Z] 34b1e6179a2c: Layer already exists [2022-06-27T16:17:06.485Z] b541d28bf3b4: Layer already exists [2022-06-27T16:17:06.485Z] f012406c67a9: Layer already exists [2022-06-27T16:17:06.485Z] 5ed4602bb3b6: Layer already exists [2022-06-27T16:17:06.485Z] 24424f48f142: Layer already exists [2022-06-27T16:17:06.485Z] 2.2.1-dev.5: digest: sha256:042fe56669d7fc5c9821ea4cdfbb6d5fb74ae9f55bc7199672b3376452645d47 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:06.803Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:07.115Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [2022-06-27T16:17:07.115Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-27T16:17:07.115Z] 5ed4602bb3b6: Preparing [2022-06-27T16:17:07.115Z] 34b1e6179a2c: Preparing [2022-06-27T16:17:07.115Z] f012406c67a9: Preparing [2022-06-27T16:17:07.115Z] 24424f48f142: Preparing [2022-06-27T16:17:07.115Z] b541d28bf3b4: Preparing [2022-06-27T16:17:07.115Z] b541d28bf3b4: Layer already exists [2022-06-27T16:17:07.115Z] 34b1e6179a2c: Layer already exists [2022-06-27T16:17:07.115Z] 24424f48f142: Layer already exists [2022-06-27T16:17:07.115Z] 5ed4602bb3b6: Layer already exists [2022-06-27T16:17:07.115Z] f012406c67a9: Layer already exists [2022-06-27T16:17:07.115Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5: digest: sha256:042fe56669d7fc5c9821ea4cdfbb6d5fb74ae9f55bc7199672b3376452645d47 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:07.436Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:07.757Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-06-27T16:17:07.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-27T16:17:07.757Z] 5ed4602bb3b6: Preparing [2022-06-27T16:17:07.757Z] 34b1e6179a2c: Preparing [2022-06-27T16:17:07.757Z] f012406c67a9: Preparing [2022-06-27T16:17:07.757Z] 24424f48f142: Preparing [2022-06-27T16:17:07.757Z] b541d28bf3b4: Preparing [2022-06-27T16:17:07.757Z] b541d28bf3b4: Layer already exists [2022-06-27T16:17:07.757Z] 5ed4602bb3b6: Layer already exists [2022-06-27T16:17:07.757Z] 24424f48f142: Layer already exists [2022-06-27T16:17:07.757Z] f012406c67a9: Layer already exists [2022-06-27T16:17:07.757Z] 34b1e6179a2c: Layer already exists [2022-06-27T16:17:07.757Z] main: digest: sha256:042fe56669d7fc5c9821ea4cdfbb6d5fb74ae9f55bc7199672b3376452645d47 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T16:17:07.805Z] ===================================================== [Pipeline] echo [2022-06-27T16:17:07.814Z] taggedImages: [2022-06-27T16:17:07.814Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:17:07.814Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-27T16:17:07.814Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.5 [2022-06-27T16:17:07.814Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [2022-06-27T16:17:07.814Z] - 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-27T16:17:08.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T16:17:08.210Z] [2022-06-27T16:17:08.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:08.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T16:17:08.512Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T16:17:08.512Z] 5eb5b503b376: Pulling fs layer [2022-06-27T16:17:08.512Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T16:17:08.512Z] ec43610c2a17: Pulling fs layer [2022-06-27T16:17:08.512Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T16:17:08.512Z] 33b1e0a273af: Pulling fs layer [2022-06-27T16:17:08.512Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T16:17:08.512Z] 2f39f015ded8: Pulling fs layer [2022-06-27T16:17:08.512Z] 3a2ae6a8a46f: Waiting [2022-06-27T16:17:08.512Z] 33b1e0a273af: Waiting [2022-06-27T16:17:08.512Z] 5d3b04190fa2: Waiting [2022-06-27T16:17:08.512Z] 2f39f015ded8: Waiting [2022-06-27T16:17:08.512Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T16:17:08.512Z] 5c69ac0246d0: Download complete [2022-06-27T16:17:08.512Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T16:17:08.512Z] 3a2ae6a8a46f: Download complete [2022-06-27T16:17:08.512Z] 33b1e0a273af: Verifying Checksum [2022-06-27T16:17:08.512Z] 33b1e0a273af: Download complete [2022-06-27T16:17:08.512Z] 5d3b04190fa2: Download complete [2022-06-27T16:17:08.772Z] ec43610c2a17: Verifying Checksum [2022-06-27T16:17:08.772Z] ec43610c2a17: Download complete [2022-06-27T16:17:08.772Z] 5eb5b503b376: Verifying Checksum [2022-06-27T16:17:08.772Z] 5eb5b503b376: Download complete [2022-06-27T16:17:09.340Z] 2f39f015ded8: Download complete [2022-06-27T16:17:10.288Z] 5eb5b503b376: Pull complete [2022-06-27T16:17:10.288Z] 5c69ac0246d0: Pull complete [2022-06-27T16:17:10.549Z] ec43610c2a17: Pull complete [2022-06-27T16:17:10.811Z] 3a2ae6a8a46f: Pull complete [2022-06-27T16:17:11.072Z] 33b1e0a273af: Pull complete [2022-06-27T16:17:11.072Z] 5d3b04190fa2: Pull complete [2022-06-27T16:17:15.262Z] 2f39f015ded8: Pull complete [2022-06-27T16:17:15.262Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T16:17:15.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T16:17:15.262Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:17:15.357Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:17:15.405Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T16:17:17.336Z] $ docker top dd7f15a45443fc489f70bf79a5a5a2134b0b1785cadf6009b9764a323e6a1fa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:17:17.725Z] ---> job-cost.sh [2022-06-27T16:17:17.725Z] lf-activate-venv: SKIPPING [2022-06-27T16:17:17.725Z] INFO: No Stack... [2022-06-27T16:17:17.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T16:17:18.557Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T16:17:18.848Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-06-27T16:17:18.848Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T16:17:18.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] [2022-06-27T16:17:18.867Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] did not exist. Created. [2022-06-27T16:17:18.867Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T16:17:19.173Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T16:17:19.203Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T16:17:19.208Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T16:17:19.232Z] $ docker stop --time=1 dd7f15a45443fc489f70bf79a5a5a2134b0b1785cadf6009b9764a323e6a1fa2 [2022-06-27T16:17:19.285Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16118 in /w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-27T16:17:20.390Z] $ docker rm -f dd7f15a45443fc489f70bf79a5a5a2134b0b1785cadf6009b9764a323e6a1fa2 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-06-27T16:17:20.460Z] Running in /w/workspace/device-mqtt-go/52 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-06-27T16:17:20.501Z] Selected Git installation does not exist. Using Default [2022-06-27T16:17:20.501Z] The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } [2022-06-27T16:17:26.120Z] using credential edgex-jenkins-ssh [2022-06-27T16:17:26.140Z] Cloning the remote Git repository [2022-06-27T16:17:26.196Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T16:17:26.271Z] > git init /w/workspace/device-mqtt-go/52 # timeout=10 [2022-06-27T16:17:26.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T16:17:26.336Z] > git --version # timeout=10 [2022-06-27T16:17:26.358Z] > git --version # 'git version 2.25.1' [2022-06-27T16:17:26.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T16:17:26.490Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T16:17:27.497Z] Avoid second fetch [2022-06-27T16:17:27.497Z] Checking out Revision 2c395e916656ff011f59f73b4cbc9d122ab02d46 (main) [2022-06-27T16:17:27.457Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-27T16:17:27.485Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T16:17:27.522Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T16:17:27.535Z] > git checkout -f 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 [2022-06-27T16:17:31.659Z] Commit message: "fix: replace broker host config with a valid example (#396)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T16:17:32.575Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T16:17:32.575Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T16:17:32.575Z] Dload Upload Total Spent Left Speed [2022-06-27T16:17:32.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 77062 0 --:--:-- --:--:-- --:--:-- 77062 [Pipeline] sh [2022-06-27T16:17:33.272Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T16:17:33.610Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T16:17:33.610Z] + sudo tee /etc/docker/daemon.new [2022-06-27T16:17:33.610Z] { [2022-06-27T16:17:33.610Z] "registry-mirrors": [ [2022-06-27T16:17:33.610Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T16:17:33.610Z] ], [2022-06-27T16:17:33.610Z] "bip": "10.250.0.254/24", [2022-06-27T16:17:33.610Z] "hosts": [ [2022-06-27T16:17:33.610Z] "tcp://0.0.0.0:5555", [2022-06-27T16:17:33.610Z] "unix:///var/run/docker.sock" [2022-06-27T16:17:33.610Z] ], [2022-06-27T16:17:33.610Z] "mtu": 1458, [2022-06-27T16:17:33.610Z] "selinux-enabled": true, [2022-06-27T16:17:33.610Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T16:17:33.610Z] } [Pipeline] sh [2022-06-27T16:17:33.965Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T16:17:34.361Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T16:17:52.707Z] provisioning config files... [2022-06-27T16:17:52.729Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config7239046083763480560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:17:53.456Z] ---> docker-login.sh [2022-06-27T16:17:53.456Z] nexus3.edgexfoundry.org:10001 [2022-06-27T16:17:54.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:54.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:54.337Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:54.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:54.337Z] [2022-06-27T16:17:54.337Z] Login Succeeded [2022-06-27T16:17:54.337Z] nexus3.edgexfoundry.org:10002 [2022-06-27T16:17:54.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:54.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:54.884Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:54.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:54.884Z] [2022-06-27T16:17:54.884Z] Login Succeeded [2022-06-27T16:17:54.884Z] nexus3.edgexfoundry.org:10003 [2022-06-27T16:17:55.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:55.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:55.159Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:55.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:55.159Z] [2022-06-27T16:17:55.159Z] Login Succeeded [2022-06-27T16:17:55.159Z] nexus3.edgexfoundry.org:10004 [2022-06-27T16:17:55.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:55.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:55.756Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:55.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:55.756Z] [2022-06-27T16:17:55.756Z] Login Succeeded [2022-06-27T16:17:55.756Z] docker.io [2022-06-27T16:17:56.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:17:56.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:17:56.306Z] Configure a credential helper to remove this warning. See [2022-06-27T16:17:56.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:17:56.306Z] [2022-06-27T16:17:56.306Z] Login Succeeded [2022-06-27T16:17:56.306Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T16:17:56.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T16:17:56.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T16:17:56.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T16:17:56.591Z] ========================================================= [2022-06-27T16:17:56.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T16:17:56.591Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:17:56.953Z] + 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-27T16:17:57.229Z] Sending build context to Docker daemon 3.099MB [2022-06-27T16:17:57.229Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T16:17:57.229Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T16:17:57.509Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T16:17:57.509Z] 9b3977197b4f: Pulling fs layer [2022-06-27T16:17:57.509Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T16:17:57.509Z] 94645a83ff95: Pulling fs layer [2022-06-27T16:17:57.509Z] e6fb740bc735: Pulling fs layer [2022-06-27T16:17:57.509Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T16:17:57.509Z] 355e64cbe906: Pulling fs layer [2022-06-27T16:17:57.509Z] 63ab81a10011: Pulling fs layer [2022-06-27T16:17:57.509Z] 555d1d1c4555: Pulling fs layer [2022-06-27T16:17:57.509Z] 7d9057610161: Pulling fs layer [2022-06-27T16:17:57.509Z] 355e64cbe906: Waiting [2022-06-27T16:17:57.509Z] 63ab81a10011: Waiting [2022-06-27T16:17:57.509Z] 555d1d1c4555: Waiting [2022-06-27T16:17:57.509Z] 7d9057610161: Waiting [2022-06-27T16:17:57.509Z] e6fb740bc735: Waiting [2022-06-27T16:17:57.509Z] 3a77bd46dcc9: Waiting [2022-06-27T16:17:57.509Z] 94645a83ff95: Verifying Checksum [2022-06-27T16:17:57.509Z] 94645a83ff95: Download complete [2022-06-27T16:17:57.509Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T16:17:57.509Z] 1a89e8eeedd5: Download complete [2022-06-27T16:17:57.509Z] 3a77bd46dcc9: Download complete [2022-06-27T16:17:57.509Z] 355e64cbe906: Verifying Checksum [2022-06-27T16:17:57.509Z] 355e64cbe906: Download complete [2022-06-27T16:17:57.509Z] 63ab81a10011: Verifying Checksum [2022-06-27T16:17:57.509Z] 63ab81a10011: Download complete [2022-06-27T16:17:57.509Z] 9b3977197b4f: Verifying Checksum [2022-06-27T16:17:57.509Z] 9b3977197b4f: Download complete [2022-06-27T16:17:58.503Z] 9b3977197b4f: Pull complete [2022-06-27T16:17:58.503Z] 7d9057610161: Verifying Checksum [2022-06-27T16:17:58.503Z] 7d9057610161: Download complete [2022-06-27T16:17:59.108Z] 1a89e8eeedd5: Pull complete [2022-06-27T16:17:59.387Z] 94645a83ff95: Pull complete [2022-06-27T16:17:59.661Z] 555d1d1c4555: Verifying Checksum [2022-06-27T16:17:59.661Z] 555d1d1c4555: Download complete [2022-06-27T16:18:00.260Z] e6fb740bc735: Verifying Checksum [2022-06-27T16:18:00.260Z] e6fb740bc735: Download complete [2022-06-27T16:18:12.681Z] e6fb740bc735: Pull complete [2022-06-27T16:18:12.681Z] 3a77bd46dcc9: Pull complete [2022-06-27T16:18:12.681Z] 355e64cbe906: Pull complete [2022-06-27T16:18:12.681Z] 63ab81a10011: Pull complete [2022-06-27T16:18:19.401Z] 555d1d1c4555: Pull complete [2022-06-27T16:18:21.381Z] 7d9057610161: Pull complete [2022-06-27T16:18:21.381Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T16:18:21.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T16:18:21.381Z] ---> 819e984ddca1 [2022-06-27T16:18:21.381Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T16:18:21.978Z] ---> Running in 847145b79b27 [2022-06-27T16:18:22.585Z] Removing intermediate container 847145b79b27 [2022-06-27T16:18:22.585Z] ---> 3c716ddccc18 [2022-06-27T16:18:22.585Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T16:18:22.585Z] ---> Running in 662169ec33f5 [2022-06-27T16:18:22.858Z] Removing intermediate container 662169ec33f5 [2022-06-27T16:18:22.858Z] ---> 1e04d1109b03 [2022-06-27T16:18:22.858Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T16:18:22.858Z] ---> Running in c63c17b4c26b [2022-06-27T16:18:26.251Z] Removing intermediate container c63c17b4c26b [2022-06-27T16:18:26.251Z] ---> c45e8524a477 [2022-06-27T16:18:26.251Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T16:18:26.251Z] ---> Running in 0eaf9eaf359b [2022-06-27T16:18:26.849Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T16:18:27.827Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T16:18:28.422Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T16:18:28.697Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T16:18:28.697Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T16:18:28.973Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T16:18:28.973Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T16:18:28.973Z] OK: 224 MiB in 56 packages [2022-06-27T16:18:29.957Z] Removing intermediate container 0eaf9eaf359b [2022-06-27T16:18:29.957Z] ---> 807cec5a2cd5 [2022-06-27T16:18:29.957Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-27T16:18:29.957Z] ---> Running in 5f73612d35fd [2022-06-27T16:18:30.235Z] Removing intermediate container 5f73612d35fd [2022-06-27T16:18:30.235Z] ---> d0f93fb05c8f [2022-06-27T16:18:30.235Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T16:18:30.838Z] ---> 6ad2fee4d7f6 [2022-06-27T16:18:30.838Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T16:18:30.838Z] ---> Running in 96739697735c [2022-06-27T16:19:17.839Z] Removing intermediate container 96739697735c [2022-06-27T16:19:17.839Z] ---> 2387344f2afe [2022-06-27T16:19:17.839Z] Step 10/12 : COPY . . [2022-06-27T16:19:17.839Z] ---> f112a512f2c0 [2022-06-27T16:19:17.839Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T16:19:17.839Z] ---> Running in 6daaba43c59d [2022-06-27T16:19:17.839Z] Removing intermediate container 6daaba43c59d [2022-06-27T16:19:17.839Z] ---> 363fd245e5cb [2022-06-27T16:19:17.839Z] Step 12/12 : RUN $MAKE [2022-06-27T16:19:17.839Z] ---> Running in 7d56caaef24f [2022-06-27T16:19:17.839Z] noop [2022-06-27T16:19:17.839Z] Removing intermediate container 7d56caaef24f [2022-06-27T16:19:17.839Z] ---> d86cd1100d53 [2022-06-27T16:19:17.839Z] Successfully built d86cd1100d53 [2022-06-27T16:19:17.839Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:19:18.208Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T16:19:18.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:19:18.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-16118 does not seem to be running inside a container [2022-06-27T16:19:18.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@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-27T16:19:19.830Z] $ docker top c9d7b18e305deddd48ce9c62acc2bbd3498653f7292dd3eea2477f0462492aca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T16:19:20.717Z] + go version [2022-06-27T16:19:20.717Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T16:19:20.747Z] $ docker stop --time=1 c9d7b18e305deddd48ce9c62acc2bbd3498653f7292dd3eea2477f0462492aca [2022-06-27T16:19:22.410Z] $ docker rm -f c9d7b18e305deddd48ce9c62acc2bbd3498653f7292dd3eea2477f0462492aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:19:23.044Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T16:19:23.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:19:23.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-16118 does not seem to be running inside a container [2022-06-27T16:19:23.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@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-27T16:19:24.668Z] $ docker top 6f5be4c4ecaa15f91b734275a8163da97ac3b89f164d9b2fc6c78a4e5fe77197 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T16:19:25.584Z] + make test [2022-06-27T16:19:25.585Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T16:19:27.022Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-27T16:20:48.904Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-27T16:20:48.904Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements [2022-06-27T16:20:48.904Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-27T16:20:48.904Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T16:20:48.904Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T16:21:11.135Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T16:21:11.135Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T16:21:11.135Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T16:21:11.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T16:21:11.769Z] $ docker stop --time=1 6f5be4c4ecaa15f91b734275a8163da97ac3b89f164d9b2fc6c78a4e5fe77197 [2022-06-27T16:21:13.524Z] $ docker rm -f 6f5be4c4ecaa15f91b734275a8163da97ac3b89f164d9b2fc6c78a4e5fe77197 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T16:21:14.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T16:21:14.476Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T16:21:14.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T16:21:15.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T16:21:15.640Z] + ls -al . [2022-06-27T16:21:15.641Z] total 176 [2022-06-27T16:21:15.641Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 16:21 . [2022-06-27T16:21:15.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 16:17 .. [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 16:17 .dockerignore [2022-06-27T16:21:15.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 16:17 .git [2022-06-27T16:21:15.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 16:17 .github [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 16:17 .gitignore [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 16:17 .golangci.yml [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 16:17 Attribution.txt [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 16:17 CHANGELOG.md [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 16:17 Dockerfile [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 16:17 GOVERNANCE.md [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 16:17 Jenkinsfile [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 16:17 LICENSE [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 16:17 Makefile [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 16:17 OWNERS.md [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 16:17 README.md [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 16:15 VERSION [2022-06-27T16:21:15.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 16:17 bin [2022-06-27T16:21:15.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 16:17 cmd [2022-06-27T16:21:15.641Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 16:20 coverage.out [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 16:17 go.mod [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 16:17 go.sum [2022-06-27T16:21:15.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 16:17 internal [2022-06-27T16:21:15.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 16:17 mock [2022-06-27T16:21:15.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 16:17 snap [2022-06-27T16:21:15.641Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 16:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:21:15.994Z] + 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=2c395e916656ff011f59f73b4cbc9d122ab02d46 --label arch=arm64 --label version=2.2.1-dev.5 . [2022-06-27T16:21:16.270Z] Sending build context to Docker daemon 3.118MB [2022-06-27T16:21:16.270Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T16:21:16.270Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T16:21:16.270Z] ---> d86cd1100d53 [2022-06-27T16:21:16.270Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T16:21:16.546Z] ---> Running in ec24a3df2f6f [2022-06-27T16:21:16.819Z] Removing intermediate container ec24a3df2f6f [2022-06-27T16:21:16.819Z] ---> a9ceef5bf188 [2022-06-27T16:21:16.819Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T16:21:16.819Z] ---> Running in 587bc2a12b6d [2022-06-27T16:21:17.107Z] Removing intermediate container 587bc2a12b6d [2022-06-27T16:21:17.107Z] ---> df4615afc6af [2022-06-27T16:21:17.107Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T16:21:17.107Z] ---> Running in d31683a0a4da [2022-06-27T16:21:19.092Z] Removing intermediate container d31683a0a4da [2022-06-27T16:21:19.092Z] ---> 5d1d0de05f11 [2022-06-27T16:21:19.092Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T16:21:19.092Z] ---> Running in fc8ef68605cc [2022-06-27T16:21:20.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T16:21:20.665Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T16:21:21.649Z] OK: 224 MiB in 56 packages [2022-06-27T16:21:22.248Z] Removing intermediate container fc8ef68605cc [2022-06-27T16:21:22.248Z] ---> 852a2e4d2be7 [2022-06-27T16:21:22.248Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-27T16:21:22.525Z] ---> Running in c94e8eda0334 [2022-06-27T16:21:22.809Z] Removing intermediate container c94e8eda0334 [2022-06-27T16:21:22.809Z] ---> 890cb546fb1b [2022-06-27T16:21:22.809Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-27T16:21:23.406Z] ---> e2c61c17dd73 [2022-06-27T16:21:23.406Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T16:21:23.406Z] ---> Running in 4da2ed8ff95d [2022-06-27T16:21:25.383Z] Removing intermediate container 4da2ed8ff95d [2022-06-27T16:21:25.383Z] ---> 7a85fa7b9ff2 [2022-06-27T16:21:25.383Z] Step 10/24 : COPY . . [2022-06-27T16:21:25.981Z] ---> 961f4440de7b [2022-06-27T16:21:25.981Z] Step 11/24 : ARG MAKE='make build' [2022-06-27T16:21:25.981Z] ---> Running in 62ac3618f2ba [2022-06-27T16:21:26.265Z] Removing intermediate container 62ac3618f2ba [2022-06-27T16:21:26.265Z] ---> 1b2db8d48afc [2022-06-27T16:21:26.265Z] Step 12/24 : RUN $MAKE [2022-06-27T16:21:26.542Z] ---> Running in eecc436a26c7 [2022-06-27T16:21:27.531Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-27T16:23:34.479Z] Removing intermediate container eecc436a26c7 [2022-06-27T16:23:34.479Z] ---> 29a43c768734 [2022-06-27T16:23:34.479Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T16:23:34.479Z] 3.14: Pulling from library/alpine [2022-06-27T16:23:34.479Z] 455c02918c45: Pulling fs layer [2022-06-27T16:23:34.479Z] 455c02918c45: Verifying Checksum [2022-06-27T16:23:34.479Z] 455c02918c45: Download complete [2022-06-27T16:23:34.479Z] 455c02918c45: Pull complete [2022-06-27T16:23:34.479Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T16:23:34.479Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T16:23:34.479Z] ---> ac73e934f311 [2022-06-27T16:23:34.479Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-27T16:23:34.479Z] ---> Running in c5466acb1981 [2022-06-27T16:23:34.479Z] Removing intermediate container c5466acb1981 [2022-06-27T16:23:34.479Z] ---> ce108ff53296 [2022-06-27T16:23:34.479Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T16:23:34.479Z] ---> Running in aba6a09b32d2 [2022-06-27T16:23:34.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T16:23:34.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T16:23:34.479Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T16:23:34.479Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T16:23:34.479Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T16:23:34.479Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T16:23:34.479Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T16:23:34.479Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T16:23:34.479Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T16:23:34.479Z] OK: 8 MiB in 20 packages [2022-06-27T16:23:34.479Z] Removing intermediate container aba6a09b32d2 [2022-06-27T16:23:34.479Z] ---> 29a1cbba6319 [2022-06-27T16:23:34.479Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-27T16:23:34.479Z] ---> 5c25773884e8 [2022-06-27T16:23:34.479Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-27T16:23:34.479Z] ---> e25a738cfd06 [2022-06-27T16:23:34.479Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-27T16:23:34.479Z] ---> 46fd4f6fbaee [2022-06-27T16:23:34.479Z] Step 19/24 : EXPOSE 59982 [2022-06-27T16:23:34.479Z] ---> Running in 847edc3afb5a [2022-06-27T16:23:34.479Z] Removing intermediate container 847edc3afb5a [2022-06-27T16:23:34.479Z] ---> 2976fb3da495 [2022-06-27T16:23:34.479Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-27T16:23:34.479Z] ---> Running in b5edf8e0d4a5 [2022-06-27T16:23:34.479Z] Removing intermediate container b5edf8e0d4a5 [2022-06-27T16:23:34.479Z] ---> 036fce9ddf43 [2022-06-27T16:23:34.479Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T16:23:34.479Z] ---> Running in e7d613eb789d [2022-06-27T16:23:34.479Z] Removing intermediate container e7d613eb789d [2022-06-27T16:23:34.479Z] ---> 3a68f8670b2f [2022-06-27T16:23:34.479Z] Step 22/24 : LABEL arch=arm64 [2022-06-27T16:23:34.479Z] ---> Running in edbb02205b40 [2022-06-27T16:23:34.479Z] Removing intermediate container edbb02205b40 [2022-06-27T16:23:34.479Z] ---> 2d0684d238a5 [2022-06-27T16:23:34.479Z] Step 23/24 : LABEL git_sha=2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:23:34.479Z] ---> Running in 0287807d3232 [2022-06-27T16:23:34.479Z] Removing intermediate container 0287807d3232 [2022-06-27T16:23:34.479Z] ---> 859d5dd9745a [2022-06-27T16:23:34.479Z] Step 24/24 : LABEL version=2.2.1-dev.5 [2022-06-27T16:23:34.479Z] ---> Running in 642e78da36ec [2022-06-27T16:23:34.479Z] Removing intermediate container 642e78da36ec [2022-06-27T16:23:34.479Z] ---> dd008fd69467 [2022-06-27T16:23:34.479Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T16:23:34.479Z] Successfully built dd008fd69467 [2022-06-27T16:23:34.479Z] 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-27T16:23:34.595Z] provisioning config files... [2022-06-27T16:23:34.614Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config7536826538521250983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:23:34.963Z] ---> docker-login.sh [2022-06-27T16:23:34.963Z] nexus3.edgexfoundry.org:10001 [2022-06-27T16:23:35.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:23:35.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:23:35.236Z] Configure a credential helper to remove this warning. See [2022-06-27T16:23:35.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:23:35.236Z] [2022-06-27T16:23:35.236Z] Login Succeeded [2022-06-27T16:23:35.236Z] nexus3.edgexfoundry.org:10002 [2022-06-27T16:23:35.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:23:35.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:23:35.834Z] Configure a credential helper to remove this warning. See [2022-06-27T16:23:35.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:23:35.834Z] [2022-06-27T16:23:35.834Z] Login Succeeded [2022-06-27T16:23:35.834Z] nexus3.edgexfoundry.org:10003 [2022-06-27T16:23:36.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:23:36.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:23:36.393Z] Configure a credential helper to remove this warning. See [2022-06-27T16:23:36.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:23:36.393Z] [2022-06-27T16:23:36.393Z] Login Succeeded [2022-06-27T16:23:36.393Z] nexus3.edgexfoundry.org:10004 [2022-06-27T16:23:36.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:23:36.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:23:36.667Z] Configure a credential helper to remove this warning. See [2022-06-27T16:23:36.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:23:36.667Z] [2022-06-27T16:23:36.667Z] Login Succeeded [2022-06-27T16:23:36.667Z] docker.io [2022-06-27T16:23:37.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T16:23:37.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T16:23:37.537Z] Configure a credential helper to remove this warning. See [2022-06-27T16:23:37.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T16:23:37.537Z] [2022-06-27T16:23:37.537Z] Login Succeeded [2022-06-27T16:23:37.537Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T16:23:37.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T16:23:37.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T16:23:37.609Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-06-27T16:23:37.609Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:23:37.609Z] latest [2022-06-27T16:23:37.609Z] 2.2.1-dev.5 [2022-06-27T16:23:37.609Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [2022-06-27T16:23:37.609Z] main [2022-06-27T16:23:37.609Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:37.971Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:38.342Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:23:38.342Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-27T16:23:38.342Z] a95f2e582970: Preparing [2022-06-27T16:23:38.342Z] f0f872b541b8: Preparing [2022-06-27T16:23:38.342Z] 505d2b1aba7e: Preparing [2022-06-27T16:23:38.342Z] eedb09d30660: Preparing [2022-06-27T16:23:38.342Z] f73e7dbfee58: Preparing [2022-06-27T16:23:38.342Z] f73e7dbfee58: Layer already exists [2022-06-27T16:23:38.620Z] a95f2e582970: Pushed [2022-06-27T16:23:38.620Z] f0f872b541b8: Pushed [2022-06-27T16:23:39.213Z] eedb09d30660: Pushed [2022-06-27T16:23:44.616Z] 505d2b1aba7e: Pushed [2022-06-27T16:23:44.616Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46: digest: sha256:7580dbfd18a5be6e866ab1eeb79cfd945f9c61c11acd5fcacb0c572f983133e0 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:44.991Z] + 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-27T16:23:45.354Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-27T16:23:45.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-27T16:23:45.354Z] a95f2e582970: Preparing [2022-06-27T16:23:45.354Z] f0f872b541b8: Preparing [2022-06-27T16:23:45.354Z] 505d2b1aba7e: Preparing [2022-06-27T16:23:45.354Z] eedb09d30660: Preparing [2022-06-27T16:23:45.354Z] f73e7dbfee58: Preparing [2022-06-27T16:23:45.354Z] f73e7dbfee58: Layer already exists [2022-06-27T16:23:45.354Z] 505d2b1aba7e: Layer already exists [2022-06-27T16:23:45.354Z] a95f2e582970: Layer already exists [2022-06-27T16:23:45.354Z] eedb09d30660: Layer already exists [2022-06-27T16:23:45.354Z] f0f872b541b8: Layer already exists [2022-06-27T16:23:45.627Z] latest: digest: sha256:7580dbfd18a5be6e866ab1eeb79cfd945f9c61c11acd5fcacb0c572f983133e0 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:45.995Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:46.359Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.5 [2022-06-27T16:23:46.359Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-27T16:23:46.359Z] a95f2e582970: Preparing [2022-06-27T16:23:46.359Z] f0f872b541b8: Preparing [2022-06-27T16:23:46.359Z] 505d2b1aba7e: Preparing [2022-06-27T16:23:46.359Z] eedb09d30660: Preparing [2022-06-27T16:23:46.359Z] f73e7dbfee58: Preparing [2022-06-27T16:23:46.359Z] f73e7dbfee58: Layer already exists [2022-06-27T16:23:46.359Z] f0f872b541b8: Layer already exists [2022-06-27T16:23:46.359Z] eedb09d30660: Layer already exists [2022-06-27T16:23:46.359Z] a95f2e582970: Layer already exists [2022-06-27T16:23:46.359Z] 505d2b1aba7e: Layer already exists [2022-06-27T16:23:46.630Z] 2.2.1-dev.5: digest: sha256:7580dbfd18a5be6e866ab1eeb79cfd945f9c61c11acd5fcacb0c572f983133e0 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:46.996Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:47.354Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [2022-06-27T16:23:47.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-27T16:23:47.354Z] a95f2e582970: Preparing [2022-06-27T16:23:47.354Z] f0f872b541b8: Preparing [2022-06-27T16:23:47.354Z] 505d2b1aba7e: Preparing [2022-06-27T16:23:47.354Z] eedb09d30660: Preparing [2022-06-27T16:23:47.354Z] f73e7dbfee58: Preparing [2022-06-27T16:23:47.354Z] eedb09d30660: Layer already exists [2022-06-27T16:23:47.354Z] f0f872b541b8: Layer already exists [2022-06-27T16:23:47.354Z] 505d2b1aba7e: Layer already exists [2022-06-27T16:23:47.354Z] f73e7dbfee58: Layer already exists [2022-06-27T16:23:47.354Z] a95f2e582970: Layer already exists [2022-06-27T16:23:47.626Z] 2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5: digest: sha256:7580dbfd18a5be6e866ab1eeb79cfd945f9c61c11acd5fcacb0c572f983133e0 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:47.993Z] + 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-27T16:23:48.352Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-06-27T16:23:48.352Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-27T16:23:48.352Z] a95f2e582970: Preparing [2022-06-27T16:23:48.352Z] f0f872b541b8: Preparing [2022-06-27T16:23:48.352Z] 505d2b1aba7e: Preparing [2022-06-27T16:23:48.352Z] eedb09d30660: Preparing [2022-06-27T16:23:48.352Z] f73e7dbfee58: Preparing [2022-06-27T16:23:48.352Z] eedb09d30660: Layer already exists [2022-06-27T16:23:48.352Z] a95f2e582970: Layer already exists [2022-06-27T16:23:48.352Z] 505d2b1aba7e: Layer already exists [2022-06-27T16:23:48.352Z] f0f872b541b8: Layer already exists [2022-06-27T16:23:48.352Z] f73e7dbfee58: Layer already exists [2022-06-27T16:23:48.626Z] main: digest: sha256:7580dbfd18a5be6e866ab1eeb79cfd945f9c61c11acd5fcacb0c572f983133e0 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T16:23:48.688Z] ===================================================== [Pipeline] echo [2022-06-27T16:23:48.698Z] taggedImages: [2022-06-27T16:23:48.698Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2c395e916656ff011f59f73b4cbc9d122ab02d46 [2022-06-27T16:23:48.698Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-27T16:23:48.698Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.5 [2022-06-27T16:23:48.698Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2c395e916656ff011f59f73b4cbc9d122ab02d46-2.2.1-dev.5 [2022-06-27T16:23:48.698Z] - 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-27T16:23:49.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T16:23:49.069Z] [2022-06-27T16:23:49.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:23:49.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T16:23:49.701Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T16:23:49.701Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T16:23:49.701Z] 04944245beec: Pulling fs layer [2022-06-27T16:23:49.701Z] 699f458cf7ca: Pulling fs layer [2022-06-27T16:23:49.701Z] 765212b225bb: Pulling fs layer [2022-06-27T16:23:49.701Z] f23df028b6ca: Pulling fs layer [2022-06-27T16:23:49.701Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T16:23:49.701Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T16:23:49.701Z] 765212b225bb: Waiting [2022-06-27T16:23:49.701Z] f23df028b6ca: Waiting [2022-06-27T16:23:49.701Z] d65c8cfc05b1: Waiting [2022-06-27T16:23:49.701Z] 2437ff75d9bd: Waiting [2022-06-27T16:23:49.701Z] 04944245beec: Verifying Checksum [2022-06-27T16:23:49.701Z] 04944245beec: Download complete [2022-06-27T16:23:49.701Z] 765212b225bb: Verifying Checksum [2022-06-27T16:23:49.701Z] 765212b225bb: Download complete [2022-06-27T16:23:49.701Z] f23df028b6ca: Verifying Checksum [2022-06-27T16:23:49.701Z] f23df028b6ca: Download complete [2022-06-27T16:23:49.701Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T16:23:49.701Z] d65c8cfc05b1: Download complete [2022-06-27T16:23:49.974Z] 699f458cf7ca: Verifying Checksum [2022-06-27T16:23:49.974Z] 699f458cf7ca: Download complete [2022-06-27T16:23:50.249Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T16:23:50.249Z] 8998bd30e6a1: Download complete [2022-06-27T16:23:52.880Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T16:23:52.880Z] 2437ff75d9bd: Download complete [2022-06-27T16:23:54.869Z] 8998bd30e6a1: Pull complete [2022-06-27T16:23:55.146Z] 04944245beec: Pull complete [2022-06-27T16:23:56.582Z] 699f458cf7ca: Pull complete [2022-06-27T16:23:56.582Z] 765212b225bb: Pull complete [2022-06-27T16:23:57.563Z] f23df028b6ca: Pull complete [2022-06-27T16:23:57.563Z] d65c8cfc05b1: Pull complete [2022-06-27T16:24:12.656Z] 2437ff75d9bd: Pull complete [2022-06-27T16:24:12.656Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T16:24:12.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T16:24:12.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:24:12.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-16118 does not seem to be running inside a container [2022-06-27T16:24:13.016Z] $ 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/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@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-27T16:24:15.581Z] $ docker top cebbdab867216c769c484e91a40694dcfc2ecabd9b248e9224594e91a90359d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:24:16.484Z] ---> job-cost.sh [2022-06-27T16:24:16.484Z] lf-activate-venv: SKIPPING [2022-06-27T16:24:16.484Z] INFO: No Stack... [2022-06-27T16:24:16.757Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T16:24:17.736Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T16:24:18.397Z] + cat /w/workspace/device-mqtt-go/52/archives/cost.csv [2022-06-27T16:24:18.398Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T16:24:18.460Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] [2022-06-27T16:24:18.466Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] did not exist. Created. [2022-06-27T16:24:18.466Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T16:24:19.142Z] /w/workspace/device-mqtt-go/52@tmp/durable-fc920903/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T16:24:19.819Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T16:24:19.849Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T16:24:19.906Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T16:24:19.913Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T16:24:19.930Z] $ docker stop --time=1 cebbdab867216c769c484e91a40694dcfc2ecabd9b248e9224594e91a90359d5 [2022-06-27T16:24:21.436Z] $ docker rm -f cebbdab867216c769c484e91a40694dcfc2ecabd9b248e9224594e91a90359d5 [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-27T16:24:21.890Z] provisioning config files... [2022-06-27T16:24:21.898Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2029112954358706100tmp [Pipeline] { [Pipeline] sh [2022-06-27T16:24:22.195Z] + set +x [2022-06-27T16:24:22.195Z] + curl -s https://codecov.io/bash [2022-06-27T16:24:22.195Z] + bash -s -- [2022-06-27T16:24:22.195Z] [2022-06-27T16:24:22.195Z] _____ _ [2022-06-27T16:24:22.195Z] / ____| | | [2022-06-27T16:24:22.195Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T16:24:22.195Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T16:24:22.195Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T16:24:22.195Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T16:24:22.195Z] Bash-1.0.6 [2022-06-27T16:24:22.195Z] [2022-06-27T16:24:22.195Z] [2022-06-27T16:24:22.195Z] ==> git version 2.25.1 found [2022-06-27T16:24:22.195Z] ==> 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-27T16:24:22.195Z] Release-Date: 2020-01-08 [2022-06-27T16:24:22.195Z] 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-27T16:24:22.195Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T16:24:22.195Z] ==> Jenkins CI detected. [2022-06-27T16:24:22.195Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-27T16:24:22.195Z] project root: . [2022-06-27T16:24:22.195Z] --> token set from env [2022-06-27T16:24:22.195Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T16:24:22.195Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T16:24:22.195Z] ==> Python coveragepy not found [2022-06-27T16:24:22.195Z] ==> Searching for coverage reports in: [2022-06-27T16:24:22.195Z] + . [2022-06-27T16:24:22.195Z] -> Found 1 reports [2022-06-27T16:24:22.195Z] ==> Detecting git/mercurial file structure [2022-06-27T16:24:22.195Z] ==> Reading reports [2022-06-27T16:24:22.195Z] + ./coverage.out bytes=17887 [2022-06-27T16:24:22.195Z] ==> Appending adjustments [2022-06-27T16:24:22.195Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T16:24:22.455Z] + Found adjustments [2022-06-27T16:24:22.455Z] ==> Gzipping contents [2022-06-27T16:24:22.455Z] 4.0K /tmp/codecov.TZV91u.gz [2022-06-27T16:24:22.455Z] ==> Uploading reports [2022-06-27T16:24:22.455Z] url: https://codecov.io [2022-06-27T16:24:22.455Z] query: branch=main&commit=2c395e916656ff011f59f73b4cbc9d122ab02d46&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-27T16:24:22.455Z] -> Pinging Codecov [2022-06-27T16:24:22.455Z] 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=2c395e916656ff011f59f73b4cbc9d122ab02d46&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-27T16:24:22.716Z] -> Uploading to [2022-06-27T16:24:22.716Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/7D719EC7BBE17E464838252E33014C33/2c395e916656ff011f59f73b4cbc9d122ab02d46/09827ab0-3a4c-4964-98ea-5e0b06739274.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T162422Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5aa4f9ff8cf64123f857e531e1d688e4a6f409ab96bb38eb7433a4d1617ddd16 [2022-06-27T16:24:22.716Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T16:24:22.716Z] Dload Upload Total Spent Left Speed [2022-06-27T16:24:22.716Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3239 0 0 100 3239 0 16034 --:--:-- --:--:-- --:--:-- 16034 [2022-06-27T16:24:22.716Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] } [2022-06-27T16:24:22.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-27T16:24:22.911Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-27T16:24:22.924Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:24:23.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T16:24:23.221Z] [2022-06-27T16:24:23.221Z] 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-27T16:24:23.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T16:24:23.522Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-27T16:24:23.522Z] df9b9388f04a: Pulling fs layer [2022-06-27T16:24:23.522Z] 52dc419b0ee2: Pulling fs layer [2022-06-27T16:24:23.522Z] 25bc292e5bac: Pulling fs layer [2022-06-27T16:24:23.522Z] 114826534d7a: Pulling fs layer [2022-06-27T16:24:23.522Z] 4657fd5d0bcf: Pulling fs layer [2022-06-27T16:24:23.522Z] 6ad1cebc031e: Pulling fs layer [2022-06-27T16:24:23.522Z] 8a3aa393b2d8: Pulling fs layer [2022-06-27T16:24:23.522Z] 114826534d7a: Waiting [2022-06-27T16:24:23.522Z] 6ad1cebc031e: Waiting [2022-06-27T16:24:23.522Z] 4657fd5d0bcf: Waiting [2022-06-27T16:24:23.522Z] 8a3aa393b2d8: Waiting [2022-06-27T16:24:23.522Z] 25bc292e5bac: Verifying Checksum [2022-06-27T16:24:23.522Z] 25bc292e5bac: Download complete [2022-06-27T16:24:23.522Z] 52dc419b0ee2: Verifying Checksum [2022-06-27T16:24:23.522Z] 52dc419b0ee2: Download complete [2022-06-27T16:24:23.522Z] 4657fd5d0bcf: Verifying Checksum [2022-06-27T16:24:23.522Z] 4657fd5d0bcf: Download complete [2022-06-27T16:24:23.522Z] df9b9388f04a: Verifying Checksum [2022-06-27T16:24:23.522Z] df9b9388f04a: Download complete [2022-06-27T16:24:23.787Z] 6ad1cebc031e: Verifying Checksum [2022-06-27T16:24:23.787Z] 6ad1cebc031e: Download complete [2022-06-27T16:24:23.787Z] df9b9388f04a: Pull complete [2022-06-27T16:24:23.787Z] 52dc419b0ee2: Pull complete [2022-06-27T16:24:24.055Z] 25bc292e5bac: Pull complete [2022-06-27T16:24:24.318Z] 114826534d7a: Verifying Checksum [2022-06-27T16:24:24.318Z] 114826534d7a: Download complete [2022-06-27T16:24:24.578Z] 8a3aa393b2d8: Verifying Checksum [2022-06-27T16:24:24.578Z] 8a3aa393b2d8: Download complete [2022-06-27T16:24:28.780Z] 114826534d7a: Pull complete [2022-06-27T16:24:28.780Z] 4657fd5d0bcf: Pull complete [2022-06-27T16:24:28.780Z] 6ad1cebc031e: Pull complete [2022-06-27T16:24:31.318Z] 8a3aa393b2d8: Pull complete [2022-06-27T16:24:31.318Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-27T16:24:31.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T16:24:31.318Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:24:31.409Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:24:31.449Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-27T16:24:33.320Z] $ docker top 27400982e08f7c921d15c3419acc04114aacee3dfc861f5bfcacaa6b0d57b92f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-27T16:24:33.393Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-06-27T16:24:33.683Z] + set -o pipefail [2022-06-27T16:24:33.683Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-06-27T16:24:40.262Z] [2022-06-27T16:24:40.262Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-06-27T16:24:40.262Z] [2022-06-27T16:24:40.262Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/0dd57707-6718-417e-ab91-8a4645e99bcc [2022-06-27T16:24:40.262Z] [2022-06-27T16:24:40.262Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-27T16:24:40.262Z] [2022-06-27T16:24:40.262Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-27T16:24:40.263Z] [2022-06-27T16:24:40.263Z] [2022-06-27T16:24:40.263Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-27T16:24:40.263Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-27T16:24:40.278Z] $ docker stop --time=1 27400982e08f7c921d15c3419acc04114aacee3dfc861f5bfcacaa6b0d57b92f [2022-06-27T16:24:42.665Z] $ docker rm -f 27400982e08f7c921d15c3419acc04114aacee3dfc861f5bfcacaa6b0d57b92f [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-27T16:24:43.369Z] + git log --format=format:%s -1 2c395e916656ff011f59f73b4cbc9d122ab02d46 [Pipeline] sh [2022-06-27T16:24:43.667Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T16:24:43.667Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:24:43.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T16:24:43.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:24:44.049Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:24:44.087Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T16:24:44.520Z] $ docker top 152ba4701399c44b96533ac8ab5dff920d02abf4f7ffc316acba9804f666f347 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T16:24:44.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T16:24:44.604Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T16:24:44.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T16:24:44.725Z] $ docker exec 152ba4701399c44b96533ac8ab5dff920d02abf4f7ffc316acba9804f666f347 ssh-agent [2022-06-27T16:24:44.848Z] SSH_AUTH_SOCK=/tmp/ssh-VH7aNBdiaHDK/agent.32 [2022-06-27T16:24:44.848Z] SSH_AGENT_PID=38 [2022-06-27T16:24:44.853Z] Running ssh-add (command line suppressed) [2022-06-27T16:24:44.968Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_185475253043285142.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_185475253043285142.key) [2022-06-27T16:24:44.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T16:24:45.274Z] + git semver tag [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,473 [run_tag] DEBUG tag force:False [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,474 [check_head_tag] DEBUG check head tag [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,474 [execute] INFO git cat-file --batch-check [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,478 [execute] INFO git cat-file --batch [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,487 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,487 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-27T16:24:45.535Z] 2022-06-27 16:24:45,493 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:24:45.535Z] 2.2.1-dev.5 [Pipeline] } [2022-06-27T16:24:45.548Z] $ docker exec --env ******** --env ******** 152ba4701399c44b96533ac8ab5dff920d02abf4f7ffc316acba9804f666f347 ssh-agent -k [2022-06-27T16:24:45.660Z] unset SSH_AUTH_SOCK; [2022-06-27T16:24:45.661Z] unset SSH_AGENT_PID; [2022-06-27T16:24:45.661Z] echo Agent pid 38 killed; [2022-06-27T16:24:45.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T16:24:45.976Z] + git semver [Pipeline] } [2022-06-27T16:24:46.253Z] $ docker stop --time=1 152ba4701399c44b96533ac8ab5dff920d02abf4f7ffc316acba9804f666f347 [2022-06-27T16:24:47.557Z] $ docker rm -f 152ba4701399c44b96533ac8ab5dff920d02abf4f7ffc316acba9804f666f347 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:24:47.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-27T16:24:47.957Z] [2022-06-27T16:24:47.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:24:48.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-27T16:24:48.260Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-27T16:24:48.260Z] ab5ef0e58194: Pulling fs layer [2022-06-27T16:24:48.261Z] 9712f1f96733: Pulling fs layer [2022-06-27T16:24:48.261Z] 63f879dbbcfc: Pulling fs layer [2022-06-27T16:24:48.261Z] 0d9ebad4ef96: Pulling fs layer [2022-06-27T16:24:48.261Z] e9a5061849ea: Pulling fs layer [2022-06-27T16:24:48.261Z] d747dcd14b5f: Pulling fs layer [2022-06-27T16:24:48.261Z] 2de7ff778b66: Pulling fs layer [2022-06-27T16:24:48.261Z] 0d9ebad4ef96: Waiting [2022-06-27T16:24:48.261Z] e9a5061849ea: Waiting [2022-06-27T16:24:48.261Z] d747dcd14b5f: Waiting [2022-06-27T16:24:48.261Z] 2de7ff778b66: Waiting [2022-06-27T16:24:48.261Z] 9712f1f96733: Verifying Checksum [2022-06-27T16:24:48.261Z] 9712f1f96733: Download complete [2022-06-27T16:24:48.524Z] 63f879dbbcfc: Verifying Checksum [2022-06-27T16:24:48.524Z] 63f879dbbcfc: Download complete [2022-06-27T16:24:48.785Z] e9a5061849ea: Verifying Checksum [2022-06-27T16:24:48.785Z] e9a5061849ea: Download complete [2022-06-27T16:24:48.785Z] 0d9ebad4ef96: Verifying Checksum [2022-06-27T16:24:48.785Z] 0d9ebad4ef96: Download complete [2022-06-27T16:24:48.785Z] d747dcd14b5f: Verifying Checksum [2022-06-27T16:24:48.785Z] d747dcd14b5f: Download complete [2022-06-27T16:24:49.044Z] ab5ef0e58194: Download complete [2022-06-27T16:24:49.044Z] 2de7ff778b66: Verifying Checksum [2022-06-27T16:24:49.044Z] 2de7ff778b66: Download complete [2022-06-27T16:24:51.580Z] ab5ef0e58194: Pull complete [2022-06-27T16:24:51.845Z] 9712f1f96733: Pull complete [2022-06-27T16:24:52.413Z] 63f879dbbcfc: Pull complete [2022-06-27T16:24:56.612Z] 0d9ebad4ef96: Pull complete [2022-06-27T16:24:56.612Z] e9a5061849ea: Pull complete [2022-06-27T16:24:56.612Z] d747dcd14b5f: Pull complete [2022-06-27T16:24:57.993Z] 2de7ff778b66: Pull complete [2022-06-27T16:24:57.994Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-27T16:24:57.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-27T16:24:57.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:24:58.089Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:24:58.130Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-27T16:25:00.575Z] $ docker top 66f891121edc7ab1d44be30587aaf63501550b78ddaefd65d5fb2a1c5593cbb1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-27T16:25:00.651Z] provisioning config files... [2022-06-27T16:25:00.659Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6494154056957952802tmp [2022-06-27T16:25:00.670Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1467392320440832431tmp [2022-06-27T16:25:00.683Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3983600884229770103tmp [Pipeline] { [Pipeline] echo [2022-06-27T16:25:00.698Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:00.981Z] ---> sigul-configuration.sh [2022-06-27T16:25:00.982Z] gpg: directory `/root/.gnupg' created [2022-06-27T16:25:00.982Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-27T16:25:00.982Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-27T16:25:00.982Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-27T16:25:00.982Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-27T16:25:00.982Z] gpg: CAST5 encrypted data [2022-06-27T16:25:00.982Z] gpg: encrypted with 1 passphrase [2022-06-27T16:25:00.982Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-27T16:25:01.278Z] + mkdir /home/jenkins [2022-06-27T16:25:01.278Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-27T16:25:01.574Z] + 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-27T16:25:01.583Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:01.872Z] ---> sigul-install.sh [2022-06-27T16:25:01.872Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-27T16:25:02.165Z] + git tag --list [2022-06-27T16:25:02.165Z] 0.7.1 [2022-06-27T16:25:02.165Z] v1.0.0 [2022-06-27T16:25:02.165Z] v1.1.0 [2022-06-27T16:25:02.165Z] v1.1.1 [2022-06-27T16:25:02.165Z] v1.2.2 [2022-06-27T16:25:02.165Z] v1.3.0 [2022-06-27T16:25:02.165Z] v1.3.1 [2022-06-27T16:25:02.165Z] v2.0.0 [2022-06-27T16:25:02.165Z] v2.1.0 [2022-06-27T16:25:02.165Z] v2.1.1 [2022-06-27T16:25:02.165Z] v2.1.1-dev.1 [2022-06-27T16:25:02.165Z] v2.1.1-dev.2 [2022-06-27T16:25:02.165Z] v2.2.0 [2022-06-27T16:25:02.165Z] v2.2.1-dev.1 [2022-06-27T16:25:02.165Z] v2.2.1-dev.2 [2022-06-27T16:25:02.165Z] v2.2.1-dev.3 [2022-06-27T16:25:02.165Z] v2.2.1-dev.4 [2022-06-27T16:25:02.165Z] v2.2.1-dev.5 [Pipeline] sh [2022-06-27T16:25:02.452Z] + lftools sign git-tag v2.2.1-dev.5 [2022-06-27T16:25:03.025Z] Signing Git tag with Sigul... [2022-06-27T16:25:03.025Z] Signing v2.2.1-dev.5 [Pipeline] echo [2022-06-27T16:25:03.293Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:03.580Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-27T16:25:03.588Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-27T16:25:03.613Z] $ docker stop --time=1 66f891121edc7ab1d44be30587aaf63501550b78ddaefd65d5fb2a1c5593cbb1 [2022-06-27T16:25:04.898Z] $ docker rm -f 66f891121edc7ab1d44be30587aaf63501550b78ddaefd65d5fb2a1c5593cbb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-27T16:25:05.321Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T16:25:05.321Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:25:05.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T16:25:05.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:25:05.723Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:25:05.766Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T16:25:06.210Z] $ docker top 429b673bc8762c196bded7dab145b09fa6745c8153cf206b9818f4f5f307c3b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T16:25:06.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T16:25:06.303Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T16:25:06.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T16:25:06.426Z] $ docker exec 429b673bc8762c196bded7dab145b09fa6745c8153cf206b9818f4f5f307c3b4 ssh-agent [2022-06-27T16:25:06.548Z] SSH_AUTH_SOCK=/tmp/ssh-QCSOFoCTEmnv/agent.32 [2022-06-27T16:25:06.548Z] SSH_AGENT_PID=39 [2022-06-27T16:25:06.554Z] Running ssh-add (command line suppressed) [2022-06-27T16:25:06.670Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7443731838162298440.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7443731838162298440.key) [2022-06-27T16:25:06.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T16:25:06.975Z] + git semver bump pre [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,168 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,168 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,168 [bump_version] DEBUG bumped version:2.2.1-dev.6 [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,168 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,168 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,168 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,170 [execute] INFO git cat-file --batch-check [2022-06-27T16:25:07.238Z] 2022-06-27 16:25:07,170 [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-27T16:25:07.238Z] 2022-06-27 16:25:07,175 [execute] INFO git cat-file --batch [2022-06-27T16:25:07.239Z] 2022-06-27 16:25:07,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T16:25:07.239Z] 2022-06-27 16:25:07,181 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:25:07.239Z] 2.2.1-dev.6 [Pipeline] } [2022-06-27T16:25:07.253Z] $ docker exec --env ******** --env ******** 429b673bc8762c196bded7dab145b09fa6745c8153cf206b9818f4f5f307c3b4 ssh-agent -k [2022-06-27T16:25:07.380Z] unset SSH_AUTH_SOCK; [2022-06-27T16:25:07.380Z] unset SSH_AGENT_PID; [2022-06-27T16:25:07.380Z] echo Agent pid 39 killed; [2022-06-27T16:25:07.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T16:25:07.695Z] + git semver [Pipeline] } [2022-06-27T16:25:07.975Z] $ docker stop --time=1 429b673bc8762c196bded7dab145b09fa6745c8153cf206b9818f4f5f307c3b4 [2022-06-27T16:25:09.321Z] $ docker rm -f 429b673bc8762c196bded7dab145b09fa6745c8153cf206b9818f4f5f307c3b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T16:25:09.677Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T16:25:09.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:25:09.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T16:25:09.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:25:10.060Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:25:10.101Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T16:25:10.486Z] $ docker top 7b192b9fd3792a5bcf0a724a01c61997996754734d4eb8f45685966288c278a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T16:25:10.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T16:25:10.597Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T16:25:10.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T16:25:10.725Z] $ docker exec 7b192b9fd3792a5bcf0a724a01c61997996754734d4eb8f45685966288c278a7 ssh-agent [2022-06-27T16:25:10.840Z] SSH_AUTH_SOCK=/tmp/ssh-3tOlSCkhyBFb/agent.33 [2022-06-27T16:25:10.840Z] SSH_AGENT_PID=39 [2022-06-27T16:25:10.846Z] Running ssh-add (command line suppressed) [2022-06-27T16:25:10.971Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2047868117656004852.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2047868117656004852.key) [2022-06-27T16:25:10.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T16:25:11.274Z] + git semver push [2022-06-27T16:25:11.535Z] 2022-06-27 16:25:11,468 [run_push] DEBUG push [2022-06-27T16:25:11.535Z] 2022-06-27 16:25:11,469 [execute] INFO git cat-file --batch-check [2022-06-27T16:25:11.535Z] 2022-06-27 16:25:11,469 [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-27T16:25:11.535Z] 2022-06-27 16:25:11,473 [execute] INFO git rev-list d14a7b959627f71a6e22760982301b7c016e3e6c -- [2022-06-27T16:25:11.535Z] 2022-06-27 16:25:11,474 [execute] DEBUG Popen(['git', 'rev-list', 'd14a7b959627f71a6e22760982301b7c016e3e6c', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-27T16:25:11.535Z] 2022-06-27 16:25:11,481 [execute] INFO git fetch -v origin [2022-06-27T16:25:11.535Z] 2022-06-27 16:25:11,481 [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-27T16:25:12.107Z] 2022-06-27 16:25:11,954 [run_push] DEBUG no remote changes detected [2022-06-27T16:25:12.107Z] 2022-06-27 16:25:11,954 [execute] INFO git push origin semver [2022-06-27T16:25:12.107Z] 2022-06-27 16:25:11,955 [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-27T16:25:13.050Z] 2022-06-27 16:25:12,825 [run_push] DEBUG push all version tags [2022-06-27T16:25:13.050Z] 2022-06-27 16:25:12,826 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-27T16:25:13.050Z] 2022-06-27 16:25:12,826 [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-27T16:25:13.622Z] 2022-06-27 16:25:13,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-27T16:25:13.622Z] 2.2.1-dev.6 [Pipeline] } [2022-06-27T16:25:13.637Z] $ docker exec --env ******** --env ******** 7b192b9fd3792a5bcf0a724a01c61997996754734d4eb8f45685966288c278a7 ssh-agent -k [2022-06-27T16:25:13.745Z] unset SSH_AUTH_SOCK; [2022-06-27T16:25:13.745Z] unset SSH_AGENT_PID; [2022-06-27T16:25:13.745Z] echo Agent pid 39 killed; [2022-06-27T16:25:13.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T16:25:14.061Z] + git semver [Pipeline] } [2022-06-27T16:25:14.338Z] $ docker stop --time=1 7b192b9fd3792a5bcf0a724a01c61997996754734d4eb8f45685966288c278a7 [2022-06-27T16:25:15.648Z] $ docker rm -f 7b192b9fd3792a5bcf0a724a01c61997996754734d4eb8f45685966288c278a7 [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-27T16:25:16.269Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-06-27T16:25:16.269Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-27T16:25:16.269Z] total 16 [2022-06-27T16:25:16.269Z] drwxr-xr-x 3 root root 4096 Jun 27 16:17 . [2022-06-27T16:25:16.269Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 16:25 .. [2022-06-27T16:25:16.269Z] drwxr-xr-x 2 root root 4096 Jun 27 16:17 cost [2022-06-27T16:25:16.269Z] -rw-r--r-- 1 root root 84 Jun 27 16:17 cost.csv [2022-06-27T16:25:16.269Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-27T16:25:16.269Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-27T16:25:16.269Z] total 16 [2022-06-27T16:25:16.269Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 16:17 . [2022-06-27T16:25:16.269Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 16:25 .. [2022-06-27T16:25:16.269Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 16:17 cost [2022-06-27T16:25:16.269Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 27 16:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:16.608Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:17.537Z] ---> package-listing.sh [2022-06-27T16:25:17.537Z] ++ facter osfamily [2022-06-27T16:25:17.537Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T16:25:17.798Z] + OS_FAMILY=debian [2022-06-27T16:25:17.798Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-27T16:25:17.798Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T16:25:17.798Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T16:25:17.798Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T16:25:17.798Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T16:25:17.798Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-27T16:25:17.798Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T16:25:17.798Z] + case "${OS_FAMILY}" in [2022-06-27T16:25:17.798Z] + dpkg -l [2022-06-27T16:25:17.798Z] + grep '^ii' [2022-06-27T16:25:17.798Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T16:25:17.798Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T16:25:17.798Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T16:25:17.798Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-27T16:25:17.798Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-06-27T16:25:17.798Z] + 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-27T16:25:17.809Z] 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-27T16:25:18.088Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:25:18.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T16:25:18.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:25:18.746Z] prd-ubuntu20.04-docker-8c-8g-16117 does not seem to be running inside a container [2022-06-27T16:25:18.782Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T16:25:19.031Z] $ docker top a2f8cd07400b1cf3961bf7e982580c56949370bdb4a8e178e1f862281c61d436 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T16:25:19.391Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T16:25:19.680Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T16:25:19.963Z] + ls /var/log/sa-host [2022-06-27T16:25:19.963Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T16:25:20.097Z] provisioning config files... [2022-06-27T16:25:20.107Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2184545442306908182tmp [Pipeline] { [Pipeline] echo [2022-06-27T16:25:20.119Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:20.401Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T16:25:20.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:20.743Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T16:25:20.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:21.036Z] ---> sudo-logs.sh [2022-06-27T16:25:21.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T16:25:21.059Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:21.355Z] ---> job-cost.sh [2022-06-27T16:25:21.355Z] lf-activate-venv: SKIPPING [2022-06-27T16:25:21.355Z] DEBUG: total: 0.2199999988079071 [2022-06-27T16:25:21.355Z] INFO: Retrieving Stack Cost... [2022-06-27T16:25:21.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T16:25:22.187Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T16:25:22.197Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:25:22.485Z] ---> logs-deploy.sh [2022-06-27T16:25:22.485Z] lf-activate-venv: SKIPPING [2022-06-27T16:25:22.485Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/52 [2022-06-27T16:25:22.485Z] INFO: archiving workspace using pattern(s): [2022-06-27T16:25:23.429Z] Archives upload complete. [2022-06-27T16:25:23.429Z] INFO: archiving logs to Nexus