Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 620914ed09955f471d114b9f6d925da7efa3e056 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-ssh3327175861730057483.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh11145507126869532241.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh14954066426716281173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh11651765525668022280.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-ssh11519656244280332109.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2090 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-ssh135069588383884457.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 620914ed09955f471d114b9f6d925da7efa3e056 (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 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 Commit message: "ci: Go 1.17 related changes (#334)" > git rev-list --no-walk 53e4264da7a8f5345b5b18c03a825d0468689761 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T20:13:47.181Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T20:13:47.256Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T20:13:47.274Z] ========================================================= [2022-01-19T20:13:47.274Z] EdgeX Global Pipelines Version Info [2022-01-19T20:13:47.274Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:13:48.390Z] ------------------- [2022-01-19T20:13:48.390Z] stable info: [2022-01-19T20:13:48.390Z] ------------------- [2022-01-19T20:13:48.390Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T20:13:48.390Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T20:13:48.390Z] Message: update stable to v1.0.219 [2022-01-19T20:13:48.961Z] ------------------- [2022-01-19T20:13:48.961Z] experimental info: [2022-01-19T20:13:48.961Z] ------------------- [2022-01-19T20:13:48.961Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T20:13:48.961Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T20:13:48.961Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T20:13:49.112Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-01-19T20:13:49.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-01-19T20:13:49.141Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T20:13:49.152Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T20:13:49.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T20:13:49.183Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T20:13:49.200Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T20:13:49.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T20:13:49.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T20:13:49.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T20:13:49.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T20:13:49.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-01-19T20:13:49.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T20:13:49.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T20:13:49.327Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T20:13:49.339Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T20:13:49.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T20:13:49.365Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T20:13:49.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T20:13:49.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-19T20:13:49.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T20:13:49.419Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T20:13:49.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T20:13:49.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T20:13:49.453Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T20:13:49.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T20:13:49.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-19T20:13:49.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-19T20:13:49.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-19T20:13:49.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo [2022-01-19T20:13:49.519Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 620914e [Pipeline] echo [2022-01-19T20:13:49.531Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:13:49.569Z] provisioning config files... [2022-01-19T20:13:49.583Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5896977109121151610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:13:49.908Z] ---> docker-login.sh [2022-01-19T20:13:49.908Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:13:49.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.170Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.170Z] [2022-01-19T20:13:50.170Z] Login Succeeded [2022-01-19T20:13:50.170Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:13:50.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.170Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.170Z] [2022-01-19T20:13:50.170Z] Login Succeeded [2022-01-19T20:13:50.170Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:13:50.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.429Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.429Z] [2022-01-19T20:13:50.429Z] Login Succeeded [2022-01-19T20:13:50.429Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:13:50.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:50.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:50.429Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:50.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:50.429Z] [2022-01-19T20:13:50.429Z] Login Succeeded [2022-01-19T20:13:50.429Z] docker.io [2022-01-19T20:13:50.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:13:51.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:13:51.005Z] Configure a credential helper to remove this warning. See [2022-01-19T20:13:51.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:13:51.005Z] [2022-01-19T20:13:51.005Z] Login Succeeded [2022-01-19T20:13:51.005Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:13:51.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T20:13:51.410Z] + git rev-list -1 --merges 620914ed09955f471d114b9f6d925da7efa3e056~1..620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo [2022-01-19T20:13:51.444Z] -----------> git rev-list -1 --merges 620914ed09955f471d114b9f6d925da7efa3e056~1..620914ed09955f471d114b9f6d925da7efa3e056 620914ed09955f471d114b9f6d925da7efa3e056 [false] [Pipeline] sh [2022-01-19T20:13:51.749Z] + git log --format=format:%s -1 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo [2022-01-19T20:13:51.764Z] ========================================================= [2022-01-19T20:13:51.764Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T20:13:51.764Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:13:52.116Z] + git log --format=format:%s -1 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo [2022-01-19T20:13:52.127Z] [semverPrep] GIT_COMMIT: 620914ed09955f471d114b9f6d925da7efa3e056, Commit Message: ci: Go 1.17 related changes (#334) [Pipeline] echo [2022-01-19T20:13:52.141Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T20:13:52.584Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.584Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.584Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T20:13:52.584Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.584Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T20:13:52.584Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T20:13:52.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:13:52.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:13:52.933Z] [2022-01-19T20:13:52.933Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:13:53.243Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:13:53.243Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T20:13:53.243Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T20:13:53.243Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T20:13:53.243Z] 4c7163046ea9: Pulling fs layer [2022-01-19T20:13:53.243Z] 0c2d73faf560: Pulling fs layer [2022-01-19T20:13:53.243Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T20:13:53.243Z] 3e5f54012d9b: Download complete [2022-01-19T20:13:53.243Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T20:13:53.243Z] a0d0a0d46f8b: Download complete [2022-01-19T20:13:53.243Z] 4c7163046ea9: Verifying Checksum [2022-01-19T20:13:53.243Z] 4c7163046ea9: Download complete [2022-01-19T20:13:53.243Z] 0c2d73faf560: Verifying Checksum [2022-01-19T20:13:53.243Z] 0c2d73faf560: Download complete [2022-01-19T20:13:53.506Z] a0d0a0d46f8b: Pull complete [2022-01-19T20:13:53.506Z] 3e5f54012d9b: Pull complete [2022-01-19T20:13:53.771Z] 4c7163046ea9: Pull complete [2022-01-19T20:13:54.035Z] 0c2d73faf560: Pull complete [2022-01-19T20:13:54.035Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T20:13:54.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:13:54.035Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T20:13:54.120Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:13:54.164Z] $ 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 [2022-01-19T20:13:55.012Z] $ docker top 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:13:55.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:13:55.111Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:13:55.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:13:55.223Z] $ docker exec 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent [2022-01-19T20:13:55.357Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGIegoF/agent.13 [2022-01-19T20:13:55.357Z] SSH_AGENT_PID=19 [2022-01-19T20:13:55.366Z] Running ssh-add (command line suppressed) [2022-01-19T20:13:55.495Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5751945572243345173.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5751945572243345173.key) [2022-01-19T20:13:55.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:13:55.812Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T20:13:55.828Z] $ docker exec --env ******** --env ******** 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent -k [2022-01-19T20:13:55.944Z] unset SSH_AUTH_SOCK; [2022-01-19T20:13:55.946Z] unset SSH_AGENT_PID; [2022-01-19T20:13:55.946Z] echo Agent pid 19 killed; [2022-01-19T20:13:55.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T20:13:55.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:13:55.982Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:13:56.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:13:56.118Z] $ docker exec 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent [2022-01-19T20:13:56.241Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnlMBjm/agent.53 [2022-01-19T20:13:56.241Z] SSH_AGENT_PID=59 [2022-01-19T20:13:56.247Z] Running ssh-add (command line suppressed) [2022-01-19T20:13:56.374Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7366349224218158794.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7366349224218158794.key) [2022-01-19T20:13:56.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:13:56.692Z] + git semver init [2022-01-19T20:13:56.692Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:13:56.692Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-19T20:13:56.692Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-19T20:13:56.692Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:13:56.692Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:13:56.692Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:13:56.692Z] # $SEMVER_BRANCH = main [2022-01-19T20:13:56.692Z] # $SEMVER_TEMP = /tmp/semver-900256998 [2022-01-19T20:13:56.692Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-01-19T20:13:57.636Z] # '/tmp/semver-900256998' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-01-19T20:13:57.636Z] # -> Force: false [2022-01-19T20:13:57.636Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-01-19T20:13:57.647Z] $ docker exec --env ******** --env ******** 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent -k [2022-01-19T20:13:57.743Z] unset SSH_AUTH_SOCK; [2022-01-19T20:13:57.744Z] unset SSH_AGENT_PID; [2022-01-19T20:13:57.744Z] echo Agent pid 59 killed; [2022-01-19T20:13:57.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:13:58.069Z] + git semver [Pipeline] } [2022-01-19T20:13:58.086Z] $ docker stop --time=1 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a [2022-01-19T20:13:59.343Z] $ docker rm -f 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:13:59.708Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T20:13:59.977Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T20:13:59.980Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:14:00.116Z] provisioning config files... [2022-01-19T20:14:00.126Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1979075744564787118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:14:00.434Z] ---> docker-login.sh [2022-01-19T20:14:00.434Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:14:00.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.434Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.434Z] [2022-01-19T20:14:00.434Z] Login Succeeded [2022-01-19T20:14:00.434Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:14:00.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.434Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.434Z] [2022-01-19T20:14:00.434Z] Login Succeeded [2022-01-19T20:14:00.434Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:14:00.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.700Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.700Z] [2022-01-19T20:14:00.700Z] Login Succeeded [2022-01-19T20:14:00.700Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:14:00.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:00.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:00.961Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:00.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:00.961Z] [2022-01-19T20:14:00.961Z] Login Succeeded [2022-01-19T20:14:00.961Z] docker.io [2022-01-19T20:14:00.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:14:01.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:14:01.222Z] Configure a credential helper to remove this warning. See [2022-01-19T20:14:01.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:14:01.222Z] [2022-01-19T20:14:01.222Z] Login Succeeded [2022-01-19T20:14:01.222Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:14:01.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T20:14:01.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:14:01.317Z] ========================================================= [2022-01-19T20:14:01.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T20:14:01.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:14:01.645Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-19T20:14:01.645Z] Sending build context to Docker daemon 5.711MB [2022-01-19T20:14:01.645Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:14:01.645Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T20:14:01.645Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T20:14:01.645Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T20:14:01.645Z] 666ba61612fd: Pulling fs layer [2022-01-19T20:14:01.645Z] 8ed8ca486205: Pulling fs layer [2022-01-19T20:14:01.645Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T20:14:01.645Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T20:14:01.645Z] f965cba54748: Pulling fs layer [2022-01-19T20:14:01.645Z] 861ffc35075e: Pulling fs layer [2022-01-19T20:14:01.645Z] 4b385c91608e: Pulling fs layer [2022-01-19T20:14:01.645Z] 560528eb2ebb: Pulling fs layer [2022-01-19T20:14:01.645Z] 4fe6c5a15a65: Waiting [2022-01-19T20:14:01.645Z] 22a0e8bec74d: Waiting [2022-01-19T20:14:01.645Z] f965cba54748: Waiting [2022-01-19T20:14:01.645Z] 861ffc35075e: Waiting [2022-01-19T20:14:01.645Z] 4b385c91608e: Waiting [2022-01-19T20:14:01.645Z] 560528eb2ebb: Waiting [2022-01-19T20:14:01.919Z] 8ed8ca486205: Verifying Checksum [2022-01-19T20:14:01.919Z] 8ed8ca486205: Download complete [2022-01-19T20:14:01.919Z] 666ba61612fd: Verifying Checksum [2022-01-19T20:14:01.919Z] 666ba61612fd: Download complete [2022-01-19T20:14:01.919Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T20:14:01.919Z] 22a0e8bec74d: Download complete [2022-01-19T20:14:01.919Z] f965cba54748: Verifying Checksum [2022-01-19T20:14:01.919Z] f965cba54748: Download complete [2022-01-19T20:14:01.919Z] 861ffc35075e: Verifying Checksum [2022-01-19T20:14:01.919Z] 861ffc35075e: Download complete [2022-01-19T20:14:01.919Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T20:14:01.919Z] 59bf1c3509f3: Download complete [2022-01-19T20:14:02.207Z] 4b385c91608e: Verifying Checksum [2022-01-19T20:14:02.207Z] 4b385c91608e: Download complete [2022-01-19T20:14:02.207Z] 59bf1c3509f3: Pull complete [2022-01-19T20:14:02.792Z] 666ba61612fd: Pull complete [2022-01-19T20:14:02.792Z] 560528eb2ebb: Verifying Checksum [2022-01-19T20:14:02.792Z] 560528eb2ebb: Download complete [2022-01-19T20:14:02.792Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T20:14:02.792Z] 4fe6c5a15a65: Download complete [2022-01-19T20:14:02.792Z] 8ed8ca486205: Pull complete [2022-01-19T20:14:07.130Z] 4fe6c5a15a65: Pull complete [2022-01-19T20:14:07.130Z] 22a0e8bec74d: Pull complete [2022-01-19T20:14:07.130Z] f965cba54748: Pull complete [2022-01-19T20:14:07.399Z] 861ffc35075e: Pull complete [2022-01-19T20:14:07.399Z] 4b385c91608e: Pull complete [2022-01-19T20:14:10.743Z] 560528eb2ebb: Pull complete [2022-01-19T20:14:10.743Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T20:14:10.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T20:14:10.743Z] ---> dd4a08f94e63 [2022-01-19T20:14:10.743Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:14:13.307Z] ---> Running in 2d83929370ec [2022-01-19T20:14:13.308Z] Removing intermediate container 2d83929370ec [2022-01-19T20:14:13.308Z] ---> 40fbb6f5452f [2022-01-19T20:14:13.308Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:14:13.308Z] ---> Running in 7b04840d8111 [2022-01-19T20:14:13.308Z] Removing intermediate container 7b04840d8111 [2022-01-19T20:14:13.308Z] ---> d3ba5db4a9a7 [2022-01-19T20:14:13.308Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:14:13.308Z] ---> Running in 1a5038352e50 [2022-01-19T20:14:13.880Z] Removing intermediate container 1a5038352e50 [2022-01-19T20:14:13.880Z] ---> 7f7f31abcf97 [2022-01-19T20:14:13.880Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:14:13.880Z] ---> Running in 225785b67361 [2022-01-19T20:14:14.140Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:14:15.081Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:14:15.085Z] Still waiting to schedule task [2022-01-19T20:14:15.085Z] ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T20:14:15.085Z] ‘prd-centos7-docker-4c-2g-2092’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T20:14:15.085Z] ‘prd-centos7-docker-4c-2g-2093’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-19T20:14:15.086Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2091’ is offline [2022-01-19T20:14:15.340Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T20:14:15.340Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T20:14:15.340Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T20:14:15.606Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T20:14:15.606Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T20:14:15.606Z] OK: 224 MiB in 56 packages [2022-01-19T20:14:16.184Z] Removing intermediate container 225785b67361 [2022-01-19T20:14:16.184Z] ---> 19b7c856dcb9 [2022-01-19T20:14:16.184Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-19T20:14:16.184Z] ---> Running in 67465e54b39e [2022-01-19T20:14:16.184Z] Removing intermediate container 67465e54b39e [2022-01-19T20:14:16.184Z] ---> b714d38102ed [2022-01-19T20:14:16.184Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-19T20:14:16.184Z] ---> 315f3b128e08 [2022-01-19T20:14:16.184Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:14:16.184Z] ---> Running in bca933ac1972 [2022-01-19T20:14:48.335Z] Removing intermediate container bca933ac1972 [2022-01-19T20:14:48.335Z] ---> 08e966b1029b [2022-01-19T20:14:48.335Z] Step 10/12 : COPY . . [2022-01-19T20:14:48.335Z] ---> a8bd9fe7dc19 [2022-01-19T20:14:48.335Z] Step 11/12 : ARG MAKE='make build' [2022-01-19T20:14:48.335Z] ---> Running in 3aafeb9690de [2022-01-19T20:14:48.335Z] Removing intermediate container 3aafeb9690de [2022-01-19T20:14:48.335Z] ---> 9e8ad8286e24 [2022-01-19T20:14:48.335Z] Step 12/12 : RUN $MAKE [2022-01-19T20:14:48.335Z] ---> Running in 152f2a8d7c02 [2022-01-19T20:14:48.335Z] noop [2022-01-19T20:14:48.335Z] Removing intermediate container 152f2a8d7c02 [2022-01-19T20:14:48.335Z] ---> 0a336e9ffbae [2022-01-19T20:14:48.335Z] Successfully built 0a336e9ffbae [2022-01-19T20:14:48.335Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:14:48.638Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T20:14:48.638Z] . [Pipeline] withDockerContainer [2022-01-19T20:14:48.711Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:14:48.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T20:14:49.119Z] $ docker top 22ccd8aac61e2b577de130b6ba9a9212d4b8e4d411f20ec81c8daf2739128862 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:14:49.528Z] + go version [2022-01-19T20:14:49.528Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T20:14:49.539Z] $ docker stop --time=1 22ccd8aac61e2b577de130b6ba9a9212d4b8e4d411f20ec81c8daf2739128862 [2022-01-19T20:14:50.725Z] $ docker rm -f 22ccd8aac61e2b577de130b6ba9a9212d4b8e4d411f20ec81c8daf2739128862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:14:51.141Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T20:14:51.141Z] . [Pipeline] withDockerContainer [2022-01-19T20:14:51.210Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:14:51.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T20:14:51.582Z] $ docker top 80a6dc23fcba1d2d821d407db4b453a6b255ff118f78e192005539d32dcbabac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T20:14:51.947Z] + make test [2022-01-19T20:14:51.947Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T20:14:52.211Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-19T20:15:07.182Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-19T20:15:07.182Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.5% of statements [2022-01-19T20:15:07.182Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-19T20:15:07.182Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T20:15:12.505Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T20:15:12.505Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T20:15:12.505Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T20:15:13.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T20:15:13.104Z] $ docker stop --time=1 80a6dc23fcba1d2d821d407db4b453a6b255ff118f78e192005539d32dcbabac [2022-01-19T20:15:14.838Z] $ docker rm -f 80a6dc23fcba1d2d821d407db4b453a6b255ff118f78e192005539d32dcbabac [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:15:15.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T20:15:15.272Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-19T20:15:15.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T20:15:16.139Z] + ls -al . [2022-01-19T20:15:16.139Z] total 148 [2022-01-19T20:15:16.139Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:15 . [2022-01-19T20:15:16.139Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 20:13 .. [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 7287 Jan 19 20:13 Attribution.txt [2022-01-19T20:15:16.139Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 19 20:13 bin [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 7447 Jan 19 20:13 CHANGELOG.md [2022-01-19T20:15:16.139Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 20:13 cmd [2022-01-19T20:15:16.139Z] -rw-r--r--. 1 jenkins jenkins 17452 Jan 19 20:15 coverage.out [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 1930 Jan 19 20:13 Dockerfile [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 20:13 .dockerignore [2022-01-19T20:15:16.139Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 20:13 .git [2022-01-19T20:15:16.139Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 20:13 .github [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 19 20:13 .gitignore [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 410 Jan 19 20:13 go.mod [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 49409 Jan 19 20:13 go.sum [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:13 GOVERNANCE.md [2022-01-19T20:15:16.139Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 20:13 internal [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:13 Jenkinsfile [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 20:13 LICENSE [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 1030 Jan 19 20:13 Makefile [2022-01-19T20:15:16.139Z] drwxrwxr-x. 2 jenkins jenkins 23 Jan 19 20:13 mock [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 19 20:13 OWNERS.md [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 2643 Jan 19 20:13 README.md [2022-01-19T20:15:16.139Z] drwx------. 3 jenkins jenkins 57 Jan 19 20:13 .semver [2022-01-19T20:15:16.139Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 19 20:13 snap [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 20:13 VERSION [2022-01-19T20:15:16.139Z] -rw-rw-r--. 1 jenkins jenkins 227 Jan 19 20:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:16.441Z] + 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=620914ed09955f471d114b9f6d925da7efa3e056 --label arch=amd64 --label version=2.2.0-dev.7 . [2022-01-19T20:15:16.441Z] Sending build context to Docker daemon 5.73MB [2022-01-19T20:15:16.441Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:15:16.441Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-19T20:15:16.441Z] ---> 0a336e9ffbae [2022-01-19T20:15:16.441Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:15:16.441Z] ---> Running in e0dca2a6855c [2022-01-19T20:15:16.701Z] Removing intermediate container e0dca2a6855c [2022-01-19T20:15:16.701Z] ---> 1c99ade505f0 [2022-01-19T20:15:16.701Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:15:16.701Z] ---> Running in 2bd35f3380f1 [2022-01-19T20:15:16.701Z] Removing intermediate container 2bd35f3380f1 [2022-01-19T20:15:16.701Z] ---> 2a9505054c40 [2022-01-19T20:15:16.701Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:15:16.701Z] ---> Running in 94c2540be295 [2022-01-19T20:15:17.277Z] Removing intermediate container 94c2540be295 [2022-01-19T20:15:17.277Z] ---> 64655fa70f25 [2022-01-19T20:15:17.277Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:15:17.277Z] ---> Running in 4b1f466b33ab [2022-01-19T20:15:17.536Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:18.476Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:18.737Z] OK: 224 MiB in 56 packages [2022-01-19T20:15:18.997Z] Removing intermediate container 4b1f466b33ab [2022-01-19T20:15:18.997Z] ---> 9ab97bed9eaa [2022-01-19T20:15:18.997Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-19T20:15:18.997Z] ---> Running in 68a4481f7417 [2022-01-19T20:15:18.997Z] Removing intermediate container 68a4481f7417 [2022-01-19T20:15:18.997Z] ---> 77823c4c7fc0 [2022-01-19T20:15:18.997Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-19T20:15:19.258Z] ---> 9b740a5e2675 [2022-01-19T20:15:19.258Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:15:19.258Z] ---> Running in 2d9dfcf8486b [2022-01-19T20:15:19.831Z] Removing intermediate container 2d9dfcf8486b [2022-01-19T20:15:19.831Z] ---> afa32ad81c6e [2022-01-19T20:15:19.831Z] Step 10/24 : COPY . . [2022-01-19T20:15:20.089Z] ---> 4783b990ed2c [2022-01-19T20:15:20.089Z] Step 11/24 : ARG MAKE='make build' [2022-01-19T20:15:20.089Z] ---> Running in afc4cfdc1f94 [2022-01-19T20:15:20.349Z] Removing intermediate container afc4cfdc1f94 [2022-01-19T20:15:20.349Z] ---> 1cf7175cedc1 [2022-01-19T20:15:20.349Z] Step 12/24 : RUN $MAKE [2022-01-19T20:15:20.350Z] ---> Running in 87ae7bf48c89 [2022-01-19T20:15:20.608Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.7" -o cmd/device-mqtt ./cmd [2022-01-19T20:15:32.912Z] Removing intermediate container 87ae7bf48c89 [2022-01-19T20:15:32.912Z] ---> 1a783c4d505c [2022-01-19T20:15:32.912Z] Step 13/24 : FROM alpine:3.14 [2022-01-19T20:15:33.172Z] 3.14: Pulling from library/alpine [2022-01-19T20:15:33.434Z] 97518928ae5f: Pulling fs layer [2022-01-19T20:15:33.434Z] 97518928ae5f: Verifying Checksum [2022-01-19T20:15:33.434Z] 97518928ae5f: Download complete [2022-01-19T20:15:33.693Z] 97518928ae5f: Pull complete [2022-01-19T20:15:33.693Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T20:15:33.693Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T20:15:33.693Z] ---> 0a97eee8041e [2022-01-19T20:15:33.693Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-19T20:15:33.693Z] ---> Running in 337f874588b4 [2022-01-19T20:15:33.955Z] Removing intermediate container 337f874588b4 [2022-01-19T20:15:33.955Z] ---> a75546fac030 [2022-01-19T20:15:33.955Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T20:15:33.955Z] ---> Running in e115c9432255 [2022-01-19T20:15:34.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:34.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:15:34.475Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T20:15:34.475Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T20:15:34.475Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T20:15:34.475Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T20:15:34.475Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T20:15:34.475Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T20:15:34.475Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T20:15:34.475Z] OK: 8 MiB in 20 packages [2022-01-19T20:15:34.741Z] Removing intermediate container e115c9432255 [2022-01-19T20:15:34.741Z] ---> 0251421fbcd7 [2022-01-19T20:15:34.741Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-19T20:15:35.009Z] ---> ee1f15b84605 [2022-01-19T20:15:35.009Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-19T20:15:35.272Z] ---> 3d742ce9774d [2022-01-19T20:15:35.272Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-19T20:15:35.272Z] ---> 113433ad3da0 [2022-01-19T20:15:35.272Z] Step 19/24 : EXPOSE 59982 [2022-01-19T20:15:35.272Z] ---> Running in e92ff9dd3e1c [2022-01-19T20:15:35.532Z] Removing intermediate container e92ff9dd3e1c [2022-01-19T20:15:35.532Z] ---> 03e3dc372a00 [2022-01-19T20:15:35.532Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-19T20:15:35.532Z] ---> Running in 2ccd0aeaf72c [2022-01-19T20:15:35.532Z] Removing intermediate container 2ccd0aeaf72c [2022-01-19T20:15:35.532Z] ---> 988b43781808 [2022-01-19T20:15:35.532Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T20:15:35.532Z] ---> Running in 90fa900d24d8 [2022-01-19T20:15:35.791Z] Removing intermediate container 90fa900d24d8 [2022-01-19T20:15:35.791Z] ---> 2e69c33b443f [2022-01-19T20:15:35.791Z] Step 22/24 : LABEL arch=amd64 [2022-01-19T20:15:35.792Z] ---> Running in d9060270230c [2022-01-19T20:15:35.792Z] Removing intermediate container d9060270230c [2022-01-19T20:15:35.792Z] ---> 89da26de3a50 [2022-01-19T20:15:35.792Z] Step 23/24 : LABEL git_sha=620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:15:35.792Z] ---> Running in 825e568fc79b [2022-01-19T20:15:36.051Z] Removing intermediate container 825e568fc79b [2022-01-19T20:15:36.051Z] ---> 07f49572dcb1 [2022-01-19T20:15:36.051Z] Step 24/24 : LABEL version=2.2.0-dev.7 [2022-01-19T20:15:36.051Z] ---> Running in 669d81617e28 [2022-01-19T20:15:36.310Z] Removing intermediate container 669d81617e28 [2022-01-19T20:15:36.310Z] ---> c83a6a1bd825 [2022-01-19T20:15:36.310Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T20:15:36.310Z] Successfully built c83a6a1bd825 [2022-01-19T20:15:36.310Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:15:36.410Z] provisioning config files... [2022-01-19T20:15:36.418Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7022441769249664113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:15:36.744Z] ---> docker-login.sh [2022-01-19T20:15:36.744Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:15:36.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:36.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:36.744Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:36.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:36.744Z] [2022-01-19T20:15:36.744Z] Login Succeeded [2022-01-19T20:15:36.744Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:15:36.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:36.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:36.744Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:36.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:36.744Z] [2022-01-19T20:15:36.744Z] Login Succeeded [2022-01-19T20:15:36.744Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:15:37.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:37.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:37.006Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:37.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:37.006Z] [2022-01-19T20:15:37.006Z] Login Succeeded [2022-01-19T20:15:37.006Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:15:37.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:37.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:37.006Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:37.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:37.006Z] [2022-01-19T20:15:37.006Z] Login Succeeded [2022-01-19T20:15:37.006Z] docker.io [2022-01-19T20:15:37.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:15:37.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:15:37.577Z] Configure a credential helper to remove this warning. See [2022-01-19T20:15:37.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:15:37.577Z] [2022-01-19T20:15:37.577Z] Login Succeeded [2022-01-19T20:15:37.577Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:15:37.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:15:37.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:15:37.646Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-01-19T20:15:37.646Z] 620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:15:37.646Z] latest [2022-01-19T20:15:37.646Z] 2.2.0-dev.7 [2022-01-19T20:15:37.646Z] 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [2022-01-19T20:15:37.646Z] main [2022-01-19T20:15:37.646Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:37.978Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:38.273Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:15:38.273Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-19T20:15:38.273Z] 762f08215ba0: Preparing [2022-01-19T20:15:38.273Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:38.273Z] f3bb6f0c5e53: Preparing [2022-01-19T20:15:38.273Z] 327105b32c54: Preparing [2022-01-19T20:15:38.273Z] 1a058d5342cc: Preparing [2022-01-19T20:15:38.273Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:38.539Z] 762f08215ba0: Pushed [2022-01-19T20:15:38.539Z] 5998ffbe3b4b: Pushed [2022-01-19T20:15:38.539Z] 327105b32c54: Pushed [2022-01-19T20:15:39.479Z] f3bb6f0c5e53: Pushed [2022-01-19T20:15:39.479Z] 620914ed09955f471d114b9f6d925da7efa3e056: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:39.772Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.062Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-01-19T20:15:40.063Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-19T20:15:40.063Z] 762f08215ba0: Preparing [2022-01-19T20:15:40.063Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:40.063Z] f3bb6f0c5e53: Preparing [2022-01-19T20:15:40.063Z] 327105b32c54: Preparing [2022-01-19T20:15:40.063Z] 1a058d5342cc: Preparing [2022-01-19T20:15:40.063Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:40.063Z] 762f08215ba0: Layer already exists [2022-01-19T20:15:40.063Z] f3bb6f0c5e53: Layer already exists [2022-01-19T20:15:40.063Z] 327105b32c54: Layer already exists [2022-01-19T20:15:40.063Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:40.063Z] latest: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.356Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.650Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.7 [2022-01-19T20:15:40.650Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-19T20:15:40.650Z] 762f08215ba0: Preparing [2022-01-19T20:15:40.650Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:40.650Z] f3bb6f0c5e53: Preparing [2022-01-19T20:15:40.650Z] 327105b32c54: Preparing [2022-01-19T20:15:40.650Z] 1a058d5342cc: Preparing [2022-01-19T20:15:40.650Z] 327105b32c54: Layer already exists [2022-01-19T20:15:40.650Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:40.650Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:40.650Z] 762f08215ba0: Layer already exists [2022-01-19T20:15:40.650Z] f3bb6f0c5e53: Layer already exists [2022-01-19T20:15:40.650Z] 2.2.0-dev.7: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:40.951Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:41.252Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [2022-01-19T20:15:41.252Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-19T20:15:41.252Z] 762f08215ba0: Preparing [2022-01-19T20:15:41.252Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:41.252Z] f3bb6f0c5e53: Preparing [2022-01-19T20:15:41.252Z] 327105b32c54: Preparing [2022-01-19T20:15:41.252Z] 1a058d5342cc: Preparing [2022-01-19T20:15:41.252Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:41.252Z] 327105b32c54: Layer already exists [2022-01-19T20:15:41.252Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:41.252Z] 762f08215ba0: Layer already exists [2022-01-19T20:15:41.252Z] f3bb6f0c5e53: Layer already exists [2022-01-19T20:15:41.252Z] 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:41.556Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:41.853Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-01-19T20:15:41.853Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-19T20:15:41.853Z] 762f08215ba0: Preparing [2022-01-19T20:15:41.853Z] 5998ffbe3b4b: Preparing [2022-01-19T20:15:41.853Z] f3bb6f0c5e53: Preparing [2022-01-19T20:15:41.853Z] 327105b32c54: Preparing [2022-01-19T20:15:41.853Z] 1a058d5342cc: Preparing [2022-01-19T20:15:41.853Z] 1a058d5342cc: Layer already exists [2022-01-19T20:15:41.853Z] 5998ffbe3b4b: Layer already exists [2022-01-19T20:15:41.853Z] f3bb6f0c5e53: Layer already exists [2022-01-19T20:15:41.853Z] 762f08215ba0: Layer already exists [2022-01-19T20:15:41.853Z] 327105b32c54: Layer already exists [2022-01-19T20:15:41.853Z] main: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:15:41.889Z] ===================================================== [Pipeline] echo [2022-01-19T20:15:41.897Z] taggedImages: [2022-01-19T20:15:41.897Z] - nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:15:41.897Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-01-19T20:15:41.897Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.7 [2022-01-19T20:15:41.897Z] - nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [2022-01-19T20:15:41.897Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:42.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:15:42.304Z] [2022-01-19T20:15:42.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:15:42.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:15:42.604Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T20:15:42.604Z] b4d181a07f80: Pulling fs layer [2022-01-19T20:15:42.604Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T20:15:42.604Z] ed53099fbce6: Pulling fs layer [2022-01-19T20:15:42.604Z] dc539afda2c1: Pulling fs layer [2022-01-19T20:15:42.604Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T20:15:42.604Z] 9065ff56babe: Pulling fs layer [2022-01-19T20:15:42.604Z] d287ab97295c: Pulling fs layer [2022-01-19T20:15:42.604Z] dc539afda2c1: Waiting [2022-01-19T20:15:42.604Z] 77bc0d833cb6: Waiting [2022-01-19T20:15:42.604Z] 9065ff56babe: Waiting [2022-01-19T20:15:42.604Z] d287ab97295c: Waiting [2022-01-19T20:15:42.604Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T20:15:42.604Z] a1111a8f2ec3: Download complete [2022-01-19T20:15:42.604Z] dc539afda2c1: Verifying Checksum [2022-01-19T20:15:42.604Z] dc539afda2c1: Download complete [2022-01-19T20:15:42.863Z] ed53099fbce6: Verifying Checksum [2022-01-19T20:15:42.864Z] ed53099fbce6: Download complete [2022-01-19T20:15:42.864Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T20:15:42.864Z] 77bc0d833cb6: Download complete [2022-01-19T20:15:42.864Z] 9065ff56babe: Verifying Checksum [2022-01-19T20:15:42.864Z] 9065ff56babe: Download complete [2022-01-19T20:15:42.864Z] b4d181a07f80: Verifying Checksum [2022-01-19T20:15:42.864Z] b4d181a07f80: Download complete [2022-01-19T20:15:43.445Z] d287ab97295c: Verifying Checksum [2022-01-19T20:15:43.445Z] d287ab97295c: Download complete [2022-01-19T20:15:44.405Z] b4d181a07f80: Pull complete [2022-01-19T20:15:44.405Z] a1111a8f2ec3: Pull complete [2022-01-19T20:15:44.981Z] ed53099fbce6: Pull complete [2022-01-19T20:15:44.981Z] dc539afda2c1: Pull complete [2022-01-19T20:15:45.249Z] 77bc0d833cb6: Pull complete [2022-01-19T20:15:45.507Z] 9065ff56babe: Pull complete [2022-01-19T20:15:50.808Z] d287ab97295c: Pull complete [2022-01-19T20:15:50.808Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T20:15:50.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:15:50.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T20:15:51.010Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:15:51.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T20:15:55.082Z] $ docker top 9dadbbfc13aadb6fc3540d4e6fab9cf9e5f24cb0e9764c8028629e522369daed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:15:55.502Z] ---> job-cost.sh [2022-01-19T20:15:55.502Z] lf-activate-venv: SKIPPING [2022-01-19T20:15:55.502Z] INFO: No Stack... [2022-01-19T20:15:55.762Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:15:56.021Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T20:15:56.320Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-01-19T20:15:56.320Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T20:15:56.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [2022-01-19T20:15:56.339Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] did not exist. Created. [2022-01-19T20:15:56.339Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:15:56.639Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T20:15:56.668Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:15:56.676Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:15:56.696Z] $ docker stop --time=1 9dadbbfc13aadb6fc3540d4e6fab9cf9e5f24cb0e9764c8028629e522369daed [2022-01-19T20:15:57.858Z] $ docker rm -f 9dadbbfc13aadb6fc3540d4e6fab9cf9e5f24cb0e9764c8028629e522369daed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T20:17:04.808Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2097 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-01-19T20:17:04.822Z] Running in /w/workspace/device-mqtt-go/28 [Pipeline] { [Pipeline] checkout [2022-01-19T20:17:05.066Z] Selected Git installation does not exist. Using Default [2022-01-19T20:17:05.066Z] The recommended git tool is: NONE [2022-01-19T20:17:10.529Z] using credential edgex-jenkins-ssh [2022-01-19T20:17:10.549Z] Cloning the remote Git repository [2022-01-19T20:17:10.607Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-19T20:17:10.701Z] > git init /w/workspace/device-mqtt-go/28 # timeout=10 [2022-01-19T20:17:10.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-19T20:17:10.800Z] > git --version # timeout=10 [2022-01-19T20:17:10.823Z] > git --version # 'git version 2.17.1' [2022-01-19T20:17:10.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T20:17:10.895Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T20:17:12.235Z] Avoid second fetch [2022-01-19T20:17:12.235Z] Checking out Revision 620914ed09955f471d114b9f6d925da7efa3e056 (main) [2022-01-19T20:17:12.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-19T20:17:12.210Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T20:17:12.259Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T20:17:12.279Z] > git checkout -f 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 [2022-01-19T20:17:17.381Z] Commit message: "ci: Go 1.17 related changes (#334)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:17:18.285Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T20:17:18.286Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T20:17:18.286Z] Dload Upload Total Spent Left Speed [2022-01-19T20:17:18.286Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 167k 0 --:--:-- --:--:-- --:--:-- 167k [Pipeline] sh [2022-01-19T20:17:18.896Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T20:17:19.264Z] + sudo tee /etc/docker/daemon.new [2022-01-19T20:17:19.264Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T20:17:19.264Z] { [2022-01-19T20:17:19.264Z] "registry-mirrors": [ [2022-01-19T20:17:19.264Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T20:17:19.264Z] ], [2022-01-19T20:17:19.264Z] "bip": "10.250.0.254/24", [2022-01-19T20:17:19.264Z] "hosts": [ [2022-01-19T20:17:19.264Z] "tcp://0.0.0.0:5555", [2022-01-19T20:17:19.264Z] "unix:///var/run/docker.sock" [2022-01-19T20:17:19.264Z] ], [2022-01-19T20:17:19.264Z] "mtu": 1458, [2022-01-19T20:17:19.264Z] "selinux-enabled": true, [2022-01-19T20:17:19.264Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T20:17:19.264Z] } [Pipeline] sh [2022-01-19T20:17:19.643Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T20:17:20.002Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:17:38.401Z] provisioning config files... [2022-01-19T20:17:38.430Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config8751385390130361228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:17:38.815Z] ---> docker-login.sh [2022-01-19T20:17:38.815Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:17:39.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:39.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:39.700Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:39.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:39.700Z] [2022-01-19T20:17:39.700Z] Login Succeeded [2022-01-19T20:17:39.700Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:17:40.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:40.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:40.302Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:40.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:40.302Z] [2022-01-19T20:17:40.302Z] Login Succeeded [2022-01-19T20:17:40.302Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:17:40.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:40.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:40.909Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:40.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:40.909Z] [2022-01-19T20:17:40.909Z] Login Succeeded [2022-01-19T20:17:40.909Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:17:41.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:41.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:41.469Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:41.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:41.469Z] [2022-01-19T20:17:41.469Z] Login Succeeded [2022-01-19T20:17:41.469Z] docker.io [2022-01-19T20:17:41.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:17:42.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:17:42.345Z] Configure a credential helper to remove this warning. See [2022-01-19T20:17:42.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:17:42.345Z] [2022-01-19T20:17:42.345Z] Login Succeeded [2022-01-19T20:17:42.345Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:17:42.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T20:17:43.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:17:43.140Z] ========================================================= [2022-01-19T20:17:43.140Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T20:17:43.140Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:17:43.524Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-19T20:17:43.803Z] Sending build context to Docker daemon 2.967MB [2022-01-19T20:17:44.089Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:17:44.089Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T20:17:44.089Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T20:17:44.089Z] 9b3977197b4f: Pulling fs layer [2022-01-19T20:17:44.089Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T20:17:44.089Z] 94645a83ff95: Pulling fs layer [2022-01-19T20:17:44.089Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T20:17:44.089Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T20:17:44.089Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T20:17:44.089Z] 9a6b49a46696: Pulling fs layer [2022-01-19T20:17:44.089Z] cf05db05a679: Pulling fs layer [2022-01-19T20:17:44.089Z] 4b8299f9d1f4: Waiting [2022-01-19T20:17:44.089Z] 9a6b49a46696: Waiting [2022-01-19T20:17:44.089Z] cf05db05a679: Waiting [2022-01-19T20:17:44.089Z] 3f3a8bcf1eab: Waiting [2022-01-19T20:17:44.089Z] 0c92f367c5e7: Waiting [2022-01-19T20:17:44.089Z] 94645a83ff95: Verifying Checksum [2022-01-19T20:17:44.089Z] 94645a83ff95: Download complete [2022-01-19T20:17:44.089Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T20:17:44.089Z] 1a89e8eeedd5: Download complete [2022-01-19T20:17:44.089Z] 0c92f367c5e7: Verifying Checksum [2022-01-19T20:17:44.089Z] 0c92f367c5e7: Download complete [2022-01-19T20:17:44.372Z] 4b8299f9d1f4: Download complete [2022-01-19T20:17:44.372Z] 9b3977197b4f: Verifying Checksum [2022-01-19T20:17:44.372Z] 9b3977197b4f: Download complete [2022-01-19T20:17:44.372Z] 9a6b49a46696: Verifying Checksum [2022-01-19T20:17:44.372Z] 9a6b49a46696: Download complete [2022-01-19T20:17:44.974Z] 9b3977197b4f: Pull complete [2022-01-19T20:17:45.588Z] 1a89e8eeedd5: Pull complete [2022-01-19T20:17:46.195Z] 94645a83ff95: Pull complete [2022-01-19T20:17:46.195Z] cf05db05a679: Verifying Checksum [2022-01-19T20:17:46.195Z] cf05db05a679: Download complete [2022-01-19T20:17:47.197Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T20:17:47.197Z] 3f3a8bcf1eab: Download complete [2022-01-19T20:17:59.608Z] 3f3a8bcf1eab: Pull complete [2022-01-19T20:17:59.608Z] 0c92f367c5e7: Pull complete [2022-01-19T20:17:59.608Z] 4b8299f9d1f4: Pull complete [2022-01-19T20:17:59.608Z] 9a6b49a46696: Pull complete [2022-01-19T20:18:06.387Z] cf05db05a679: Pull complete [2022-01-19T20:18:06.387Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T20:18:06.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T20:18:06.387Z] ---> 0ccda1f7e2ee [2022-01-19T20:18:06.387Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:18:06.662Z] ---> Running in 72a2c557876c [2022-01-19T20:18:07.263Z] Removing intermediate container 72a2c557876c [2022-01-19T20:18:07.263Z] ---> 7c04cb973cb4 [2022-01-19T20:18:07.263Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:18:07.263Z] ---> Running in b911e6ccc131 [2022-01-19T20:18:07.543Z] Removing intermediate container b911e6ccc131 [2022-01-19T20:18:07.543Z] ---> b9c4221267ef [2022-01-19T20:18:07.543Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:18:07.817Z] ---> Running in d461475b59b5 [2022-01-19T20:18:09.798Z] Removing intermediate container d461475b59b5 [2022-01-19T20:18:09.798Z] ---> 5dc896db7eec [2022-01-19T20:18:09.798Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:18:09.798Z] ---> Running in b1f46dae1619 [2022-01-19T20:18:11.239Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:18:11.836Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:18:12.827Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T20:18:12.827Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T20:18:13.104Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T20:18:13.104Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T20:18:13.384Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T20:18:13.384Z] OK: 224 MiB in 56 packages [2022-01-19T20:18:14.376Z] Removing intermediate container b1f46dae1619 [2022-01-19T20:18:14.376Z] ---> a28101804803 [2022-01-19T20:18:14.376Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-19T20:18:14.651Z] ---> Running in 1f8f646fc01b [2022-01-19T20:18:14.927Z] Removing intermediate container 1f8f646fc01b [2022-01-19T20:18:14.927Z] ---> c474e6665049 [2022-01-19T20:18:14.927Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-19T20:18:15.912Z] ---> 56c2930d6966 [2022-01-19T20:18:15.912Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:18:15.912Z] ---> Running in 4f405a985987 [2022-01-19T20:19:37.786Z] Removing intermediate container 4f405a985987 [2022-01-19T20:19:37.786Z] ---> a403d7b4ca82 [2022-01-19T20:19:37.786Z] Step 10/12 : COPY . . [2022-01-19T20:19:37.786Z] ---> 908bb313a927 [2022-01-19T20:19:37.786Z] Step 11/12 : ARG MAKE='make build' [2022-01-19T20:19:37.786Z] ---> Running in 3b68676e7ea1 [2022-01-19T20:19:37.786Z] Removing intermediate container 3b68676e7ea1 [2022-01-19T20:19:37.786Z] ---> 162ceee2585f [2022-01-19T20:19:37.786Z] Step 12/12 : RUN $MAKE [2022-01-19T20:19:37.786Z] ---> Running in e1bc17e9158c [2022-01-19T20:19:37.786Z] noop [2022-01-19T20:19:37.786Z] Removing intermediate container e1bc17e9158c [2022-01-19T20:19:37.786Z] ---> 55597e78f8af [2022-01-19T20:19:37.786Z] Successfully built 55597e78f8af [2022-01-19T20:19:37.786Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:19:38.141Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T20:19:38.141Z] . [Pipeline] withDockerContainer [2022-01-19T20:19:38.385Z] prd-ubuntu18.04-docker-arm64-4c-16g-2097 does not seem to be running inside a container [2022-01-19T20:19:38.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T20:19:39.937Z] $ docker top 0758f04d59b22afaf69d5922153e7a8a8c0a2e71b130e4d140c84dcd4b007141 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:19:40.925Z] + go version [2022-01-19T20:19:40.925Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T20:19:40.951Z] $ docker stop --time=1 0758f04d59b22afaf69d5922153e7a8a8c0a2e71b130e4d140c84dcd4b007141 [2022-01-19T20:19:42.656Z] $ docker rm -f 0758f04d59b22afaf69d5922153e7a8a8c0a2e71b130e4d140c84dcd4b007141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:19:43.293Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T20:19:43.293Z] . [Pipeline] withDockerContainer [2022-01-19T20:19:43.534Z] prd-ubuntu18.04-docker-arm64-4c-16g-2097 does not seem to be running inside a container [2022-01-19T20:19:43.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T20:19:45.039Z] $ docker top c7fc62c02904c6f8b9382c89eee1d2dc69b4f57617dbd40210a7ba86307be7ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T20:19:45.978Z] + make test [2022-01-19T20:19:45.978Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T20:19:47.423Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-19T20:20:44.081Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-19T20:20:44.081Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.059s coverage: 22.5% of statements [2022-01-19T20:20:44.081Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-19T20:20:44.676Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T20:21:11.537Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T20:21:11.537Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T20:21:11.537Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T20:21:12.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T20:21:13.005Z] $ docker stop --time=1 c7fc62c02904c6f8b9382c89eee1d2dc69b4f57617dbd40210a7ba86307be7ba [2022-01-19T20:21:14.772Z] $ docker rm -f c7fc62c02904c6f8b9382c89eee1d2dc69b4f57617dbd40210a7ba86307be7ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:21:15.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T20:21:15.653Z] Warning: overwriting stash ‘coverage-report’ [2022-01-19T20:21:16.168Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:21:16.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T20:21:16.960Z] + ls -al . [2022-01-19T20:21:16.960Z] total 180 [2022-01-19T20:21:16.960Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 20:21 . [2022-01-19T20:21:16.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:17 .. [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 20:17 .dockerignore [2022-01-19T20:21:16.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:17 .git [2022-01-19T20:21:16.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:17 .github [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 20:17 .gitignore [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 7287 Jan 19 20:17 Attribution.txt [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 7447 Jan 19 20:17 CHANGELOG.md [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jan 19 20:17 Dockerfile [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:17 GOVERNANCE.md [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:17 Jenkinsfile [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 20:17 LICENSE [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 1030 Jan 19 20:17 Makefile [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 20:17 OWNERS.md [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 2643 Jan 19 20:17 README.md [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 20:13 VERSION [2022-01-19T20:21:16.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:17 bin [2022-01-19T20:21:16.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:17 cmd [2022-01-19T20:21:16.960Z] -rw-r--r-- 1 jenkins jenkins 17452 Jan 19 20:20 coverage.out [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 410 Jan 19 20:17 go.mod [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 49409 Jan 19 20:17 go.sum [2022-01-19T20:21:16.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:17 internal [2022-01-19T20:21:16.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:17 mock [2022-01-19T20:21:16.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:17 snap [2022-01-19T20:21:16.960Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 19 20:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:21:17.327Z] + 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=620914ed09955f471d114b9f6d925da7efa3e056 --label arch=arm64 --label version=2.2.0-dev.7 . [2022-01-19T20:21:17.617Z] Sending build context to Docker daemon 2.985MB [2022-01-19T20:21:17.617Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:21:17.617Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-19T20:21:17.617Z] ---> 55597e78f8af [2022-01-19T20:21:17.617Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:21:17.905Z] ---> Running in 955382f92d0d [2022-01-19T20:21:18.204Z] Removing intermediate container 955382f92d0d [2022-01-19T20:21:18.204Z] ---> 2b36fef51bde [2022-01-19T20:21:18.204Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:21:18.495Z] ---> Running in 6c89008e754f [2022-01-19T20:21:18.796Z] Removing intermediate container 6c89008e754f [2022-01-19T20:21:18.796Z] ---> 2d900d696c1e [2022-01-19T20:21:18.796Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:21:18.796Z] ---> Running in d575f264dbae [2022-01-19T20:21:20.770Z] Removing intermediate container d575f264dbae [2022-01-19T20:21:20.771Z] ---> 2df7ef5b7d20 [2022-01-19T20:21:20.771Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:21:20.771Z] ---> Running in 03e31b567175 [2022-01-19T20:21:21.752Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:21:22.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:21:23.324Z] OK: 224 MiB in 56 packages [2022-01-19T20:21:24.302Z] Removing intermediate container 03e31b567175 [2022-01-19T20:21:24.302Z] ---> 083bdaf65ae0 [2022-01-19T20:21:24.302Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-19T20:21:24.302Z] ---> Running in 90c52c93aec2 [2022-01-19T20:21:24.576Z] Removing intermediate container 90c52c93aec2 [2022-01-19T20:21:24.576Z] ---> d20020af470d [2022-01-19T20:21:24.576Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-19T20:21:25.167Z] ---> 95e2b5887d11 [2022-01-19T20:21:25.167Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:21:25.442Z] ---> Running in 01abeab648c4 [2022-01-19T20:21:27.424Z] Removing intermediate container 01abeab648c4 [2022-01-19T20:21:27.424Z] ---> 56e498419ef8 [2022-01-19T20:21:27.424Z] Step 10/24 : COPY . . [2022-01-19T20:21:28.405Z] ---> ddaa83f0229f [2022-01-19T20:21:28.405Z] Step 11/24 : ARG MAKE='make build' [2022-01-19T20:21:28.405Z] ---> Running in 3dd16f468632 [2022-01-19T20:21:28.678Z] Removing intermediate container 3dd16f468632 [2022-01-19T20:21:28.678Z] ---> 471cb6364e00 [2022-01-19T20:21:28.678Z] Step 12/24 : RUN $MAKE [2022-01-19T20:21:28.678Z] ---> Running in 199940624e4a [2022-01-19T20:21:29.656Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.7" -o cmd/device-mqtt ./cmd [2022-01-19T20:22:16.666Z] Removing intermediate container 199940624e4a [2022-01-19T20:22:16.666Z] ---> 4f178f603921 [2022-01-19T20:22:16.666Z] Step 13/24 : FROM alpine:3.14 [2022-01-19T20:22:16.666Z] 3.14: Pulling from library/alpine [2022-01-19T20:22:16.666Z] be307f383ecc: Pulling fs layer [2022-01-19T20:22:16.666Z] be307f383ecc: Download complete [2022-01-19T20:22:16.666Z] be307f383ecc: Pull complete [2022-01-19T20:22:16.666Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T20:22:16.666Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T20:22:16.666Z] ---> 5b8b7b635229 [2022-01-19T20:22:16.666Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-19T20:22:16.666Z] ---> Running in df6b9cbebfe3 [2022-01-19T20:22:16.666Z] Removing intermediate container df6b9cbebfe3 [2022-01-19T20:22:16.666Z] ---> 0c8f3d8eab55 [2022-01-19T20:22:16.666Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T20:22:16.666Z] ---> Running in 50630af50576 [2022-01-19T20:22:16.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:22:16.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:22:16.940Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T20:22:16.940Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T20:22:16.940Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T20:22:16.940Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T20:22:16.940Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T20:22:16.940Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T20:22:16.940Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T20:22:16.940Z] OK: 8 MiB in 20 packages [2022-01-19T20:22:17.924Z] Removing intermediate container 50630af50576 [2022-01-19T20:22:17.924Z] ---> 429ecc1d837e [2022-01-19T20:22:17.924Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-19T20:22:19.359Z] ---> a37e41a94c3e [2022-01-19T20:22:19.359Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-19T20:22:19.965Z] ---> 0e2e5923e0cc [2022-01-19T20:22:19.965Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-19T20:22:20.577Z] ---> 3a54111f7041 [2022-01-19T20:22:20.577Z] Step 19/24 : EXPOSE 59982 [2022-01-19T20:22:20.577Z] ---> Running in 644a5f52d9f6 [2022-01-19T20:22:20.849Z] Removing intermediate container 644a5f52d9f6 [2022-01-19T20:22:20.849Z] ---> 1f6fd4fe2d09 [2022-01-19T20:22:20.849Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-19T20:22:21.123Z] ---> Running in f7cffb795faf [2022-01-19T20:22:21.398Z] Removing intermediate container f7cffb795faf [2022-01-19T20:22:21.398Z] ---> 036751e7aa45 [2022-01-19T20:22:21.398Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T20:22:21.398Z] ---> Running in 25f39d0a0f3f [2022-01-19T20:22:22.000Z] Removing intermediate container 25f39d0a0f3f [2022-01-19T20:22:22.000Z] ---> d7a99e4350a1 [2022-01-19T20:22:22.000Z] Step 22/24 : LABEL arch=arm64 [2022-01-19T20:22:22.000Z] ---> Running in 38596bc949b4 [2022-01-19T20:22:22.276Z] Removing intermediate container 38596bc949b4 [2022-01-19T20:22:22.276Z] ---> b84c747f3b67 [2022-01-19T20:22:22.276Z] Step 23/24 : LABEL git_sha=620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:22:22.549Z] ---> Running in 8e1916a6efcb [2022-01-19T20:22:22.823Z] Removing intermediate container 8e1916a6efcb [2022-01-19T20:22:22.823Z] ---> 2c2104399a97 [2022-01-19T20:22:22.823Z] Step 24/24 : LABEL version=2.2.0-dev.7 [2022-01-19T20:22:22.823Z] ---> Running in 354d3b28af7a [2022-01-19T20:22:23.420Z] Removing intermediate container 354d3b28af7a [2022-01-19T20:22:23.420Z] ---> e7f926928890 [2022-01-19T20:22:23.420Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T20:22:23.420Z] Successfully built e7f926928890 [2022-01-19T20:22:23.420Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:22:23.547Z] provisioning config files... [2022-01-19T20:22:23.570Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config8589594420068173073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:22:23.937Z] ---> docker-login.sh [2022-01-19T20:22:23.937Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:22:24.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:22:24.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:22:24.210Z] Configure a credential helper to remove this warning. See [2022-01-19T20:22:24.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:22:24.210Z] [2022-01-19T20:22:24.210Z] Login Succeeded [2022-01-19T20:22:24.210Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:22:24.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:22:24.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:22:24.804Z] Configure a credential helper to remove this warning. See [2022-01-19T20:22:24.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:22:24.804Z] [2022-01-19T20:22:24.804Z] Login Succeeded [2022-01-19T20:22:24.804Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:22:25.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:22:25.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:22:25.347Z] Configure a credential helper to remove this warning. See [2022-01-19T20:22:25.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:22:25.347Z] [2022-01-19T20:22:25.347Z] Login Succeeded [2022-01-19T20:22:25.347Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:22:25.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:22:25.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:22:25.896Z] Configure a credential helper to remove this warning. See [2022-01-19T20:22:25.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:22:25.896Z] [2022-01-19T20:22:25.896Z] Login Succeeded [2022-01-19T20:22:25.896Z] docker.io [2022-01-19T20:22:26.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:22:26.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:22:26.446Z] Configure a credential helper to remove this warning. See [2022-01-19T20:22:26.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:22:26.446Z] [2022-01-19T20:22:26.446Z] Login Succeeded [2022-01-19T20:22:26.446Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:22:26.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:22:26.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:22:26.789Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-01-19T20:22:26.789Z] 620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:22:26.789Z] latest [2022-01-19T20:22:26.789Z] 2.2.0-dev.7 [2022-01-19T20:22:26.789Z] 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [2022-01-19T20:22:26.789Z] main [2022-01-19T20:22:26.789Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:27.155Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:27.503Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:22:27.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-19T20:22:27.503Z] d8cf56542e81: Preparing [2022-01-19T20:22:27.503Z] 50703068b0b1: Preparing [2022-01-19T20:22:27.503Z] 1df599bc7ad7: Preparing [2022-01-19T20:22:27.503Z] a9b323023b71: Preparing [2022-01-19T20:22:27.503Z] 62170e181a92: Preparing [2022-01-19T20:22:27.503Z] 62170e181a92: Layer already exists [2022-01-19T20:22:27.782Z] 50703068b0b1: Pushed [2022-01-19T20:22:27.782Z] d8cf56542e81: Pushed [2022-01-19T20:22:28.378Z] a9b323023b71: Pushed [2022-01-19T20:22:30.995Z] 1df599bc7ad7: Pushed [2022-01-19T20:22:30.995Z] 620914ed09955f471d114b9f6d925da7efa3e056: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:31.354Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:31.692Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-01-19T20:22:31.692Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-19T20:22:31.692Z] d8cf56542e81: Preparing [2022-01-19T20:22:31.692Z] 50703068b0b1: Preparing [2022-01-19T20:22:31.692Z] 1df599bc7ad7: Preparing [2022-01-19T20:22:31.692Z] a9b323023b71: Preparing [2022-01-19T20:22:31.692Z] 62170e181a92: Preparing [2022-01-19T20:22:31.692Z] d8cf56542e81: Layer already exists [2022-01-19T20:22:31.692Z] 1df599bc7ad7: Layer already exists [2022-01-19T20:22:31.692Z] a9b323023b71: Layer already exists [2022-01-19T20:22:31.692Z] 62170e181a92: Layer already exists [2022-01-19T20:22:31.692Z] 50703068b0b1: Layer already exists [2022-01-19T20:22:31.966Z] latest: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:32.315Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:32.655Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.7 [2022-01-19T20:22:32.655Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-19T20:22:32.655Z] d8cf56542e81: Preparing [2022-01-19T20:22:32.655Z] 50703068b0b1: Preparing [2022-01-19T20:22:32.655Z] 1df599bc7ad7: Preparing [2022-01-19T20:22:32.655Z] a9b323023b71: Preparing [2022-01-19T20:22:32.655Z] 62170e181a92: Preparing [2022-01-19T20:22:32.655Z] a9b323023b71: Layer already exists [2022-01-19T20:22:32.655Z] 62170e181a92: Layer already exists [2022-01-19T20:22:32.655Z] d8cf56542e81: Layer already exists [2022-01-19T20:22:32.655Z] 1df599bc7ad7: Layer already exists [2022-01-19T20:22:32.655Z] 50703068b0b1: Layer already exists [2022-01-19T20:22:32.927Z] 2.2.0-dev.7: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:33.271Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:33.611Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [2022-01-19T20:22:33.611Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-19T20:22:33.611Z] d8cf56542e81: Preparing [2022-01-19T20:22:33.611Z] 50703068b0b1: Preparing [2022-01-19T20:22:33.611Z] 1df599bc7ad7: Preparing [2022-01-19T20:22:33.611Z] a9b323023b71: Preparing [2022-01-19T20:22:33.611Z] 62170e181a92: Preparing [2022-01-19T20:22:33.611Z] a9b323023b71: Layer already exists [2022-01-19T20:22:33.611Z] 50703068b0b1: Layer already exists [2022-01-19T20:22:33.611Z] 62170e181a92: Layer already exists [2022-01-19T20:22:33.611Z] 1df599bc7ad7: Layer already exists [2022-01-19T20:22:33.611Z] d8cf56542e81: Layer already exists [2022-01-19T20:22:33.882Z] 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:34.225Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:34.559Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-01-19T20:22:34.559Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-19T20:22:34.559Z] d8cf56542e81: Preparing [2022-01-19T20:22:34.559Z] 50703068b0b1: Preparing [2022-01-19T20:22:34.559Z] 1df599bc7ad7: Preparing [2022-01-19T20:22:34.559Z] a9b323023b71: Preparing [2022-01-19T20:22:34.559Z] 62170e181a92: Preparing [2022-01-19T20:22:34.559Z] a9b323023b71: Layer already exists [2022-01-19T20:22:34.559Z] d8cf56542e81: Layer already exists [2022-01-19T20:22:34.559Z] 1df599bc7ad7: Layer already exists [2022-01-19T20:22:34.559Z] 62170e181a92: Layer already exists [2022-01-19T20:22:34.559Z] 50703068b0b1: Layer already exists [2022-01-19T20:22:34.833Z] main: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:22:34.883Z] ===================================================== [Pipeline] echo [2022-01-19T20:22:34.892Z] taggedImages: [2022-01-19T20:22:34.892Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056 [2022-01-19T20:22:34.892Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-01-19T20:22:34.892Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.7 [2022-01-19T20:22:34.892Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [2022-01-19T20:22:34.892Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:35.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:22:35.279Z] [2022-01-19T20:22:35.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:22:35.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:22:35.628Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T20:22:35.628Z] 448f6bf000e3: Pulling fs layer [2022-01-19T20:22:35.628Z] f757da607395: Pulling fs layer [2022-01-19T20:22:35.628Z] 05883995daec: Pulling fs layer [2022-01-19T20:22:35.628Z] 8603b9c90790: Pulling fs layer [2022-01-19T20:22:35.628Z] 1560dd03e051: Pulling fs layer [2022-01-19T20:22:35.628Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T20:22:35.628Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T20:22:35.628Z] 1560dd03e051: Waiting [2022-01-19T20:22:35.628Z] 27f5ce0e4adf: Waiting [2022-01-19T20:22:35.628Z] c2d8d7efcc4b: Waiting [2022-01-19T20:22:35.628Z] 8603b9c90790: Waiting [2022-01-19T20:22:35.900Z] f757da607395: Verifying Checksum [2022-01-19T20:22:35.900Z] f757da607395: Download complete [2022-01-19T20:22:35.900Z] 8603b9c90790: Verifying Checksum [2022-01-19T20:22:35.900Z] 8603b9c90790: Download complete [2022-01-19T20:22:35.900Z] 1560dd03e051: Verifying Checksum [2022-01-19T20:22:35.900Z] 1560dd03e051: Download complete [2022-01-19T20:22:35.900Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T20:22:35.900Z] 27f5ce0e4adf: Download complete [2022-01-19T20:22:35.900Z] 05883995daec: Verifying Checksum [2022-01-19T20:22:35.900Z] 05883995daec: Download complete [2022-01-19T20:22:36.498Z] 448f6bf000e3: Verifying Checksum [2022-01-19T20:22:36.498Z] 448f6bf000e3: Download complete [2022-01-19T20:22:39.108Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T20:22:39.108Z] c2d8d7efcc4b: Download complete [2022-01-19T20:22:40.081Z] 448f6bf000e3: Pull complete [2022-01-19T20:22:40.355Z] f757da607395: Pull complete [2022-01-19T20:22:41.790Z] 05883995daec: Pull complete [2022-01-19T20:22:42.064Z] 8603b9c90790: Pull complete [2022-01-19T20:22:43.042Z] 1560dd03e051: Pull complete [2022-01-19T20:22:43.316Z] 27f5ce0e4adf: Pull complete [2022-01-19T20:23:01.704Z] c2d8d7efcc4b: Pull complete [2022-01-19T20:23:01.704Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T20:23:01.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:23:01.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T20:23:01.972Z] prd-ubuntu18.04-docker-arm64-4c-16g-2097 does not seem to be running inside a container [2022-01-19T20:23:02.054Z] $ 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/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-19T20:23:04.900Z] $ docker top 5f5659aaa26a3109945213b3f717ee6e68954d955de8fa0f73409c95a4566d29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:05.804Z] ---> job-cost.sh [2022-01-19T20:23:05.804Z] lf-activate-venv: SKIPPING [2022-01-19T20:23:05.804Z] INFO: No Stack... [2022-01-19T20:23:06.079Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T20:23:06.351Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T20:23:07.007Z] + cut -d, -f6 [2022-01-19T20:23:07.007Z] + cat /w/workspace/device-mqtt-go/28/archives/cost.csv [Pipeline] lock [2022-01-19T20:23:07.080Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [2022-01-19T20:23:07.092Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] did not exist. Created. [2022-01-19T20:23:07.092Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:23:07.772Z] /w/workspace/device-mqtt-go/28@tmp/durable-85e59a8f/script.sh: 1: /w/workspace/device-mqtt-go/28@tmp/durable-85e59a8f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T20:23:08.452Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T20:23:08.481Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T20:23:08.525Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:23:08.533Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:23:08.551Z] $ docker stop --time=1 5f5659aaa26a3109945213b3f717ee6e68954d955de8fa0f73409c95a4566d29 [2022-01-19T20:23:10.059Z] $ docker rm -f 5f5659aaa26a3109945213b3f717ee6e68954d955de8fa0f73409c95a4566d29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-19T20:23:10.475Z] provisioning config files... [2022-01-19T20:23:10.483Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4890431833017960992tmp [Pipeline] { [Pipeline] sh [2022-01-19T20:23:10.791Z] + set +x [2022-01-19T20:23:10.791Z] + curl -s https://codecov.io/bash [2022-01-19T20:23:10.791Z] + bash -s -- [2022-01-19T20:23:10.791Z] [2022-01-19T20:23:10.791Z] _____ _ [2022-01-19T20:23:10.791Z] / ____| | | [2022-01-19T20:23:10.791Z] | | ___ __| | ___ ___ _____ __ [2022-01-19T20:23:10.791Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-19T20:23:10.791Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-19T20:23:10.791Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-19T20:23:10.791Z] Bash-1.0.6 [2022-01-19T20:23:10.791Z] [2022-01-19T20:23:10.791Z] [2022-01-19T20:23:10.791Z] ==> git version 2.24.4 found [2022-01-19T20:23:10.791Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-19T20:23:10.791Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-19T20:23:10.791Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-19T20:23:10.791Z] ==> Jenkins CI detected. [2022-01-19T20:23:10.791Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-19T20:23:10.791Z] project root: . [2022-01-19T20:23:10.791Z] --> token set from env [2022-01-19T20:23:10.791Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-19T20:23:10.791Z] ==> Running gcov in . (disable via -X gcov) [2022-01-19T20:23:10.791Z] ==> Python coveragepy not found [2022-01-19T20:23:10.791Z] ==> Searching for coverage reports in: [2022-01-19T20:23:10.791Z] + . [2022-01-19T20:23:10.791Z] -> Found 1 reports [2022-01-19T20:23:10.791Z] ==> Detecting git/mercurial file structure [2022-01-19T20:23:10.791Z] ==> Reading reports [2022-01-19T20:23:10.791Z] + ./coverage.out bytes=17452 [2022-01-19T20:23:10.791Z] ==> Appending adjustments [2022-01-19T20:23:10.791Z] https://docs.codecov.io/docs/fixing-reports [2022-01-19T20:23:11.051Z] + Found adjustments [2022-01-19T20:23:11.051Z] ==> Gzipping contents [2022-01-19T20:23:11.051Z] 4.0K /tmp/codecov.Zak4jW.gz [2022-01-19T20:23:11.051Z] ==> Uploading reports [2022-01-19T20:23:11.051Z] url: https://codecov.io [2022-01-19T20:23:11.051Z] query: branch=main&commit=620914ed09955f471d114b9f6d925da7efa3e056&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T20:23:11.051Z] -> Pinging Codecov [2022-01-19T20:23:11.051Z] 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=620914ed09955f471d114b9f6d925da7efa3e056&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T20:23:11.314Z] -> Uploading to [2022-01-19T20:23:11.314Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-19/7D719EC7BBE17E464838252E33014C33/620914ed09955f471d114b9f6d925da7efa3e056/c6a70134-0cbd-4ec9-8448-f05bcfbe489c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T202311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60b88f937aa648f7345860b8374028b88bd9f408f8b608dc6b7fb3d195e943cd [2022-01-19T20:23:11.314Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T20:23:11.314Z] Dload Upload Total Spent Left Speed [2022-01-19T20:23:11.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 11358 --:--:-- --:--:-- --:--:-- 11323 [2022-01-19T20:23:11.835Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] } [2022-01-19T20:23:11.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-19T20:23:11.986Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-19T20:23:11.998Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:12.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:23:12.291Z] [2022-01-19T20:23:12.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:12.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:23:12.605Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-19T20:23:12.605Z] 188c0c94c7c5: Pulling fs layer [2022-01-19T20:23:12.605Z] 0ef7d3d256c8: Pulling fs layer [2022-01-19T20:23:12.605Z] de9db76c5a1d: Pulling fs layer [2022-01-19T20:23:12.605Z] 0eba1c9be4d2: Pulling fs layer [2022-01-19T20:23:12.605Z] 0d57e429df01: Pulling fs layer [2022-01-19T20:23:12.605Z] 4e4be7b47b0d: Pulling fs layer [2022-01-19T20:23:12.605Z] e1f770b5df2f: Pulling fs layer [2022-01-19T20:23:12.605Z] 85a0685a4137: Pulling fs layer [2022-01-19T20:23:12.605Z] 0eba1c9be4d2: Waiting [2022-01-19T20:23:12.605Z] 0d57e429df01: Waiting [2022-01-19T20:23:12.605Z] 4e4be7b47b0d: Waiting [2022-01-19T20:23:12.605Z] e1f770b5df2f: Waiting [2022-01-19T20:23:12.605Z] de9db76c5a1d: Download complete [2022-01-19T20:23:12.605Z] 0ef7d3d256c8: Verifying Checksum [2022-01-19T20:23:12.605Z] 0ef7d3d256c8: Download complete [2022-01-19T20:23:12.605Z] 0d57e429df01: Verifying Checksum [2022-01-19T20:23:12.605Z] 0d57e429df01: Download complete [2022-01-19T20:23:12.605Z] 4e4be7b47b0d: Verifying Checksum [2022-01-19T20:23:12.605Z] 4e4be7b47b0d: Download complete [2022-01-19T20:23:12.605Z] 188c0c94c7c5: Verifying Checksum [2022-01-19T20:23:12.605Z] 188c0c94c7c5: Download complete [2022-01-19T20:23:12.868Z] 188c0c94c7c5: Pull complete [2022-01-19T20:23:13.127Z] e1f770b5df2f: Verifying Checksum [2022-01-19T20:23:13.127Z] e1f770b5df2f: Download complete [2022-01-19T20:23:13.127Z] 0ef7d3d256c8: Pull complete [2022-01-19T20:23:13.127Z] 0eba1c9be4d2: Verifying Checksum [2022-01-19T20:23:13.127Z] 0eba1c9be4d2: Download complete [2022-01-19T20:23:13.127Z] de9db76c5a1d: Pull complete [2022-01-19T20:23:13.701Z] 85a0685a4137: Verifying Checksum [2022-01-19T20:23:13.701Z] 85a0685a4137: Download complete [2022-01-19T20:23:17.060Z] 0eba1c9be4d2: Pull complete [2022-01-19T20:23:17.060Z] 0d57e429df01: Pull complete [2022-01-19T20:23:17.060Z] 4e4be7b47b0d: Pull complete [2022-01-19T20:23:17.333Z] e1f770b5df2f: Pull complete [2022-01-19T20:23:20.650Z] 85a0685a4137: Pull complete [2022-01-19T20:23:20.650Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-19T20:23:20.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:23:20.650Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-19T20:23:20.711Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:23:20.745Z] $ 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 [2022-01-19T20:23:22.977Z] $ docker top cb9857446d2c619e283a2739f58073a30502c89397460141fc0d2bab217a6c51 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-19T20:23:23.054Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-19T20:23:23.340Z] + set -o pipefail [2022-01-19T20:23:23.340Z] + snyk monitor '--org=edgex-jenkins' [2022-01-19T20:23:28.663Z] [2022-01-19T20:23:28.663Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-01-19T20:23:28.663Z] [2022-01-19T20:23:28.663Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/825f8608-d4a6-40b1-805d-1a4d36452266 [2022-01-19T20:23:28.663Z] [2022-01-19T20:23:28.663Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-19T20:23:28.663Z] [2022-01-19T20:23:28.663Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-19T20:23:28.663Z] [2022-01-19T20:23:28.663Z] [Pipeline] } [2022-01-19T20:23:28.675Z] $ docker stop --time=1 cb9857446d2c619e283a2739f58073a30502c89397460141fc0d2bab217a6c51 [2022-01-19T20:23:30.717Z] $ docker rm -f cb9857446d2c619e283a2739f58073a30502c89397460141fc0d2bab217a6c51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:23:31.530Z] + git log --format=format:%s -1 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] sh [2022-01-19T20:23:31.833Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:23:31.833Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:32.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:23:32.132Z] . [Pipeline] withDockerContainer [2022-01-19T20:23:32.200Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:23:32.233Z] $ 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 [2022-01-19T20:23:32.614Z] $ docker top 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:23:32.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:23:32.712Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:23:32.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:23:32.838Z] $ docker exec 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 ssh-agent [2022-01-19T20:23:32.942Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEgAHCA/agent.13 [2022-01-19T20:23:32.942Z] SSH_AGENT_PID=19 [2022-01-19T20:23:32.947Z] Running ssh-add (command line suppressed) [2022-01-19T20:23:33.045Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1723037043997061087.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1723037043997061087.key) [2022-01-19T20:23:33.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:23:33.369Z] + git semver tag [2022-01-19T20:23:33.369Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:23:33.369Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-19T20:23:33.369Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-19T20:23:33.369Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:23:33.369Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:23:33.369Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:23:33.369Z] # $SEMVER_BRANCH = main [2022-01-19T20:23:33.369Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-01-19T20:23:33.369Z] # 620914ed09955f471d114b9f6d925da7efa3e056 HEAD [2022-01-19T20:23:33.369Z] # -> Force: false [2022-01-19T20:23:33.369Z] # a52b1e29858e4c35692c045cbcce43e7e7d7274c refs/tags/v2.2.0-dev.7 [Pipeline] } [2022-01-19T20:23:33.377Z] $ docker exec --env ******** --env ******** 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 ssh-agent -k [2022-01-19T20:23:33.465Z] unset SSH_AUTH_SOCK; [2022-01-19T20:23:33.466Z] unset SSH_AGENT_PID; [2022-01-19T20:23:33.466Z] echo Agent pid 19 killed; [2022-01-19T20:23:33.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:23:33.792Z] + git semver [Pipeline] } [2022-01-19T20:23:33.805Z] $ docker stop --time=1 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 [2022-01-19T20:23:34.985Z] $ docker rm -f 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:35.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:23:35.386Z] [2022-01-19T20:23:35.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:35.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:23:35.700Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-19T20:23:35.700Z] ab5ef0e58194: Pulling fs layer [2022-01-19T20:23:35.700Z] 9712f1f96733: Pulling fs layer [2022-01-19T20:23:35.700Z] 63f879dbbcfc: Pulling fs layer [2022-01-19T20:23:35.700Z] 0d9ebad4ef96: Pulling fs layer [2022-01-19T20:23:35.700Z] e9a5061849ea: Pulling fs layer [2022-01-19T20:23:35.700Z] d747dcd14b5f: Pulling fs layer [2022-01-19T20:23:35.700Z] 2de7ff778b66: Pulling fs layer [2022-01-19T20:23:35.700Z] 0d9ebad4ef96: Waiting [2022-01-19T20:23:35.700Z] e9a5061849ea: Waiting [2022-01-19T20:23:35.700Z] d747dcd14b5f: Waiting [2022-01-19T20:23:35.700Z] 2de7ff778b66: Waiting [2022-01-19T20:23:35.700Z] 9712f1f96733: Verifying Checksum [2022-01-19T20:23:35.700Z] 9712f1f96733: Download complete [2022-01-19T20:23:35.969Z] 63f879dbbcfc: Verifying Checksum [2022-01-19T20:23:35.969Z] 63f879dbbcfc: Download complete [2022-01-19T20:23:36.231Z] ab5ef0e58194: Verifying Checksum [2022-01-19T20:23:36.231Z] ab5ef0e58194: Download complete [2022-01-19T20:23:36.231Z] d747dcd14b5f: Verifying Checksum [2022-01-19T20:23:36.231Z] d747dcd14b5f: Download complete [2022-01-19T20:23:36.231Z] 0d9ebad4ef96: Verifying Checksum [2022-01-19T20:23:36.231Z] 0d9ebad4ef96: Download complete [2022-01-19T20:23:36.231Z] e9a5061849ea: Verifying Checksum [2022-01-19T20:23:36.231Z] e9a5061849ea: Download complete [2022-01-19T20:23:36.491Z] 2de7ff778b66: Verifying Checksum [2022-01-19T20:23:36.491Z] 2de7ff778b66: Download complete [2022-01-19T20:23:39.039Z] ab5ef0e58194: Pull complete [2022-01-19T20:23:39.298Z] 9712f1f96733: Pull complete [2022-01-19T20:23:40.244Z] 63f879dbbcfc: Pull complete [2022-01-19T20:23:44.496Z] 0d9ebad4ef96: Pull complete [2022-01-19T20:23:44.758Z] e9a5061849ea: Pull complete [2022-01-19T20:23:45.019Z] d747dcd14b5f: Pull complete [2022-01-19T20:23:46.412Z] 2de7ff778b66: Pull complete [2022-01-19T20:23:46.412Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-19T20:23:46.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:23:46.412Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-19T20:23:46.474Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:23:46.510Z] $ 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 [2022-01-19T20:23:49.781Z] $ docker top 00d37779bbd8e9f1a2777a1efb7dad27bd26784af2235d0ff0c25bf7c42cec84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:23:49.868Z] provisioning config files... [2022-01-19T20:23:49.878Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2263827536239804897tmp [2022-01-19T20:23:49.894Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5302648182081868203tmp [2022-01-19T20:23:49.907Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4371288229777930950tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:23:49.924Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:50.213Z] ---> sigul-configuration.sh [2022-01-19T20:23:50.213Z] gpg: directory `/root/.gnupg' created [2022-01-19T20:23:50.213Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-19T20:23:50.213Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-19T20:23:50.213Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-19T20:23:50.213Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-19T20:23:50.213Z] gpg: CAST5 encrypted data [2022-01-19T20:23:50.213Z] gpg: encrypted with 1 passphrase [2022-01-19T20:23:50.213Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-19T20:23:50.507Z] + mkdir /home/jenkins [2022-01-19T20:23:50.508Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-19T20:23:50.812Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-19T20:23:50.822Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:51.120Z] ---> sigul-install.sh [2022-01-19T20:23:51.120Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-19T20:23:51.411Z] + git tag --list [2022-01-19T20:23:51.411Z] 0.7.1 [2022-01-19T20:23:51.411Z] v1.0.0 [2022-01-19T20:23:51.411Z] v1.1.0 [2022-01-19T20:23:51.411Z] v1.1.1 [2022-01-19T20:23:51.411Z] v1.2.2 [2022-01-19T20:23:51.411Z] v1.3.0 [2022-01-19T20:23:51.411Z] v1.3.1 [2022-01-19T20:23:51.411Z] v2.0.0 [2022-01-19T20:23:51.411Z] v2.0.1-dev.1 [2022-01-19T20:23:51.411Z] v2.0.1-dev.10 [2022-01-19T20:23:51.411Z] v2.0.1-dev.11 [2022-01-19T20:23:51.411Z] v2.0.1-dev.12 [2022-01-19T20:23:51.411Z] v2.0.1-dev.13 [2022-01-19T20:23:51.411Z] v2.0.1-dev.14 [2022-01-19T20:23:51.411Z] v2.0.1-dev.15 [2022-01-19T20:23:51.411Z] v2.0.1-dev.16 [2022-01-19T20:23:51.411Z] v2.0.1-dev.17 [2022-01-19T20:23:51.411Z] v2.0.1-dev.2 [2022-01-19T20:23:51.411Z] v2.0.1-dev.3 [2022-01-19T20:23:51.411Z] v2.0.1-dev.4 [2022-01-19T20:23:51.411Z] v2.0.1-dev.5 [2022-01-19T20:23:51.411Z] v2.0.1-dev.6 [2022-01-19T20:23:51.411Z] v2.0.1-dev.7 [2022-01-19T20:23:51.411Z] v2.0.1-dev.8 [2022-01-19T20:23:51.411Z] v2.0.1-dev.9 [2022-01-19T20:23:51.411Z] v2.1.0 [2022-01-19T20:23:51.411Z] v2.2.0-dev.1 [2022-01-19T20:23:51.411Z] v2.2.0-dev.2 [2022-01-19T20:23:51.411Z] v2.2.0-dev.3 [2022-01-19T20:23:51.411Z] v2.2.0-dev.4 [2022-01-19T20:23:51.411Z] v2.2.0-dev.5 [2022-01-19T20:23:51.411Z] v2.2.0-dev.6 [2022-01-19T20:23:51.411Z] v2.2.0-dev.7 [Pipeline] sh [2022-01-19T20:23:51.708Z] + lftools sign git-tag v2.2.0-dev.7 [2022-01-19T20:23:52.287Z] Signing Git tag with Sigul... [2022-01-19T20:23:52.287Z] Signing v2.2.0-dev.7 [Pipeline] echo [2022-01-19T20:23:52.558Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:23:52.845Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-19T20:23:52.853Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-19T20:23:52.869Z] $ docker stop --time=1 00d37779bbd8e9f1a2777a1efb7dad27bd26784af2235d0ff0c25bf7c42cec84 [2022-01-19T20:23:54.056Z] $ docker rm -f 00d37779bbd8e9f1a2777a1efb7dad27bd26784af2235d0ff0c25bf7c42cec84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-19T20:23:54.483Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:23:54.483Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:54.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:23:54.788Z] . [Pipeline] withDockerContainer [2022-01-19T20:23:54.848Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:23:54.875Z] $ 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 [2022-01-19T20:23:55.190Z] $ docker top c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:23:55.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:23:55.287Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:23:55.375Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:23:55.376Z] $ docker exec c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 ssh-agent [2022-01-19T20:23:55.459Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFGeanN/agent.13 [2022-01-19T20:23:55.459Z] SSH_AGENT_PID=19 [2022-01-19T20:23:55.464Z] Running ssh-add (command line suppressed) [2022-01-19T20:23:55.547Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1288397140351754325.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1288397140351754325.key) [2022-01-19T20:23:55.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:23:55.860Z] + git semver bump pre [2022-01-19T20:23:55.860Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:23:55.860Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-19T20:23:55.860Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-19T20:23:55.860Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:23:55.860Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:23:55.860Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:23:55.860Z] # $SEMVER_BRANCH = main [2022-01-19T20:23:55.860Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-01-19T20:23:55.860Z] 2.2.0-dev.8 [Pipeline] } [2022-01-19T20:23:55.870Z] $ docker exec --env ******** --env ******** c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 ssh-agent -k [2022-01-19T20:23:55.942Z] unset SSH_AUTH_SOCK; [2022-01-19T20:23:55.942Z] unset SSH_AGENT_PID; [2022-01-19T20:23:55.942Z] echo Agent pid 19 killed; [2022-01-19T20:23:55.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:23:56.258Z] + git semver [Pipeline] } [2022-01-19T20:23:56.270Z] $ docker stop --time=1 c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 [2022-01-19T20:23:57.432Z] $ docker rm -f c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:23:57.773Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:23:57.773Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:23:58.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:23:58.071Z] . [Pipeline] withDockerContainer [2022-01-19T20:23:58.131Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:23:58.168Z] $ 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 [2022-01-19T20:23:58.489Z] $ docker top 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:23:58.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:23:58.577Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:23:58.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:23:58.673Z] $ docker exec 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d ssh-agent [2022-01-19T20:23:58.765Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMMIOmG/agent.14 [2022-01-19T20:23:58.765Z] SSH_AGENT_PID=20 [2022-01-19T20:23:58.769Z] Running ssh-add (command line suppressed) [2022-01-19T20:23:58.857Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6047463771678241964.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6047463771678241964.key) [2022-01-19T20:23:58.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:23:59.158Z] + git semver push [2022-01-19T20:23:59.158Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:23:59.158Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-19T20:23:59.158Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-19T20:23:59.158Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:23:59.158Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:23:59.158Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:23:59.158Z] # $SEMVER_BRANCH = main [2022-01-19T20:23:59.158Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-01-19T20:24:01.078Z] $ docker exec --env ******** --env ******** 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d ssh-agent -k [2022-01-19T20:24:01.163Z] unset SSH_AUTH_SOCK; [2022-01-19T20:24:01.163Z] unset SSH_AGENT_PID; [2022-01-19T20:24:01.163Z] echo Agent pid 20 killed; [2022-01-19T20:24:01.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:24:01.498Z] + git semver [Pipeline] } [2022-01-19T20:24:01.512Z] $ docker stop --time=1 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d [2022-01-19T20:24:02.711Z] $ docker rm -f 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-19T20:24:03.284Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [2022-01-19T20:24:03.284Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-19T20:24:03.284Z] total 8 [2022-01-19T20:24:03.284Z] drwxr-xr-x. 3 root root 34 Jan 19 20:15 . [2022-01-19T20:24:03.284Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. [2022-01-19T20:24:03.284Z] drwxr-xr-x. 2 root root 6 Jan 19 20:15 cost [2022-01-19T20:24:03.284Z] -rw-r--r--. 1 root root 84 Jan 19 20:15 cost.csv [2022-01-19T20:24:03.284Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-19T20:24:03.284Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-19T20:24:03.284Z] total 8 [2022-01-19T20:24:03.284Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 20:15 . [2022-01-19T20:24:03.284Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. [2022-01-19T20:24:03.284Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 20:15 cost [2022-01-19T20:24:03.284Z] -rw-r--r--. 1 jenkins jenkins 84 Jan 19 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:24:03.580Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:24:04.166Z] ---> package-listing.sh [2022-01-19T20:24:04.166Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T20:24:04.166Z] ++ facter osfamily [2022-01-19T20:24:04.429Z] + OS_FAMILY=redhat [2022-01-19T20:24:04.429Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-19T20:24:04.429Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T20:24:04.429Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T20:24:04.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T20:24:04.429Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T20:24:04.429Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-01-19T20:24:04.429Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T20:24:04.429Z] + case "${OS_FAMILY}" in [2022-01-19T20:24:04.429Z] + rpm -qa [2022-01-19T20:24:04.429Z] + sort [2022-01-19T20:24:04.997Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T20:24:04.997Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T20:24:04.997Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T20:24:04.997Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-01-19T20:24:04.997Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-01-19T20:24:04.997Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-01-19T20:24:05.010Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-19T20:24:05.290Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:24:05.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:24:05.851Z] . [Pipeline] withDockerContainer [2022-01-19T20:24:05.930Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2022-01-19T20:24:05.969Z] $ 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 [2022-01-19T20:24:06.212Z] $ docker top 95572894192bf6a2c585bdeef20a7f6bced322c611d6e74d952dec6564d62866 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:24:06.576Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T20:24:06.865Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T20:24:07.165Z] + ls /var/log/sa-host [2022-01-19T20:24:07.165Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T20:24:07.165Z] file_magic: OK [2022-01-19T20:24:07.165Z] HZ: Using current value: 100 [2022-01-19T20:24:07.165Z] file_header: OK [2022-01-19T20:24:07.165Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T20:24:07.165Z] Statistics: [2022-01-19T20:24:07.165Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:24:07.165Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T20:24:07.165Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T20:24:07.165Z] file_magic: OK [2022-01-19T20:24:07.165Z] HZ: Using current value: 100 [2022-01-19T20:24:07.165Z] file_header: OK [2022-01-19T20:24:07.165Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T20:24:07.165Z] Statistics: [2022-01-19T20:24:07.165Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:24:07.165Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:24:07.274Z] provisioning config files... [2022-01-19T20:24:07.289Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1910780116901044142tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:24:07.301Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:24:07.592Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T20:24:07.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:24:07.941Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T20:24:07.949Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:24:08.239Z] ---> sudo-logs.sh [2022-01-19T20:24:08.240Z] Archiving 'sudo' log.. [2022-01-19T20:24:08.240Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2090.novalocal: Name or service not known [2022-01-19T20:24:08.240Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2090.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T20:24:08.271Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:24:08.559Z] ---> job-cost.sh [2022-01-19T20:24:08.559Z] lf-activate-venv: SKIPPING [2022-01-19T20:24:08.559Z] DEBUG: total: 0.05999999865889549 [2022-01-19T20:24:08.559Z] INFO: Retrieving Stack Cost... [2022-01-19T20:24:08.819Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:24:09.392Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T20:24:09.408Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:24:09.700Z] ---> logs-deploy.sh [2022-01-19T20:24:09.700Z] lf-activate-venv: SKIPPING [2022-01-19T20:24:09.700Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/28 [2022-01-19T20:24:09.700Z] INFO: archiving workspace using pattern(s): [2022-01-19T20:24:10.270Z] Archives upload complete. [2022-01-19T20:24:10.531Z] INFO: archiving logs to Nexus