Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f14e9a977dd7f895b260ccb1ade119f5167320d 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-ssh15277344200341546977.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh17096308132216553842.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh11812335490559127072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh12693765103689248913.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-ssh182153972811415912.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.16 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-522 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-ssh4449388908281472297.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 7f14e9a977dd7f895b260ccb1ade119f5167320d (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 7f14e9a977dd7f895b260ccb1ade119f5167320d # timeout=10 Commit message: "docs: Add deployment section to readme (#330)" > git rev-list --no-walk 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-08T21:26:03.370Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-08T21:26:03.438Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-08T21:26:03.462Z] ========================================================= [2021-12-08T21:26:03.462Z] EdgeX Global Pipelines Version Info [2021-12-08T21:26:03.462Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:26:04.590Z] ------------------- [2021-12-08T21:26:04.590Z] stable info: [2021-12-08T21:26:04.590Z] ------------------- [2021-12-08T21:26:04.590Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-08T21:26:04.590Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-08T21:26:04.590Z] Message: update stable to v1.0.217 [2021-12-08T21:26:05.164Z] ------------------- [2021-12-08T21:26:05.164Z] experimental info: [2021-12-08T21:26:05.164Z] ------------------- [2021-12-08T21:26:05.164Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-08T21:26:05.164Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-08T21:26:05.164Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-08T21:26:05.301Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-12-08T21:26:05.309Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-12-08T21:26:05.318Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-08T21:26:05.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-08T21:26:05.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-08T21:26:05.343Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-08T21:26:05.351Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-08T21:26:05.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-08T21:26:05.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-08T21:26:05.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-08T21:26:05.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-08T21:26:05.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-12-08T21:26:05.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-08T21:26:05.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-08T21:26:05.442Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-08T21:26:05.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-08T21:26:05.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-08T21:26:05.482Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-08T21:26:05.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-08T21:26:05.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-08T21:26:05.526Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-08T21:26:05.536Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-08T21:26:05.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-08T21:26:05.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-08T21:26:05.573Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-08T21:26:05.587Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-08T21:26:05.599Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-08T21:26:05.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-08T21:26:05.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-08T21:26:05.637Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] echo [2021-12-08T21:26:05.652Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f14e9a [Pipeline] echo [2021-12-08T21:26:05.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-08T21:26:05.715Z] provisioning config files... [2021-12-08T21:26:05.730Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1899285447828880557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:26:06.036Z] ---> docker-login.sh [2021-12-08T21:26:06.036Z] nexus3.edgexfoundry.org:10001 [2021-12-08T21:26:06.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:26:06.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:26:06.301Z] Configure a credential helper to remove this warning. See [2021-12-08T21:26:06.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:26:06.301Z] [2021-12-08T21:26:06.301Z] Login Succeeded [2021-12-08T21:26:06.301Z] nexus3.edgexfoundry.org:10002 [2021-12-08T21:26:06.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:26:06.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:26:06.301Z] Configure a credential helper to remove this warning. See [2021-12-08T21:26:06.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:26:06.301Z] [2021-12-08T21:26:06.301Z] Login Succeeded [2021-12-08T21:26:06.301Z] nexus3.edgexfoundry.org:10003 [2021-12-08T21:26:06.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:26:06.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:26:06.569Z] Configure a credential helper to remove this warning. See [2021-12-08T21:26:06.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:26:06.569Z] [2021-12-08T21:26:06.569Z] Login Succeeded [2021-12-08T21:26:06.569Z] nexus3.edgexfoundry.org:10004 [2021-12-08T21:26:06.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:26:06.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:26:06.569Z] Configure a credential helper to remove this warning. See [2021-12-08T21:26:06.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:26:06.569Z] [2021-12-08T21:26:06.569Z] Login Succeeded [2021-12-08T21:26:06.569Z] docker.io [2021-12-08T21:26:06.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:26:07.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:26:07.145Z] Configure a credential helper to remove this warning. See [2021-12-08T21:26:07.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:26:07.145Z] [2021-12-08T21:26:07.145Z] Login Succeeded [2021-12-08T21:26:07.145Z] ---> docker-login.sh ends [Pipeline] } [2021-12-08T21:26:07.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-08T21:26:07.629Z] + git rev-list -1 --merges 7f14e9a977dd7f895b260ccb1ade119f5167320d~1..7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] echo [2021-12-08T21:26:07.665Z] -----------> git rev-list -1 --merges 7f14e9a977dd7f895b260ccb1ade119f5167320d~1..7f14e9a977dd7f895b260ccb1ade119f5167320d 7f14e9a977dd7f895b260ccb1ade119f5167320d [false] [Pipeline] sh [2021-12-08T21:26:07.976Z] + git log --format=format:%s -1 7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] echo [2021-12-08T21:26:07.993Z] ========================================================= [2021-12-08T21:26:07.993Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-08T21:26:07.993Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-08T21:26:08.328Z] + git log --format=format:%s -1 7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] echo [2021-12-08T21:26:08.341Z] [semverPrep] GIT_COMMIT: 7f14e9a977dd7f895b260ccb1ade119f5167320d, Commit Message: docs: Add deployment section to readme (#330) [Pipeline] echo [2021-12-08T21:26:08.353Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-08T21:26:08.789Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-08T21:26:08.789Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-08T21:26:08.789Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-08T21:26:08.789Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-08T21:26:08.789Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-08T21:26:08.789Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-08T21:26:08.789Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:26:09.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-08T21:26:09.224Z] [2021-12-08T21:26:09.224Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:26:09.531Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-08T21:26:09.531Z] latest: Pulling from edgex-devops/git-semver [2021-12-08T21:26:09.531Z] a0d0a0d46f8b: Pulling fs layer [2021-12-08T21:26:09.531Z] 3e5f54012d9b: Pulling fs layer [2021-12-08T21:26:09.531Z] 4c7163046ea9: Pulling fs layer [2021-12-08T21:26:09.531Z] 0c2d73faf560: Pulling fs layer [2021-12-08T21:26:09.531Z] 0c2d73faf560: Waiting [2021-12-08T21:26:09.531Z] 3e5f54012d9b: Verifying Checksum [2021-12-08T21:26:09.531Z] 3e5f54012d9b: Download complete [2021-12-08T21:26:09.531Z] a0d0a0d46f8b: Verifying Checksum [2021-12-08T21:26:09.531Z] a0d0a0d46f8b: Download complete [2021-12-08T21:26:09.531Z] 4c7163046ea9: Verifying Checksum [2021-12-08T21:26:09.531Z] 4c7163046ea9: Download complete [2021-12-08T21:26:09.531Z] 0c2d73faf560: Verifying Checksum [2021-12-08T21:26:09.531Z] 0c2d73faf560: Download complete [2021-12-08T21:26:09.792Z] a0d0a0d46f8b: Pull complete [2021-12-08T21:26:09.792Z] 3e5f54012d9b: Pull complete [2021-12-08T21:26:10.059Z] 4c7163046ea9: Pull complete [2021-12-08T21:26:10.326Z] 0c2d73faf560: Pull complete [2021-12-08T21:26:10.326Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-08T21:26:10.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-08T21:26:10.326Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-08T21:26:10.409Z] prd-centos7-docker-4c-2g-522 does not seem to be running inside a container [2021-12-08T21:26:10.333Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-08T21:26:10.990Z] $ docker top 349c4b1ead2769026fe04bd899c09533828006ce340428803109ac5611c456ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-08T21:26:11.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-08T21:26:11.152Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-08T21:26:11.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-08T21:26:11.208Z] $ docker exec 349c4b1ead2769026fe04bd899c09533828006ce340428803109ac5611c456ea ssh-agent [2021-12-08T21:26:11.343Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAHmDcb/agent.14 [2021-12-08T21:26:11.343Z] SSH_AGENT_PID=20 [2021-12-08T21:26:11.351Z] Running ssh-add (command line suppressed) [2021-12-08T21:26:11.420Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4259349199270727278.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4259349199270727278.key) [2021-12-08T21:26:11.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-08T21:26:11.762Z] + git tag --points-at HEAD [Pipeline] } [2021-12-08T21:26:11.772Z] $ docker exec --env ******** --env ******** 349c4b1ead2769026fe04bd899c09533828006ce340428803109ac5611c456ea ssh-agent -k [2021-12-08T21:26:11.862Z] unset SSH_AUTH_SOCK; [2021-12-08T21:26:11.863Z] unset SSH_AGENT_PID; [2021-12-08T21:26:11.863Z] echo Agent pid 20 killed; [2021-12-08T21:26:11.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-08T21:26:11.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-08T21:26:11.905Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-08T21:26:11.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-08T21:26:12.001Z] $ docker exec 349c4b1ead2769026fe04bd899c09533828006ce340428803109ac5611c456ea ssh-agent [2021-12-08T21:26:12.101Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjkmBGB/agent.53 [2021-12-08T21:26:12.101Z] SSH_AGENT_PID=59 [2021-12-08T21:26:12.107Z] Running ssh-add (command line suppressed) [2021-12-08T21:26:12.195Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8440020315131162195.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8440020315131162195.key) [2021-12-08T21:26:12.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-08T21:26:12.501Z] + git semver init [2021-12-08T21:26:12.501Z] # -> Open(): unable to determine branch for HEAD [2021-12-08T21:26:12.501Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-08T21:26:12.501Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-08T21:26:12.501Z] # $SEMVER_REMOTE_NAME = origin [2021-12-08T21:26:12.501Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-08T21:26:12.501Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-08T21:26:12.501Z] # $SEMVER_BRANCH = main [2021-12-08T21:26:12.501Z] # $SEMVER_TEMP = /tmp/semver-815676494 [2021-12-08T21:26:12.501Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-12-08T21:26:13.442Z] # '/tmp/semver-815676494' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-12-08T21:26:13.442Z] # -> Force: false [2021-12-08T21:26:13.442Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-08T21:26:13.453Z] $ docker exec --env ******** --env ******** 349c4b1ead2769026fe04bd899c09533828006ce340428803109ac5611c456ea ssh-agent -k [2021-12-08T21:26:13.547Z] unset SSH_AUTH_SOCK; [2021-12-08T21:26:13.549Z] unset SSH_AGENT_PID; [2021-12-08T21:26:13.549Z] echo Agent pid 59 killed; [2021-12-08T21:26:13.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-08T21:26:13.857Z] + git semver [Pipeline] } [2021-12-08T21:26:13.872Z] $ docker stop --time=1 349c4b1ead2769026fe04bd899c09533828006ce340428803109ac5611c456ea [2021-12-08T21:26:15.104Z] $ docker rm -f 349c4b1ead2769026fe04bd899c09533828006ce340428803109ac5611c456ea [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-08T21:26:15.453Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-08T21:26:15.687Z] Stashed 1 file(s) [Pipeline] echo [2021-12-08T21:26:15.690Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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] node [Pipeline] node [2021-12-08T21:26:30.880Z] Still waiting to schedule task [2021-12-08T21:26:30.880Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-522’ [2021-12-08T21:26:30.883Z] Still waiting to schedule task [2021-12-08T21:26:30.883Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-08T21:27:56.811Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-523 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-08T21:27:56.826Z] Running in /w/workspace/device-mqtt-go/25 [Pipeline] { [Pipeline] checkout [2021-12-08T21:27:56.980Z] Selected Git installation does not exist. Using Default [2021-12-08T21:27:56.980Z] The recommended git tool is: NONE [2021-12-08T21:28:01.865Z] using credential edgex-jenkins-ssh [2021-12-08T21:28:01.884Z] Cloning the remote Git repository [2021-12-08T21:28:01.946Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-08T21:28:02.018Z] > git init /w/workspace/device-mqtt-go/25 # timeout=10 [2021-12-08T21:28:02.102Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-08T21:28:02.103Z] > git --version # timeout=10 [2021-12-08T21:28:02.119Z] > git --version # 'git version 2.17.1' [2021-12-08T21:28:02.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-08T21:28:02.187Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-08T21:28:03.552Z] Avoid second fetch [2021-12-08T21:28:03.553Z] Checking out Revision 7f14e9a977dd7f895b260ccb1ade119f5167320d (main) [2021-12-08T21:28:03.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-08T21:28:03.534Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-08T21:28:03.618Z] > git config core.sparsecheckout # timeout=10 [2021-12-08T21:28:03.656Z] > git checkout -f 7f14e9a977dd7f895b260ccb1ade119f5167320d # timeout=10 [2021-12-08T21:28:07.935Z] Commit message: "docs: Add deployment section to readme (#330)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-08T21:28:08.857Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-08T21:28:08.857Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-08T21:28:08.857Z] Dload Upload Total Spent Left Speed [2021-12-08T21:28:08.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 79891 0 --:--:-- --:--:-- --:--:-- 80435 [Pipeline] sh [2021-12-08T21:28:09.371Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-08T21:28:09.706Z] + + sudo tee /etc/docker/daemon.new [2021-12-08T21:28:09.706Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-08T21:28:09.706Z] { [2021-12-08T21:28:09.706Z] "registry-mirrors": [ [2021-12-08T21:28:09.706Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-08T21:28:09.706Z] ], [2021-12-08T21:28:09.706Z] "bip": "10.250.0.254/24", [2021-12-08T21:28:09.706Z] "hosts": [ [2021-12-08T21:28:09.706Z] "tcp://0.0.0.0:5555", [2021-12-08T21:28:09.706Z] "unix:///var/run/docker.sock" [2021-12-08T21:28:09.706Z] ], [2021-12-08T21:28:09.706Z] "mtu": 1458, [2021-12-08T21:28:09.706Z] "selinux-enabled": true, [2021-12-08T21:28:09.706Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-08T21:28:09.706Z] } [Pipeline] sh [2021-12-08T21:28:10.054Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-08T21:28:10.403Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-08T21:28:28.767Z] provisioning config files... [2021-12-08T21:28:28.846Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config7730918209916152442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:28:29.247Z] ---> docker-login.sh [2021-12-08T21:28:29.247Z] nexus3.edgexfoundry.org:10001 [2021-12-08T21:28:29.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:30.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:30.121Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:30.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:30.121Z] [2021-12-08T21:28:30.121Z] Login Succeeded [2021-12-08T21:28:30.121Z] nexus3.edgexfoundry.org:10002 [2021-12-08T21:28:30.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:30.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:30.400Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:30.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:30.400Z] [2021-12-08T21:28:30.400Z] Login Succeeded [2021-12-08T21:28:30.400Z] nexus3.edgexfoundry.org:10003 [2021-12-08T21:28:30.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:30.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:30.948Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:30.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:30.948Z] [2021-12-08T21:28:30.948Z] Login Succeeded [2021-12-08T21:28:30.948Z] nexus3.edgexfoundry.org:10004 [2021-12-08T21:28:31.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:31.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:31.226Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:31.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:31.226Z] [2021-12-08T21:28:31.226Z] Login Succeeded [2021-12-08T21:28:31.226Z] docker.io [2021-12-08T21:28:31.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:32.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:32.095Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:32.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:32.095Z] [2021-12-08T21:28:32.095Z] Login Succeeded [2021-12-08T21:28:32.095Z] ---> docker-login.sh ends [Pipeline] } [2021-12-08T21:28:32.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-08T21:28:32.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-08T21:28:32.581Z] ========================================================= [2021-12-08T21:28:32.581Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-08T21:28:32.581Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:28:32.964Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-08T21:28:33.240Z] Sending build context to Docker daemon 2.956MB [2021-12-08T21:28:33.240Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-08T21:28:33.240Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-08T21:28:33.516Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-08T21:28:33.516Z] 552d1f2373af: Pulling fs layer [2021-12-08T21:28:33.516Z] ea3f2d53f512: Pulling fs layer [2021-12-08T21:28:33.516Z] 9e70ebbbe112: Pulling fs layer [2021-12-08T21:28:33.516Z] 7a9cfe048b4a: Pulling fs layer [2021-12-08T21:28:33.516Z] 72dc09318566: Pulling fs layer [2021-12-08T21:28:33.516Z] f4f7b4309257: Pulling fs layer [2021-12-08T21:28:33.516Z] 0ac9a79272e3: Pulling fs layer [2021-12-08T21:28:33.516Z] 7a9cfe048b4a: Waiting [2021-12-08T21:28:33.516Z] 72dc09318566: Waiting [2021-12-08T21:28:33.516Z] f4f7b4309257: Waiting [2021-12-08T21:28:33.516Z] 0ac9a79272e3: Waiting [2021-12-08T21:28:33.516Z] b78e95d17946: Pulling fs layer [2021-12-08T21:28:33.516Z] b78e95d17946: Waiting [2021-12-08T21:28:33.516Z] 9e70ebbbe112: Verifying Checksum [2021-12-08T21:28:33.516Z] 9e70ebbbe112: Download complete [2021-12-08T21:28:33.516Z] ea3f2d53f512: Verifying Checksum [2021-12-08T21:28:33.516Z] ea3f2d53f512: Download complete [2021-12-08T21:28:33.516Z] 72dc09318566: Verifying Checksum [2021-12-08T21:28:33.516Z] 72dc09318566: Download complete [2021-12-08T21:28:33.516Z] f4f7b4309257: Verifying Checksum [2021-12-08T21:28:33.516Z] f4f7b4309257: Download complete [2021-12-08T21:28:33.516Z] 552d1f2373af: Download complete [2021-12-08T21:28:33.516Z] 0ac9a79272e3: Verifying Checksum [2021-12-08T21:28:33.516Z] 0ac9a79272e3: Download complete [2021-12-08T21:28:34.509Z] 552d1f2373af: Pull complete [2021-12-08T21:28:34.787Z] ea3f2d53f512: Pull complete [2021-12-08T21:28:35.060Z] 9e70ebbbe112: Pull complete [2021-12-08T21:28:35.657Z] b78e95d17946: Verifying Checksum [2021-12-08T21:28:35.657Z] b78e95d17946: Download complete [2021-12-08T21:28:35.928Z] 7a9cfe048b4a: Verifying Checksum [2021-12-08T21:28:35.928Z] 7a9cfe048b4a: Download complete [2021-12-08T21:28:36.677Z] Running on prd-centos7-docker-4c-2g-524 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-08T21:28:36.689Z] Running in /w/workspace/device-mqtt-go/25 [Pipeline] { [Pipeline] checkout [2021-12-08T21:28:36.783Z] Selected Git installation does not exist. Using Default [2021-12-08T21:28:36.783Z] The recommended git tool is: NONE [2021-12-08T21:28:38.492Z] using credential edgex-jenkins-ssh [2021-12-08T21:28:38.505Z] Cloning the remote Git repository [2021-12-08T21:28:37.703Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-08T21:28:37.741Z] > git init /w/workspace/device-mqtt-go/25 # timeout=10 [2021-12-08T21:28:37.770Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-08T21:28:37.770Z] > git --version # timeout=10 [2021-12-08T21:28:37.783Z] > git --version # 'git version 2.24.4' [2021-12-08T21:28:37.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-08T21:28:37.815Z] [INFO] Currently running in a labeled security context [2021-12-08T21:28:37.815Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-08T21:28:37.815Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/25@tmp/jenkins-gitclient-ssh401962567838736642.key [2021-12-08T21:28:37.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-08T21:28:39.487Z] Avoid second fetch [2021-12-08T21:28:39.487Z] Checking out Revision 7f14e9a977dd7f895b260ccb1ade119f5167320d (main) [2021-12-08T21:28:38.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-08T21:28:38.653Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-08T21:28:38.682Z] > git config core.sparsecheckout # timeout=10 [2021-12-08T21:28:38.695Z] > git checkout -f 7f14e9a977dd7f895b260ccb1ade119f5167320d # timeout=10 [2021-12-08T21:28:43.097Z] Commit message: "docs: Add deployment section to readme (#330)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-08T21:28:43.467Z] provisioning config files... [2021-12-08T21:28:43.481Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config8732188409499527201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:28:43.866Z] ---> docker-login.sh [2021-12-08T21:28:43.866Z] nexus3.edgexfoundry.org:10001 [2021-12-08T21:28:43.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:44.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:44.130Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:44.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:44.130Z] [2021-12-08T21:28:44.130Z] Login Succeeded [2021-12-08T21:28:44.130Z] nexus3.edgexfoundry.org:10002 [2021-12-08T21:28:44.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:44.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:44.130Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:44.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:44.130Z] [2021-12-08T21:28:44.130Z] Login Succeeded [2021-12-08T21:28:44.130Z] nexus3.edgexfoundry.org:10003 [2021-12-08T21:28:44.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:44.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:44.398Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:44.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:44.398Z] [2021-12-08T21:28:44.398Z] Login Succeeded [2021-12-08T21:28:44.398Z] nexus3.edgexfoundry.org:10004 [2021-12-08T21:28:44.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:44.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:44.398Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:44.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:44.398Z] [2021-12-08T21:28:44.398Z] Login Succeeded [2021-12-08T21:28:44.398Z] docker.io [2021-12-08T21:28:44.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:28:44.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:28:44.972Z] Configure a credential helper to remove this warning. See [2021-12-08T21:28:44.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:28:44.972Z] [2021-12-08T21:28:44.972Z] Login Succeeded [2021-12-08T21:28:44.972Z] ---> docker-login.sh ends [Pipeline] } [2021-12-08T21:28:45.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-08T21:28:45.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-08T21:28:45.184Z] ========================================================= [2021-12-08T21:28:45.184Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-08T21:28:45.184Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:28:45.496Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-08T21:28:45.496Z] Sending build context to Docker daemon 2.957MB [2021-12-08T21:28:45.496Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-08T21:28:45.496Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-08T21:28:45.496Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-08T21:28:45.496Z] a0d0a0d46f8b: Pulling fs layer [2021-12-08T21:28:45.496Z] 31adcdaf11c8: Pulling fs layer [2021-12-08T21:28:45.496Z] b8b176561691: Pulling fs layer [2021-12-08T21:28:45.496Z] 4527c011a84f: Pulling fs layer [2021-12-08T21:28:45.496Z] 5d74067f8e1e: Pulling fs layer [2021-12-08T21:28:45.496Z] e0aca202a116: Pulling fs layer [2021-12-08T21:28:45.496Z] 3a43be97a3b4: Pulling fs layer [2021-12-08T21:28:45.496Z] 34cad66bf833: Pulling fs layer [2021-12-08T21:28:45.496Z] b4e3c513aaa6: Pulling fs layer [2021-12-08T21:28:45.496Z] 4527c011a84f: Waiting [2021-12-08T21:28:45.496Z] 5d74067f8e1e: Waiting [2021-12-08T21:28:45.496Z] b4e3c513aaa6: Waiting [2021-12-08T21:28:45.496Z] 34cad66bf833: Waiting [2021-12-08T21:28:45.496Z] e0aca202a116: Waiting [2021-12-08T21:28:45.496Z] 3a43be97a3b4: Waiting [2021-12-08T21:28:45.496Z] b8b176561691: Verifying Checksum [2021-12-08T21:28:45.496Z] b8b176561691: Download complete [2021-12-08T21:28:45.496Z] 31adcdaf11c8: Verifying Checksum [2021-12-08T21:28:45.496Z] 31adcdaf11c8: Download complete [2021-12-08T21:28:45.496Z] 5d74067f8e1e: Verifying Checksum [2021-12-08T21:28:45.496Z] 5d74067f8e1e: Download complete [2021-12-08T21:28:45.766Z] e0aca202a116: Verifying Checksum [2021-12-08T21:28:45.766Z] e0aca202a116: Download complete [2021-12-08T21:28:45.766Z] a0d0a0d46f8b: Verifying Checksum [2021-12-08T21:28:45.766Z] a0d0a0d46f8b: Download complete [2021-12-08T21:28:45.766Z] 3a43be97a3b4: Verifying Checksum [2021-12-08T21:28:45.766Z] 3a43be97a3b4: Download complete [2021-12-08T21:28:46.042Z] 34cad66bf833: Verifying Checksum [2021-12-08T21:28:46.042Z] 34cad66bf833: Download complete [2021-12-08T21:28:46.310Z] 4527c011a84f: Verifying Checksum [2021-12-08T21:28:46.310Z] 4527c011a84f: Download complete [2021-12-08T21:28:46.310Z] b4e3c513aaa6: Verifying Checksum [2021-12-08T21:28:46.310Z] b4e3c513aaa6: Download complete [2021-12-08T21:28:46.310Z] a0d0a0d46f8b: Pull complete [2021-12-08T21:28:46.310Z] 31adcdaf11c8: Pull complete [2021-12-08T21:28:46.579Z] b8b176561691: Pull complete [2021-12-08T21:28:48.316Z] 7a9cfe048b4a: Pull complete [2021-12-08T21:28:48.316Z] 72dc09318566: Pull complete [2021-12-08T21:28:48.316Z] f4f7b4309257: Pull complete [2021-12-08T21:28:48.316Z] 0ac9a79272e3: Pull complete [2021-12-08T21:28:50.832Z] 4527c011a84f: Pull complete [2021-12-08T21:28:50.832Z] 5d74067f8e1e: Pull complete [2021-12-08T21:28:50.832Z] e0aca202a116: Pull complete [2021-12-08T21:28:50.832Z] 3a43be97a3b4: Pull complete [2021-12-08T21:28:51.105Z] 34cad66bf833: Pull complete [2021-12-08T21:28:53.687Z] b4e3c513aaa6: Pull complete [2021-12-08T21:28:53.688Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-08T21:28:53.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-08T21:28:53.688Z] ---> 9f6097aaca64 [2021-12-08T21:28:53.688Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-08T21:28:53.725Z] b78e95d17946: Pull complete [2021-12-08T21:28:53.725Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-08T21:28:53.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-08T21:28:53.725Z] ---> 8b459fc5aaf0 [2021-12-08T21:28:53.725Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-08T21:28:54.702Z] ---> Running in 352a7fbae3b0 [2021-12-08T21:28:54.985Z] Removing intermediate container 352a7fbae3b0 [2021-12-08T21:28:54.985Z] ---> e36d12a72da1 [2021-12-08T21:28:54.985Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-08T21:28:54.985Z] ---> Running in 6243d1e56ed8 [2021-12-08T21:28:55.261Z] Removing intermediate container 6243d1e56ed8 [2021-12-08T21:28:55.261Z] ---> f5ef07b1d0e7 [2021-12-08T21:28:55.261Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-08T21:28:55.533Z] ---> Running in 58d1b0281ec1 [2021-12-08T21:28:57.505Z] Removing intermediate container 58d1b0281ec1 [2021-12-08T21:28:57.505Z] ---> ad33d70bfde4 [2021-12-08T21:28:57.505Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-08T21:28:57.505Z] ---> Running in f73a09242d67 [2021-12-08T21:28:57.901Z] ---> Running in 8e63d61a6e10 [2021-12-08T21:28:57.901Z] Removing intermediate container 8e63d61a6e10 [2021-12-08T21:28:57.901Z] ---> 810d5c2572f9 [2021-12-08T21:28:57.901Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-08T21:28:57.901Z] ---> Running in 7274cc202d11 [2021-12-08T21:28:57.901Z] Removing intermediate container 7274cc202d11 [2021-12-08T21:28:57.901Z] ---> 8af1f2253694 [2021-12-08T21:28:57.901Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-08T21:28:57.901Z] ---> Running in c1aef1850ca0 [2021-12-08T21:28:58.476Z] Removing intermediate container c1aef1850ca0 [2021-12-08T21:28:58.476Z] ---> ebb2dd7a939c [2021-12-08T21:28:58.476Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-08T21:28:58.476Z] ---> Running in fb8be9943046 [2021-12-08T21:28:58.478Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-08T21:28:58.742Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-08T21:28:59.314Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-08T21:28:59.449Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-08T21:28:59.886Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-08T21:28:59.886Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-08T21:28:59.886Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-08T21:29:00.042Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-08T21:29:00.042Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-08T21:29:00.147Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-08T21:29:00.148Z] Executing busybox-1.33.1-r3.trigger [2021-12-08T21:29:00.148Z] OK: 224 MiB in 56 packages [2021-12-08T21:29:00.313Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-08T21:29:00.313Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-08T21:29:00.408Z] Removing intermediate container fb8be9943046 [2021-12-08T21:29:00.408Z] ---> 2aed379a9ebc [2021-12-08T21:29:00.408Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-08T21:29:00.585Z] Executing busybox-1.33.1-r3.trigger [2021-12-08T21:29:00.585Z] OK: 223 MiB in 56 packages [2021-12-08T21:29:00.674Z] ---> Running in 6a7fd0929eb6 [2021-12-08T21:29:00.674Z] Removing intermediate container 6a7fd0929eb6 [2021-12-08T21:29:00.674Z] ---> 9f21cf8c3e2a [2021-12-08T21:29:00.674Z] Step 8/11 : COPY . . [2021-12-08T21:29:00.935Z] ---> 4768ed422831 [2021-12-08T21:29:00.935Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-08T21:29:00.935Z] ---> Running in 3debf5de4757 [2021-12-08T21:29:01.570Z] Removing intermediate container f73a09242d67 [2021-12-08T21:29:01.570Z] ---> 17e605dd34aa [2021-12-08T21:29:01.570Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-08T21:29:01.570Z] ---> Running in 3e9e7d28b22e [2021-12-08T21:29:01.843Z] Removing intermediate container 3e9e7d28b22e [2021-12-08T21:29:01.843Z] ---> cefb2f405133 [2021-12-08T21:29:01.843Z] Step 8/11 : COPY . . [2021-12-08T21:29:02.825Z] ---> 4c7d8719d8a7 [2021-12-08T21:29:02.825Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-08T21:29:02.825Z] ---> Running in 526940f5e1d7 [2021-12-08T21:29:39.791Z] Removing intermediate container 3debf5de4757 [2021-12-08T21:29:39.791Z] ---> cf21e7e63f8a [2021-12-08T21:29:39.791Z] Step 10/11 : ARG MAKE='make build' [2021-12-08T21:29:39.791Z] ---> Running in b721adddf3c3 [2021-12-08T21:29:39.791Z] Removing intermediate container b721adddf3c3 [2021-12-08T21:29:39.791Z] ---> ebb28539101c [2021-12-08T21:29:39.791Z] Step 11/11 : RUN $MAKE [2021-12-08T21:29:39.791Z] ---> Running in 340b4f566ca9 [2021-12-08T21:29:39.791Z] noop [2021-12-08T21:29:39.791Z] Removing intermediate container 340b4f566ca9 [2021-12-08T21:29:39.791Z] ---> ccff4ee4f976 [2021-12-08T21:29:39.791Z] Successfully built ccff4ee4f976 [2021-12-08T21:29:39.791Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:29:40.112Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-08T21:29:40.112Z] . [Pipeline] withDockerContainer [2021-12-08T21:29:40.206Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-12-08T21:29:40.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 [2021-12-08T21:29:40.658Z] $ docker top b30948382926538c1e9c032c525c442917900315510f99ef135a3b0e32a2ad53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-08T21:29:41.053Z] + go version [2021-12-08T21:29:41.053Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-08T21:29:41.065Z] $ docker stop --time=1 b30948382926538c1e9c032c525c442917900315510f99ef135a3b0e32a2ad53 [2021-12-08T21:29:42.288Z] $ docker rm -f b30948382926538c1e9c032c525c442917900315510f99ef135a3b0e32a2ad53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:29:42.809Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-08T21:29:42.809Z] . [Pipeline] withDockerContainer [2021-12-08T21:29:42.881Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-12-08T21:29:42.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 [2021-12-08T21:29:43.322Z] $ docker top e638fa3fbb0a43b1c8e0b075346c832db84cda19948f61c0e99b427b733a4907 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-08T21:29:43.700Z] + make test [2021-12-08T21:29:43.700Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-08T21:29:44.286Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-08T21:30:02.557Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-08T21:30:02.557Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.5% of statements [2021-12-08T21:30:02.557Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-08T21:30:02.557Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-08T21:30:07.875Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-08T21:30:07.875Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-08T21:30:07.875Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-08T21:30:08.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-08T21:30:08.476Z] $ docker stop --time=1 e638fa3fbb0a43b1c8e0b075346c832db84cda19948f61c0e99b427b733a4907 [2021-12-08T21:30:09.977Z] $ docker rm -f e638fa3fbb0a43b1c8e0b075346c832db84cda19948f61c0e99b427b733a4907 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-08T21:30:10.386Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-08T21:30:10.580Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-08T21:30:11.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-08T21:30:12.005Z] + ls -al . [2021-12-08T21:30:12.005Z] total 148 [2021-12-08T21:30:12.005Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 8 21:30 . [2021-12-08T21:30:12.005Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 8 21:28 .. [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 7287 Dec 8 21:28 Attribution.txt [2021-12-08T21:30:12.005Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 8 21:28 bin [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 7447 Dec 8 21:28 CHANGELOG.md [2021-12-08T21:30:12.005Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 8 21:28 cmd [2021-12-08T21:30:12.005Z] -rw-r--r--. 1 jenkins jenkins 17452 Dec 8 21:30 coverage.out [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 1907 Dec 8 21:28 Dockerfile [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 8 21:28 .dockerignore [2021-12-08T21:30:12.005Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 8 21:28 .git [2021-12-08T21:30:12.005Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 8 21:28 .github [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 8 21:28 .gitignore [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 410 Dec 8 21:28 go.mod [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 49409 Dec 8 21:28 go.sum [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 8 21:28 GOVERNANCE.md [2021-12-08T21:30:12.005Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 8 21:28 internal [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 8 21:28 Jenkinsfile [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 8 21:28 LICENSE [2021-12-08T21:30:12.005Z] -rw-rw-r--. 1 jenkins jenkins 1030 Dec 8 21:28 Makefile [2021-12-08T21:30:12.006Z] drwxrwxr-x. 2 jenkins jenkins 23 Dec 8 21:28 mock [2021-12-08T21:30:12.006Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 8 21:28 OWNERS.md [2021-12-08T21:30:12.006Z] -rw-rw-r--. 1 jenkins jenkins 2643 Dec 8 21:28 README.md [2021-12-08T21:30:12.006Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 8 21:28 snap [2021-12-08T21:30:12.006Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 8 21:26 VERSION [2021-12-08T21:30:12.006Z] -rw-rw-r--. 1 jenkins jenkins 227 Dec 8 21:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:12.309Z] + 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=7f14e9a977dd7f895b260ccb1ade119f5167320d --label arch=amd64 --label version=2.2.0-dev.4 . [2021-12-08T21:30:12.309Z] Sending build context to Docker daemon 2.976MB [2021-12-08T21:30:12.309Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-08T21:30:12.309Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-08T21:30:12.309Z] ---> ccff4ee4f976 [2021-12-08T21:30:12.309Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-08T21:30:12.309Z] ---> Running in c69a61d3bcc4 [2021-12-08T21:30:12.309Z] Removing intermediate container c69a61d3bcc4 [2021-12-08T21:30:12.309Z] ---> a2aa6154a011 [2021-12-08T21:30:12.309Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-08T21:30:12.574Z] ---> Running in 061d19f9aba4 [2021-12-08T21:30:12.574Z] Removing intermediate container 061d19f9aba4 [2021-12-08T21:30:12.574Z] ---> e39644557fa1 [2021-12-08T21:30:12.574Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-08T21:30:12.574Z] ---> Running in ffbd7abbbce6 [2021-12-08T21:30:13.151Z] Removing intermediate container ffbd7abbbce6 [2021-12-08T21:30:13.151Z] ---> 77762651de2e [2021-12-08T21:30:13.151Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-08T21:30:13.151Z] ---> Running in 1a62e670b249 [2021-12-08T21:30:13.411Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-08T21:30:14.354Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-08T21:30:14.615Z] OK: 224 MiB in 56 packages [2021-12-08T21:30:14.881Z] Removing intermediate container 1a62e670b249 [2021-12-08T21:30:14.881Z] ---> ea23f551fffa [2021-12-08T21:30:14.881Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-08T21:30:14.881Z] ---> Running in 029e77a890dd [2021-12-08T21:30:14.881Z] Removing intermediate container 029e77a890dd [2021-12-08T21:30:14.881Z] ---> f4947f5bff80 [2021-12-08T21:30:14.881Z] Step 8/23 : COPY . . [2021-12-08T21:30:15.145Z] ---> 7c30fdd1b320 [2021-12-08T21:30:15.145Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-08T21:30:15.145Z] ---> Running in f915dd4c9825 [2021-12-08T21:30:16.092Z] Removing intermediate container f915dd4c9825 [2021-12-08T21:30:16.092Z] ---> 1fe83e6e0a6e [2021-12-08T21:30:16.092Z] Step 10/23 : ARG MAKE='make build' [2021-12-08T21:30:16.092Z] ---> Running in 79dc665dd97f [2021-12-08T21:30:16.092Z] Removing intermediate container 79dc665dd97f [2021-12-08T21:30:16.092Z] ---> 5efeedcd4b83 [2021-12-08T21:30:16.092Z] Step 11/23 : RUN $MAKE [2021-12-08T21:30:16.092Z] ---> Running in 5baa463b2d7a [2021-12-08T21:30:16.361Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.4" -o cmd/device-mqtt ./cmd [2021-12-08T21:30:24.601Z] Removing intermediate container 526940f5e1d7 [2021-12-08T21:30:24.601Z] ---> a5aee13cd792 [2021-12-08T21:30:24.601Z] Step 10/11 : ARG MAKE='make build' [2021-12-08T21:30:24.601Z] ---> Running in a2e8da22aed8 [2021-12-08T21:30:24.601Z] Removing intermediate container a2e8da22aed8 [2021-12-08T21:30:24.601Z] ---> cf8b4a7901ad [2021-12-08T21:30:24.601Z] Step 11/11 : RUN $MAKE [2021-12-08T21:30:24.601Z] ---> Running in bf60bab392b9 [2021-12-08T21:30:24.601Z] noop [2021-12-08T21:30:24.601Z] Removing intermediate container bf60bab392b9 [2021-12-08T21:30:24.601Z] ---> 628588c79c84 [2021-12-08T21:30:24.601Z] Successfully built 628588c79c84 [2021-12-08T21:30:24.601Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:24.951Z] + docker inspect -f . ci-base-image-arm64 [2021-12-08T21:30:24.951Z] . [Pipeline] withDockerContainer [2021-12-08T21:30:25.160Z] prd-ubuntu18.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2021-12-08T21:30:25.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 [2021-12-08T21:30:26.582Z] $ docker top 028b25c5335411aa0f44ec9416864bbb513444b151bce9437612b5815ec8a57b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-08T21:30:27.460Z] + go version [2021-12-08T21:30:27.460Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-08T21:30:27.477Z] $ docker stop --time=1 028b25c5335411aa0f44ec9416864bbb513444b151bce9437612b5815ec8a57b [2021-12-08T21:30:29.119Z] $ docker rm -f 028b25c5335411aa0f44ec9416864bbb513444b151bce9437612b5815ec8a57b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:29.768Z] + docker inspect -f . ci-base-image-arm64 [2021-12-08T21:30:29.768Z] . [Pipeline] withDockerContainer [2021-12-08T21:30:29.995Z] prd-ubuntu18.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2021-12-08T21:30:30.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 [2021-12-08T21:30:31.391Z] $ docker top df8db5d5d6e7fff383b3ef2ce01f5d923050b1950a0559e535807c8386eec058 -eo pid,comm [2021-12-08T21:30:31.419Z] Removing intermediate container 5baa463b2d7a [2021-12-08T21:30:31.419Z] ---> 277737c54ad9 [2021-12-08T21:30:31.419Z] Step 12/23 : FROM alpine:3.14 [2021-12-08T21:30:31.419Z] 3.14: Pulling from library/alpine [2021-12-08T21:30:31.419Z] 97518928ae5f: Pulling fs layer [2021-12-08T21:30:31.419Z] 97518928ae5f: Verifying Checksum [2021-12-08T21:30:31.419Z] 97518928ae5f: Download complete [2021-12-08T21:30:31.419Z] 97518928ae5f: Pull complete [2021-12-08T21:30:31.419Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-08T21:30:31.419Z] Status: Downloaded newer image for alpine:3.14 [2021-12-08T21:30:31.419Z] ---> 0a97eee8041e [2021-12-08T21:30:31.419Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-08T21:30:31.419Z] ---> Running in 8e94c7332149 [2021-12-08T21:30:31.419Z] Removing intermediate container 8e94c7332149 [2021-12-08T21:30:31.419Z] ---> edabec98df2c [2021-12-08T21:30:31.419Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-08T21:30:31.419Z] ---> Running in 557206c6b9af [2021-12-08T21:30:31.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-08T21:30:31.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-08T21:30:31.419Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-08T21:30:31.419Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-08T21:30:31.419Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-08T21:30:31.419Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-08T21:30:31.419Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-08T21:30:31.419Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-08T21:30:31.419Z] Executing busybox-1.33.1-r6.trigger [2021-12-08T21:30:31.419Z] OK: 8 MiB in 20 packages [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-08T21:30:31.680Z] Removing intermediate container 557206c6b9af [2021-12-08T21:30:31.680Z] ---> 7e3f2e8803c6 [2021-12-08T21:30:31.680Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-08T21:30:31.942Z] ---> 744bf3b35437 [2021-12-08T21:30:31.942Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-08T21:30:32.205Z] ---> 9e8d60f8e604 [2021-12-08T21:30:32.205Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-08T21:30:32.205Z] ---> 6d6734168ddf [2021-12-08T21:30:32.205Z] Step 18/23 : EXPOSE 59982 [2021-12-08T21:30:32.205Z] ---> Running in 0b7af56841d6 [2021-12-08T21:30:32.205Z] Removing intermediate container 0b7af56841d6 [2021-12-08T21:30:32.205Z] ---> 15ea8d1f7ed7 [2021-12-08T21:30:32.205Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-08T21:30:32.205Z] ---> Running in a416a78b5ce4 [2021-12-08T21:30:32.295Z] + make test [2021-12-08T21:30:32.295Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-08T21:30:32.466Z] Removing intermediate container a416a78b5ce4 [2021-12-08T21:30:32.466Z] ---> 5316feaa287b [2021-12-08T21:30:32.466Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-08T21:30:32.466Z] ---> Running in ac7bf41b0c32 [2021-12-08T21:30:32.466Z] Removing intermediate container ac7bf41b0c32 [2021-12-08T21:30:32.466Z] ---> 00c58f9abdc5 [2021-12-08T21:30:32.466Z] Step 21/23 : LABEL arch=amd64 [2021-12-08T21:30:32.466Z] ---> Running in ac3680715e81 [2021-12-08T21:30:32.726Z] Removing intermediate container ac3680715e81 [2021-12-08T21:30:32.726Z] ---> 3ef6e64a50e2 [2021-12-08T21:30:32.726Z] Step 22/23 : LABEL git_sha=7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:30:32.726Z] ---> Running in d1ef7e2c3021 [2021-12-08T21:30:32.726Z] Removing intermediate container d1ef7e2c3021 [2021-12-08T21:30:32.726Z] ---> 5af6dd3e2637 [2021-12-08T21:30:32.726Z] Step 23/23 : LABEL version=2.2.0-dev.4 [2021-12-08T21:30:32.726Z] ---> Running in a58a53bfdff3 [2021-12-08T21:30:32.726Z] Removing intermediate container a58a53bfdff3 [2021-12-08T21:30:32.726Z] ---> 85985228a5d4 [2021-12-08T21:30:32.726Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-08T21:30:32.726Z] Successfully built 85985228a5d4 [2021-12-08T21:30:32.726Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-08T21:30:32.875Z] provisioning config files... [2021-12-08T21:30:32.884Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config8876195786811431446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:30:33.191Z] ---> docker-login.sh [2021-12-08T21:30:33.191Z] nexus3.edgexfoundry.org:10001 [2021-12-08T21:30:33.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:30:33.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:30:33.191Z] Configure a credential helper to remove this warning. See [2021-12-08T21:30:33.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:30:33.191Z] [2021-12-08T21:30:33.191Z] Login Succeeded [2021-12-08T21:30:33.191Z] nexus3.edgexfoundry.org:10002 [2021-12-08T21:30:33.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:30:33.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:30:33.454Z] Configure a credential helper to remove this warning. See [2021-12-08T21:30:33.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:30:33.454Z] [2021-12-08T21:30:33.454Z] Login Succeeded [2021-12-08T21:30:33.454Z] nexus3.edgexfoundry.org:10003 [2021-12-08T21:30:33.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:30:33.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:30:33.454Z] Configure a credential helper to remove this warning. See [2021-12-08T21:30:33.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:30:33.454Z] [2021-12-08T21:30:33.454Z] Login Succeeded [2021-12-08T21:30:33.454Z] nexus3.edgexfoundry.org:10004 [2021-12-08T21:30:33.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:30:33.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:30:33.715Z] Configure a credential helper to remove this warning. See [2021-12-08T21:30:33.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:30:33.715Z] [2021-12-08T21:30:33.715Z] Login Succeeded [2021-12-08T21:30:33.715Z] docker.io [2021-12-08T21:30:33.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:30:33.727Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-08T21:30:33.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:30:33.976Z] Configure a credential helper to remove this warning. See [2021-12-08T21:30:33.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:30:33.976Z] [2021-12-08T21:30:33.976Z] Login Succeeded [2021-12-08T21:30:33.976Z] ---> docker-login.sh ends [Pipeline] } [2021-12-08T21:30:33.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-08T21:30:34.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-08T21:30:34.043Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-12-08T21:30:34.043Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:30:34.043Z] latest [2021-12-08T21:30:34.043Z] 2.2.0-dev.4 [2021-12-08T21:30:34.043Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [2021-12-08T21:30:34.043Z] main [2021-12-08T21:30:34.043Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:34.354Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:34.660Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:30:34.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-08T21:30:34.660Z] fe5db27b7780: Preparing [2021-12-08T21:30:34.660Z] 960d598c97fe: Preparing [2021-12-08T21:30:34.660Z] 863e6024ac93: Preparing [2021-12-08T21:30:34.660Z] de5a9b9ad464: Preparing [2021-12-08T21:30:34.660Z] 1a058d5342cc: Preparing [2021-12-08T21:30:34.660Z] 1a058d5342cc: Layer already exists [2021-12-08T21:30:34.926Z] 960d598c97fe: Pushed [2021-12-08T21:30:34.926Z] fe5db27b7780: Pushed [2021-12-08T21:30:34.926Z] de5a9b9ad464: Pushed [2021-12-08T21:30:36.308Z] 863e6024ac93: Pushed [2021-12-08T21:30:36.308Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d: digest: sha256:e3286cace5c03389d7ffacc0dd12d38650858aee1af40306305992f695a9b5a4 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:36.620Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:36.938Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-08T21:30:36.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-08T21:30:36.938Z] fe5db27b7780: Preparing [2021-12-08T21:30:36.938Z] 960d598c97fe: Preparing [2021-12-08T21:30:36.938Z] 863e6024ac93: Preparing [2021-12-08T21:30:36.938Z] de5a9b9ad464: Preparing [2021-12-08T21:30:36.938Z] 1a058d5342cc: Preparing [2021-12-08T21:30:36.938Z] 1a058d5342cc: Layer already exists [2021-12-08T21:30:36.938Z] 960d598c97fe: Layer already exists [2021-12-08T21:30:36.938Z] fe5db27b7780: Layer already exists [2021-12-08T21:30:36.938Z] de5a9b9ad464: Layer already exists [2021-12-08T21:30:36.938Z] 863e6024ac93: Layer already exists [2021-12-08T21:30:36.938Z] latest: digest: sha256:e3286cace5c03389d7ffacc0dd12d38650858aee1af40306305992f695a9b5a4 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:37.238Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:37.544Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.4 [2021-12-08T21:30:37.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-08T21:30:37.544Z] fe5db27b7780: Preparing [2021-12-08T21:30:37.544Z] 960d598c97fe: Preparing [2021-12-08T21:30:37.544Z] 863e6024ac93: Preparing [2021-12-08T21:30:37.544Z] de5a9b9ad464: Preparing [2021-12-08T21:30:37.544Z] 1a058d5342cc: Preparing [2021-12-08T21:30:37.544Z] 1a058d5342cc: Layer already exists [2021-12-08T21:30:37.544Z] 960d598c97fe: Layer already exists [2021-12-08T21:30:37.544Z] fe5db27b7780: Layer already exists [2021-12-08T21:30:37.544Z] de5a9b9ad464: Layer already exists [2021-12-08T21:30:37.544Z] 863e6024ac93: Layer already exists [2021-12-08T21:30:37.544Z] 2.2.0-dev.4: digest: sha256:e3286cace5c03389d7ffacc0dd12d38650858aee1af40306305992f695a9b5a4 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:37.847Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:38.147Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [2021-12-08T21:30:38.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-08T21:30:38.148Z] fe5db27b7780: Preparing [2021-12-08T21:30:38.148Z] 960d598c97fe: Preparing [2021-12-08T21:30:38.148Z] 863e6024ac93: Preparing [2021-12-08T21:30:38.148Z] de5a9b9ad464: Preparing [2021-12-08T21:30:38.148Z] 1a058d5342cc: Preparing [2021-12-08T21:30:38.148Z] fe5db27b7780: Layer already exists [2021-12-08T21:30:38.148Z] 863e6024ac93: Layer already exists [2021-12-08T21:30:38.148Z] 1a058d5342cc: Layer already exists [2021-12-08T21:30:38.148Z] 960d598c97fe: Layer already exists [2021-12-08T21:30:38.148Z] de5a9b9ad464: Layer already exists [2021-12-08T21:30:38.148Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4: digest: sha256:e3286cace5c03389d7ffacc0dd12d38650858aee1af40306305992f695a9b5a4 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:38.452Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:38.750Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-12-08T21:30:38.750Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-08T21:30:38.750Z] fe5db27b7780: Preparing [2021-12-08T21:30:38.750Z] 960d598c97fe: Preparing [2021-12-08T21:30:38.750Z] 863e6024ac93: Preparing [2021-12-08T21:30:38.750Z] de5a9b9ad464: Preparing [2021-12-08T21:30:38.750Z] 1a058d5342cc: Preparing [2021-12-08T21:30:38.750Z] fe5db27b7780: Layer already exists [2021-12-08T21:30:38.750Z] 863e6024ac93: Layer already exists [2021-12-08T21:30:38.750Z] 960d598c97fe: Layer already exists [2021-12-08T21:30:38.750Z] de5a9b9ad464: Layer already exists [2021-12-08T21:30:38.750Z] 1a058d5342cc: Layer already exists [2021-12-08T21:30:38.750Z] main: digest: sha256:e3286cace5c03389d7ffacc0dd12d38650858aee1af40306305992f695a9b5a4 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-08T21:30:38.783Z] ===================================================== [Pipeline] echo [2021-12-08T21:30:38.793Z] taggedImages: [2021-12-08T21:30:38.793Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:30:38.793Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-08T21:30:38.793Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.4 [2021-12-08T21:30:38.793Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [2021-12-08T21:30:38.793Z] - 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 [2021-12-08T21:30:39.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-08T21:30:39.314Z] [2021-12-08T21:30:39.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:30:39.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-08T21:30:39.618Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-08T21:30:39.618Z] b4d181a07f80: Pulling fs layer [2021-12-08T21:30:39.618Z] a1111a8f2ec3: Pulling fs layer [2021-12-08T21:30:39.618Z] ed53099fbce6: Pulling fs layer [2021-12-08T21:30:39.618Z] dc539afda2c1: Pulling fs layer [2021-12-08T21:30:39.618Z] 77bc0d833cb6: Pulling fs layer [2021-12-08T21:30:39.618Z] 9065ff56babe: Pulling fs layer [2021-12-08T21:30:39.618Z] d287ab97295c: Pulling fs layer [2021-12-08T21:30:39.618Z] dc539afda2c1: Waiting [2021-12-08T21:30:39.618Z] 77bc0d833cb6: Waiting [2021-12-08T21:30:39.618Z] 9065ff56babe: Waiting [2021-12-08T21:30:39.618Z] d287ab97295c: Waiting [2021-12-08T21:30:39.618Z] a1111a8f2ec3: Verifying Checksum [2021-12-08T21:30:39.618Z] a1111a8f2ec3: Download complete [2021-12-08T21:30:39.618Z] dc539afda2c1: Verifying Checksum [2021-12-08T21:30:39.618Z] dc539afda2c1: Download complete [2021-12-08T21:30:39.888Z] ed53099fbce6: Verifying Checksum [2021-12-08T21:30:39.888Z] ed53099fbce6: Download complete [2021-12-08T21:30:39.888Z] 9065ff56babe: Verifying Checksum [2021-12-08T21:30:39.888Z] 9065ff56babe: Download complete [2021-12-08T21:30:39.888Z] 77bc0d833cb6: Verifying Checksum [2021-12-08T21:30:39.888Z] 77bc0d833cb6: Download complete [2021-12-08T21:30:39.888Z] b4d181a07f80: Verifying Checksum [2021-12-08T21:30:39.888Z] b4d181a07f80: Download complete [2021-12-08T21:30:40.463Z] d287ab97295c: Verifying Checksum [2021-12-08T21:30:40.463Z] d287ab97295c: Download complete [2021-12-08T21:30:41.425Z] b4d181a07f80: Pull complete [2021-12-08T21:30:41.425Z] a1111a8f2ec3: Pull complete [2021-12-08T21:30:41.998Z] ed53099fbce6: Pull complete [2021-12-08T21:30:42.258Z] dc539afda2c1: Pull complete [2021-12-08T21:30:42.517Z] 77bc0d833cb6: Pull complete [2021-12-08T21:30:42.517Z] 9065ff56babe: Pull complete [2021-12-08T21:30:47.845Z] d287ab97295c: Pull complete [2021-12-08T21:30:47.845Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-08T21:30:47.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-08T21:30:47.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-08T21:30:47.906Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-12-08T21:30:47.957Z] $ 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/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 [2021-12-08T21:30:50.457Z] $ docker top 239eb02a2af88166c058af8a6fc862e536a7cbf25870b32cdea9e8f66e9bc2b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:30:50.912Z] ---> job-cost.sh [2021-12-08T21:30:50.912Z] lf-activate-venv: SKIPPING [2021-12-08T21:30:50.912Z] INFO: No Stack... [2021-12-08T21:30:51.484Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-08T21:30:51.746Z] INFO: Archiving Costs [Pipeline] sh [2021-12-08T21:30:52.045Z] + cut -d, -f6 [2021-12-08T21:30:52.045Z] + cat /w/workspace/device-mqtt-go/25/archives/cost.csv [Pipeline] lock [2021-12-08T21:30:52.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] [2021-12-08T21:30:52.080Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] did not exist. Created. [2021-12-08T21:30:52.080Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-08T21:30:52.393Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-08T21:30:52.425Z] Stashed 1 file(s) [Pipeline] } [2021-12-08T21:30:52.431Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-08T21:30:52.449Z] $ docker stop --time=1 239eb02a2af88166c058af8a6fc862e536a7cbf25870b32cdea9e8f66e9bc2b4 [2021-12-08T21:30:53.596Z] $ docker rm -f 239eb02a2af88166c058af8a6fc862e536a7cbf25870b32cdea9e8f66e9bc2b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-08T21:31:30.306Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-08T21:31:30.306Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.058s coverage: 22.5% of statements [2021-12-08T21:31:30.306Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-08T21:31:30.306Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-08T21:31:52.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-08T21:31:52.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-08T21:31:52.533Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-08T21:31:53.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-08T21:31:53.996Z] $ docker stop --time=1 df8db5d5d6e7fff383b3ef2ce01f5d923050b1950a0559e535807c8386eec058 [2021-12-08T21:31:55.688Z] $ docker rm -f df8db5d5d6e7fff383b3ef2ce01f5d923050b1950a0559e535807c8386eec058 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-08T21:31:56.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-08T21:31:56.475Z] Warning: overwriting stash ‘coverage-report’ [2021-12-08T21:31:56.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-08T21:31:57.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-08T21:31:57.728Z] + ls -al . [2021-12-08T21:31:57.728Z] total 180 [2021-12-08T21:31:57.728Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 8 21:31 . [2021-12-08T21:31:57.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 21:28 .. [2021-12-08T21:31:57.728Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 8 21:28 .dockerignore [2021-12-08T21:31:57.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 21:28 .git [2021-12-08T21:31:57.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 21:28 .github [2021-12-08T21:31:57.728Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 8 21:28 .gitignore [2021-12-08T21:31:57.728Z] -rw-rw-r-- 1 jenkins jenkins 7287 Dec 8 21:28 Attribution.txt [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 7447 Dec 8 21:28 CHANGELOG.md [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 1907 Dec 8 21:28 Dockerfile [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 8 21:28 GOVERNANCE.md [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 8 21:28 Jenkinsfile [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 8 21:28 LICENSE [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 1030 Dec 8 21:28 Makefile [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 8 21:28 OWNERS.md [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 2643 Dec 8 21:28 README.md [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 8 21:26 VERSION [2021-12-08T21:31:57.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 21:28 bin [2021-12-08T21:31:57.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 8 21:28 cmd [2021-12-08T21:31:57.729Z] -rw-r--r-- 1 jenkins jenkins 17452 Dec 8 21:31 coverage.out [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 410 Dec 8 21:28 go.mod [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 49409 Dec 8 21:28 go.sum [2021-12-08T21:31:57.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 8 21:28 internal [2021-12-08T21:31:57.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 21:28 mock [2021-12-08T21:31:57.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 21:28 snap [2021-12-08T21:31:57.729Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 8 21:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:31:58.065Z] + 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=7f14e9a977dd7f895b260ccb1ade119f5167320d --label arch=arm64 --label version=2.2.0-dev.4 . [2021-12-08T21:31:58.338Z] Sending build context to Docker daemon 2.975MB [2021-12-08T21:31:58.338Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-08T21:31:58.338Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-08T21:31:58.338Z] ---> 628588c79c84 [2021-12-08T21:31:58.338Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-08T21:31:58.610Z] ---> Running in 32a94247a505 [2021-12-08T21:31:58.882Z] Removing intermediate container 32a94247a505 [2021-12-08T21:31:58.882Z] ---> 108205564fd9 [2021-12-08T21:31:58.882Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-08T21:31:58.882Z] ---> Running in e13eafeec466 [2021-12-08T21:31:59.155Z] Removing intermediate container e13eafeec466 [2021-12-08T21:31:59.155Z] ---> 02e6c1f5b598 [2021-12-08T21:31:59.155Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-08T21:31:59.426Z] ---> Running in 9cf811d3f12f [2021-12-08T21:32:00.860Z] Removing intermediate container 9cf811d3f12f [2021-12-08T21:32:00.860Z] ---> a4bfe4ba56aa [2021-12-08T21:32:00.860Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-08T21:32:01.145Z] ---> Running in be2284392584 [2021-12-08T21:32:02.126Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-08T21:32:02.716Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-08T21:32:03.692Z] OK: 223 MiB in 56 packages [2021-12-08T21:32:04.284Z] Removing intermediate container be2284392584 [2021-12-08T21:32:04.284Z] ---> 06c04917070f [2021-12-08T21:32:04.284Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-08T21:32:04.284Z] ---> Running in 43bb233dd471 [2021-12-08T21:32:04.877Z] Removing intermediate container 43bb233dd471 [2021-12-08T21:32:04.877Z] ---> 711d0c4b21fa [2021-12-08T21:32:04.877Z] Step 8/23 : COPY . . [2021-12-08T21:32:05.476Z] ---> 6b90f5a29f70 [2021-12-08T21:32:05.476Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-08T21:32:05.757Z] ---> Running in 95d3014d7e41 [2021-12-08T21:32:07.730Z] Removing intermediate container 95d3014d7e41 [2021-12-08T21:32:07.730Z] ---> 97a00c40feb7 [2021-12-08T21:32:07.730Z] Step 10/23 : ARG MAKE='make build' [2021-12-08T21:32:07.730Z] ---> Running in d3c34f8eab33 [2021-12-08T21:32:08.000Z] Removing intermediate container d3c34f8eab33 [2021-12-08T21:32:08.000Z] ---> 56e729f8c1a0 [2021-12-08T21:32:08.000Z] Step 11/23 : RUN $MAKE [2021-12-08T21:32:08.000Z] ---> Running in 0a9784c30158 [2021-12-08T21:32:08.971Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.4" -o cmd/device-mqtt ./cmd [2021-12-08T21:32:48.128Z] Removing intermediate container 0a9784c30158 [2021-12-08T21:32:48.128Z] ---> 77b4a6fdefe2 [2021-12-08T21:32:48.128Z] Step 12/23 : FROM alpine:3.14 [2021-12-08T21:32:48.128Z] 3.14: Pulling from library/alpine [2021-12-08T21:32:48.128Z] be307f383ecc: Pulling fs layer [2021-12-08T21:32:48.128Z] be307f383ecc: Verifying Checksum [2021-12-08T21:32:48.128Z] be307f383ecc: Download complete [2021-12-08T21:32:48.128Z] be307f383ecc: Pull complete [2021-12-08T21:32:48.128Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-08T21:32:48.128Z] Status: Downloaded newer image for alpine:3.14 [2021-12-08T21:32:48.128Z] ---> 5b8b7b635229 [2021-12-08T21:32:48.128Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-08T21:32:48.128Z] ---> Running in 840dba6539c5 [2021-12-08T21:32:48.128Z] Removing intermediate container 840dba6539c5 [2021-12-08T21:32:48.128Z] ---> 5adc9c663fe4 [2021-12-08T21:32:48.128Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-08T21:32:48.129Z] ---> Running in 9a253d886513 [2021-12-08T21:32:48.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-08T21:32:48.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-08T21:32:49.263Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-08T21:32:49.263Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-08T21:32:49.263Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-08T21:32:49.263Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-08T21:32:49.263Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-08T21:32:49.263Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-08T21:32:49.263Z] Executing busybox-1.33.1-r6.trigger [2021-12-08T21:32:49.263Z] OK: 8 MiB in 20 packages [2021-12-08T21:32:50.243Z] Removing intermediate container 9a253d886513 [2021-12-08T21:32:50.243Z] ---> 467eb6f0af50 [2021-12-08T21:32:50.243Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-08T21:32:51.221Z] ---> 7d461ee09bd7 [2021-12-08T21:32:51.221Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-08T21:32:51.820Z] ---> 310b6b454c41 [2021-12-08T21:32:51.820Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-08T21:32:52.413Z] ---> b92c161c20c9 [2021-12-08T21:32:52.414Z] Step 18/23 : EXPOSE 59982 [2021-12-08T21:32:52.686Z] ---> Running in 6918d760c2a2 [2021-12-08T21:32:52.958Z] Removing intermediate container 6918d760c2a2 [2021-12-08T21:32:52.958Z] ---> d69281d6a9fa [2021-12-08T21:32:52.958Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-08T21:32:52.958Z] ---> Running in 918ba08705d8 [2021-12-08T21:32:53.551Z] Removing intermediate container 918ba08705d8 [2021-12-08T21:32:53.551Z] ---> cc5a3225378d [2021-12-08T21:32:53.551Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-08T21:32:53.551Z] ---> Running in 733c1321cbe3 [2021-12-08T21:32:53.830Z] Removing intermediate container 733c1321cbe3 [2021-12-08T21:32:53.830Z] ---> 2e8be8093d5b [2021-12-08T21:32:53.830Z] Step 21/23 : LABEL arch=arm64 [2021-12-08T21:32:53.830Z] ---> Running in a4cbdcadf3e0 [2021-12-08T21:32:54.102Z] Removing intermediate container a4cbdcadf3e0 [2021-12-08T21:32:54.102Z] ---> 1b5a7195fa80 [2021-12-08T21:32:54.102Z] Step 22/23 : LABEL git_sha=7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:32:54.374Z] ---> Running in 9fdd4ddcf3a4 [2021-12-08T21:32:54.646Z] Removing intermediate container 9fdd4ddcf3a4 [2021-12-08T21:32:54.646Z] ---> 18e9f3593ab1 [2021-12-08T21:32:54.646Z] Step 23/23 : LABEL version=2.2.0-dev.4 [2021-12-08T21:32:54.646Z] ---> Running in a01040fd1690 [2021-12-08T21:32:54.920Z] Removing intermediate container a01040fd1690 [2021-12-08T21:32:54.920Z] ---> 60dfd886d3a4 [2021-12-08T21:32:54.920Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-08T21:32:54.920Z] Successfully built 60dfd886d3a4 [2021-12-08T21:32:54.920Z] 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 [2021-12-08T21:32:55.123Z] provisioning config files... [2021-12-08T21:32:55.141Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config5237193536928837167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:32:55.489Z] ---> docker-login.sh [2021-12-08T21:32:55.489Z] nexus3.edgexfoundry.org:10001 [2021-12-08T21:32:55.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:32:55.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:32:55.761Z] Configure a credential helper to remove this warning. See [2021-12-08T21:32:55.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:32:55.761Z] [2021-12-08T21:32:55.761Z] Login Succeeded [2021-12-08T21:32:55.761Z] nexus3.edgexfoundry.org:10002 [2021-12-08T21:32:56.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:32:56.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:32:56.303Z] Configure a credential helper to remove this warning. See [2021-12-08T21:32:56.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:32:56.303Z] [2021-12-08T21:32:56.303Z] Login Succeeded [2021-12-08T21:32:56.303Z] nexus3.edgexfoundry.org:10003 [2021-12-08T21:32:56.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:32:56.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:32:56.575Z] Configure a credential helper to remove this warning. See [2021-12-08T21:32:56.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:32:56.575Z] [2021-12-08T21:32:56.575Z] Login Succeeded [2021-12-08T21:32:56.575Z] nexus3.edgexfoundry.org:10004 [2021-12-08T21:32:57.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:32:57.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:32:57.167Z] Configure a credential helper to remove this warning. See [2021-12-08T21:32:57.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:32:57.167Z] [2021-12-08T21:32:57.167Z] Login Succeeded [2021-12-08T21:32:57.167Z] docker.io [2021-12-08T21:32:57.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-08T21:32:57.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-08T21:32:57.705Z] Configure a credential helper to remove this warning. See [2021-12-08T21:32:57.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-08T21:32:57.705Z] [2021-12-08T21:32:57.705Z] Login Succeeded [2021-12-08T21:32:57.705Z] ---> docker-login.sh ends [Pipeline] } [2021-12-08T21:32:57.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-08T21:32:57.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-08T21:32:57.780Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-12-08T21:32:57.780Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:32:57.780Z] latest [2021-12-08T21:32:57.780Z] 2.2.0-dev.4 [2021-12-08T21:32:57.780Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [2021-12-08T21:32:57.780Z] main [2021-12-08T21:32:57.780Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:32:58.141Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:32:58.473Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:32:58.473Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-08T21:32:58.473Z] ca364c3faaef: Preparing [2021-12-08T21:32:58.473Z] 40e63cdd8247: Preparing [2021-12-08T21:32:58.473Z] 98b0d63535cd: Preparing [2021-12-08T21:32:58.473Z] 177b623de005: Preparing [2021-12-08T21:32:58.473Z] 62170e181a92: Preparing [2021-12-08T21:32:58.473Z] 62170e181a92: Layer already exists [2021-12-08T21:32:58.744Z] ca364c3faaef: Pushed [2021-12-08T21:32:58.744Z] 40e63cdd8247: Pushed [2021-12-08T21:32:59.337Z] 177b623de005: Pushed [2021-12-08T21:33:01.943Z] 98b0d63535cd: Pushed [2021-12-08T21:33:01.943Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d: digest: sha256:858dee4c45a176ab68b1953967b759e346edee3d2af03373abbb44cea658901a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:02.291Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:02.628Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-08T21:33:02.628Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-08T21:33:02.628Z] ca364c3faaef: Preparing [2021-12-08T21:33:02.628Z] 40e63cdd8247: Preparing [2021-12-08T21:33:02.628Z] 98b0d63535cd: Preparing [2021-12-08T21:33:02.628Z] 177b623de005: Preparing [2021-12-08T21:33:02.628Z] 62170e181a92: Preparing [2021-12-08T21:33:02.628Z] 177b623de005: Layer already exists [2021-12-08T21:33:02.628Z] ca364c3faaef: Layer already exists [2021-12-08T21:33:02.628Z] 98b0d63535cd: Layer already exists [2021-12-08T21:33:02.628Z] 40e63cdd8247: Layer already exists [2021-12-08T21:33:02.628Z] 62170e181a92: Layer already exists [2021-12-08T21:33:02.898Z] latest: digest: sha256:858dee4c45a176ab68b1953967b759e346edee3d2af03373abbb44cea658901a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:03.241Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:03.578Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.4 [2021-12-08T21:33:03.578Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-08T21:33:03.578Z] ca364c3faaef: Preparing [2021-12-08T21:33:03.578Z] 40e63cdd8247: Preparing [2021-12-08T21:33:03.578Z] 98b0d63535cd: Preparing [2021-12-08T21:33:03.578Z] 177b623de005: Preparing [2021-12-08T21:33:03.578Z] 62170e181a92: Preparing [2021-12-08T21:33:03.578Z] 177b623de005: Layer already exists [2021-12-08T21:33:03.578Z] ca364c3faaef: Layer already exists [2021-12-08T21:33:03.578Z] 40e63cdd8247: Layer already exists [2021-12-08T21:33:03.578Z] 98b0d63535cd: Layer already exists [2021-12-08T21:33:03.578Z] 62170e181a92: Layer already exists [2021-12-08T21:33:03.578Z] 2.2.0-dev.4: digest: sha256:858dee4c45a176ab68b1953967b759e346edee3d2af03373abbb44cea658901a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:04.193Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:04.528Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [2021-12-08T21:33:04.528Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-08T21:33:04.528Z] ca364c3faaef: Preparing [2021-12-08T21:33:04.528Z] 40e63cdd8247: Preparing [2021-12-08T21:33:04.528Z] 98b0d63535cd: Preparing [2021-12-08T21:33:04.528Z] 177b623de005: Preparing [2021-12-08T21:33:04.528Z] 62170e181a92: Preparing [2021-12-08T21:33:04.528Z] 177b623de005: Layer already exists [2021-12-08T21:33:04.528Z] ca364c3faaef: Layer already exists [2021-12-08T21:33:04.528Z] 98b0d63535cd: Layer already exists [2021-12-08T21:33:04.528Z] 62170e181a92: Layer already exists [2021-12-08T21:33:04.528Z] 40e63cdd8247: Layer already exists [2021-12-08T21:33:04.797Z] 7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4: digest: sha256:858dee4c45a176ab68b1953967b759e346edee3d2af03373abbb44cea658901a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:05.138Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:05.474Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-12-08T21:33:05.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-08T21:33:05.474Z] ca364c3faaef: Preparing [2021-12-08T21:33:05.474Z] 40e63cdd8247: Preparing [2021-12-08T21:33:05.474Z] 98b0d63535cd: Preparing [2021-12-08T21:33:05.474Z] 177b623de005: Preparing [2021-12-08T21:33:05.474Z] 62170e181a92: Preparing [2021-12-08T21:33:05.474Z] 40e63cdd8247: Layer already exists [2021-12-08T21:33:05.474Z] 98b0d63535cd: Layer already exists [2021-12-08T21:33:05.474Z] 62170e181a92: Layer already exists [2021-12-08T21:33:05.474Z] ca364c3faaef: Layer already exists [2021-12-08T21:33:05.474Z] 177b623de005: Layer already exists [2021-12-08T21:33:05.747Z] main: digest: sha256:858dee4c45a176ab68b1953967b759e346edee3d2af03373abbb44cea658901a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-08T21:33:05.796Z] ===================================================== [Pipeline] echo [2021-12-08T21:33:05.807Z] taggedImages: [2021-12-08T21:33:05.807Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7f14e9a977dd7f895b260ccb1ade119f5167320d [2021-12-08T21:33:05.807Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-08T21:33:05.807Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.4 [2021-12-08T21:33:05.807Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7f14e9a977dd7f895b260ccb1ade119f5167320d-2.2.0-dev.4 [2021-12-08T21:33:05.807Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:06.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-08T21:33:06.247Z] [2021-12-08T21:33:06.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:06.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-08T21:33:06.595Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-08T21:33:06.595Z] 448f6bf000e3: Pulling fs layer [2021-12-08T21:33:06.595Z] f757da607395: Pulling fs layer [2021-12-08T21:33:06.595Z] 05883995daec: Pulling fs layer [2021-12-08T21:33:06.595Z] 8603b9c90790: Pulling fs layer [2021-12-08T21:33:06.595Z] 1560dd03e051: Pulling fs layer [2021-12-08T21:33:06.595Z] 27f5ce0e4adf: Pulling fs layer [2021-12-08T21:33:06.595Z] c2d8d7efcc4b: Pulling fs layer [2021-12-08T21:33:06.595Z] 1560dd03e051: Waiting [2021-12-08T21:33:06.595Z] 27f5ce0e4adf: Waiting [2021-12-08T21:33:06.595Z] c2d8d7efcc4b: Waiting [2021-12-08T21:33:06.595Z] 8603b9c90790: Waiting [2021-12-08T21:33:06.867Z] f757da607395: Verifying Checksum [2021-12-08T21:33:06.867Z] f757da607395: Download complete [2021-12-08T21:33:06.867Z] 8603b9c90790: Verifying Checksum [2021-12-08T21:33:06.867Z] 8603b9c90790: Download complete [2021-12-08T21:33:06.867Z] 1560dd03e051: Verifying Checksum [2021-12-08T21:33:06.867Z] 1560dd03e051: Download complete [2021-12-08T21:33:06.867Z] 27f5ce0e4adf: Verifying Checksum [2021-12-08T21:33:06.867Z] 27f5ce0e4adf: Download complete [2021-12-08T21:33:06.867Z] 05883995daec: Verifying Checksum [2021-12-08T21:33:06.867Z] 05883995daec: Download complete [2021-12-08T21:33:07.462Z] 448f6bf000e3: Verifying Checksum [2021-12-08T21:33:07.462Z] 448f6bf000e3: Download complete [2021-12-08T21:33:10.076Z] c2d8d7efcc4b: Verifying Checksum [2021-12-08T21:33:10.076Z] c2d8d7efcc4b: Download complete [2021-12-08T21:33:11.050Z] 448f6bf000e3: Pull complete [2021-12-08T21:33:11.643Z] f757da607395: Pull complete [2021-12-08T21:33:13.075Z] 05883995daec: Pull complete [2021-12-08T21:33:13.346Z] 8603b9c90790: Pull complete [2021-12-08T21:33:14.319Z] 1560dd03e051: Pull complete [2021-12-08T21:33:14.319Z] 27f5ce0e4adf: Pull complete [2021-12-08T21:33:29.377Z] c2d8d7efcc4b: Pull complete [2021-12-08T21:33:29.377Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-08T21:33:29.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-08T21:33:29.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-08T21:33:29.579Z] prd-ubuntu18.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2021-12-08T21:33:29.647Z] $ 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/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 [2021-12-08T21:33:32.282Z] $ docker top fdd4f35be67d5c6488e8f658bfe19f3e46d06ddc8c1c47cb3c65251be93a0253 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:33:33.206Z] ---> job-cost.sh [2021-12-08T21:33:33.206Z] lf-activate-venv: SKIPPING [2021-12-08T21:33:33.206Z] INFO: No Stack... [2021-12-08T21:33:33.482Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-08T21:33:34.080Z] INFO: Archiving Costs [Pipeline] sh [2021-12-08T21:33:34.765Z] + cat /w/workspace/device-mqtt-go/25/archives/cost.csv [2021-12-08T21:33:34.765Z] + cut -d, -f6 [Pipeline] lock [2021-12-08T21:33:34.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] [2021-12-08T21:33:34.842Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] did not exist. Created. [2021-12-08T21:33:34.842Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-08T21:33:35.512Z] /w/workspace/device-mqtt-go/25@tmp/durable-c99bdd4b/script.sh: 1: /w/workspace/device-mqtt-go/25@tmp/durable-c99bdd4b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-08T21:33:36.182Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-08T21:33:36.209Z] Warning: overwriting stash ‘stack-cost’ [2021-12-08T21:33:36.252Z] Stashed 1 file(s) [Pipeline] } [2021-12-08T21:33:36.259Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-08T21:33:36.269Z] $ docker stop --time=1 fdd4f35be67d5c6488e8f658bfe19f3e46d06ddc8c1c47cb3c65251be93a0253 [2021-12-08T21:33:37.774Z] $ docker rm -f fdd4f35be67d5c6488e8f658bfe19f3e46d06ddc8c1c47cb3c65251be93a0253 [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 [2021-12-08T21:33:38.449Z] provisioning config files... [2021-12-08T21:33:38.458Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8993464510098311064tmp [Pipeline] { [Pipeline] sh [2021-12-08T21:33:38.759Z] + set +x [2021-12-08T21:33:38.759Z] + curl -s https://codecov.io/bash [2021-12-08T21:33:38.759Z] + bash -s -- [2021-12-08T21:33:39.022Z] [2021-12-08T21:33:39.022Z] _____ _ [2021-12-08T21:33:39.022Z] / ____| | | [2021-12-08T21:33:39.022Z] | | ___ __| | ___ ___ _____ __ [2021-12-08T21:33:39.022Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-08T21:33:39.022Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-08T21:33:39.022Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-08T21:33:39.022Z] Bash-1.0.6 [2021-12-08T21:33:39.022Z] [2021-12-08T21:33:39.022Z] [2021-12-08T21:33:39.022Z] ==> git version 2.24.4 found [2021-12-08T21:33:39.022Z] ==> 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 [2021-12-08T21:33:39.022Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-08T21:33:39.022Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-08T21:33:39.022Z] ==> Jenkins CI detected. [2021-12-08T21:33:39.022Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-08T21:33:39.022Z] project root: . [2021-12-08T21:33:39.022Z] --> token set from env [2021-12-08T21:33:39.022Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-08T21:33:39.022Z] ==> Running gcov in . (disable via -X gcov) [2021-12-08T21:33:39.022Z] ==> Python coveragepy not found [2021-12-08T21:33:39.022Z] ==> Searching for coverage reports in: [2021-12-08T21:33:39.022Z] + . [2021-12-08T21:33:39.022Z] -> Found 1 reports [2021-12-08T21:33:39.022Z] ==> Detecting git/mercurial file structure [2021-12-08T21:33:39.022Z] ==> Reading reports [2021-12-08T21:33:39.022Z] + ./coverage.out bytes=17452 [2021-12-08T21:33:39.022Z] ==> Appending adjustments [2021-12-08T21:33:39.022Z] https://docs.codecov.io/docs/fixing-reports [2021-12-08T21:33:39.022Z] + Found adjustments [2021-12-08T21:33:39.022Z] ==> Gzipping contents [2021-12-08T21:33:39.022Z] 4.0K /tmp/codecov.OAeZpQ.gz [2021-12-08T21:33:39.022Z] ==> Uploading reports [2021-12-08T21:33:39.022Z] url: https://codecov.io [2021-12-08T21:33:39.022Z] query: branch=main&commit=7f14e9a977dd7f895b260ccb1ade119f5167320d&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-08T21:33:39.022Z] -> Pinging Codecov [2021-12-08T21:33:39.022Z] 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=7f14e9a977dd7f895b260ccb1ade119f5167320d&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-08T21:33:39.281Z] -> Uploading to [2021-12-08T21:33:39.281Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-08/7D719EC7BBE17E464838252E33014C33/7f14e9a977dd7f895b260ccb1ade119f5167320d/8c13eaaf-ce46-49c7-b412-a8be9669610a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211208T213339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27c9fc4002d9431a617ab36edd4ebab90a8271a638aedd5bf01f810f7b373aa9 [2021-12-08T21:33:39.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-08T21:33:39.281Z] Dload Upload Total Spent Left Speed [2021-12-08T21:33:39.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 11728 --:--:-- --:--:-- --:--:-- 11694 100 3216 0 0 100 3216 0 11721 --:--:-- --:--:-- --:--:-- 11694 [2021-12-08T21:33:39.545Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] } [2021-12-08T21:33:39.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-08T21:33:39.864Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-08T21:33:39.881Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:40.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-08T21:33:40.183Z] [2021-12-08T21:33:40.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:40.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-08T21:33:40.491Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-08T21:33:40.491Z] 188c0c94c7c5: Pulling fs layer [2021-12-08T21:33:40.491Z] 0ef7d3d256c8: Pulling fs layer [2021-12-08T21:33:40.491Z] de9db76c5a1d: Pulling fs layer [2021-12-08T21:33:40.491Z] 0eba1c9be4d2: Pulling fs layer [2021-12-08T21:33:40.491Z] 0d57e429df01: Pulling fs layer [2021-12-08T21:33:40.491Z] 4e4be7b47b0d: Pulling fs layer [2021-12-08T21:33:40.491Z] e1f770b5df2f: Pulling fs layer [2021-12-08T21:33:40.491Z] 85a0685a4137: Pulling fs layer [2021-12-08T21:33:40.491Z] 0d57e429df01: Waiting [2021-12-08T21:33:40.491Z] 4e4be7b47b0d: Waiting [2021-12-08T21:33:40.491Z] e1f770b5df2f: Waiting [2021-12-08T21:33:40.491Z] 85a0685a4137: Waiting [2021-12-08T21:33:40.491Z] 0eba1c9be4d2: Waiting [2021-12-08T21:33:40.491Z] de9db76c5a1d: Verifying Checksum [2021-12-08T21:33:40.491Z] de9db76c5a1d: Download complete [2021-12-08T21:33:40.491Z] 0ef7d3d256c8: Verifying Checksum [2021-12-08T21:33:40.491Z] 0ef7d3d256c8: Download complete [2021-12-08T21:33:40.491Z] 0d57e429df01: Verifying Checksum [2021-12-08T21:33:40.491Z] 0d57e429df01: Download complete [2021-12-08T21:33:40.491Z] 4e4be7b47b0d: Verifying Checksum [2021-12-08T21:33:40.491Z] 4e4be7b47b0d: Download complete [2021-12-08T21:33:40.491Z] 188c0c94c7c5: Verifying Checksum [2021-12-08T21:33:40.491Z] 188c0c94c7c5: Download complete [2021-12-08T21:33:40.774Z] e1f770b5df2f: Verifying Checksum [2021-12-08T21:33:40.774Z] e1f770b5df2f: Download complete [2021-12-08T21:33:41.360Z] 188c0c94c7c5: Pull complete [2021-12-08T21:33:41.360Z] 0eba1c9be4d2: Verifying Checksum [2021-12-08T21:33:41.360Z] 0eba1c9be4d2: Download complete [2021-12-08T21:33:41.360Z] 85a0685a4137: Verifying Checksum [2021-12-08T21:33:41.360Z] 85a0685a4137: Download complete [2021-12-08T21:33:41.360Z] 0ef7d3d256c8: Pull complete [2021-12-08T21:33:41.360Z] de9db76c5a1d: Pull complete [2021-12-08T21:33:45.638Z] 0eba1c9be4d2: Pull complete [2021-12-08T21:33:45.638Z] 0d57e429df01: Pull complete [2021-12-08T21:33:45.638Z] 4e4be7b47b0d: Pull complete [2021-12-08T21:33:45.638Z] e1f770b5df2f: Pull complete [2021-12-08T21:33:48.973Z] 85a0685a4137: Pull complete [2021-12-08T21:33:48.973Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-08T21:33:48.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-08T21:33:48.973Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-08T21:33:49.035Z] prd-centos7-docker-4c-2g-522 does not seem to be running inside a container [2021-12-08T21:33:49.066Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-08T21:33:51.045Z] $ docker top 685c5a14291812f87c75a4e0821c6861336738306f9e0a8a3231de83ca216150 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-08T21:33:51.126Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-08T21:33:51.411Z] + set -o pipefail [2021-12-08T21:33:51.411Z] + snyk monitor '--org=edgex-jenkins' [2021-12-08T21:33:55.617Z] [2021-12-08T21:33:55.617Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-12-08T21:33:55.617Z] [2021-12-08T21:33:55.617Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/a55a87c3-ce66-4574-8aad-5812c359de6e [2021-12-08T21:33:55.617Z] [2021-12-08T21:33:55.617Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-08T21:33:55.617Z] [2021-12-08T21:33:55.617Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-08T21:33:55.617Z] [2021-12-08T21:33:55.877Z] [Pipeline] } [2021-12-08T21:33:55.887Z] $ docker stop --time=1 685c5a14291812f87c75a4e0821c6861336738306f9e0a8a3231de83ca216150 [2021-12-08T21:33:57.849Z] $ docker rm -f 685c5a14291812f87c75a4e0821c6861336738306f9e0a8a3231de83ca216150 [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 [2021-12-08T21:33:58.748Z] + git log --format=format:%s -1 7f14e9a977dd7f895b260ccb1ade119f5167320d [Pipeline] sh [2021-12-08T21:33:59.044Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-08T21:33:59.044Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:33:59.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-08T21:33:59.341Z] . [Pipeline] withDockerContainer [2021-12-08T21:33:59.403Z] prd-centos7-docker-4c-2g-522 does not seem to be running inside a container [2021-12-08T21:33:59.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-08T21:33:59.772Z] $ docker top 18e1e6e58b861bcb378f40eaeda2fcce55115dc8e33c17cbaba905d377103a14 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-08T21:33:59.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-08T21:33:59.870Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-08T21:33:59.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-08T21:33:59.984Z] $ docker exec 18e1e6e58b861bcb378f40eaeda2fcce55115dc8e33c17cbaba905d377103a14 ssh-agent [2021-12-08T21:34:00.085Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmNKjkg/agent.14 [2021-12-08T21:34:00.085Z] SSH_AGENT_PID=20 [2021-12-08T21:34:00.089Z] Running ssh-add (command line suppressed) [2021-12-08T21:34:00.178Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2079522009091147831.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2079522009091147831.key) [2021-12-08T21:34:00.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-08T21:34:00.486Z] + git semver tag [2021-12-08T21:34:00.486Z] # -> Open(): unable to determine branch for HEAD [2021-12-08T21:34:00.486Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-08T21:34:00.486Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-08T21:34:00.486Z] # $SEMVER_REMOTE_NAME = origin [2021-12-08T21:34:00.486Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-08T21:34:00.486Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-08T21:34:00.486Z] # $SEMVER_BRANCH = main [2021-12-08T21:34:00.486Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-08T21:34:00.486Z] # 7f14e9a977dd7f895b260ccb1ade119f5167320d HEAD [2021-12-08T21:34:00.486Z] # -> Force: false [2021-12-08T21:34:00.486Z] # cb5c1ce53a8705ac757ca7e66a85494a2d89e328 refs/tags/v2.2.0-dev.4 [Pipeline] } [2021-12-08T21:34:00.501Z] $ docker exec --env ******** --env ******** 18e1e6e58b861bcb378f40eaeda2fcce55115dc8e33c17cbaba905d377103a14 ssh-agent -k [2021-12-08T21:34:00.590Z] unset SSH_AUTH_SOCK; [2021-12-08T21:34:00.592Z] unset SSH_AGENT_PID; [2021-12-08T21:34:00.592Z] echo Agent pid 20 killed; [2021-12-08T21:34:00.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-08T21:34:00.908Z] + git semver [Pipeline] } [2021-12-08T21:34:00.920Z] $ docker stop --time=1 18e1e6e58b861bcb378f40eaeda2fcce55115dc8e33c17cbaba905d377103a14 [2021-12-08T21:34:02.097Z] $ docker rm -f 18e1e6e58b861bcb378f40eaeda2fcce55115dc8e33c17cbaba905d377103a14 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:34:02.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-08T21:34:02.493Z] [2021-12-08T21:34:02.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:34:02.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-08T21:34:02.804Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-08T21:34:02.804Z] ab5ef0e58194: Pulling fs layer [2021-12-08T21:34:02.804Z] 9712f1f96733: Pulling fs layer [2021-12-08T21:34:02.804Z] 63f879dbbcfc: Pulling fs layer [2021-12-08T21:34:02.804Z] 0d9ebad4ef96: Pulling fs layer [2021-12-08T21:34:02.804Z] e9a5061849ea: Pulling fs layer [2021-12-08T21:34:02.804Z] d747dcd14b5f: Pulling fs layer [2021-12-08T21:34:02.804Z] 2de7ff778b66: Pulling fs layer [2021-12-08T21:34:02.804Z] e9a5061849ea: Waiting [2021-12-08T21:34:02.804Z] d747dcd14b5f: Waiting [2021-12-08T21:34:02.804Z] 2de7ff778b66: Waiting [2021-12-08T21:34:02.804Z] 0d9ebad4ef96: Waiting [2021-12-08T21:34:02.804Z] 9712f1f96733: Verifying Checksum [2021-12-08T21:34:02.804Z] 9712f1f96733: Download complete [2021-12-08T21:34:03.074Z] 63f879dbbcfc: Verifying Checksum [2021-12-08T21:34:03.074Z] 63f879dbbcfc: Download complete [2021-12-08T21:34:03.340Z] 0d9ebad4ef96: Verifying Checksum [2021-12-08T21:34:03.340Z] 0d9ebad4ef96: Download complete [2021-12-08T21:34:03.340Z] ab5ef0e58194: Verifying Checksum [2021-12-08T21:34:03.340Z] ab5ef0e58194: Download complete [2021-12-08T21:34:03.340Z] d747dcd14b5f: Verifying Checksum [2021-12-08T21:34:03.340Z] d747dcd14b5f: Download complete [2021-12-08T21:34:03.340Z] e9a5061849ea: Verifying Checksum [2021-12-08T21:34:03.340Z] e9a5061849ea: Download complete [2021-12-08T21:34:03.340Z] 2de7ff778b66: Verifying Checksum [2021-12-08T21:34:03.340Z] 2de7ff778b66: Download complete [2021-12-08T21:34:06.664Z] ab5ef0e58194: Pull complete [2021-12-08T21:34:06.664Z] 9712f1f96733: Pull complete [2021-12-08T21:34:06.926Z] 63f879dbbcfc: Pull complete [2021-12-08T21:34:11.189Z] 0d9ebad4ef96: Pull complete [2021-12-08T21:34:11.189Z] e9a5061849ea: Pull complete [2021-12-08T21:34:11.189Z] d747dcd14b5f: Pull complete [2021-12-08T21:34:12.578Z] 2de7ff778b66: Pull complete [2021-12-08T21:34:12.578Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-08T21:34:12.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-08T21:34:12.578Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-08T21:34:12.643Z] prd-centos7-docker-4c-2g-522 does not seem to be running inside a container [2021-12-08T21:34:12.676Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-08T21:34:15.780Z] $ docker top 3a08134fab8bba1224c49f5202bd8eaf85d62e75e254bdd65233e483ebf1b32f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-08T21:34:15.861Z] provisioning config files... [2021-12-08T21:34:15.868Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config202082632989404313tmp [2021-12-08T21:34:15.879Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3070859260030342600tmp [2021-12-08T21:34:15.890Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7312448608248876918tmp [Pipeline] { [Pipeline] echo [2021-12-08T21:34:15.907Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:16.194Z] ---> sigul-configuration.sh [2021-12-08T21:34:16.194Z] gpg: directory `/root/.gnupg' created [2021-12-08T21:34:16.194Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-08T21:34:16.194Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-08T21:34:16.194Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-08T21:34:16.194Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-08T21:34:16.194Z] gpg: CAST5 encrypted data [2021-12-08T21:34:16.194Z] gpg: encrypted with 1 passphrase [2021-12-08T21:34:16.194Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-08T21:34:16.488Z] + mkdir /home/jenkins [2021-12-08T21:34:16.488Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-08T21:34:16.779Z] + 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 [2021-12-08T21:34:16.789Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:17.082Z] ---> sigul-install.sh [2021-12-08T21:34:17.082Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-08T21:34:17.372Z] + git tag --list [2021-12-08T21:34:17.372Z] 0.7.1 [2021-12-08T21:34:17.372Z] v1.0.0 [2021-12-08T21:34:17.372Z] v1.1.0 [2021-12-08T21:34:17.372Z] v1.1.1 [2021-12-08T21:34:17.372Z] v1.2.2 [2021-12-08T21:34:17.372Z] v1.3.0 [2021-12-08T21:34:17.372Z] v1.3.1 [2021-12-08T21:34:17.372Z] v2.0.0 [2021-12-08T21:34:17.372Z] v2.0.1-dev.1 [2021-12-08T21:34:17.372Z] v2.0.1-dev.10 [2021-12-08T21:34:17.372Z] v2.0.1-dev.11 [2021-12-08T21:34:17.372Z] v2.0.1-dev.12 [2021-12-08T21:34:17.372Z] v2.0.1-dev.13 [2021-12-08T21:34:17.372Z] v2.0.1-dev.14 [2021-12-08T21:34:17.372Z] v2.0.1-dev.15 [2021-12-08T21:34:17.372Z] v2.0.1-dev.16 [2021-12-08T21:34:17.372Z] v2.0.1-dev.17 [2021-12-08T21:34:17.372Z] v2.0.1-dev.2 [2021-12-08T21:34:17.372Z] v2.0.1-dev.3 [2021-12-08T21:34:17.372Z] v2.0.1-dev.4 [2021-12-08T21:34:17.372Z] v2.0.1-dev.5 [2021-12-08T21:34:17.372Z] v2.0.1-dev.6 [2021-12-08T21:34:17.372Z] v2.0.1-dev.7 [2021-12-08T21:34:17.372Z] v2.0.1-dev.8 [2021-12-08T21:34:17.372Z] v2.0.1-dev.9 [2021-12-08T21:34:17.372Z] v2.1.0 [2021-12-08T21:34:17.372Z] v2.2.0-dev.1 [2021-12-08T21:34:17.372Z] v2.2.0-dev.2 [2021-12-08T21:34:17.372Z] v2.2.0-dev.3 [2021-12-08T21:34:17.372Z] v2.2.0-dev.4 [Pipeline] sh [2021-12-08T21:34:17.667Z] + lftools sign git-tag v2.2.0-dev.4 [2021-12-08T21:34:18.237Z] Signing Git tag with Sigul... [2021-12-08T21:34:18.237Z] Signing v2.2.0-dev.4 [Pipeline] echo [2021-12-08T21:34:19.186Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:19.476Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-08T21:34:19.484Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-08T21:34:19.501Z] $ docker stop --time=1 3a08134fab8bba1224c49f5202bd8eaf85d62e75e254bdd65233e483ebf1b32f [2021-12-08T21:34:20.683Z] $ docker rm -f 3a08134fab8bba1224c49f5202bd8eaf85d62e75e254bdd65233e483ebf1b32f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-08T21:34:21.260Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-08T21:34:21.260Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:34:21.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-08T21:34:21.553Z] . [Pipeline] withDockerContainer [2021-12-08T21:34:21.622Z] prd-centos7-docker-4c-2g-522 does not seem to be running inside a container [2021-12-08T21:34:21.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-08T21:34:22.065Z] $ docker top 98d340d988a6b419ce22965454b17c68878fa85eae69573180c0287a4150cfd3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-08T21:34:22.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-08T21:34:22.165Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-08T21:34:22.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-08T21:34:22.280Z] $ docker exec 98d340d988a6b419ce22965454b17c68878fa85eae69573180c0287a4150cfd3 ssh-agent [2021-12-08T21:34:22.391Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXniNAIP/agent.14 [2021-12-08T21:34:22.391Z] SSH_AGENT_PID=21 [2021-12-08T21:34:22.396Z] Running ssh-add (command line suppressed) [2021-12-08T21:34:22.490Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3216211401593769867.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3216211401593769867.key) [2021-12-08T21:34:22.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-08T21:34:22.886Z] + git semver bump pre [2021-12-08T21:34:22.886Z] # -> Open(): unable to determine branch for HEAD [2021-12-08T21:34:22.886Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-08T21:34:22.886Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-08T21:34:22.886Z] # $SEMVER_REMOTE_NAME = origin [2021-12-08T21:34:22.886Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-08T21:34:22.886Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-08T21:34:22.886Z] # $SEMVER_BRANCH = main [2021-12-08T21:34:22.886Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-08T21:34:22.886Z] 2.2.0-dev.5 [Pipeline] } [2021-12-08T21:34:22.977Z] $ docker exec --env ******** --env ******** 98d340d988a6b419ce22965454b17c68878fa85eae69573180c0287a4150cfd3 ssh-agent -k [2021-12-08T21:34:23.108Z] unset SSH_AUTH_SOCK; [2021-12-08T21:34:23.108Z] unset SSH_AGENT_PID; [2021-12-08T21:34:23.109Z] echo Agent pid 21 killed; [2021-12-08T21:34:23.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-08T21:34:23.514Z] + git semver [Pipeline] } [2021-12-08T21:34:23.526Z] $ docker stop --time=1 98d340d988a6b419ce22965454b17c68878fa85eae69573180c0287a4150cfd3 [2021-12-08T21:34:24.722Z] $ docker rm -f 98d340d988a6b419ce22965454b17c68878fa85eae69573180c0287a4150cfd3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-08T21:34:25.072Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-08T21:34:25.072Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:34:25.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-08T21:34:25.371Z] . [Pipeline] withDockerContainer [2021-12-08T21:34:25.432Z] prd-centos7-docker-4c-2g-522 does not seem to be running inside a container [2021-12-08T21:34:25.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-08T21:34:25.789Z] $ docker top ec1f99cbfad8d22e3002bf0906db683bba7231e1e1a8a22cc905642587760f1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-08T21:34:25.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-08T21:34:25.899Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-08T21:34:25.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-08T21:34:25.994Z] $ docker exec ec1f99cbfad8d22e3002bf0906db683bba7231e1e1a8a22cc905642587760f1f ssh-agent [2021-12-08T21:34:26.090Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIcMHfa/agent.14 [2021-12-08T21:34:26.090Z] SSH_AGENT_PID=21 [2021-12-08T21:34:26.094Z] Running ssh-add (command line suppressed) [2021-12-08T21:34:26.179Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5066721416252947017.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5066721416252947017.key) [2021-12-08T21:34:26.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-08T21:34:26.485Z] + git semver push [2021-12-08T21:34:26.485Z] # -> Open(): unable to determine branch for HEAD [2021-12-08T21:34:26.485Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-08T21:34:26.485Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-08T21:34:26.485Z] # $SEMVER_REMOTE_NAME = origin [2021-12-08T21:34:26.485Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-08T21:34:26.485Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-08T21:34:26.485Z] # $SEMVER_BRANCH = main [2021-12-08T21:34:26.485Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-08T21:34:28.404Z] $ docker exec --env ******** --env ******** ec1f99cbfad8d22e3002bf0906db683bba7231e1e1a8a22cc905642587760f1f ssh-agent -k [2021-12-08T21:34:28.490Z] unset SSH_AUTH_SOCK; [2021-12-08T21:34:28.490Z] unset SSH_AGENT_PID; [2021-12-08T21:34:28.490Z] echo Agent pid 21 killed; [2021-12-08T21:34:28.501Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-08T21:34:28.813Z] + git semver [Pipeline] } [2021-12-08T21:34:28.826Z] $ docker stop --time=1 ec1f99cbfad8d22e3002bf0906db683bba7231e1e1a8a22cc905642587760f1f [2021-12-08T21:34:30.012Z] $ docker rm -f ec1f99cbfad8d22e3002bf0906db683bba7231e1e1a8a22cc905642587760f1f [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 [2021-12-08T21:34:31.807Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:32.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:32.660Z] ---> package-listing.sh [2021-12-08T21:34:32.661Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-08T21:34:32.661Z] ++ facter osfamily [2021-12-08T21:34:32.924Z] + OS_FAMILY=redhat [2021-12-08T21:34:32.924Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-08T21:34:32.924Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-08T21:34:32.924Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-08T21:34:32.924Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-08T21:34:32.924Z] + PACKAGES=/tmp/packages_start.txt [2021-12-08T21:34:32.924Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-08T21:34:32.924Z] + PACKAGES=/tmp/packages_end.txt [2021-12-08T21:34:32.924Z] + case "${OS_FAMILY}" in [2021-12-08T21:34:32.924Z] + sort [2021-12-08T21:34:32.924Z] + rpm -qa [2021-12-08T21:34:33.496Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-08T21:34:33.496Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-08T21:34:33.496Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-08T21:34:33.496Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-08T21:34:33.496Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-12-08T21:34:33.496Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2021-12-08T21:34:33.507Z] 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 [2021-12-08T21:34:33.788Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:34:34.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-08T21:34:34.343Z] [2021-12-08T21:34:34.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-08T21:34:34.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-08T21:34:34.644Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-08T21:34:34.644Z] b4d181a07f80: Pulling fs layer [2021-12-08T21:34:34.644Z] a1111a8f2ec3: Pulling fs layer [2021-12-08T21:34:34.644Z] ed53099fbce6: Pulling fs layer [2021-12-08T21:34:34.644Z] dc539afda2c1: Pulling fs layer [2021-12-08T21:34:34.644Z] 77bc0d833cb6: Pulling fs layer [2021-12-08T21:34:34.644Z] 9065ff56babe: Pulling fs layer [2021-12-08T21:34:34.644Z] d287ab97295c: Pulling fs layer [2021-12-08T21:34:34.644Z] 77bc0d833cb6: Waiting [2021-12-08T21:34:34.644Z] 9065ff56babe: Waiting [2021-12-08T21:34:34.644Z] d287ab97295c: Waiting [2021-12-08T21:34:34.644Z] dc539afda2c1: Waiting [2021-12-08T21:34:34.644Z] a1111a8f2ec3: Verifying Checksum [2021-12-08T21:34:34.644Z] a1111a8f2ec3: Download complete [2021-12-08T21:34:34.644Z] dc539afda2c1: Verifying Checksum [2021-12-08T21:34:34.644Z] dc539afda2c1: Download complete [2021-12-08T21:34:34.644Z] ed53099fbce6: Verifying Checksum [2021-12-08T21:34:34.644Z] ed53099fbce6: Download complete [2021-12-08T21:34:34.905Z] 77bc0d833cb6: Verifying Checksum [2021-12-08T21:34:34.905Z] 77bc0d833cb6: Download complete [2021-12-08T21:34:34.905Z] 9065ff56babe: Verifying Checksum [2021-12-08T21:34:34.905Z] 9065ff56babe: Download complete [2021-12-08T21:34:34.905Z] b4d181a07f80: Verifying Checksum [2021-12-08T21:34:34.905Z] b4d181a07f80: Download complete [2021-12-08T21:34:35.494Z] d287ab97295c: Verifying Checksum [2021-12-08T21:34:35.494Z] d287ab97295c: Download complete [2021-12-08T21:34:36.083Z] b4d181a07f80: Pull complete [2021-12-08T21:34:36.342Z] a1111a8f2ec3: Pull complete [2021-12-08T21:34:36.921Z] ed53099fbce6: Pull complete [2021-12-08T21:34:36.921Z] dc539afda2c1: Pull complete [2021-12-08T21:34:37.187Z] 77bc0d833cb6: Pull complete [2021-12-08T21:34:37.187Z] 9065ff56babe: Pull complete [2021-12-08T21:34:42.530Z] d287ab97295c: Pull complete [2021-12-08T21:34:42.530Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-08T21:34:42.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-08T21:34:42.530Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-08T21:34:42.593Z] prd-centos7-docker-4c-2g-522 does not seem to be running inside a container [2021-12-08T21:34:42.622Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-08T21:34:45.149Z] $ docker top 5f9e934be3b8c3b90b6b3e3bae441a101d296d9df3d3b997c31e1df08647fd2f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-08T21:34:45.508Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-08T21:34:45.801Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-08T21:34:46.094Z] + ls /var/log/sa-host [2021-12-08T21:34:46.094Z] + sadf -c /var/log/sa-host/sa08 [2021-12-08T21:34:46.094Z] file_magic: OK [2021-12-08T21:34:46.094Z] HZ: Using current value: 100 [2021-12-08T21:34:46.094Z] file_header: OK [2021-12-08T21:34:46.094Z] 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 [2021-12-08T21:34:46.094Z] Statistics: [2021-12-08T21:34:46.094Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-08T21:34:46.094Z] File successfully converted to sysstat format version 12.0.3 [2021-12-08T21:34:46.094Z] + sadf -c /var/log/sa-host/sa17 [2021-12-08T21:34:46.094Z] file_magic: OK [2021-12-08T21:34:46.094Z] HZ: Using current value: 100 [2021-12-08T21:34:46.094Z] file_header: OK [2021-12-08T21:34:46.094Z] 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 [2021-12-08T21:34:46.094Z] Statistics: [2021-12-08T21:34:46.094Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-08T21:34:46.094Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-08T21:34:46.299Z] provisioning config files... [2021-12-08T21:34:46.309Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1888067368427400078tmp [Pipeline] { [Pipeline] echo [2021-12-08T21:34:46.324Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:46.612Z] ---> create-netrc.sh [Pipeline] } [2021-12-08T21:34:46.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:46.973Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-08T21:34:46.983Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:47.271Z] ---> sudo-logs.sh [2021-12-08T21:34:47.271Z] Archiving 'sudo' log.. [2021-12-08T21:34:47.271Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-522.novalocal: Name or service not known [2021-12-08T21:34:47.271Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-522.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-08T21:34:47.298Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:47.581Z] ---> job-cost.sh [2021-12-08T21:34:47.581Z] lf-activate-venv: SKIPPING [2021-12-08T21:34:47.581Z] DEBUG: total: 0.10999999940395355 [2021-12-08T21:34:47.581Z] INFO: Retrieving Stack Cost... [2021-12-08T21:34:47.842Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-08T21:34:48.101Z] INFO: Archiving Costs [Pipeline] echo [2021-12-08T21:34:48.116Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-08T21:34:48.403Z] ---> logs-deploy.sh [2021-12-08T21:34:48.403Z] lf-activate-venv: SKIPPING [2021-12-08T21:34:48.403Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/25 [2021-12-08T21:34:48.403Z] INFO: archiving workspace using pattern(s): [2021-12-08T21:34:48.975Z] Archives upload complete. [2021-12-08T21:34:49.234Z] INFO: archiving logs to Nexus