Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 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-ssh16939762583214829653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh7057355263591368926.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10705107868411098772.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 shared 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-ssh15213611503374919823.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh17634736607372229988.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 shared 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4829 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.24.4' 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 /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh1898921974743448453.key > 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 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 (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 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 Commit message: "build(snap): source metadata from repo (#328)" > git rev-list --no-walk 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-08T12:33:04.201Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-08T12:33:04.245Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-08T12:33:04.261Z] ========================================================= [2022-02-08T12:33:04.261Z] EdgeX Global Pipelines Version Info [2022-02-08T12:33:04.261Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:33:05.380Z] ------------------- [2022-02-08T12:33:05.380Z] stable info: [2022-02-08T12:33:05.380Z] ------------------- [2022-02-08T12:33:05.380Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-08T12:33:05.380Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-08T12:33:05.380Z] Message: update stable to v1.0.220 [2022-02-08T12:33:05.952Z] ------------------- [2022-02-08T12:33:05.952Z] experimental info: [2022-02-08T12:33:05.952Z] ------------------- [2022-02-08T12:33:05.952Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-08T12:33:05.952Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-08T12:33:05.952Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-08T12:33:06.060Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-02-08T12:33:06.076Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-02-08T12:33:06.091Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-08T12:33:06.109Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-08T12:33:06.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-08T12:33:06.141Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-08T12:33:06.153Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-08T12:33:06.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-08T12:33:06.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-08T12:33:06.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-08T12:33:06.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-08T12:33:06.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-02-08T12:33:06.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-08T12:33:06.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-08T12:33:06.264Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-08T12:33:06.277Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-08T12:33:06.295Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-08T12:33:06.311Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-08T12:33:06.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-08T12:33:06.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-02-08T12:33:06.349Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-08T12:33:06.361Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-08T12:33:06.374Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-08T12:33:06.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-08T12:33:06.398Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-08T12:33:06.420Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-08T12:33:06.436Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-02-08T12:33:06.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-02-08T12:33:06.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-02-08T12:33:06.476Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo [2022-02-08T12:33:06.489Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 195658a [Pipeline] echo [2022-02-08T12:33:06.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T12:33:06.542Z] provisioning config files... [2022-02-08T12:33:06.555Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1693395062385896925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:33:06.873Z] ---> docker-login.sh [2022-02-08T12:33:06.873Z] nexus3.edgexfoundry.org:10001 [2022-02-08T12:33:06.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:07.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:07.139Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:07.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:07.139Z] [2022-02-08T12:33:07.139Z] Login Succeeded [2022-02-08T12:33:07.139Z] nexus3.edgexfoundry.org:10002 [2022-02-08T12:33:07.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:07.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:07.139Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:07.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:07.139Z] [2022-02-08T12:33:07.139Z] Login Succeeded [2022-02-08T12:33:07.139Z] nexus3.edgexfoundry.org:10003 [2022-02-08T12:33:07.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:07.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:07.402Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:07.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:07.402Z] [2022-02-08T12:33:07.402Z] Login Succeeded [2022-02-08T12:33:07.402Z] nexus3.edgexfoundry.org:10004 [2022-02-08T12:33:07.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:07.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:07.402Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:07.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:07.402Z] [2022-02-08T12:33:07.402Z] Login Succeeded [2022-02-08T12:33:07.403Z] docker.io [2022-02-08T12:33:07.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:07.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:07.976Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:07.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:07.976Z] [2022-02-08T12:33:07.976Z] Login Succeeded [2022-02-08T12:33:07.976Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T12:33:07.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-08T12:33:08.365Z] + git rev-list -1 --merges 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0~1..195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo [2022-02-08T12:33:08.394Z] -----------> git rev-list -1 --merges 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0~1..195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [false] [Pipeline] sh [2022-02-08T12:33:08.696Z] + git log --format=format:%s -1 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo [2022-02-08T12:33:08.713Z] ========================================================= [2022-02-08T12:33:08.713Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-08T12:33:08.713Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-08T12:33:09.065Z] + git log --format=format:%s -1 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo [2022-02-08T12:33:09.077Z] [semverPrep] GIT_COMMIT: 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0, Commit Message: build(snap): source metadata from repo (#328) [Pipeline] echo [2022-02-08T12:33:09.084Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-08T12:33:09.513Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-08T12:33:09.513Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-08T12:33:09.513Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-08T12:33:09.513Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-08T12:33:09.513Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-08T12:33:09.513Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-08T12:33:09.513Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:33:09.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-08T12:33:09.937Z] [2022-02-08T12:33:09.937Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:33:10.248Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-08T12:33:10.248Z] latest: Pulling from edgex-devops/git-semver [2022-02-08T12:33:10.248Z] a0d0a0d46f8b: Pulling fs layer [2022-02-08T12:33:10.248Z] 3e5f54012d9b: Pulling fs layer [2022-02-08T12:33:10.248Z] 4c7163046ea9: Pulling fs layer [2022-02-08T12:33:10.248Z] 0c2d73faf560: Pulling fs layer [2022-02-08T12:33:10.248Z] 0c2d73faf560: Waiting [2022-02-08T12:33:10.248Z] 3e5f54012d9b: Verifying Checksum [2022-02-08T12:33:10.248Z] 3e5f54012d9b: Download complete [2022-02-08T12:33:10.248Z] a0d0a0d46f8b: Verifying Checksum [2022-02-08T12:33:10.248Z] a0d0a0d46f8b: Download complete [2022-02-08T12:33:10.248Z] 4c7163046ea9: Verifying Checksum [2022-02-08T12:33:10.248Z] 4c7163046ea9: Download complete [2022-02-08T12:33:10.248Z] 0c2d73faf560: Verifying Checksum [2022-02-08T12:33:10.248Z] 0c2d73faf560: Download complete [2022-02-08T12:33:10.513Z] a0d0a0d46f8b: Pull complete [2022-02-08T12:33:10.513Z] 3e5f54012d9b: Pull complete [2022-02-08T12:33:10.773Z] 4c7163046ea9: Pull complete [2022-02-08T12:33:11.035Z] 0c2d73faf560: Pull complete [2022-02-08T12:33:11.035Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-08T12:33:11.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-08T12:33:11.035Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-08T12:33:11.109Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:33:11.092Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-02-08T12:33:11.711Z] $ docker top 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-08T12:33:11.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-08T12:33:11.826Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-08T12:33:11.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-08T12:33:11.934Z] $ docker exec 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent [2022-02-08T12:33:12.038Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGFIemO/agent.14 [2022-02-08T12:33:12.038Z] SSH_AGENT_PID=21 [2022-02-08T12:33:12.049Z] Running ssh-add (command line suppressed) [2022-02-08T12:33:12.148Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3924264029698355973.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3924264029698355973.key) [2022-02-08T12:33:12.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-08T12:33:12.458Z] + git tag --points-at HEAD [Pipeline] } [2022-02-08T12:33:12.470Z] $ docker exec --env ******** --env ******** 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent -k [2022-02-08T12:33:12.560Z] unset SSH_AUTH_SOCK; [2022-02-08T12:33:12.561Z] unset SSH_AGENT_PID; [2022-02-08T12:33:12.561Z] echo Agent pid 21 killed; [2022-02-08T12:33:12.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-08T12:33:12.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-08T12:33:12.595Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-08T12:33:12.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-08T12:33:12.698Z] $ docker exec 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent [2022-02-08T12:33:12.805Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJoobBg/agent.56 [2022-02-08T12:33:12.805Z] SSH_AGENT_PID=62 [2022-02-08T12:33:12.809Z] Running ssh-add (command line suppressed) [2022-02-08T12:33:12.895Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4257080877785210417.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4257080877785210417.key) [2022-02-08T12:33:12.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-08T12:33:13.219Z] + git semver init [2022-02-08T12:33:13.219Z] # -> Open(): unable to determine branch for HEAD [2022-02-08T12:33:13.219Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-02-08T12:33:13.220Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-02-08T12:33:13.220Z] # $SEMVER_REMOTE_NAME = origin [2022-02-08T12:33:13.220Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-08T12:33:13.220Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-08T12:33:13.220Z] # $SEMVER_BRANCH = main [2022-02-08T12:33:13.220Z] # $SEMVER_TEMP = /tmp/semver-410447032 [2022-02-08T12:33:13.220Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-02-08T12:33:14.163Z] # '/tmp/semver-410447032' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-02-08T12:33:14.163Z] # -> Force: false [2022-02-08T12:33:14.163Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-02-08T12:33:14.174Z] $ docker exec --env ******** --env ******** 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent -k [2022-02-08T12:33:14.262Z] unset SSH_AUTH_SOCK; [2022-02-08T12:33:14.262Z] unset SSH_AGENT_PID; [2022-02-08T12:33:14.262Z] echo Agent pid 62 killed; [2022-02-08T12:33:14.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-08T12:33:14.582Z] + git semver [Pipeline] } [2022-02-08T12:33:14.596Z] $ docker stop --time=1 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 [2022-02-08T12:33:15.831Z] $ docker rm -f 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-08T12:33:16.184Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-08T12:33:16.415Z] Stashed 1 file(s) [Pipeline] echo [2022-02-08T12:33:16.419Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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-02-08T12:33:16.536Z] provisioning config files... [2022-02-08T12:33:16.545Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config776924397791079788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:33:16.872Z] ---> docker-login.sh [2022-02-08T12:33:16.872Z] nexus3.edgexfoundry.org:10001 [2022-02-08T12:33:16.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:16.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:16.872Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:16.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:16.872Z] [2022-02-08T12:33:16.872Z] Login Succeeded [2022-02-08T12:33:16.872Z] nexus3.edgexfoundry.org:10002 [2022-02-08T12:33:16.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:16.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:16.872Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:16.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:16.873Z] [2022-02-08T12:33:16.873Z] Login Succeeded [2022-02-08T12:33:16.873Z] nexus3.edgexfoundry.org:10003 [2022-02-08T12:33:17.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:17.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:17.137Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:17.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:17.137Z] [2022-02-08T12:33:17.137Z] Login Succeeded [2022-02-08T12:33:17.137Z] nexus3.edgexfoundry.org:10004 [2022-02-08T12:33:17.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:17.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:17.137Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:17.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:17.137Z] [2022-02-08T12:33:17.137Z] Login Succeeded [2022-02-08T12:33:17.137Z] docker.io [2022-02-08T12:33:17.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:33:17.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:33:17.659Z] Configure a credential helper to remove this warning. See [2022-02-08T12:33:17.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:33:17.659Z] [2022-02-08T12:33:17.659Z] Login Succeeded [2022-02-08T12:33:17.659Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T12:33:17.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-08T12:33:17.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-08T12:33:17.741Z] ========================================================= [2022-02-08T12:33:17.741Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-08T12:33:17.741Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:33:18.052Z] + 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-02-08T12:33:18.052Z] Sending build context to Docker daemon 5.738MB [2022-02-08T12:33:18.052Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-08T12:33:18.052Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-08T12:33:18.052Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-08T12:33:18.052Z] 59bf1c3509f3: Pulling fs layer [2022-02-08T12:33:18.052Z] 666ba61612fd: Pulling fs layer [2022-02-08T12:33:18.052Z] 8ed8ca486205: Pulling fs layer [2022-02-08T12:33:18.053Z] 4fe6c5a15a65: Pulling fs layer [2022-02-08T12:33:18.053Z] 22a0e8bec74d: Pulling fs layer [2022-02-08T12:33:18.053Z] 640e595b4fbd: Pulling fs layer [2022-02-08T12:33:18.053Z] 763cafe07f6e: Pulling fs layer [2022-02-08T12:33:18.053Z] 0c0b528cf693: Pulling fs layer [2022-02-08T12:33:18.053Z] 10935f4eaf8b: Pulling fs layer [2022-02-08T12:33:18.053Z] 640e595b4fbd: Waiting [2022-02-08T12:33:18.053Z] 763cafe07f6e: Waiting [2022-02-08T12:33:18.053Z] 0c0b528cf693: Waiting [2022-02-08T12:33:18.053Z] 10935f4eaf8b: Waiting [2022-02-08T12:33:18.053Z] 4fe6c5a15a65: Waiting [2022-02-08T12:33:18.053Z] 22a0e8bec74d: Waiting [2022-02-08T12:33:18.053Z] 8ed8ca486205: Verifying Checksum [2022-02-08T12:33:18.053Z] 8ed8ca486205: Download complete [2022-02-08T12:33:18.053Z] 666ba61612fd: Verifying Checksum [2022-02-08T12:33:18.053Z] 666ba61612fd: Download complete [2022-02-08T12:33:18.325Z] 22a0e8bec74d: Verifying Checksum [2022-02-08T12:33:18.325Z] 22a0e8bec74d: Download complete [2022-02-08T12:33:18.325Z] 640e595b4fbd: Verifying Checksum [2022-02-08T12:33:18.325Z] 640e595b4fbd: Download complete [2022-02-08T12:33:18.325Z] 59bf1c3509f3: Verifying Checksum [2022-02-08T12:33:18.325Z] 59bf1c3509f3: Download complete [2022-02-08T12:33:18.325Z] 763cafe07f6e: Verifying Checksum [2022-02-08T12:33:18.325Z] 763cafe07f6e: Download complete [2022-02-08T12:33:18.325Z] 0c0b528cf693: Verifying Checksum [2022-02-08T12:33:18.325Z] 0c0b528cf693: Download complete [2022-02-08T12:33:18.592Z] 59bf1c3509f3: Pull complete [2022-02-08T12:33:18.868Z] 4fe6c5a15a65: Verifying Checksum [2022-02-08T12:33:18.868Z] 4fe6c5a15a65: Download complete [2022-02-08T12:33:18.868Z] 666ba61612fd: Pull complete [2022-02-08T12:33:18.868Z] 8ed8ca486205: Pull complete [2022-02-08T12:33:18.868Z] 10935f4eaf8b: Verifying Checksum [2022-02-08T12:33:18.868Z] 10935f4eaf8b: Download complete [2022-02-08T12:33:23.137Z] 4fe6c5a15a65: Pull complete [2022-02-08T12:33:23.137Z] 22a0e8bec74d: Pull complete [2022-02-08T12:33:23.137Z] 640e595b4fbd: Pull complete [2022-02-08T12:33:23.137Z] 763cafe07f6e: Pull complete [2022-02-08T12:33:23.137Z] 0c0b528cf693: Pull complete [2022-02-08T12:33:25.713Z] 10935f4eaf8b: Pull complete [2022-02-08T12:33:25.713Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-08T12:33:25.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-08T12:33:25.713Z] ---> 99d49a6021b9 [2022-02-08T12:33:25.713Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-08T12:33:27.628Z] ---> Running in 0f167d88fd24 [2022-02-08T12:33:27.628Z] Removing intermediate container 0f167d88fd24 [2022-02-08T12:33:27.628Z] ---> f3f3f911f630 [2022-02-08T12:33:27.628Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-08T12:33:27.628Z] ---> Running in 85714a808248 [2022-02-08T12:33:27.628Z] Removing intermediate container 85714a808248 [2022-02-08T12:33:27.628Z] ---> a8a501a8ab5f [2022-02-08T12:33:27.628Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-08T12:33:27.628Z] ---> Running in 77a0b3f28783 [2022-02-08T12:33:27.887Z] Removing intermediate container 77a0b3f28783 [2022-02-08T12:33:27.887Z] ---> cf7b716a7335 [2022-02-08T12:33:27.887Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-08T12:33:27.887Z] ---> Running in ab3d30ea4904 [2022-02-08T12:33:28.148Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-08T12:33:29.091Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-08T12:33:29.664Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-08T12:33:29.664Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-08T12:33:29.664Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-08T12:33:29.926Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-08T12:33:29.926Z] Executing busybox-1.34.1-r3.trigger [2022-02-08T12:33:29.926Z] OK: 224 MiB in 56 packages [2022-02-08T12:33:30.187Z] Removing intermediate container ab3d30ea4904 [2022-02-08T12:33:30.187Z] ---> af95af6196bf [2022-02-08T12:33:30.187Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-02-08T12:33:30.187Z] ---> Running in 5a14369b75af [2022-02-08T12:33:30.447Z] Removing intermediate container 5a14369b75af [2022-02-08T12:33:30.447Z] ---> 6a25d621f652 [2022-02-08T12:33:30.447Z] Step 8/12 : COPY go.mod vendor* ./ [2022-02-08T12:33:30.447Z] ---> b4b0c5674c97 [2022-02-08T12:33:30.447Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-08T12:33:30.447Z] ---> Running in d44a1b5009af [2022-02-08T12:33:31.505Z] Still waiting to schedule task [2022-02-08T12:33:31.506Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-08T12:34:09.224Z] Removing intermediate container d44a1b5009af [2022-02-08T12:34:09.224Z] ---> 81b87f6b49a2 [2022-02-08T12:34:09.224Z] Step 10/12 : COPY . . [2022-02-08T12:34:09.224Z] ---> 8d5bc5818d97 [2022-02-08T12:34:09.224Z] Step 11/12 : ARG MAKE='make build' [2022-02-08T12:34:09.224Z] ---> Running in dd7875d5f3e4 [2022-02-08T12:34:09.224Z] Removing intermediate container dd7875d5f3e4 [2022-02-08T12:34:09.224Z] ---> 75a4ee64f0fe [2022-02-08T12:34:09.224Z] Step 12/12 : RUN $MAKE [2022-02-08T12:34:09.224Z] ---> Running in ffec113019e7 [2022-02-08T12:34:09.224Z] noop [2022-02-08T12:34:09.224Z] Removing intermediate container ffec113019e7 [2022-02-08T12:34:09.224Z] ---> fd78f18ed5c6 [2022-02-08T12:34:09.224Z] Successfully built fd78f18ed5c6 [2022-02-08T12:34:09.224Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:09.531Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-08T12:34:09.531Z] . [Pipeline] withDockerContainer [2022-02-08T12:34:09.597Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:34:09.631Z] $ 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-02-08T12:34:09.999Z] $ docker top f435fdc494aa94fefc0f87f1b5018f4ded90f2b0781aebac96c2d4f020f5d250 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-08T12:34:10.355Z] + go version [2022-02-08T12:34:10.355Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-08T12:34:10.370Z] $ docker stop --time=1 f435fdc494aa94fefc0f87f1b5018f4ded90f2b0781aebac96c2d4f020f5d250 [2022-02-08T12:34:11.561Z] $ docker rm -f f435fdc494aa94fefc0f87f1b5018f4ded90f2b0781aebac96c2d4f020f5d250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:11.972Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-08T12:34:11.972Z] . [Pipeline] withDockerContainer [2022-02-08T12:34:12.041Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:34:12.076Z] $ 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-02-08T12:34:12.434Z] $ docker top 9c0e0c5ee86dddf26a231d104f9274643a94b75d923d7c4baa0877f9e26681b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-08T12:34:12.809Z] + make test [2022-02-08T12:34:12.809Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-08T12:34:13.073Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-02-08T12:34:28.029Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-02-08T12:34:28.029Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements [2022-02-08T12:34:28.029Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-02-08T12:34:28.029Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-08T12:34:32.271Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-08T12:34:32.271Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-08T12:34:32.271Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-08T12:34:32.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-08T12:34:32.868Z] $ docker stop --time=1 9c0e0c5ee86dddf26a231d104f9274643a94b75d923d7c4baa0877f9e26681b2 [2022-02-08T12:34:34.317Z] $ docker rm -f 9c0e0c5ee86dddf26a231d104f9274643a94b75d923d7c4baa0877f9e26681b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-08T12:34:34.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-08T12:34:34.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-02-08T12:34:35.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-08T12:34:36.025Z] + ls -al . [2022-02-08T12:34:36.025Z] total 148 [2022-02-08T12:34:36.025Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 8 12:34 . [2022-02-08T12:34:36.025Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 8 12:32 .. [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 7287 Feb 8 12:32 Attribution.txt [2022-02-08T12:34:36.025Z] drwxrwxr-x. 2 jenkins jenkins 60 Feb 8 12:32 bin [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 7447 Feb 8 12:32 CHANGELOG.md [2022-02-08T12:34:36.025Z] drwxrwxr-x. 3 jenkins jenkins 32 Feb 8 12:32 cmd [2022-02-08T12:34:36.025Z] -rw-r--r--. 1 jenkins jenkins 17452 Feb 8 12:34 coverage.out [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 1930 Feb 8 12:32 Dockerfile [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 8 12:32 .dockerignore [2022-02-08T12:34:36.025Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 8 12:33 .git [2022-02-08T12:34:36.025Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 8 12:32 .github [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 329 Feb 8 12:32 .gitignore [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 2907 Feb 8 12:32 go.mod [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 49409 Feb 8 12:32 go.sum [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 8 12:32 GOVERNANCE.md [2022-02-08T12:34:36.025Z] drwxrwxr-x. 3 jenkins jenkins 20 Feb 8 12:32 internal [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 8 12:32 Jenkinsfile [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 11340 Feb 8 12:32 LICENSE [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 1030 Feb 8 12:32 Makefile [2022-02-08T12:34:36.025Z] drwxrwxr-x. 2 jenkins jenkins 23 Feb 8 12:32 mock [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 620 Feb 8 12:32 OWNERS.md [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 2643 Feb 8 12:32 README.md [2022-02-08T12:34:36.025Z] drwx------. 3 jenkins jenkins 57 Feb 8 12:33 .semver [2022-02-08T12:34:36.025Z] drwxrwxr-x. 4 jenkins jenkins 71 Feb 8 12:32 snap [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 8 12:33 VERSION [2022-02-08T12:34:36.025Z] -rw-rw-r--. 1 jenkins jenkins 227 Feb 8 12:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:36.341Z] + 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=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 --label arch=amd64 --label version=2.2.0-dev.9 . [2022-02-08T12:34:36.341Z] Sending build context to Docker daemon 5.756MB [2022-02-08T12:34:36.341Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-02-08T12:34:36.341Z] Step 2/24 : FROM ${BASE} AS builder [2022-02-08T12:34:36.341Z] ---> fd78f18ed5c6 [2022-02-08T12:34:36.341Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-08T12:34:36.341Z] ---> Running in 8b10079c7471 [2022-02-08T12:34:36.601Z] Removing intermediate container 8b10079c7471 [2022-02-08T12:34:36.601Z] ---> 4a053510c87c [2022-02-08T12:34:36.601Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-02-08T12:34:36.601Z] ---> Running in ae5c0498ca36 [2022-02-08T12:34:36.601Z] Removing intermediate container ae5c0498ca36 [2022-02-08T12:34:36.601Z] ---> 7cc9681695f1 [2022-02-08T12:34:36.601Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-08T12:34:36.601Z] ---> Running in c4a670a65856 [2022-02-08T12:34:37.178Z] Removing intermediate container c4a670a65856 [2022-02-08T12:34:37.178Z] ---> a3cff8fe2951 [2022-02-08T12:34:37.178Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-08T12:34:37.178Z] ---> Running in ef497dd50e2a [2022-02-08T12:34:37.438Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-08T12:34:38.379Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-08T12:34:38.379Z] OK: 224 MiB in 56 packages [2022-02-08T12:34:38.642Z] Removing intermediate container ef497dd50e2a [2022-02-08T12:34:38.642Z] ---> c184644cbef7 [2022-02-08T12:34:38.642Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-02-08T12:34:38.642Z] ---> Running in 69697630588d [2022-02-08T12:34:38.907Z] Removing intermediate container 69697630588d [2022-02-08T12:34:38.907Z] ---> c7bc3c0a2068 [2022-02-08T12:34:38.907Z] Step 8/24 : COPY go.mod vendor* ./ [2022-02-08T12:34:38.907Z] ---> 06c4d82fbe39 [2022-02-08T12:34:38.907Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-08T12:34:38.907Z] ---> Running in 03a725975c16 [2022-02-08T12:34:39.481Z] Removing intermediate container 03a725975c16 [2022-02-08T12:34:39.481Z] ---> 896f71809e76 [2022-02-08T12:34:39.481Z] Step 10/24 : COPY . . [2022-02-08T12:34:39.742Z] ---> f75aba9ae631 [2022-02-08T12:34:39.742Z] Step 11/24 : ARG MAKE='make build' [2022-02-08T12:34:39.742Z] ---> Running in 2c3743ca0d98 [2022-02-08T12:34:40.002Z] Removing intermediate container 2c3743ca0d98 [2022-02-08T12:34:40.002Z] ---> 07ffd5fd6855 [2022-02-08T12:34:40.002Z] Step 12/24 : RUN $MAKE [2022-02-08T12:34:40.002Z] ---> Running in 066807390ed1 [2022-02-08T12:34:40.264Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.9" -o cmd/device-mqtt ./cmd [2022-02-08T12:34:52.596Z] Removing intermediate container 066807390ed1 [2022-02-08T12:34:52.596Z] ---> 717b5c460413 [2022-02-08T12:34:52.596Z] Step 13/24 : FROM alpine:3.14 [2022-02-08T12:34:52.596Z] 3.14: Pulling from library/alpine [2022-02-08T12:34:52.596Z] 97518928ae5f: Pulling fs layer [2022-02-08T12:34:52.596Z] 97518928ae5f: Verifying Checksum [2022-02-08T12:34:52.596Z] 97518928ae5f: Download complete [2022-02-08T12:34:52.854Z] 97518928ae5f: Pull complete [2022-02-08T12:34:52.854Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-08T12:34:52.854Z] Status: Downloaded newer image for alpine:3.14 [2022-02-08T12:34:52.854Z] ---> 0a97eee8041e [2022-02-08T12:34:52.854Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-02-08T12:34:52.854Z] ---> Running in b69a329de438 [2022-02-08T12:34:52.854Z] Removing intermediate container b69a329de438 [2022-02-08T12:34:52.854Z] ---> 0b4a0244b4a8 [2022-02-08T12:34:52.854Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-02-08T12:34:52.854Z] ---> Running in f54ca740690a [2022-02-08T12:34:53.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-08T12:34:53.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-08T12:34:53.637Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-02-08T12:34:53.637Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-02-08T12:34:53.637Z] (3/6) Installing libsodium (1.0.18-r0) [2022-02-08T12:34:53.637Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-08T12:34:53.637Z] (5/6) Installing libzmq (4.3.4-r0) [2022-02-08T12:34:53.637Z] (6/6) Installing zeromq (4.3.4-r0) [2022-02-08T12:34:53.637Z] Executing busybox-1.33.1-r6.trigger [2022-02-08T12:34:53.637Z] OK: 8 MiB in 20 packages [2022-02-08T12:34:53.900Z] Removing intermediate container f54ca740690a [2022-02-08T12:34:53.900Z] ---> 72f9a14b1576 [2022-02-08T12:34:53.900Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-02-08T12:34:54.160Z] ---> 46549a96d500 [2022-02-08T12:34:54.160Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-02-08T12:34:54.424Z] ---> 10bb54389178 [2022-02-08T12:34:54.424Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-02-08T12:34:54.424Z] ---> f3ad83cd7345 [2022-02-08T12:34:54.424Z] Step 19/24 : EXPOSE 59982 [2022-02-08T12:34:54.424Z] ---> Running in 5e18d20a0807 [2022-02-08T12:34:54.699Z] Removing intermediate container 5e18d20a0807 [2022-02-08T12:34:54.699Z] ---> 2a201b53dd0c [2022-02-08T12:34:54.699Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-02-08T12:34:54.699Z] ---> Running in 0ebf23ea2509 [2022-02-08T12:34:54.699Z] Removing intermediate container 0ebf23ea2509 [2022-02-08T12:34:54.699Z] ---> b58ab322cfe9 [2022-02-08T12:34:54.699Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-08T12:34:54.699Z] ---> Running in 3790df50aac1 [2022-02-08T12:34:54.699Z] Removing intermediate container 3790df50aac1 [2022-02-08T12:34:54.699Z] ---> e4ea10eccd1b [2022-02-08T12:34:54.699Z] Step 22/24 : LABEL arch=amd64 [2022-02-08T12:34:54.699Z] ---> Running in 019473aac0cc [2022-02-08T12:34:54.960Z] Removing intermediate container 019473aac0cc [2022-02-08T12:34:54.960Z] ---> 1946f37b9fb8 [2022-02-08T12:34:54.960Z] Step 23/24 : LABEL git_sha=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:34:54.960Z] ---> Running in cb6fb0e6992e [2022-02-08T12:34:54.960Z] Removing intermediate container cb6fb0e6992e [2022-02-08T12:34:54.960Z] ---> b001288ed70d [2022-02-08T12:34:54.960Z] Step 24/24 : LABEL version=2.2.0-dev.9 [2022-02-08T12:34:54.960Z] ---> Running in 71a1f4b51002 [2022-02-08T12:34:55.224Z] Removing intermediate container 71a1f4b51002 [2022-02-08T12:34:55.224Z] ---> 788ff0358bed [2022-02-08T12:34:55.224Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-08T12:34:55.224Z] Successfully built 788ff0358bed [2022-02-08T12:34:55.224Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T12:34:55.319Z] provisioning config files... [2022-02-08T12:34:55.330Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2384901317035591586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:34:55.629Z] ---> docker-login.sh [2022-02-08T12:34:55.629Z] nexus3.edgexfoundry.org:10001 [2022-02-08T12:34:55.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:34:55.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:34:55.629Z] Configure a credential helper to remove this warning. See [2022-02-08T12:34:55.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:34:55.629Z] [2022-02-08T12:34:55.629Z] Login Succeeded [2022-02-08T12:34:55.629Z] nexus3.edgexfoundry.org:10002 [2022-02-08T12:34:55.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:34:55.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:34:55.889Z] Configure a credential helper to remove this warning. See [2022-02-08T12:34:55.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:34:55.889Z] [2022-02-08T12:34:55.889Z] Login Succeeded [2022-02-08T12:34:55.889Z] nexus3.edgexfoundry.org:10003 [2022-02-08T12:34:55.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:34:55.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:34:55.889Z] Configure a credential helper to remove this warning. See [2022-02-08T12:34:55.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:34:55.889Z] [2022-02-08T12:34:55.889Z] Login Succeeded [2022-02-08T12:34:55.889Z] nexus3.edgexfoundry.org:10004 [2022-02-08T12:34:55.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:34:56.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:34:56.150Z] Configure a credential helper to remove this warning. See [2022-02-08T12:34:56.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:34:56.150Z] [2022-02-08T12:34:56.150Z] Login Succeeded [2022-02-08T12:34:56.150Z] docker.io [2022-02-08T12:34:56.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:34:56.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:34:56.411Z] Configure a credential helper to remove this warning. See [2022-02-08T12:34:56.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:34:56.411Z] [2022-02-08T12:34:56.411Z] Login Succeeded [2022-02-08T12:34:56.411Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T12:34:56.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-08T12:34:56.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-08T12:34:56.478Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-02-08T12:34:56.478Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:34:56.478Z] latest [2022-02-08T12:34:56.478Z] 2.2.0-dev.9 [2022-02-08T12:34:56.478Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [2022-02-08T12:34:56.478Z] main [2022-02-08T12:34:56.478Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:56.807Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:57.103Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:34:57.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-02-08T12:34:57.103Z] ade946eaecc6: Preparing [2022-02-08T12:34:57.103Z] 81c467802727: Preparing [2022-02-08T12:34:57.103Z] 0bfe4467ded0: Preparing [2022-02-08T12:34:57.103Z] 0a5c71d88260: Preparing [2022-02-08T12:34:57.103Z] 1a058d5342cc: Preparing [2022-02-08T12:34:57.103Z] 1a058d5342cc: Layer already exists [2022-02-08T12:34:57.366Z] ade946eaecc6: Pushed [2022-02-08T12:34:57.366Z] 81c467802727: Pushed [2022-02-08T12:34:57.366Z] 0a5c71d88260: Pushed [2022-02-08T12:34:57.962Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4830 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-02-08T12:34:57.975Z] Running in /w/workspace/device-mqtt-go/30 [Pipeline] { [Pipeline] checkout [2022-02-08T12:34:58.165Z] Selected Git installation does not exist. Using Default [2022-02-08T12:34:58.165Z] The recommended git tool is: NONE [2022-02-08T12:34:58.315Z] 0bfe4467ded0: Pushed [2022-02-08T12:34:58.574Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:58.868Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:59.158Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-02-08T12:34:59.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-02-08T12:34:59.158Z] ade946eaecc6: Preparing [2022-02-08T12:34:59.158Z] 81c467802727: Preparing [2022-02-08T12:34:59.158Z] 0bfe4467ded0: Preparing [2022-02-08T12:34:59.158Z] 0a5c71d88260: Preparing [2022-02-08T12:34:59.158Z] 1a058d5342cc: Preparing [2022-02-08T12:34:59.158Z] 1a058d5342cc: Layer already exists [2022-02-08T12:34:59.158Z] 81c467802727: Layer already exists [2022-02-08T12:34:59.158Z] 0a5c71d88260: Layer already exists [2022-02-08T12:34:59.158Z] ade946eaecc6: Layer already exists [2022-02-08T12:34:59.158Z] 0bfe4467ded0: Layer already exists [2022-02-08T12:34:59.159Z] latest: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:59.460Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:34:59.757Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.9 [2022-02-08T12:34:59.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-02-08T12:34:59.758Z] ade946eaecc6: Preparing [2022-02-08T12:34:59.758Z] 81c467802727: Preparing [2022-02-08T12:34:59.758Z] 0bfe4467ded0: Preparing [2022-02-08T12:34:59.758Z] 0a5c71d88260: Preparing [2022-02-08T12:34:59.758Z] 1a058d5342cc: Preparing [2022-02-08T12:34:59.758Z] 81c467802727: Layer already exists [2022-02-08T12:34:59.758Z] ade946eaecc6: Layer already exists [2022-02-08T12:34:59.758Z] 1a058d5342cc: Layer already exists [2022-02-08T12:34:59.758Z] 0a5c71d88260: Layer already exists [2022-02-08T12:34:59.758Z] 0bfe4467ded0: Layer already exists [2022-02-08T12:34:59.758Z] 2.2.0-dev.9: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:35:00.057Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:35:00.351Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [2022-02-08T12:35:00.351Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-02-08T12:35:00.351Z] ade946eaecc6: Preparing [2022-02-08T12:35:00.351Z] 81c467802727: Preparing [2022-02-08T12:35:00.351Z] 0bfe4467ded0: Preparing [2022-02-08T12:35:00.351Z] 0a5c71d88260: Preparing [2022-02-08T12:35:00.351Z] 1a058d5342cc: Preparing [2022-02-08T12:35:00.351Z] 1a058d5342cc: Layer already exists [2022-02-08T12:35:00.351Z] ade946eaecc6: Layer already exists [2022-02-08T12:35:00.351Z] 0bfe4467ded0: Layer already exists [2022-02-08T12:35:00.351Z] 81c467802727: Layer already exists [2022-02-08T12:35:00.351Z] 0a5c71d88260: Layer already exists [2022-02-08T12:35:00.351Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:35:00.646Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:35:00.932Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-02-08T12:35:00.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-02-08T12:35:00.932Z] ade946eaecc6: Preparing [2022-02-08T12:35:00.932Z] 81c467802727: Preparing [2022-02-08T12:35:00.932Z] 0bfe4467ded0: Preparing [2022-02-08T12:35:00.932Z] 0a5c71d88260: Preparing [2022-02-08T12:35:00.932Z] 1a058d5342cc: Preparing [2022-02-08T12:35:00.932Z] 81c467802727: Layer already exists [2022-02-08T12:35:00.932Z] 0bfe4467ded0: Layer already exists [2022-02-08T12:35:00.932Z] 1a058d5342cc: Layer already exists [2022-02-08T12:35:00.932Z] 0a5c71d88260: Layer already exists [2022-02-08T12:35:00.932Z] ade946eaecc6: Layer already exists [2022-02-08T12:35:00.932Z] main: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-08T12:35:00.965Z] ===================================================== [Pipeline] echo [2022-02-08T12:35:00.974Z] taggedImages: [2022-02-08T12:35:00.974Z] - nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:35:00.974Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-02-08T12:35:00.974Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.9 [2022-02-08T12:35:00.974Z] - nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [2022-02-08T12:35:00.974Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:35:01.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T12:35:01.374Z] [2022-02-08T12:35:01.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:35:01.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T12:35:01.684Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-08T12:35:01.684Z] b4d181a07f80: Pulling fs layer [2022-02-08T12:35:01.684Z] a1111a8f2ec3: Pulling fs layer [2022-02-08T12:35:01.684Z] ed53099fbce6: Pulling fs layer [2022-02-08T12:35:01.684Z] dc539afda2c1: Pulling fs layer [2022-02-08T12:35:01.684Z] 77bc0d833cb6: Pulling fs layer [2022-02-08T12:35:01.684Z] 9065ff56babe: Pulling fs layer [2022-02-08T12:35:01.684Z] d287ab97295c: Pulling fs layer [2022-02-08T12:35:01.684Z] 77bc0d833cb6: Waiting [2022-02-08T12:35:01.684Z] 9065ff56babe: Waiting [2022-02-08T12:35:01.684Z] d287ab97295c: Waiting [2022-02-08T12:35:01.684Z] dc539afda2c1: Waiting [2022-02-08T12:35:01.684Z] a1111a8f2ec3: Verifying Checksum [2022-02-08T12:35:01.684Z] a1111a8f2ec3: Download complete [2022-02-08T12:35:01.684Z] dc539afda2c1: Verifying Checksum [2022-02-08T12:35:01.684Z] dc539afda2c1: Download complete [2022-02-08T12:35:01.684Z] ed53099fbce6: Verifying Checksum [2022-02-08T12:35:01.684Z] ed53099fbce6: Download complete [2022-02-08T12:35:01.684Z] 9065ff56babe: Verifying Checksum [2022-02-08T12:35:01.684Z] 9065ff56babe: Download complete [2022-02-08T12:35:01.951Z] 77bc0d833cb6: Verifying Checksum [2022-02-08T12:35:01.951Z] 77bc0d833cb6: Download complete [2022-02-08T12:35:01.951Z] b4d181a07f80: Verifying Checksum [2022-02-08T12:35:01.951Z] b4d181a07f80: Download complete [2022-02-08T12:35:02.528Z] d287ab97295c: Verifying Checksum [2022-02-08T12:35:02.528Z] d287ab97295c: Download complete [2022-02-08T12:35:02.845Z] using credential edgex-jenkins-ssh [2022-02-08T12:35:02.883Z] Cloning the remote Git repository [2022-02-08T12:35:02.940Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-02-08T12:35:03.023Z] > git init /w/workspace/device-mqtt-go/30 # timeout=10 [2022-02-08T12:35:03.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-02-08T12:35:03.101Z] > git --version # timeout=10 [2022-02-08T12:35:03.117Z] > git --version # 'git version 2.17.1' [2022-02-08T12:35:03.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-08T12:35:03.482Z] b4d181a07f80: Pull complete [2022-02-08T12:35:03.482Z] a1111a8f2ec3: Pull complete [2022-02-08T12:35:04.057Z] ed53099fbce6: Pull complete [2022-02-08T12:35:04.057Z] dc539afda2c1: Pull complete [2022-02-08T12:35:04.321Z] 77bc0d833cb6: Pull complete [2022-02-08T12:35:04.321Z] 9065ff56babe: Pull complete [2022-02-08T12:35:03.211Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-08T12:35:04.473Z] Avoid second fetch [2022-02-08T12:35:04.473Z] Checking out Revision 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 (main) [2022-02-08T12:35:04.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-02-08T12:35:04.451Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-08T12:35:04.498Z] > git config core.sparsecheckout # timeout=10 [2022-02-08T12:35:04.517Z] > git checkout -f 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 [2022-02-08T12:35:08.589Z] Commit message: "build(snap): source metadata from repo (#328)" [2022-02-08T12:35:08.909Z] [2022-02-08T12:35:08.909Z] GitHub has been notified of this commit’s build result [2022-02-08T12:35:08.909Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-08T12:35:09.476Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-08T12:35:09.476Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-08T12:35:09.476Z] Dload Upload Total Spent Left Speed [2022-02-08T12:35:09.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83992 0 --:--:-- --:--:-- --:--:-- 83401 [2022-02-08T12:35:09.629Z] d287ab97295c: Pull complete [2022-02-08T12:35:09.629Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-08T12:35:09.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T12:35:09.629Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-08T12:35:09.697Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:35:09.728Z] $ 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-02-08T12:35:12.229Z] $ docker top 6468cf7d855ca63a373fc22ae500a4ec5cbce7622de1d57ce30dc585c7a2070a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:35:12.637Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-08T12:35:12.735Z] ---> job-cost.sh [2022-02-08T12:35:12.735Z] lf-activate-venv: SKIPPING [2022-02-08T12:35:12.735Z] INFO: No Stack... [2022-02-08T12:35:12.976Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-08T12:35:12.976Z] + sudo tee /etc/docker/daemon.new [2022-02-08T12:35:12.976Z] { [2022-02-08T12:35:12.976Z] "registry-mirrors": [ [2022-02-08T12:35:12.976Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-08T12:35:12.976Z] ], [2022-02-08T12:35:12.976Z] "bip": "10.250.0.254/24", [2022-02-08T12:35:12.976Z] "hosts": [ [2022-02-08T12:35:12.976Z] "tcp://0.0.0.0:5555", [2022-02-08T12:35:12.976Z] "unix:///var/run/docker.sock" [2022-02-08T12:35:12.976Z] ], [2022-02-08T12:35:12.976Z] "mtu": 1458, [2022-02-08T12:35:12.976Z] "selinux-enabled": true, [2022-02-08T12:35:12.976Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-08T12:35:12.976Z] } [2022-02-08T12:35:12.995Z] INFO: Retrieving Pricing Info for: v3-standard-2 [Pipeline] sh [2022-02-08T12:35:13.255Z] INFO: Archiving Costs [Pipeline] sh [2022-02-08T12:35:13.324Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-08T12:35:13.645Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-02-08T12:35:13.645Z] + cut -d, -f6 [Pipeline] lock [2022-02-08T12:35:13.689Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [2022-02-08T12:35:13.694Z] + sudo service docker restart [2022-02-08T12:35:13.695Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] did not exist. Created. [2022-02-08T12:35:13.695Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-08T12:35:14.145Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-08T12:35:14.217Z] Stashed 1 file(s) [Pipeline] } [2022-02-08T12:35:14.224Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-08T12:35:14.241Z] $ docker stop --time=1 6468cf7d855ca63a373fc22ae500a4ec5cbce7622de1d57ce30dc585c7a2070a [2022-02-08T12:35:15.375Z] $ docker rm -f 6468cf7d855ca63a373fc22ae500a4ec5cbce7622de1d57ce30dc585c7a2070a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T12:35:32.100Z] provisioning config files... [2022-02-08T12:35:32.122Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/30@tmp/config5568042502101557089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:35:32.478Z] ---> docker-login.sh [2022-02-08T12:35:32.478Z] nexus3.edgexfoundry.org:10001 [2022-02-08T12:35:33.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:35:33.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:35:33.348Z] Configure a credential helper to remove this warning. See [2022-02-08T12:35:33.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:35:33.348Z] [2022-02-08T12:35:33.348Z] Login Succeeded [2022-02-08T12:35:33.348Z] nexus3.edgexfoundry.org:10002 [2022-02-08T12:35:33.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:35:33.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:35:33.621Z] Configure a credential helper to remove this warning. See [2022-02-08T12:35:33.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:35:33.621Z] [2022-02-08T12:35:33.621Z] Login Succeeded [2022-02-08T12:35:33.621Z] nexus3.edgexfoundry.org:10003 [2022-02-08T12:35:33.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:35:34.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:35:34.167Z] Configure a credential helper to remove this warning. See [2022-02-08T12:35:34.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:35:34.167Z] [2022-02-08T12:35:34.167Z] Login Succeeded [2022-02-08T12:35:34.167Z] nexus3.edgexfoundry.org:10004 [2022-02-08T12:35:34.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:35:34.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:35:34.445Z] Configure a credential helper to remove this warning. See [2022-02-08T12:35:34.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:35:34.445Z] [2022-02-08T12:35:34.445Z] Login Succeeded [2022-02-08T12:35:34.445Z] docker.io [2022-02-08T12:35:34.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:35:35.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:35:35.321Z] Configure a credential helper to remove this warning. See [2022-02-08T12:35:35.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:35:35.321Z] [2022-02-08T12:35:35.321Z] Login Succeeded [2022-02-08T12:35:35.321Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T12:35:35.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-08T12:35:35.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-08T12:35:35.739Z] ========================================================= [2022-02-08T12:35:35.739Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-08T12:35:35.739Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:35:36.081Z] + 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-02-08T12:35:36.355Z] Sending build context to Docker daemon 2.986MB [2022-02-08T12:35:36.355Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-08T12:35:36.355Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-08T12:35:36.630Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-08T12:35:36.630Z] 9b3977197b4f: Pulling fs layer [2022-02-08T12:35:36.630Z] 1a89e8eeedd5: Pulling fs layer [2022-02-08T12:35:36.630Z] 94645a83ff95: Pulling fs layer [2022-02-08T12:35:36.630Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-08T12:35:36.630Z] 0c92f367c5e7: Pulling fs layer [2022-02-08T12:35:36.630Z] f7c0051592d6: Pulling fs layer [2022-02-08T12:35:36.630Z] a227ed2f7395: Pulling fs layer [2022-02-08T12:35:36.630Z] 7b1c46037f91: Pulling fs layer [2022-02-08T12:35:36.630Z] 3f3a8bcf1eab: Waiting [2022-02-08T12:35:36.630Z] 0c92f367c5e7: Waiting [2022-02-08T12:35:36.630Z] f7c0051592d6: Waiting [2022-02-08T12:35:36.630Z] 7b1c46037f91: Waiting [2022-02-08T12:35:36.630Z] a227ed2f7395: Waiting [2022-02-08T12:35:36.630Z] 94645a83ff95: Verifying Checksum [2022-02-08T12:35:36.630Z] 94645a83ff95: Download complete [2022-02-08T12:35:36.630Z] 1a89e8eeedd5: Verifying Checksum [2022-02-08T12:35:36.630Z] 1a89e8eeedd5: Download complete [2022-02-08T12:35:36.630Z] 0c92f367c5e7: Download complete [2022-02-08T12:35:36.630Z] f7c0051592d6: Verifying Checksum [2022-02-08T12:35:36.630Z] f7c0051592d6: Download complete [2022-02-08T12:35:36.630Z] 9b3977197b4f: Download complete [2022-02-08T12:35:36.630Z] a227ed2f7395: Verifying Checksum [2022-02-08T12:35:36.630Z] a227ed2f7395: Download complete [2022-02-08T12:35:37.229Z] 9b3977197b4f: Pull complete [2022-02-08T12:35:37.832Z] 1a89e8eeedd5: Pull complete [2022-02-08T12:35:38.434Z] 94645a83ff95: Pull complete [2022-02-08T12:35:38.434Z] 7b1c46037f91: Verifying Checksum [2022-02-08T12:35:38.434Z] 7b1c46037f91: Download complete [2022-02-08T12:35:39.030Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-08T12:35:39.030Z] 3f3a8bcf1eab: Download complete [2022-02-08T12:35:51.448Z] 3f3a8bcf1eab: Pull complete [2022-02-08T12:35:51.448Z] 0c92f367c5e7: Pull complete [2022-02-08T12:35:51.448Z] f7c0051592d6: Pull complete [2022-02-08T12:35:51.448Z] a227ed2f7395: Pull complete [2022-02-08T12:35:56.846Z] 7b1c46037f91: Pull complete [2022-02-08T12:35:56.846Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-08T12:35:56.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-08T12:35:56.846Z] ---> f79e39bc4007 [2022-02-08T12:35:56.846Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-08T12:35:58.278Z] ---> Running in 0711f7dc4578 [2022-02-08T12:35:58.874Z] Removing intermediate container 0711f7dc4578 [2022-02-08T12:35:58.874Z] ---> 7926d49e0cef [2022-02-08T12:35:58.875Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-08T12:35:58.875Z] ---> Running in f7e72b435995 [2022-02-08T12:35:59.147Z] Removing intermediate container f7e72b435995 [2022-02-08T12:35:59.147Z] ---> 272a2e20c28d [2022-02-08T12:35:59.147Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-08T12:35:59.147Z] ---> Running in 603617df3e88 [2022-02-08T12:36:01.133Z] Removing intermediate container 603617df3e88 [2022-02-08T12:36:01.133Z] ---> 4fd7a79f93e9 [2022-02-08T12:36:01.133Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-08T12:36:01.133Z] ---> Running in d8f26c1c58a1 [2022-02-08T12:36:02.108Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-08T12:36:03.083Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-08T12:36:03.676Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-08T12:36:03.945Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-08T12:36:03.945Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-08T12:36:04.217Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-08T12:36:04.217Z] Executing busybox-1.34.1-r3.trigger [2022-02-08T12:36:04.217Z] OK: 224 MiB in 56 packages [2022-02-08T12:36:05.193Z] Removing intermediate container d8f26c1c58a1 [2022-02-08T12:36:05.193Z] ---> 4a97881c665d [2022-02-08T12:36:05.193Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-02-08T12:36:05.193Z] ---> Running in 2dbd6630488f [2022-02-08T12:36:05.791Z] Removing intermediate container 2dbd6630488f [2022-02-08T12:36:05.792Z] ---> 3f907935aa18 [2022-02-08T12:36:05.792Z] Step 8/12 : COPY go.mod vendor* ./ [2022-02-08T12:36:06.386Z] ---> 90b70afa0442 [2022-02-08T12:36:06.386Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-08T12:36:06.386Z] ---> Running in f132db19c979 [2022-02-08T12:37:28.162Z] Removing intermediate container f132db19c979 [2022-02-08T12:37:28.162Z] ---> 085ba72d1078 [2022-02-08T12:37:28.162Z] Step 10/12 : COPY . . [2022-02-08T12:37:28.162Z] ---> 667963d335a3 [2022-02-08T12:37:28.162Z] Step 11/12 : ARG MAKE='make build' [2022-02-08T12:37:28.162Z] ---> Running in 29558398bdf6 [2022-02-08T12:37:28.162Z] Removing intermediate container 29558398bdf6 [2022-02-08T12:37:28.162Z] ---> 067ea7797118 [2022-02-08T12:37:28.162Z] Step 12/12 : RUN $MAKE [2022-02-08T12:37:28.162Z] ---> Running in 70e678841955 [2022-02-08T12:37:28.162Z] noop [2022-02-08T12:37:28.162Z] Removing intermediate container 70e678841955 [2022-02-08T12:37:28.162Z] ---> e9b8d6ed21d7 [2022-02-08T12:37:28.162Z] Successfully built e9b8d6ed21d7 [2022-02-08T12:37:28.162Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:37:28.505Z] + docker inspect -f . ci-base-image-arm64 [2022-02-08T12:37:28.505Z] . [Pipeline] withDockerContainer [2022-02-08T12:37:28.733Z] prd-ubuntu18.04-docker-arm64-4c-16g-4830 does not seem to be running inside a container [2022-02-08T12:37:28.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/30 -v /w/workspace/device-mqtt-go/30:/w/workspace/device-mqtt-go/30:rw,z -v /w/workspace/device-mqtt-go/30@tmp:/w/workspace/device-mqtt-go/30@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-arm64 cat [2022-02-08T12:37:30.127Z] $ docker top b0099b5dc5bd7eabc5c72d131f7a3845ea777412d4488cd35047933964d4c2bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-08T12:37:31.026Z] + go version [2022-02-08T12:37:31.026Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-08T12:37:31.051Z] $ docker stop --time=1 b0099b5dc5bd7eabc5c72d131f7a3845ea777412d4488cd35047933964d4c2bd [2022-02-08T12:37:32.678Z] $ docker rm -f b0099b5dc5bd7eabc5c72d131f7a3845ea777412d4488cd35047933964d4c2bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:37:33.253Z] + docker inspect -f . ci-base-image-arm64 [2022-02-08T12:37:33.253Z] . [Pipeline] withDockerContainer [2022-02-08T12:37:33.474Z] prd-ubuntu18.04-docker-arm64-4c-16g-4830 does not seem to be running inside a container [2022-02-08T12:37:33.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/30 -v /w/workspace/device-mqtt-go/30:/w/workspace/device-mqtt-go/30:rw,z -v /w/workspace/device-mqtt-go/30@tmp:/w/workspace/device-mqtt-go/30@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-arm64 cat [2022-02-08T12:37:34.854Z] $ docker top 9958153cc991e1cabd27e6f43c2da9874a38b505b39476be81fbb97ba6b8f3a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-08T12:37:35.744Z] + make test [2022-02-08T12:37:35.744Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-08T12:37:36.724Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-02-08T12:38:23.721Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-02-08T12:38:23.721Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.5% of statements [2022-02-08T12:38:23.721Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-02-08T12:38:23.721Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-08T12:38:45.896Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-08T12:38:45.896Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-08T12:38:45.896Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-08T12:38:46.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-08T12:38:46.206Z] $ docker stop --time=1 9958153cc991e1cabd27e6f43c2da9874a38b505b39476be81fbb97ba6b8f3a7 [2022-02-08T12:38:47.941Z] $ docker rm -f 9958153cc991e1cabd27e6f43c2da9874a38b505b39476be81fbb97ba6b8f3a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-08T12:38:48.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-08T12:38:48.724Z] Warning: overwriting stash ‘coverage-report’ [2022-02-08T12:38:49.174Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-08T12:38:49.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-08T12:38:49.915Z] + ls -al . [2022-02-08T12:38:49.915Z] total 180 [2022-02-08T12:38:49.915Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 8 12:38 . [2022-02-08T12:38:49.915Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 12:35 .. [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 8 12:35 .dockerignore [2022-02-08T12:38:49.915Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 12:35 .git [2022-02-08T12:38:49.915Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 12:35 .github [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 8 12:35 .gitignore [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 7287 Feb 8 12:35 Attribution.txt [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 7447 Feb 8 12:35 CHANGELOG.md [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 1930 Feb 8 12:35 Dockerfile [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 12:35 GOVERNANCE.md [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 12:35 Jenkinsfile [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 8 12:35 LICENSE [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 1030 Feb 8 12:35 Makefile [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 8 12:35 OWNERS.md [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 2643 Feb 8 12:35 README.md [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 8 12:33 VERSION [2022-02-08T12:38:49.915Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 12:35 bin [2022-02-08T12:38:49.915Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 12:35 cmd [2022-02-08T12:38:49.915Z] -rw-r--r-- 1 jenkins jenkins 17452 Feb 8 12:38 coverage.out [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 2907 Feb 8 12:35 go.mod [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 49409 Feb 8 12:35 go.sum [2022-02-08T12:38:49.915Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 12:35 internal [2022-02-08T12:38:49.915Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 12:35 mock [2022-02-08T12:38:49.915Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 12:35 snap [2022-02-08T12:38:49.915Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 8 12:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:38:50.261Z] + 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=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 --label arch=arm64 --label version=2.2.0-dev.9 . [2022-02-08T12:38:50.534Z] Sending build context to Docker daemon 3.005MB [2022-02-08T12:38:50.534Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-02-08T12:38:50.534Z] Step 2/24 : FROM ${BASE} AS builder [2022-02-08T12:38:50.534Z] ---> e9b8d6ed21d7 [2022-02-08T12:38:50.534Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-08T12:38:50.810Z] ---> Running in 39c14ccb1b70 [2022-02-08T12:38:51.082Z] Removing intermediate container 39c14ccb1b70 [2022-02-08T12:38:51.082Z] ---> c1122c32b5b9 [2022-02-08T12:38:51.082Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-02-08T12:38:51.082Z] ---> Running in 7cc0b97e59ae [2022-02-08T12:38:51.675Z] Removing intermediate container 7cc0b97e59ae [2022-02-08T12:38:51.676Z] ---> 52eaafaad886 [2022-02-08T12:38:51.676Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-08T12:38:51.676Z] ---> Running in c39386338828 [2022-02-08T12:38:53.654Z] Removing intermediate container c39386338828 [2022-02-08T12:38:53.654Z] ---> bfe40f35949e [2022-02-08T12:38:53.654Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-08T12:38:53.654Z] ---> Running in 25eabee4cee7 [2022-02-08T12:38:54.623Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-08T12:38:55.213Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-08T12:38:56.183Z] OK: 224 MiB in 56 packages [2022-02-08T12:38:56.778Z] Removing intermediate container 25eabee4cee7 [2022-02-08T12:38:56.778Z] ---> 6ea66f8ca695 [2022-02-08T12:38:56.778Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-02-08T12:38:57.050Z] ---> Running in f0f490ec869c [2022-02-08T12:38:57.321Z] Removing intermediate container f0f490ec869c [2022-02-08T12:38:57.321Z] ---> 9faac51426a7 [2022-02-08T12:38:57.321Z] Step 8/24 : COPY go.mod vendor* ./ [2022-02-08T12:38:57.915Z] ---> dcc5952d2fd8 [2022-02-08T12:38:57.915Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-08T12:38:57.915Z] ---> Running in 4d159cf2d3ab [2022-02-08T12:38:59.879Z] Removing intermediate container 4d159cf2d3ab [2022-02-08T12:38:59.879Z] ---> b32ef80ac91a [2022-02-08T12:38:59.879Z] Step 10/24 : COPY . . [2022-02-08T12:39:00.853Z] ---> 9261df26baca [2022-02-08T12:39:00.853Z] Step 11/24 : ARG MAKE='make build' [2022-02-08T12:39:00.853Z] ---> Running in 4fe2ddb38cbe [2022-02-08T12:39:01.137Z] Removing intermediate container 4fe2ddb38cbe [2022-02-08T12:39:01.137Z] ---> 27e49ae166ea [2022-02-08T12:39:01.137Z] Step 12/24 : RUN $MAKE [2022-02-08T12:39:01.137Z] ---> Running in 2e36de42f041 [2022-02-08T12:39:02.112Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.9" -o cmd/device-mqtt ./cmd [2022-02-08T12:39:41.196Z] Removing intermediate container 2e36de42f041 [2022-02-08T12:39:41.196Z] ---> 77f7d46096f4 [2022-02-08T12:39:41.196Z] Step 13/24 : FROM alpine:3.14 [2022-02-08T12:39:41.196Z] 3.14: Pulling from library/alpine [2022-02-08T12:39:41.468Z] be307f383ecc: Pulling fs layer [2022-02-08T12:39:41.755Z] be307f383ecc: Verifying Checksum [2022-02-08T12:39:41.755Z] be307f383ecc: Download complete [2022-02-08T12:39:42.350Z] be307f383ecc: Pull complete [2022-02-08T12:39:42.350Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-08T12:39:42.350Z] Status: Downloaded newer image for alpine:3.14 [2022-02-08T12:39:42.350Z] ---> 5b8b7b635229 [2022-02-08T12:39:42.350Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-02-08T12:39:42.350Z] ---> Running in 90960baab1e3 [2022-02-08T12:39:42.623Z] Removing intermediate container 90960baab1e3 [2022-02-08T12:39:42.623Z] ---> 822435746df1 [2022-02-08T12:39:42.623Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-02-08T12:39:42.903Z] ---> Running in a645f5aaa52f [2022-02-08T12:39:43.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-08T12:39:44.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-08T12:39:44.749Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-02-08T12:39:44.749Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-02-08T12:39:44.749Z] (3/6) Installing libsodium (1.0.18-r0) [2022-02-08T12:39:44.749Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-08T12:39:44.749Z] (5/6) Installing libzmq (4.3.4-r0) [2022-02-08T12:39:45.022Z] (6/6) Installing zeromq (4.3.4-r0) [2022-02-08T12:39:45.023Z] Executing busybox-1.33.1-r6.trigger [2022-02-08T12:39:45.023Z] OK: 8 MiB in 20 packages [2022-02-08T12:39:46.003Z] Removing intermediate container a645f5aaa52f [2022-02-08T12:39:46.003Z] ---> dce1aeaba6be [2022-02-08T12:39:46.003Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-02-08T12:39:46.978Z] ---> 77db93fa7eae [2022-02-08T12:39:46.978Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-02-08T12:39:47.574Z] ---> 1b54737a3343 [2022-02-08T12:39:47.574Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-02-08T12:39:48.171Z] ---> 1827225165b5 [2022-02-08T12:39:48.171Z] Step 19/24 : EXPOSE 59982 [2022-02-08T12:39:48.443Z] ---> Running in e725309ec7a0 [2022-02-08T12:39:48.720Z] Removing intermediate container e725309ec7a0 [2022-02-08T12:39:48.720Z] ---> 3c483cc87ac1 [2022-02-08T12:39:48.720Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-02-08T12:39:48.720Z] ---> Running in cd7af6a3b152 [2022-02-08T12:39:48.992Z] Removing intermediate container cd7af6a3b152 [2022-02-08T12:39:48.992Z] ---> ee4094993893 [2022-02-08T12:39:48.992Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-08T12:39:49.262Z] ---> Running in 5fe32b9aa285 [2022-02-08T12:39:49.534Z] Removing intermediate container 5fe32b9aa285 [2022-02-08T12:39:49.534Z] ---> c3eedfb7b286 [2022-02-08T12:39:49.534Z] Step 22/24 : LABEL arch=arm64 [2022-02-08T12:39:49.534Z] ---> Running in c4ce14fe97d4 [2022-02-08T12:39:49.806Z] Removing intermediate container c4ce14fe97d4 [2022-02-08T12:39:49.806Z] ---> 1760be798f0a [2022-02-08T12:39:49.806Z] Step 23/24 : LABEL git_sha=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:39:50.079Z] ---> Running in 3f005a8e2949 [2022-02-08T12:39:50.351Z] Removing intermediate container 3f005a8e2949 [2022-02-08T12:39:50.351Z] ---> 85fd8dd6af10 [2022-02-08T12:39:50.351Z] Step 24/24 : LABEL version=2.2.0-dev.9 [2022-02-08T12:39:50.351Z] ---> Running in fcb92803a107 [2022-02-08T12:39:50.630Z] Removing intermediate container fcb92803a107 [2022-02-08T12:39:50.630Z] ---> 67084e26bf32 [2022-02-08T12:39:50.630Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-08T12:39:50.630Z] Successfully built 67084e26bf32 [2022-02-08T12:39:50.902Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T12:39:50.999Z] provisioning config files... [2022-02-08T12:39:51.016Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/30@tmp/config1164131639920150199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:39:51.361Z] ---> docker-login.sh [2022-02-08T12:39:51.361Z] nexus3.edgexfoundry.org:10001 [2022-02-08T12:39:51.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:39:51.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:39:51.632Z] Configure a credential helper to remove this warning. See [2022-02-08T12:39:51.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:39:51.632Z] [2022-02-08T12:39:51.632Z] Login Succeeded [2022-02-08T12:39:51.632Z] nexus3.edgexfoundry.org:10002 [2022-02-08T12:39:51.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:39:52.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:39:52.182Z] Configure a credential helper to remove this warning. See [2022-02-08T12:39:52.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:39:52.182Z] [2022-02-08T12:39:52.182Z] Login Succeeded [2022-02-08T12:39:52.182Z] nexus3.edgexfoundry.org:10003 [2022-02-08T12:39:52.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:39:52.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:39:52.455Z] Configure a credential helper to remove this warning. See [2022-02-08T12:39:52.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:39:52.455Z] [2022-02-08T12:39:52.455Z] Login Succeeded [2022-02-08T12:39:52.455Z] nexus3.edgexfoundry.org:10004 [2022-02-08T12:39:52.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:39:53.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:39:53.004Z] Configure a credential helper to remove this warning. See [2022-02-08T12:39:53.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:39:53.004Z] [2022-02-08T12:39:53.004Z] Login Succeeded [2022-02-08T12:39:53.004Z] docker.io [2022-02-08T12:39:53.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-08T12:39:53.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-08T12:39:53.869Z] Configure a credential helper to remove this warning. See [2022-02-08T12:39:53.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-08T12:39:53.869Z] [2022-02-08T12:39:53.869Z] Login Succeeded [2022-02-08T12:39:53.869Z] ---> docker-login.sh ends [Pipeline] } [2022-02-08T12:39:53.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-08T12:39:53.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-08T12:39:53.947Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-02-08T12:39:53.947Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:39:53.947Z] latest [2022-02-08T12:39:53.947Z] 2.2.0-dev.9 [2022-02-08T12:39:53.947Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [2022-02-08T12:39:53.947Z] main [2022-02-08T12:39:53.947Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:39:54.289Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:39:54.629Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:39:54.629Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-02-08T12:39:54.629Z] d819811df203: Preparing [2022-02-08T12:39:54.629Z] 4ad97891ae55: Preparing [2022-02-08T12:39:54.629Z] 40990725ae6d: Preparing [2022-02-08T12:39:54.629Z] 5541b2a888cf: Preparing [2022-02-08T12:39:54.629Z] 62170e181a92: Preparing [2022-02-08T12:39:54.629Z] 62170e181a92: Layer already exists [2022-02-08T12:39:54.901Z] d819811df203: Pushed [2022-02-08T12:39:54.901Z] 4ad97891ae55: Pushed [2022-02-08T12:39:55.495Z] 5541b2a888cf: Pushed [2022-02-08T12:39:57.465Z] 40990725ae6d: Pushed [2022-02-08T12:39:57.734Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:39:58.072Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:39:58.404Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-02-08T12:39:58.404Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-02-08T12:39:58.404Z] d819811df203: Preparing [2022-02-08T12:39:58.404Z] 4ad97891ae55: Preparing [2022-02-08T12:39:58.404Z] 40990725ae6d: Preparing [2022-02-08T12:39:58.404Z] 5541b2a888cf: Preparing [2022-02-08T12:39:58.404Z] 62170e181a92: Preparing [2022-02-08T12:39:58.404Z] 5541b2a888cf: Layer already exists [2022-02-08T12:39:58.404Z] 62170e181a92: Layer already exists [2022-02-08T12:39:58.404Z] d819811df203: Layer already exists [2022-02-08T12:39:58.404Z] 4ad97891ae55: Layer already exists [2022-02-08T12:39:58.404Z] 40990725ae6d: Layer already exists [2022-02-08T12:39:58.672Z] latest: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:39:59.007Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:39:59.337Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.9 [2022-02-08T12:39:59.337Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-02-08T12:39:59.337Z] d819811df203: Preparing [2022-02-08T12:39:59.337Z] 4ad97891ae55: Preparing [2022-02-08T12:39:59.337Z] 40990725ae6d: Preparing [2022-02-08T12:39:59.337Z] 5541b2a888cf: Preparing [2022-02-08T12:39:59.337Z] 62170e181a92: Preparing [2022-02-08T12:39:59.337Z] 40990725ae6d: Layer already exists [2022-02-08T12:39:59.337Z] 4ad97891ae55: Layer already exists [2022-02-08T12:39:59.337Z] 62170e181a92: Layer already exists [2022-02-08T12:39:59.337Z] d819811df203: Layer already exists [2022-02-08T12:39:59.337Z] 5541b2a888cf: Layer already exists [2022-02-08T12:39:59.605Z] 2.2.0-dev.9: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:39:59.947Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:00.523Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [2022-02-08T12:40:00.523Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-02-08T12:40:00.523Z] d819811df203: Preparing [2022-02-08T12:40:00.523Z] 4ad97891ae55: Preparing [2022-02-08T12:40:00.523Z] 40990725ae6d: Preparing [2022-02-08T12:40:00.523Z] 5541b2a888cf: Preparing [2022-02-08T12:40:00.523Z] 62170e181a92: Preparing [2022-02-08T12:40:00.523Z] d819811df203: Layer already exists [2022-02-08T12:40:00.523Z] 62170e181a92: Layer already exists [2022-02-08T12:40:00.523Z] 40990725ae6d: Layer already exists [2022-02-08T12:40:00.523Z] 5541b2a888cf: Layer already exists [2022-02-08T12:40:00.523Z] 4ad97891ae55: Layer already exists [2022-02-08T12:40:00.523Z] 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:00.867Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:01.202Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-02-08T12:40:01.202Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-02-08T12:40:01.202Z] d819811df203: Preparing [2022-02-08T12:40:01.202Z] 4ad97891ae55: Preparing [2022-02-08T12:40:01.202Z] 40990725ae6d: Preparing [2022-02-08T12:40:01.202Z] 5541b2a888cf: Preparing [2022-02-08T12:40:01.202Z] 62170e181a92: Preparing [2022-02-08T12:40:01.202Z] 62170e181a92: Layer already exists [2022-02-08T12:40:01.202Z] d819811df203: Layer already exists [2022-02-08T12:40:01.202Z] 4ad97891ae55: Layer already exists [2022-02-08T12:40:01.202Z] 5541b2a888cf: Layer already exists [2022-02-08T12:40:01.202Z] 40990725ae6d: Layer already exists [2022-02-08T12:40:01.471Z] main: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-02-08T12:40:01.519Z] ===================================================== [Pipeline] echo [2022-02-08T12:40:01.530Z] taggedImages: [2022-02-08T12:40:01.530Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [2022-02-08T12:40:01.530Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-02-08T12:40:01.530Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.9 [2022-02-08T12:40:01.530Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [2022-02-08T12:40:01.530Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:01.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-08T12:40:01.885Z] [2022-02-08T12:40:01.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:02.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-08T12:40:02.493Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-08T12:40:02.493Z] 448f6bf000e3: Pulling fs layer [2022-02-08T12:40:02.493Z] f757da607395: Pulling fs layer [2022-02-08T12:40:02.493Z] 05883995daec: Pulling fs layer [2022-02-08T12:40:02.493Z] 8603b9c90790: Pulling fs layer [2022-02-08T12:40:02.493Z] 1560dd03e051: Pulling fs layer [2022-02-08T12:40:02.493Z] 27f5ce0e4adf: Pulling fs layer [2022-02-08T12:40:02.493Z] c2d8d7efcc4b: Pulling fs layer [2022-02-08T12:40:02.493Z] 8603b9c90790: Waiting [2022-02-08T12:40:02.493Z] 1560dd03e051: Waiting [2022-02-08T12:40:02.493Z] 27f5ce0e4adf: Waiting [2022-02-08T12:40:02.493Z] c2d8d7efcc4b: Waiting [2022-02-08T12:40:02.493Z] f757da607395: Verifying Checksum [2022-02-08T12:40:02.493Z] f757da607395: Download complete [2022-02-08T12:40:02.493Z] 8603b9c90790: Verifying Checksum [2022-02-08T12:40:02.493Z] 8603b9c90790: Download complete [2022-02-08T12:40:02.493Z] 1560dd03e051: Verifying Checksum [2022-02-08T12:40:02.493Z] 1560dd03e051: Download complete [2022-02-08T12:40:02.767Z] 27f5ce0e4adf: Verifying Checksum [2022-02-08T12:40:02.767Z] 27f5ce0e4adf: Download complete [2022-02-08T12:40:02.767Z] 05883995daec: Verifying Checksum [2022-02-08T12:40:02.767Z] 05883995daec: Download complete [2022-02-08T12:40:03.043Z] 448f6bf000e3: Verifying Checksum [2022-02-08T12:40:03.043Z] 448f6bf000e3: Download complete [2022-02-08T12:40:05.653Z] c2d8d7efcc4b: Verifying Checksum [2022-02-08T12:40:05.653Z] c2d8d7efcc4b: Download complete [2022-02-08T12:40:06.631Z] 448f6bf000e3: Pull complete [2022-02-08T12:40:07.233Z] f757da607395: Pull complete [2022-02-08T12:40:08.694Z] 05883995daec: Pull complete [2022-02-08T12:40:08.978Z] 8603b9c90790: Pull complete [2022-02-08T12:40:09.959Z] 1560dd03e051: Pull complete [2022-02-08T12:40:10.229Z] 27f5ce0e4adf: Pull complete [2022-02-08T12:40:25.304Z] c2d8d7efcc4b: Pull complete [2022-02-08T12:40:25.304Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-08T12:40:25.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-08T12:40:25.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-08T12:40:25.521Z] prd-ubuntu18.04-docker-arm64-4c-16g-4830 does not seem to be running inside a container [2022-02-08T12:40:25.600Z] $ 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/30 -v /w/workspace/device-mqtt-go/30:/w/workspace/device-mqtt-go/30:rw,z -v /w/workspace/device-mqtt-go/30@tmp:/w/workspace/device-mqtt-go/30@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:arm64 cat [2022-02-08T12:40:28.057Z] $ docker top aa9baaf47ce0f70707fb9ac51cf1a1ecfa6cdf8002e7e22c67cbcfca6aaf485b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:40:28.939Z] ---> job-cost.sh [2022-02-08T12:40:28.939Z] lf-activate-venv: SKIPPING [2022-02-08T12:40:28.939Z] INFO: No Stack... [2022-02-08T12:40:29.211Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-08T12:40:29.482Z] INFO: Archiving Costs [Pipeline] sh [2022-02-08T12:40:30.146Z] + cut -d, -f6 [2022-02-08T12:40:30.146Z] + cat /w/workspace/device-mqtt-go/30/archives/cost.csv [Pipeline] lock [2022-02-08T12:40:30.213Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [2022-02-08T12:40:30.221Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] did not exist. Created. [2022-02-08T12:40:30.222Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-08T12:40:30.892Z] /w/workspace/device-mqtt-go/30@tmp/durable-2a934609/script.sh: 1: /w/workspace/device-mqtt-go/30@tmp/durable-2a934609/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-08T12:40:31.563Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-08T12:40:31.583Z] Warning: overwriting stash ‘stack-cost’ [2022-02-08T12:40:31.624Z] Stashed 1 file(s) [Pipeline] } [2022-02-08T12:40:31.629Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-08T12:40:31.651Z] $ docker stop --time=1 aa9baaf47ce0f70707fb9ac51cf1a1ecfa6cdf8002e7e22c67cbcfca6aaf485b [2022-02-08T12:40:33.136Z] $ docker rm -f aa9baaf47ce0f70707fb9ac51cf1a1ecfa6cdf8002e7e22c67cbcfca6aaf485b [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-02-08T12:40:33.603Z] provisioning config files... [2022-02-08T12:40:33.610Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config622908485108867079tmp [Pipeline] { [Pipeline] sh [2022-02-08T12:40:33.909Z] + set +x [2022-02-08T12:40:33.909Z] + curl -s https://codecov.io/bash [2022-02-08T12:40:33.909Z] + bash -s -- [2022-02-08T12:40:33.909Z] [2022-02-08T12:40:33.909Z] _____ _ [2022-02-08T12:40:33.909Z] / ____| | | [2022-02-08T12:40:33.909Z] | | ___ __| | ___ ___ _____ __ [2022-02-08T12:40:33.909Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-08T12:40:33.909Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-08T12:40:33.909Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-08T12:40:33.909Z] Bash-1.0.6 [2022-02-08T12:40:33.909Z] [2022-02-08T12:40:33.909Z] [2022-02-08T12:40:33.909Z] ==> git version 2.24.4 found [2022-02-08T12:40:33.909Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-02-08T12:40:33.909Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-08T12:40:33.909Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-08T12:40:33.909Z] ==> Jenkins CI detected. [2022-02-08T12:40:33.909Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-02-08T12:40:33.909Z] project root: . [2022-02-08T12:40:33.909Z] --> token set from env [2022-02-08T12:40:33.909Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-08T12:40:34.169Z] ==> Running gcov in . (disable via -X gcov) [2022-02-08T12:40:34.169Z] ==> Python coveragepy not found [2022-02-08T12:40:34.169Z] ==> Searching for coverage reports in: [2022-02-08T12:40:34.169Z] + . [2022-02-08T12:40:34.169Z] -> Found 1 reports [2022-02-08T12:40:34.169Z] ==> Detecting git/mercurial file structure [2022-02-08T12:40:34.169Z] ==> Reading reports [2022-02-08T12:40:34.169Z] + ./coverage.out bytes=17452 [2022-02-08T12:40:34.169Z] ==> Appending adjustments [2022-02-08T12:40:34.169Z] https://docs.codecov.io/docs/fixing-reports [2022-02-08T12:40:34.169Z] + Found adjustments [2022-02-08T12:40:34.169Z] ==> Gzipping contents [2022-02-08T12:40:34.169Z] 4.0K /tmp/codecov.39btYZ.gz [2022-02-08T12:40:34.169Z] ==> Uploading reports [2022-02-08T12:40:34.169Z] url: https://codecov.io [2022-02-08T12:40:34.169Z] query: branch=main&commit=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-02-08T12:40:34.169Z] -> Pinging Codecov [2022-02-08T12:40:34.169Z] 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=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-02-08T12:40:34.429Z] -> Uploading to [2022-02-08T12:40:34.429Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-08/7D719EC7BBE17E464838252E33014C33/195658a04037eb8b6dd2e89b8fc6d25babbaa5f0/3d238bb5-915e-43b5-a19d-d44606d0e450.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220208T124034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b71447616fc9acb907f95698c43c5ed6a134b6581f88593c83e56d3514617144 [2022-02-08T12:40:34.429Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-08T12:40:34.429Z] Dload Upload Total Spent Left Speed [2022-02-08T12:40:35.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 9172 --:--:-- --:--:-- --:--:-- 9168 [2022-02-08T12:40:35.000Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] } [2022-02-08T12:40:35.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-02-08T12:40:35.274Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-02-08T12:40:35.286Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:35.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-08T12:40:35.581Z] [2022-02-08T12:40:35.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:35.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-08T12:40:35.884Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-02-08T12:40:35.884Z] 188c0c94c7c5: Pulling fs layer [2022-02-08T12:40:35.884Z] 0ef7d3d256c8: Pulling fs layer [2022-02-08T12:40:35.884Z] de9db76c5a1d: Pulling fs layer [2022-02-08T12:40:35.884Z] 0eba1c9be4d2: Pulling fs layer [2022-02-08T12:40:35.884Z] 0d57e429df01: Pulling fs layer [2022-02-08T12:40:35.884Z] 4e4be7b47b0d: Pulling fs layer [2022-02-08T12:40:35.884Z] e1f770b5df2f: Pulling fs layer [2022-02-08T12:40:35.884Z] 85a0685a4137: Pulling fs layer [2022-02-08T12:40:35.884Z] 0d57e429df01: Waiting [2022-02-08T12:40:35.884Z] 4e4be7b47b0d: Waiting [2022-02-08T12:40:35.884Z] e1f770b5df2f: Waiting [2022-02-08T12:40:35.884Z] 85a0685a4137: Waiting [2022-02-08T12:40:35.884Z] 0eba1c9be4d2: Waiting [2022-02-08T12:40:35.884Z] de9db76c5a1d: Verifying Checksum [2022-02-08T12:40:35.884Z] de9db76c5a1d: Download complete [2022-02-08T12:40:35.884Z] 0ef7d3d256c8: Verifying Checksum [2022-02-08T12:40:35.884Z] 0ef7d3d256c8: Download complete [2022-02-08T12:40:35.884Z] 0d57e429df01: Verifying Checksum [2022-02-08T12:40:35.884Z] 0d57e429df01: Download complete [2022-02-08T12:40:35.884Z] 4e4be7b47b0d: Verifying Checksum [2022-02-08T12:40:35.884Z] 4e4be7b47b0d: Download complete [2022-02-08T12:40:35.884Z] 188c0c94c7c5: Verifying Checksum [2022-02-08T12:40:35.884Z] 188c0c94c7c5: Download complete [2022-02-08T12:40:36.146Z] e1f770b5df2f: Verifying Checksum [2022-02-08T12:40:36.146Z] e1f770b5df2f: Download complete [2022-02-08T12:40:36.414Z] 188c0c94c7c5: Pull complete [2022-02-08T12:40:36.414Z] 0eba1c9be4d2: Verifying Checksum [2022-02-08T12:40:36.414Z] 0eba1c9be4d2: Download complete [2022-02-08T12:40:36.680Z] 0ef7d3d256c8: Pull complete [2022-02-08T12:40:36.680Z] de9db76c5a1d: Pull complete [2022-02-08T12:40:36.680Z] 85a0685a4137: Verifying Checksum [2022-02-08T12:40:36.680Z] 85a0685a4137: Download complete [2022-02-08T12:40:40.907Z] 0eba1c9be4d2: Pull complete [2022-02-08T12:40:40.907Z] 0d57e429df01: Pull complete [2022-02-08T12:40:40.907Z] 4e4be7b47b0d: Pull complete [2022-02-08T12:40:40.907Z] e1f770b5df2f: Pull complete [2022-02-08T12:40:45.150Z] 85a0685a4137: Pull complete [2022-02-08T12:40:45.150Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-02-08T12:40:45.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-08T12:40:45.150Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-02-08T12:40:45.220Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:40:45.256Z] $ 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-02-08T12:40:47.458Z] $ docker top f311a85ecf9aae5e121ae6db76773288475279661137a25922e91f9b4f892903 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-02-08T12:40:47.554Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-02-08T12:40:47.836Z] + set -o pipefail [2022-02-08T12:40:47.836Z] + snyk monitor '--org=edgex-jenkins' [2022-02-08T12:40:53.147Z] [2022-02-08T12:40:53.147Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-02-08T12:40:53.147Z] [2022-02-08T12:40:53.147Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/56fd485f-a886-4647-8ac1-64d92f82db5a [2022-02-08T12:40:53.147Z] [2022-02-08T12:40:53.147Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-02-08T12:40:53.147Z] [2022-02-08T12:40:53.147Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-02-08T12:40:53.147Z] [2022-02-08T12:40:53.147Z] [Pipeline] } [2022-02-08T12:40:53.159Z] $ docker stop --time=1 f311a85ecf9aae5e121ae6db76773288475279661137a25922e91f9b4f892903 [2022-02-08T12:40:55.035Z] $ docker rm -f f311a85ecf9aae5e121ae6db76773288475279661137a25922e91f9b4f892903 [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-02-08T12:40:55.794Z] + git log --format=format:%s -1 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] sh [2022-02-08T12:40:56.093Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-08T12:40:56.093Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:56.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-08T12:40:56.392Z] . [Pipeline] withDockerContainer [2022-02-08T12:40:56.462Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:40:56.496Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-02-08T12:40:56.867Z] $ docker top 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-08T12:40:56.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-08T12:40:56.972Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-08T12:40:57.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-08T12:40:57.095Z] $ docker exec 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce ssh-agent [2022-02-08T12:40:57.204Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLjllKn/agent.13 [2022-02-08T12:40:57.204Z] SSH_AGENT_PID=19 [2022-02-08T12:40:57.209Z] Running ssh-add (command line suppressed) [2022-02-08T12:40:57.311Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6145478422575873286.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6145478422575873286.key) [2022-02-08T12:40:57.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-08T12:40:57.635Z] + git semver tag [2022-02-08T12:40:57.635Z] # -> Open(): unable to determine branch for HEAD [2022-02-08T12:40:57.635Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-02-08T12:40:57.635Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-02-08T12:40:57.635Z] # $SEMVER_REMOTE_NAME = origin [2022-02-08T12:40:57.635Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-08T12:40:57.635Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-08T12:40:57.635Z] # $SEMVER_BRANCH = main [2022-02-08T12:40:57.635Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-02-08T12:40:57.635Z] # 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 HEAD [2022-02-08T12:40:57.635Z] # -> Force: false [2022-02-08T12:40:57.635Z] # a08b0b9a35e2d9205f0a2b3b38c1a485b9e15349 refs/tags/v2.2.0-dev.9 [Pipeline] } [2022-02-08T12:40:57.645Z] $ docker exec --env ******** --env ******** 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce ssh-agent -k [2022-02-08T12:40:57.746Z] unset SSH_AUTH_SOCK; [2022-02-08T12:40:57.746Z] unset SSH_AGENT_PID; [2022-02-08T12:40:57.746Z] echo Agent pid 19 killed; [2022-02-08T12:40:57.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-08T12:40:58.076Z] + git semver [Pipeline] } [2022-02-08T12:40:58.095Z] $ docker stop --time=1 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce [2022-02-08T12:40:59.318Z] $ docker rm -f 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:40:59.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-08T12:40:59.730Z] [2022-02-08T12:40:59.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:41:00.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-08T12:41:00.039Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-02-08T12:41:00.039Z] ab5ef0e58194: Pulling fs layer [2022-02-08T12:41:00.039Z] 9712f1f96733: Pulling fs layer [2022-02-08T12:41:00.039Z] 63f879dbbcfc: Pulling fs layer [2022-02-08T12:41:00.039Z] 0d9ebad4ef96: Pulling fs layer [2022-02-08T12:41:00.039Z] e9a5061849ea: Pulling fs layer [2022-02-08T12:41:00.039Z] d747dcd14b5f: Pulling fs layer [2022-02-08T12:41:00.039Z] 2de7ff778b66: Pulling fs layer [2022-02-08T12:41:00.039Z] 0d9ebad4ef96: Waiting [2022-02-08T12:41:00.039Z] e9a5061849ea: Waiting [2022-02-08T12:41:00.039Z] d747dcd14b5f: Waiting [2022-02-08T12:41:00.039Z] 2de7ff778b66: Waiting [2022-02-08T12:41:00.039Z] 9712f1f96733: Verifying Checksum [2022-02-08T12:41:00.039Z] 9712f1f96733: Download complete [2022-02-08T12:41:00.302Z] 63f879dbbcfc: Verifying Checksum [2022-02-08T12:41:00.302Z] 63f879dbbcfc: Download complete [2022-02-08T12:41:00.565Z] 0d9ebad4ef96: Verifying Checksum [2022-02-08T12:41:00.565Z] 0d9ebad4ef96: Download complete [2022-02-08T12:41:00.565Z] d747dcd14b5f: Verifying Checksum [2022-02-08T12:41:00.565Z] d747dcd14b5f: Download complete [2022-02-08T12:41:00.565Z] ab5ef0e58194: Verifying Checksum [2022-02-08T12:41:00.565Z] ab5ef0e58194: Download complete [2022-02-08T12:41:00.565Z] e9a5061849ea: Verifying Checksum [2022-02-08T12:41:00.565Z] e9a5061849ea: Download complete [2022-02-08T12:41:00.830Z] 2de7ff778b66: Verifying Checksum [2022-02-08T12:41:00.830Z] 2de7ff778b66: Download complete [2022-02-08T12:41:03.401Z] ab5ef0e58194: Pull complete [2022-02-08T12:41:03.682Z] 9712f1f96733: Pull complete [2022-02-08T12:41:04.262Z] 63f879dbbcfc: Pull complete [2022-02-08T12:41:08.487Z] 0d9ebad4ef96: Pull complete [2022-02-08T12:41:08.747Z] e9a5061849ea: Pull complete [2022-02-08T12:41:08.747Z] d747dcd14b5f: Pull complete [2022-02-08T12:41:10.142Z] 2de7ff778b66: Pull complete [2022-02-08T12:41:10.142Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-02-08T12:41:10.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-08T12:41:10.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-02-08T12:41:10.214Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:41:10.250Z] $ 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-02-08T12:41:13.232Z] $ docker top d2ec21cff4c6f7d3d93615c6ee88ab5827f5f3a4f7652b12f07a4eb9adf7d12a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-02-08T12:41:13.308Z] provisioning config files... [2022-02-08T12:41:13.317Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config294420343923962427tmp [2022-02-08T12:41:13.326Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7978001141972762021tmp [2022-02-08T12:41:13.337Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config378133306532338471tmp [Pipeline] { [Pipeline] echo [2022-02-08T12:41:13.352Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:13.640Z] ---> sigul-configuration.sh [2022-02-08T12:41:13.640Z] gpg: directory `/root/.gnupg' created [2022-02-08T12:41:13.640Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-02-08T12:41:13.640Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-02-08T12:41:13.640Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-02-08T12:41:13.640Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-02-08T12:41:13.640Z] gpg: CAST5 encrypted data [2022-02-08T12:41:13.640Z] gpg: encrypted with 1 passphrase [2022-02-08T12:41:13.640Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-02-08T12:41:13.931Z] + mkdir /home/jenkins [2022-02-08T12:41:13.931Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-02-08T12:41:14.225Z] + 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-02-08T12:41:14.235Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:14.521Z] ---> sigul-install.sh [2022-02-08T12:41:14.521Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-02-08T12:41:14.804Z] + git tag --list [2022-02-08T12:41:14.804Z] 0.7.1 [2022-02-08T12:41:14.804Z] v1.0.0 [2022-02-08T12:41:14.804Z] v1.1.0 [2022-02-08T12:41:14.804Z] v1.1.1 [2022-02-08T12:41:14.804Z] v1.2.2 [2022-02-08T12:41:14.804Z] v1.3.0 [2022-02-08T12:41:14.804Z] v1.3.1 [2022-02-08T12:41:14.804Z] v2.0.0 [2022-02-08T12:41:14.804Z] v2.0.1-dev.1 [2022-02-08T12:41:14.804Z] v2.0.1-dev.10 [2022-02-08T12:41:14.804Z] v2.0.1-dev.11 [2022-02-08T12:41:14.804Z] v2.0.1-dev.12 [2022-02-08T12:41:14.804Z] v2.0.1-dev.13 [2022-02-08T12:41:14.804Z] v2.0.1-dev.14 [2022-02-08T12:41:14.804Z] v2.0.1-dev.15 [2022-02-08T12:41:14.804Z] v2.0.1-dev.16 [2022-02-08T12:41:14.804Z] v2.0.1-dev.17 [2022-02-08T12:41:14.804Z] v2.0.1-dev.2 [2022-02-08T12:41:14.804Z] v2.0.1-dev.3 [2022-02-08T12:41:14.804Z] v2.0.1-dev.4 [2022-02-08T12:41:14.804Z] v2.0.1-dev.5 [2022-02-08T12:41:14.804Z] v2.0.1-dev.6 [2022-02-08T12:41:14.804Z] v2.0.1-dev.7 [2022-02-08T12:41:14.804Z] v2.0.1-dev.8 [2022-02-08T12:41:14.804Z] v2.0.1-dev.9 [2022-02-08T12:41:14.804Z] v2.1.0 [2022-02-08T12:41:14.804Z] v2.2.0-dev.1 [2022-02-08T12:41:14.804Z] v2.2.0-dev.2 [2022-02-08T12:41:14.804Z] v2.2.0-dev.3 [2022-02-08T12:41:14.804Z] v2.2.0-dev.4 [2022-02-08T12:41:14.804Z] v2.2.0-dev.5 [2022-02-08T12:41:14.804Z] v2.2.0-dev.6 [2022-02-08T12:41:14.804Z] v2.2.0-dev.7 [2022-02-08T12:41:14.804Z] v2.2.0-dev.8 [2022-02-08T12:41:14.804Z] v2.2.0-dev.9 [Pipeline] sh [2022-02-08T12:41:15.094Z] + lftools sign git-tag v2.2.0-dev.9 [2022-02-08T12:41:15.668Z] Signing Git tag with Sigul... [2022-02-08T12:41:15.668Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-02-08T12:41:15.937Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:16.226Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-02-08T12:41:16.233Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-02-08T12:41:16.259Z] $ docker stop --time=1 d2ec21cff4c6f7d3d93615c6ee88ab5827f5f3a4f7652b12f07a4eb9adf7d12a [2022-02-08T12:41:17.472Z] $ docker rm -f d2ec21cff4c6f7d3d93615c6ee88ab5827f5f3a4f7652b12f07a4eb9adf7d12a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-02-08T12:41:17.901Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-08T12:41:17.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:41:18.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-08T12:41:18.205Z] . [Pipeline] withDockerContainer [2022-02-08T12:41:18.279Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:41:18.326Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-02-08T12:41:18.713Z] $ docker top 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-08T12:41:18.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-08T12:41:18.820Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-08T12:41:18.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-08T12:41:18.935Z] $ docker exec 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 ssh-agent [2022-02-08T12:41:19.051Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiammMm/agent.15 [2022-02-08T12:41:19.051Z] SSH_AGENT_PID=21 [2022-02-08T12:41:19.057Z] Running ssh-add (command line suppressed) [2022-02-08T12:41:19.159Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4974513818481831134.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4974513818481831134.key) [2022-02-08T12:41:19.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-08T12:41:19.474Z] + git semver bump pre [2022-02-08T12:41:19.474Z] # -> Open(): unable to determine branch for HEAD [2022-02-08T12:41:19.474Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-02-08T12:41:19.474Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-02-08T12:41:19.474Z] # $SEMVER_REMOTE_NAME = origin [2022-02-08T12:41:19.474Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-08T12:41:19.474Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-08T12:41:19.474Z] # $SEMVER_BRANCH = main [2022-02-08T12:41:19.474Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-02-08T12:41:19.474Z] 2.2.0-dev.10 [Pipeline] } [2022-02-08T12:41:19.485Z] $ docker exec --env ******** --env ******** 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 ssh-agent -k [2022-02-08T12:41:19.577Z] unset SSH_AUTH_SOCK; [2022-02-08T12:41:19.577Z] unset SSH_AGENT_PID; [2022-02-08T12:41:19.578Z] echo Agent pid 21 killed; [2022-02-08T12:41:19.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-08T12:41:19.900Z] + git semver [Pipeline] } [2022-02-08T12:41:19.918Z] $ docker stop --time=1 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 [2022-02-08T12:41:21.105Z] $ docker rm -f 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-08T12:41:21.463Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-08T12:41:21.463Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:41:21.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-08T12:41:21.761Z] . [Pipeline] withDockerContainer [2022-02-08T12:41:21.822Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:41:21.853Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-02-08T12:41:22.254Z] $ docker top ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-08T12:41:22.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-08T12:41:22.350Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-08T12:41:22.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-08T12:41:22.461Z] $ docker exec ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 ssh-agent [2022-02-08T12:41:22.562Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnDlFlB/agent.15 [2022-02-08T12:41:22.562Z] SSH_AGENT_PID=22 [2022-02-08T12:41:22.566Z] Running ssh-add (command line suppressed) [2022-02-08T12:41:22.659Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1946969136015830413.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1946969136015830413.key) [2022-02-08T12:41:22.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-08T12:41:22.961Z] + git semver push [2022-02-08T12:41:22.961Z] # -> Open(): unable to determine branch for HEAD [2022-02-08T12:41:22.961Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-02-08T12:41:22.961Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-02-08T12:41:22.961Z] # $SEMVER_REMOTE_NAME = origin [2022-02-08T12:41:22.961Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-08T12:41:22.961Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-08T12:41:22.961Z] # $SEMVER_BRANCH = main [2022-02-08T12:41:22.961Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-02-08T12:41:24.886Z] $ docker exec --env ******** --env ******** ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 ssh-agent -k [2022-02-08T12:41:24.969Z] unset SSH_AUTH_SOCK; [2022-02-08T12:41:24.969Z] unset SSH_AGENT_PID; [2022-02-08T12:41:24.969Z] echo Agent pid 22 killed; [2022-02-08T12:41:24.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-08T12:41:25.282Z] + git semver [Pipeline] } [2022-02-08T12:41:25.295Z] $ docker stop --time=1 ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 [2022-02-08T12:41:26.456Z] $ docker rm -f ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 [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-02-08T12:41:27.059Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [2022-02-08T12:41:27.059Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-02-08T12:41:27.059Z] total 8 [2022-02-08T12:41:27.059Z] drwxr-xr-x. 3 root root 34 Feb 8 12:35 . [2022-02-08T12:41:27.059Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 8 12:41 .. [2022-02-08T12:41:27.059Z] drwxr-xr-x. 2 root root 6 Feb 8 12:35 cost [2022-02-08T12:41:27.059Z] -rw-r--r--. 1 root root 84 Feb 8 12:35 cost.csv [2022-02-08T12:41:27.059Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-02-08T12:41:27.059Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-02-08T12:41:27.059Z] total 8 [2022-02-08T12:41:27.059Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 8 12:35 . [2022-02-08T12:41:27.059Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 8 12:41 .. [2022-02-08T12:41:27.059Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 8 12:35 cost [2022-02-08T12:41:27.059Z] -rw-r--r--. 1 jenkins jenkins 84 Feb 8 12:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:27.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:27.907Z] ---> package-listing.sh [2022-02-08T12:41:27.907Z] ++ facter osfamily [2022-02-08T12:41:27.907Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-08T12:41:28.173Z] + OS_FAMILY=redhat [2022-02-08T12:41:28.174Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-02-08T12:41:28.174Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-08T12:41:28.174Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-08T12:41:28.174Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-08T12:41:28.174Z] + PACKAGES=/tmp/packages_start.txt [2022-02-08T12:41:28.174Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-02-08T12:41:28.174Z] + PACKAGES=/tmp/packages_end.txt [2022-02-08T12:41:28.174Z] + case "${OS_FAMILY}" in [2022-02-08T12:41:28.174Z] + rpm -qa [2022-02-08T12:41:28.174Z] + sort [2022-02-08T12:41:28.744Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-08T12:41:28.744Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-08T12:41:28.744Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-08T12:41:28.744Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-02-08T12:41:28.744Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-02-08T12:41:28.744Z] + 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-02-08T12:41:28.756Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-02-08T12:41:29.038Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-08T12:41:29.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-08T12:41:29.596Z] . [Pipeline] withDockerContainer [2022-02-08T12:41:29.661Z] prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container [2022-02-08T12:41:29.702Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-02-08T12:41:29.902Z] $ docker top 5f289e4c54d33c06798f787a6808566c4931134995b930fd8de6a3509cb06bc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-08T12:41:30.256Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-08T12:41:30.546Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-08T12:41:30.835Z] + ls /var/log/sa-host [2022-02-08T12:41:30.835Z] + sadf -c /var/log/sa-host/sa08 [2022-02-08T12:41:30.835Z] file_magic: OK [2022-02-08T12:41:30.835Z] HZ: Using current value: 100 [2022-02-08T12:41:30.835Z] file_header: OK [2022-02-08T12:41:30.835Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-08T12:41:30.835Z] Statistics: [2022-02-08T12:41:30.835Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-08T12:41:30.835Z] File successfully converted to sysstat format version 12.0.3 [2022-02-08T12:41:30.835Z] + sadf -c /var/log/sa-host/sa17 [2022-02-08T12:41:30.835Z] file_magic: OK [2022-02-08T12:41:30.835Z] HZ: Using current value: 100 [2022-02-08T12:41:30.835Z] file_header: OK [2022-02-08T12:41:30.835Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-08T12:41:30.835Z] Statistics: [2022-02-08T12:41:30.835Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-08T12:41:30.835Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-08T12:41:31.040Z] provisioning config files... [2022-02-08T12:41:31.049Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config620870106150666176tmp [Pipeline] { [Pipeline] echo [2022-02-08T12:41:31.066Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:31.353Z] ---> create-netrc.sh [Pipeline] } [2022-02-08T12:41:31.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:31.701Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-08T12:41:31.711Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:31.997Z] ---> sudo-logs.sh [2022-02-08T12:41:31.997Z] Archiving 'sudo' log.. [2022-02-08T12:41:31.997Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4829.novalocal: Name or service not known [2022-02-08T12:41:31.997Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4829.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-08T12:41:32.025Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:32.319Z] ---> job-cost.sh [2022-02-08T12:41:32.319Z] lf-activate-venv: SKIPPING [2022-02-08T12:41:32.319Z] DEBUG: total: 0.05999999865889549 [2022-02-08T12:41:32.319Z] INFO: Retrieving Stack Cost... [2022-02-08T12:41:32.580Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-08T12:41:32.842Z] INFO: Archiving Costs [Pipeline] echo [2022-02-08T12:41:32.854Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-08T12:41:33.151Z] ---> logs-deploy.sh [2022-02-08T12:41:33.151Z] lf-activate-venv: SKIPPING [2022-02-08T12:41:33.151Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/30 [2022-02-08T12:41:33.151Z] INFO: archiving workspace using pattern(s): [2022-02-08T12:41:33.730Z] Archives upload complete. [2022-02-08T12:41:33.996Z] INFO: archiving logs to Nexus