Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f9dabbcd23e32bae175015e2a15c1f428ed019f 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-ssh5173920866617093771.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1857048204167494179.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-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-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13573348731971068188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10205879459608558604.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-rest-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-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15075046063565473909.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26’ Running on prd-centos7-docker-4c-2g-30 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_main@tmp/jenkins-gitclient-ssh8658492636260361622.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8f9dabbcd23e32bae175015e2a15c1f428ed019f (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 Commit message: "Merge pull request #147 from lenny-intel/no-win-zmq" > git rev-list --no-walk 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-01T04:25:37.278Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-01T04:25:37.333Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-01T04:25:37.355Z] ========================================================= [2021-12-01T04:25:37.355Z] EdgeX Global Pipelines Version Info [2021-12-01T04:25:37.355Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:25:38.524Z] ------------------- [2021-12-01T04:25:38.524Z] stable info: [2021-12-01T04:25:38.524Z] ------------------- [2021-12-01T04:25:38.525Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-01T04:25:38.525Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-01T04:25:38.525Z] Message: update stable to v1.0.217 [2021-12-01T04:25:39.108Z] ------------------- [2021-12-01T04:25:39.108Z] experimental info: [2021-12-01T04:25:39.108Z] ------------------- [2021-12-01T04:25:39.108Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-01T04:25:39.108Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-01T04:25:39.108Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-01T04:25:39.286Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-12-01T04:25:39.301Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-12-01T04:25:39.318Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-01T04:25:39.340Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-01T04:25:39.359Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-01T04:25:39.377Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-01T04:25:39.396Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-01T04:25:39.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-01T04:25:39.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-01T04:25:39.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-01T04:25:39.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-01T04:25:39.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-12-01T04:25:39.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-01T04:25:39.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-01T04:25:39.520Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-01T04:25:39.535Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-01T04:25:39.549Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-01T04:25:39.563Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-01T04:25:39.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-01T04:25:39.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-01T04:25:39.604Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-01T04:25:39.623Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-01T04:25:39.638Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-01T04:25:39.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-01T04:25:39.670Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-01T04:25:39.691Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-01T04:25:39.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-01T04:25:39.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-01T04:25:39.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-01T04:25:39.761Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo [2021-12-01T04:25:39.779Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f9dabb [Pipeline] echo [2021-12-01T04:25:39.798Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T04:25:39.863Z] provisioning config files... [2021-12-01T04:25:39.881Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8104210748206432800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:25:40.188Z] ---> docker-login.sh [2021-12-01T04:25:40.188Z] nexus3.edgexfoundry.org:10001 [2021-12-01T04:25:40.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:25:40.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:25:40.455Z] Configure a credential helper to remove this warning. See [2021-12-01T04:25:40.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:25:40.455Z] [2021-12-01T04:25:40.455Z] Login Succeeded [2021-12-01T04:25:40.455Z] nexus3.edgexfoundry.org:10002 [2021-12-01T04:25:40.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:25:40.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:25:40.455Z] Configure a credential helper to remove this warning. See [2021-12-01T04:25:40.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:25:40.455Z] [2021-12-01T04:25:40.455Z] Login Succeeded [2021-12-01T04:25:40.455Z] nexus3.edgexfoundry.org:10003 [2021-12-01T04:25:40.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:25:40.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:25:40.719Z] Configure a credential helper to remove this warning. See [2021-12-01T04:25:40.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:25:40.719Z] [2021-12-01T04:25:40.719Z] Login Succeeded [2021-12-01T04:25:40.719Z] nexus3.edgexfoundry.org:10004 [2021-12-01T04:25:40.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:25:40.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:25:40.719Z] Configure a credential helper to remove this warning. See [2021-12-01T04:25:40.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:25:40.719Z] [2021-12-01T04:25:40.719Z] Login Succeeded [2021-12-01T04:25:40.719Z] docker.io [2021-12-01T04:25:40.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:25:41.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:25:41.248Z] Configure a credential helper to remove this warning. See [2021-12-01T04:25:41.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:25:41.248Z] [2021-12-01T04:25:41.248Z] Login Succeeded [2021-12-01T04:25:41.248Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T04:25:41.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-01T04:25:41.710Z] + git rev-list -1 --merges 8f9dabbcd23e32bae175015e2a15c1f428ed019f~1..8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo [2021-12-01T04:25:41.737Z] -----------> git rev-list -1 --merges 8f9dabbcd23e32bae175015e2a15c1f428ed019f~1..8f9dabbcd23e32bae175015e2a15c1f428ed019f 8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:25:41.737Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f [false] [Pipeline] sh [2021-12-01T04:25:42.049Z] + git log --format=format:%s -1 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo [2021-12-01T04:25:42.067Z] ========================================================= [2021-12-01T04:25:42.067Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-01T04:25:42.067Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T04:25:42.408Z] + git log --format=format:%s -1 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo [2021-12-01T04:25:42.422Z] [semverPrep] GIT_COMMIT: 8f9dabbcd23e32bae175015e2a15c1f428ed019f, Commit Message: Merge pull request #147 from lenny-intel/no-win-zmq [Pipeline] echo [2021-12-01T04:25:42.434Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-01T04:25:42.852Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T04:25:42.852Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-01T04:25:42.852Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-01T04:25:42.852Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-01T04:25:42.852Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-01T04:25:42.852Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-01T04:25:42.852Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:25:43.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T04:25:43.267Z] [2021-12-01T04:25:43.267Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:25:43.579Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T04:25:43.579Z] latest: Pulling from edgex-devops/git-semver [2021-12-01T04:25:43.579Z] a0d0a0d46f8b: Pulling fs layer [2021-12-01T04:25:43.579Z] 3e5f54012d9b: Pulling fs layer [2021-12-01T04:25:43.579Z] 4c7163046ea9: Pulling fs layer [2021-12-01T04:25:43.579Z] 0c2d73faf560: Pulling fs layer [2021-12-01T04:25:43.579Z] 0c2d73faf560: Waiting [2021-12-01T04:25:43.579Z] 3e5f54012d9b: Verifying Checksum [2021-12-01T04:25:43.579Z] 3e5f54012d9b: Download complete [2021-12-01T04:25:43.579Z] a0d0a0d46f8b: Verifying Checksum [2021-12-01T04:25:43.579Z] a0d0a0d46f8b: Download complete [2021-12-01T04:25:43.844Z] 4c7163046ea9: Verifying Checksum [2021-12-01T04:25:43.844Z] 4c7163046ea9: Download complete [2021-12-01T04:25:43.844Z] 0c2d73faf560: Verifying Checksum [2021-12-01T04:25:43.844Z] 0c2d73faf560: Download complete [2021-12-01T04:25:43.844Z] a0d0a0d46f8b: Pull complete [2021-12-01T04:25:43.844Z] 3e5f54012d9b: Pull complete [2021-12-01T04:25:44.107Z] 4c7163046ea9: Pull complete [2021-12-01T04:25:44.375Z] 0c2d73faf560: Pull complete [2021-12-01T04:25:44.375Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-01T04:25:44.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T04:25:44.375Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-01T04:25:44.442Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-12-01T04:25:44.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T04:25:45.239Z] $ docker top 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T04:25:45.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T04:25:45.349Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T04:25:45.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T04:25:45.473Z] $ docker exec 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent [2021-12-01T04:25:45.582Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFdJHal/agent.13 [2021-12-01T04:25:45.582Z] SSH_AGENT_PID=19 [2021-12-01T04:25:45.593Z] Running ssh-add (command line suppressed) [2021-12-01T04:25:45.697Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5830523126000522797.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5830523126000522797.key) [2021-12-01T04:25:45.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T04:25:46.017Z] + git tag --points-at HEAD [Pipeline] } [2021-12-01T04:25:46.039Z] $ docker exec --env ******** --env ******** 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent -k [2021-12-01T04:25:46.133Z] unset SSH_AUTH_SOCK; [2021-12-01T04:25:46.133Z] unset SSH_AGENT_PID; [2021-12-01T04:25:46.134Z] echo Agent pid 19 killed; [2021-12-01T04:25:46.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-01T04:25:46.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T04:25:46.174Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T04:25:46.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T04:25:46.287Z] $ docker exec 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent [2021-12-01T04:25:46.403Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMolbIj/agent.53 [2021-12-01T04:25:46.403Z] SSH_AGENT_PID=60 [2021-12-01T04:25:46.409Z] Running ssh-add (command line suppressed) [2021-12-01T04:25:46.508Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6049298413918894032.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6049298413918894032.key) [2021-12-01T04:25:46.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T04:25:46.826Z] + git semver init [2021-12-01T04:25:46.826Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T04:25:46.826Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-01T04:25:46.826Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-01T04:25:46.826Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T04:25:46.826Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T04:25:46.826Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T04:25:46.826Z] # $SEMVER_BRANCH = main [2021-12-01T04:25:46.826Z] # $SEMVER_TEMP = /tmp/semver-735074202 [2021-12-01T04:25:46.826Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-12-01T04:25:54.974Z] # '/tmp/semver-735074202' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-12-01T04:25:54.974Z] # -> Force: false [2021-12-01T04:25:54.974Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-12-01T04:25:54.984Z] $ docker exec --env ******** --env ******** 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent -k [2021-12-01T04:25:55.076Z] unset SSH_AUTH_SOCK; [2021-12-01T04:25:55.076Z] unset SSH_AGENT_PID; [2021-12-01T04:25:55.076Z] echo Agent pid 60 killed; [2021-12-01T04:25:55.088Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T04:25:55.422Z] + git semver [Pipeline] } [2021-12-01T04:25:55.435Z] $ docker stop --time=1 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b [2021-12-01T04:25:56.743Z] $ docker rm -f 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T04:25:57.102Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-01T04:25:57.341Z] Stashed 1 file(s) [Pipeline] echo [2021-12-01T04:25:57.344Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-01T04:26:12.495Z] Still waiting to schedule task [2021-12-01T04:26:12.495Z] ‘prd-centos7-docker-4c-2g-32’ is offline [2021-12-01T04:26:12.498Z] Still waiting to schedule task [2021-12-01T04:26:12.499Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-27’ [2021-12-01T04:26:46.324Z] Running on prd-centos7-docker-4c-2g-33 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-12-01T04:26:46.335Z] Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout [2021-12-01T04:26:46.430Z] The recommended git tool is: git [2021-12-01T04:26:48.099Z] using credential edgex-jenkins-ssh [2021-12-01T04:26:48.110Z] Cloning the remote Git repository [2021-12-01T04:26:47.253Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-01T04:26:47.287Z] > git init /w/workspace/device-rest-go/21 # timeout=10 [2021-12-01T04:26:47.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-01T04:26:47.331Z] > git --version # timeout=10 [2021-12-01T04:26:47.341Z] > git --version # 'git version 2.24.4' [2021-12-01T04:26:47.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T04:26:47.360Z] [INFO] Currently running in a labeled security context [2021-12-01T04:26:47.360Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-01T04:26:47.360Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/21@tmp/jenkins-gitclient-ssh4984832550315462588.key [2021-12-01T04:26:47.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T04:26:55.027Z] Avoid second fetch [2021-12-01T04:26:55.028Z] Checking out Revision 8f9dabbcd23e32bae175015e2a15c1f428ed019f (main) [2021-12-01T04:26:54.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-01T04:26:54.204Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T04:26:54.229Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T04:26:54.240Z] > git checkout -f 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-01T04:26:58.324Z] Commit message: "Merge pull request #147 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T04:26:58.699Z] provisioning config files... [2021-12-01T04:26:58.719Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config6470893386659092715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:26:59.115Z] ---> docker-login.sh [2021-12-01T04:26:59.115Z] nexus3.edgexfoundry.org:10001 [2021-12-01T04:26:59.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:26:59.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:26:59.115Z] Configure a credential helper to remove this warning. See [2021-12-01T04:26:59.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:26:59.115Z] [2021-12-01T04:26:59.115Z] Login Succeeded [2021-12-01T04:26:59.115Z] nexus3.edgexfoundry.org:10002 [2021-12-01T04:26:59.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:26:59.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:26:59.383Z] Configure a credential helper to remove this warning. See [2021-12-01T04:26:59.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:26:59.383Z] [2021-12-01T04:26:59.383Z] Login Succeeded [2021-12-01T04:26:59.383Z] nexus3.edgexfoundry.org:10003 [2021-12-01T04:26:59.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:26:59.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:26:59.383Z] Configure a credential helper to remove this warning. See [2021-12-01T04:26:59.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:26:59.383Z] [2021-12-01T04:26:59.383Z] Login Succeeded [2021-12-01T04:26:59.383Z] nexus3.edgexfoundry.org:10004 [2021-12-01T04:26:59.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:26:59.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:26:59.644Z] Configure a credential helper to remove this warning. See [2021-12-01T04:26:59.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:26:59.644Z] [2021-12-01T04:26:59.644Z] Login Succeeded [2021-12-01T04:26:59.644Z] docker.io [2021-12-01T04:26:59.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:26:59.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:26:59.906Z] Configure a credential helper to remove this warning. See [2021-12-01T04:26:59.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:26:59.906Z] [2021-12-01T04:26:59.906Z] Login Succeeded [2021-12-01T04:26:59.906Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T04:27:00.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-01T04:27:00.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T04:27:00.164Z] ========================================================= [2021-12-01T04:27:00.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-01T04:27:00.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:27:00.491Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-01T04:27:00.491Z] Sending build context to Docker daemon 121.9kB [2021-12-01T04:27:00.491Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T04:27:00.491Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-01T04:27:00.491Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-01T04:27:00.491Z] a0d0a0d46f8b: Pulling fs layer [2021-12-01T04:27:00.491Z] 31adcdaf11c8: Pulling fs layer [2021-12-01T04:27:00.491Z] b8b176561691: Pulling fs layer [2021-12-01T04:27:00.491Z] 4527c011a84f: Pulling fs layer [2021-12-01T04:27:00.491Z] 5d74067f8e1e: Pulling fs layer [2021-12-01T04:27:00.491Z] e0aca202a116: Pulling fs layer [2021-12-01T04:27:00.491Z] 3a43be97a3b4: Pulling fs layer [2021-12-01T04:27:00.491Z] 34cad66bf833: Pulling fs layer [2021-12-01T04:27:00.491Z] b4e3c513aaa6: Pulling fs layer [2021-12-01T04:27:00.491Z] 4527c011a84f: Waiting [2021-12-01T04:27:00.491Z] 5d74067f8e1e: Waiting [2021-12-01T04:27:00.491Z] e0aca202a116: Waiting [2021-12-01T04:27:00.491Z] 3a43be97a3b4: Waiting [2021-12-01T04:27:00.491Z] 34cad66bf833: Waiting [2021-12-01T04:27:00.491Z] b4e3c513aaa6: Waiting [2021-12-01T04:27:00.491Z] b8b176561691: Verifying Checksum [2021-12-01T04:27:00.491Z] b8b176561691: Download complete [2021-12-01T04:27:00.491Z] 31adcdaf11c8: Verifying Checksum [2021-12-01T04:27:00.491Z] 31adcdaf11c8: Download complete [2021-12-01T04:27:00.491Z] 5d74067f8e1e: Verifying Checksum [2021-12-01T04:27:00.491Z] 5d74067f8e1e: Download complete [2021-12-01T04:27:00.491Z] e0aca202a116: Verifying Checksum [2021-12-01T04:27:00.491Z] e0aca202a116: Download complete [2021-12-01T04:27:00.491Z] 3a43be97a3b4: Verifying Checksum [2021-12-01T04:27:00.491Z] 3a43be97a3b4: Download complete [2021-12-01T04:27:00.491Z] a0d0a0d46f8b: Verifying Checksum [2021-12-01T04:27:00.491Z] a0d0a0d46f8b: Download complete [2021-12-01T04:27:00.764Z] 34cad66bf833: Verifying Checksum [2021-12-01T04:27:00.764Z] 34cad66bf833: Download complete [2021-12-01T04:27:01.033Z] a0d0a0d46f8b: Pull complete [2021-12-01T04:27:01.303Z] 4527c011a84f: Verifying Checksum [2021-12-01T04:27:01.303Z] 4527c011a84f: Download complete [2021-12-01T04:27:01.303Z] 31adcdaf11c8: Pull complete [2021-12-01T04:27:01.303Z] b4e3c513aaa6: Verifying Checksum [2021-12-01T04:27:01.303Z] b4e3c513aaa6: Download complete [2021-12-01T04:27:01.303Z] b8b176561691: Pull complete [2021-12-01T04:27:05.541Z] 4527c011a84f: Pull complete [2021-12-01T04:27:05.541Z] 5d74067f8e1e: Pull complete [2021-12-01T04:27:05.541Z] e0aca202a116: Pull complete [2021-12-01T04:27:05.541Z] 3a43be97a3b4: Pull complete [2021-12-01T04:27:05.541Z] 34cad66bf833: Pull complete [2021-12-01T04:27:08.120Z] b4e3c513aaa6: Pull complete [2021-12-01T04:27:08.120Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-01T04:27:08.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-01T04:27:08.120Z] ---> 9f6097aaca64 [2021-12-01T04:27:08.120Z] Step 3/11 : ARG MAKE='make build' [2021-12-01T04:27:10.044Z] ---> Running in 3c027b590811 [2021-12-01T04:27:10.044Z] Removing intermediate container 3c027b590811 [2021-12-01T04:27:10.044Z] ---> 1bb8da76dedf [2021-12-01T04:27:10.044Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T04:27:10.044Z] ---> Running in 0608e721a9b3 [2021-12-01T04:27:10.044Z] Removing intermediate container 0608e721a9b3 [2021-12-01T04:27:10.044Z] ---> b017e4b59000 [2021-12-01T04:27:10.044Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T04:27:10.044Z] ---> Running in 4520a3f6ef99 [2021-12-01T04:27:10.044Z] Removing intermediate container 4520a3f6ef99 [2021-12-01T04:27:10.044Z] ---> 03d94b3df0fb [2021-12-01T04:27:10.044Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T04:27:10.305Z] ---> Running in 2c826b9f3aa5 [2021-12-01T04:27:10.577Z] Removing intermediate container 2c826b9f3aa5 [2021-12-01T04:27:10.577Z] ---> 5af54bd08bc5 [2021-12-01T04:27:10.577Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T04:27:10.577Z] ---> Running in 63efedd9b8e8 [2021-12-01T04:27:10.835Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T04:27:11.777Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T04:27:12.366Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-01T04:27:12.366Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-01T04:27:12.366Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-01T04:27:12.628Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-01T04:27:12.628Z] Executing busybox-1.33.1-r3.trigger [2021-12-01T04:27:12.628Z] OK: 224 MiB in 56 packages [2021-12-01T04:27:12.889Z] Removing intermediate container 63efedd9b8e8 [2021-12-01T04:27:12.889Z] ---> 728c617fd5ae [2021-12-01T04:27:12.889Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-01T04:27:12.889Z] ---> Running in 914888b5f07c [2021-12-01T04:27:13.158Z] Removing intermediate container 914888b5f07c [2021-12-01T04:27:13.159Z] ---> eb66864e7362 [2021-12-01T04:27:13.159Z] Step 9/11 : COPY . . [2021-12-01T04:27:13.159Z] ---> 505a89af3c3d [2021-12-01T04:27:13.159Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T04:27:13.159Z] ---> Running in d09b3f30aacb [2021-12-01T04:27:51.956Z] Removing intermediate container d09b3f30aacb [2021-12-01T04:27:51.956Z] ---> ec8570edb1e8 [2021-12-01T04:27:51.956Z] Step 11/11 : RUN $MAKE [2021-12-01T04:27:51.956Z] ---> Running in 41d4f531cc14 [2021-12-01T04:27:51.956Z] noop [2021-12-01T04:27:51.956Z] Removing intermediate container 41d4f531cc14 [2021-12-01T04:27:51.956Z] ---> fe5ebc56e90e [2021-12-01T04:27:51.956Z] Successfully built fe5ebc56e90e [2021-12-01T04:27:51.956Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:27:52.263Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-01T04:27:52.263Z] . [Pipeline] withDockerContainer [2021-12-01T04:27:52.328Z] prd-centos7-docker-4c-2g-33 does not seem to be running inside a container [2021-12-01T04:27:52.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-01T04:27:52.718Z] $ docker top 47c8da58260b06da92fa5abb1009edb1fcc670c2fd3e868f4a729338643fb220 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T04:27:53.113Z] + go version [2021-12-01T04:27:53.113Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-01T04:27:53.124Z] $ docker stop --time=1 47c8da58260b06da92fa5abb1009edb1fcc670c2fd3e868f4a729338643fb220 [2021-12-01T04:27:54.301Z] $ docker rm -f 47c8da58260b06da92fa5abb1009edb1fcc670c2fd3e868f4a729338643fb220 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:27:54.808Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-01T04:27:54.808Z] . [Pipeline] withDockerContainer [2021-12-01T04:27:54.882Z] prd-centos7-docker-4c-2g-33 does not seem to be running inside a container [2021-12-01T04:27:54.915Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-01T04:27:55.248Z] $ docker top 91944532b5979d110434a7d35ba6aa554e0922cd64dbdc28b498c69d32392293 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-01T04:27:55.617Z] + make test [2021-12-01T04:27:55.617Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-01T04:27:56.200Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-01T04:28:11.257Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-01T04:28:11.257Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2021-12-01T04:28:11.257Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-01T04:28:17.911Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-01T04:28:17.911Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-01T04:28:17.911Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-01T04:28:18.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-01T04:28:18.509Z] $ docker stop --time=1 91944532b5979d110434a7d35ba6aa554e0922cd64dbdc28b498c69d32392293 [2021-12-01T04:28:19.960Z] $ docker rm -f 91944532b5979d110434a7d35ba6aa554e0922cd64dbdc28b498c69d32392293 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T04:28:20.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-01T04:28:20.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-01T04:28:24.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-01T04:28:24.692Z] + ls -al . [2021-12-01T04:28:24.692Z] total 148 [2021-12-01T04:28:24.692Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 1 04:28 . [2021-12-01T04:28:24.692Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 1 04:26 .. [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 7095 Dec 1 04:26 Attribution.txt [2021-12-01T04:28:24.692Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 1 04:26 bin [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 7459 Dec 1 04:26 CHANGELOG.md [2021-12-01T04:28:24.692Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 1 04:26 cmd [2021-12-01T04:28:24.692Z] -rw-r--r--. 1 jenkins jenkins 9215 Dec 1 04:28 coverage.out [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 1649 Dec 1 04:26 Dockerfile [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 151 Dec 1 04:26 .dockerignore [2021-12-01T04:28:24.692Z] drwxrwxr-x. 2 jenkins jenkins 76 Dec 1 04:26 driver [2021-12-01T04:28:24.692Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 1 04:26 .git [2021-12-01T04:28:24.692Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 1 04:26 .github [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 1 04:26 .gitignore [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 277 Dec 1 04:26 go.mod [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 49330 Dec 1 04:26 go.sum [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 04:26 GOVERNANCE.md [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 680 Dec 1 04:26 Jenkinsfile [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 1 04:26 LICENSE [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 1078 Dec 1 04:26 Makefile [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 1 04:26 OWNERS.md [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 8246 Dec 1 04:26 README.md [2021-12-01T04:28:24.692Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 1 04:26 snap [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 1 04:25 VERSION [2021-12-01T04:28:24.692Z] -rw-rw-r--. 1 jenkins jenkins 713 Dec 1 04:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:24.992Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8f9dabbcd23e32bae175015e2a15c1f428ed019f --label arch=amd64 --label version=2.2.0-dev.1 . [2021-12-01T04:28:24.992Z] Sending build context to Docker daemon 131.6kB [2021-12-01T04:28:24.992Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T04:28:24.992Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-01T04:28:24.992Z] ---> fe5ebc56e90e [2021-12-01T04:28:24.992Z] Step 3/24 : ARG MAKE='make build' [2021-12-01T04:28:24.992Z] ---> Running in 2ab86650f2c6 [2021-12-01T04:28:24.992Z] Removing intermediate container 2ab86650f2c6 [2021-12-01T04:28:24.992Z] ---> 888139cc057c [2021-12-01T04:28:24.992Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T04:28:24.992Z] ---> Running in bdd7e835e5d8 [2021-12-01T04:28:25.254Z] Removing intermediate container bdd7e835e5d8 [2021-12-01T04:28:25.254Z] ---> dd2c6962967f [2021-12-01T04:28:25.254Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T04:28:25.254Z] ---> Running in c68d8ecb9663 [2021-12-01T04:28:25.254Z] Removing intermediate container c68d8ecb9663 [2021-12-01T04:28:25.254Z] ---> 98ff60528565 [2021-12-01T04:28:25.254Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T04:28:25.254Z] ---> Running in fc2bda53e14a [2021-12-01T04:28:25.832Z] Removing intermediate container fc2bda53e14a [2021-12-01T04:28:25.832Z] ---> fd81e937ed76 [2021-12-01T04:28:25.832Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T04:28:25.832Z] ---> Running in e6ef3ce99efb [2021-12-01T04:28:26.091Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T04:28:27.038Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T04:28:27.301Z] OK: 224 MiB in 56 packages [2021-12-01T04:28:27.564Z] Removing intermediate container e6ef3ce99efb [2021-12-01T04:28:27.564Z] ---> 60fdc259bb8f [2021-12-01T04:28:27.564Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-01T04:28:27.564Z] ---> Running in 0f88190d1ba9 [2021-12-01T04:28:27.564Z] Removing intermediate container 0f88190d1ba9 [2021-12-01T04:28:27.564Z] ---> 622f797f0f36 [2021-12-01T04:28:27.564Z] Step 9/24 : COPY . . [2021-12-01T04:28:27.828Z] ---> 918c8ee8e79c [2021-12-01T04:28:27.828Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T04:28:27.828Z] ---> Running in 603b9a4d05be [2021-12-01T04:28:28.403Z] Removing intermediate container 603b9a4d05be [2021-12-01T04:28:28.403Z] ---> 58e1de74e710 [2021-12-01T04:28:28.403Z] Step 11/24 : RUN $MAKE [2021-12-01T04:28:28.403Z] ---> Running in ad080f923d5a [2021-12-01T04:28:28.666Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.1" -o cmd/device-rest ./cmd [2021-12-01T04:28:31.053Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-35 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-12-01T04:28:31.065Z] Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout [2021-12-01T04:28:31.262Z] The recommended git tool is: git [2021-12-01T04:28:36.731Z] using credential edgex-jenkins-ssh [2021-12-01T04:28:36.747Z] Cloning the remote Git repository [2021-12-01T04:28:36.829Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-01T04:28:36.910Z] > git init /w/workspace/device-rest-go/21 # timeout=10 [2021-12-01T04:28:37.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-01T04:28:37.005Z] > git --version # timeout=10 [2021-12-01T04:28:37.023Z] > git --version # 'git version 2.17.1' [2021-12-01T04:28:37.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T04:28:37.116Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T04:28:40.991Z] Removing intermediate container ad080f923d5a [2021-12-01T04:28:40.991Z] ---> 838a819ba538 [2021-12-01T04:28:40.991Z] Step 12/24 : FROM alpine:3.14 [2021-12-01T04:28:40.991Z] 3.14: Pulling from library/alpine [2021-12-01T04:28:40.991Z] 97518928ae5f: Pulling fs layer [2021-12-01T04:28:40.991Z] 97518928ae5f: Verifying Checksum [2021-12-01T04:28:40.991Z] 97518928ae5f: Download complete [2021-12-01T04:28:40.991Z] 97518928ae5f: Pull complete [2021-12-01T04:28:40.991Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-01T04:28:40.991Z] Status: Downloaded newer image for alpine:3.14 [2021-12-01T04:28:40.991Z] ---> 0a97eee8041e [2021-12-01T04:28:40.991Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-01T04:28:40.991Z] ---> Running in 4503ab70aae8 [2021-12-01T04:28:40.991Z] Removing intermediate container 4503ab70aae8 [2021-12-01T04:28:40.991Z] ---> b0800bb48543 [2021-12-01T04:28:40.991Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-01T04:28:41.254Z] ---> Running in b67a0da71f74 [2021-12-01T04:28:41.254Z] Removing intermediate container b67a0da71f74 [2021-12-01T04:28:41.254Z] ---> feb226d71d7a [2021-12-01T04:28:41.254Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-01T04:28:41.254Z] ---> Running in c8ccc8e4234e [2021-12-01T04:28:41.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T04:28:41.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T04:28:41.791Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-01T04:28:41.791Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-01T04:28:41.791Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-01T04:28:41.791Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-01T04:28:41.791Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-01T04:28:41.791Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-01T04:28:41.791Z] Executing busybox-1.33.1-r6.trigger [2021-12-01T04:28:41.791Z] OK: 8 MiB in 20 packages [2021-12-01T04:28:42.051Z] Removing intermediate container c8ccc8e4234e [2021-12-01T04:28:42.051Z] ---> a30ebab3cff0 [2021-12-01T04:28:42.051Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-01T04:28:42.624Z] ---> 4681d46a6fad [2021-12-01T04:28:42.624Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-01T04:28:42.624Z] ---> c6ca61f13679 [2021-12-01T04:28:42.624Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-01T04:28:42.624Z] ---> a9fef45c072a [2021-12-01T04:28:42.624Z] Step 19/24 : EXPOSE 59986 [2021-12-01T04:28:42.624Z] ---> Running in f5f1ec1b23ab [2021-12-01T04:28:42.884Z] Removing intermediate container f5f1ec1b23ab [2021-12-01T04:28:42.884Z] ---> 19364628341f [2021-12-01T04:28:42.884Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-01T04:28:42.884Z] ---> Running in c9f339a12d21 [2021-12-01T04:28:42.884Z] Removing intermediate container c9f339a12d21 [2021-12-01T04:28:42.884Z] ---> 65ac456b506a [2021-12-01T04:28:42.884Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-01T04:28:42.884Z] ---> Running in 29909c05fa5e [2021-12-01T04:28:43.145Z] Removing intermediate container 29909c05fa5e [2021-12-01T04:28:43.145Z] ---> f859c8cdea5f [2021-12-01T04:28:43.145Z] Step 22/24 : LABEL arch=amd64 [2021-12-01T04:28:43.145Z] ---> Running in 50288b8d0d15 [2021-12-01T04:28:43.145Z] Removing intermediate container 50288b8d0d15 [2021-12-01T04:28:43.145Z] ---> ee10778a6f91 [2021-12-01T04:28:43.145Z] Step 23/24 : LABEL git_sha=8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:28:43.145Z] ---> Running in 9ed70476ad56 [2021-12-01T04:28:43.145Z] Removing intermediate container 9ed70476ad56 [2021-12-01T04:28:43.145Z] ---> 8a65cc28977f [2021-12-01T04:28:43.145Z] Step 24/24 : LABEL version=2.2.0-dev.1 [2021-12-01T04:28:43.404Z] ---> Running in 05fb0b816c76 [2021-12-01T04:28:43.404Z] Removing intermediate container 05fb0b816c76 [2021-12-01T04:28:43.404Z] ---> 08bb2eabd4dd [2021-12-01T04:28:43.404Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-01T04:28:43.404Z] Successfully built 08bb2eabd4dd [2021-12-01T04:28:43.404Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T04:28:43.526Z] provisioning config files... [2021-12-01T04:28:43.539Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config896502668147314464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:28:43.842Z] ---> docker-login.sh [2021-12-01T04:28:43.842Z] nexus3.edgexfoundry.org:10001 [2021-12-01T04:28:43.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:28:43.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:28:43.842Z] Configure a credential helper to remove this warning. See [2021-12-01T04:28:43.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:28:43.842Z] [2021-12-01T04:28:43.842Z] Login Succeeded [2021-12-01T04:28:43.842Z] nexus3.edgexfoundry.org:10002 [2021-12-01T04:28:43.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:28:44.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:28:44.106Z] Configure a credential helper to remove this warning. See [2021-12-01T04:28:44.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:28:44.106Z] [2021-12-01T04:28:44.106Z] Login Succeeded [2021-12-01T04:28:44.106Z] nexus3.edgexfoundry.org:10003 [2021-12-01T04:28:44.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:28:44.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:28:44.106Z] Configure a credential helper to remove this warning. See [2021-12-01T04:28:44.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:28:44.106Z] [2021-12-01T04:28:44.106Z] Login Succeeded [2021-12-01T04:28:44.106Z] nexus3.edgexfoundry.org:10004 [2021-12-01T04:28:44.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:28:44.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:28:44.366Z] Configure a credential helper to remove this warning. See [2021-12-01T04:28:44.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:28:44.366Z] [2021-12-01T04:28:44.366Z] Login Succeeded [2021-12-01T04:28:44.366Z] docker.io [2021-12-01T04:28:44.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:28:44.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:28:44.625Z] Configure a credential helper to remove this warning. See [2021-12-01T04:28:44.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:28:44.625Z] [2021-12-01T04:28:44.625Z] Login Succeeded [2021-12-01T04:28:44.625Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T04:28:44.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T04:28:44.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T04:28:44.685Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-12-01T04:28:44.685Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:28:44.685Z] latest [2021-12-01T04:28:44.685Z] 2.2.0-dev.1 [2021-12-01T04:28:44.685Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [2021-12-01T04:28:44.685Z] main [2021-12-01T04:28:44.685Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:44.951Z] Avoid second fetch [2021-12-01T04:28:44.952Z] Checking out Revision 8f9dabbcd23e32bae175015e2a15c1f428ed019f (main) [2021-12-01T04:28:45.004Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:45.305Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:28:45.305Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-01T04:28:45.305Z] 7d6eaa77e973: Preparing [2021-12-01T04:28:45.305Z] 53bf656549fa: Preparing [2021-12-01T04:28:45.305Z] 79aa57f73b70: Preparing [2021-12-01T04:28:45.305Z] 0954c5ba0863: Preparing [2021-12-01T04:28:45.305Z] 1a058d5342cc: Preparing [2021-12-01T04:28:45.305Z] 1a058d5342cc: Layer already exists [2021-12-01T04:28:45.569Z] 53bf656549fa: Pushed [2021-12-01T04:28:45.569Z] 7d6eaa77e973: Pushed [2021-12-01T04:28:45.569Z] 0954c5ba0863: Pushed [2021-12-01T04:28:44.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-01T04:28:44.938Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T04:28:44.976Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T04:28:44.994Z] > git checkout -f 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-01T04:28:46.511Z] 79aa57f73b70: Pushed [2021-12-01T04:28:46.772Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:47.076Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:47.373Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-12-01T04:28:47.373Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-01T04:28:47.373Z] 7d6eaa77e973: Preparing [2021-12-01T04:28:47.373Z] 53bf656549fa: Preparing [2021-12-01T04:28:47.373Z] 79aa57f73b70: Preparing [2021-12-01T04:28:47.373Z] 0954c5ba0863: Preparing [2021-12-01T04:28:47.373Z] 1a058d5342cc: Preparing [2021-12-01T04:28:47.373Z] 53bf656549fa: Layer already exists [2021-12-01T04:28:47.373Z] 7d6eaa77e973: Layer already exists [2021-12-01T04:28:47.373Z] 1a058d5342cc: Layer already exists [2021-12-01T04:28:47.373Z] 79aa57f73b70: Layer already exists [2021-12-01T04:28:47.373Z] 0954c5ba0863: Layer already exists [2021-12-01T04:28:47.373Z] latest: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:47.671Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:47.964Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.1 [2021-12-01T04:28:47.964Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-01T04:28:47.964Z] 7d6eaa77e973: Preparing [2021-12-01T04:28:47.964Z] 53bf656549fa: Preparing [2021-12-01T04:28:47.964Z] 79aa57f73b70: Preparing [2021-12-01T04:28:47.964Z] 0954c5ba0863: Preparing [2021-12-01T04:28:47.964Z] 1a058d5342cc: Preparing [2021-12-01T04:28:47.964Z] 0954c5ba0863: Layer already exists [2021-12-01T04:28:47.964Z] 79aa57f73b70: Layer already exists [2021-12-01T04:28:47.964Z] 1a058d5342cc: Layer already exists [2021-12-01T04:28:47.964Z] 7d6eaa77e973: Layer already exists [2021-12-01T04:28:47.964Z] 53bf656549fa: Layer already exists [2021-12-01T04:28:47.964Z] 2.2.0-dev.1: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:48.263Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:48.560Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [2021-12-01T04:28:48.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-01T04:28:48.560Z] 7d6eaa77e973: Preparing [2021-12-01T04:28:48.560Z] 53bf656549fa: Preparing [2021-12-01T04:28:48.560Z] 79aa57f73b70: Preparing [2021-12-01T04:28:48.560Z] 0954c5ba0863: Preparing [2021-12-01T04:28:48.560Z] 1a058d5342cc: Preparing [2021-12-01T04:28:48.560Z] 7d6eaa77e973: Layer already exists [2021-12-01T04:28:48.560Z] 0954c5ba0863: Layer already exists [2021-12-01T04:28:48.560Z] 79aa57f73b70: Layer already exists [2021-12-01T04:28:48.560Z] 53bf656549fa: Layer already exists [2021-12-01T04:28:48.560Z] 1a058d5342cc: Layer already exists [2021-12-01T04:28:48.560Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:48.860Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:49.170Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-12-01T04:28:49.170Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-01T04:28:49.171Z] 7d6eaa77e973: Preparing [2021-12-01T04:28:49.171Z] 53bf656549fa: Preparing [2021-12-01T04:28:49.171Z] 79aa57f73b70: Preparing [2021-12-01T04:28:49.171Z] 0954c5ba0863: Preparing [2021-12-01T04:28:49.171Z] 1a058d5342cc: Preparing [2021-12-01T04:28:49.171Z] 1a058d5342cc: Layer already exists [2021-12-01T04:28:49.171Z] 0954c5ba0863: Layer already exists [2021-12-01T04:28:49.171Z] 53bf656549fa: Layer already exists [2021-12-01T04:28:49.171Z] 7d6eaa77e973: Layer already exists [2021-12-01T04:28:49.171Z] 79aa57f73b70: Layer already exists [2021-12-01T04:28:49.171Z] main: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T04:28:49.208Z] ===================================================== [Pipeline] echo [2021-12-01T04:28:49.215Z] taggedImages: [2021-12-01T04:28:49.215Z] - nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:28:49.215Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-12-01T04:28:49.215Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.1 [2021-12-01T04:28:49.215Z] - nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [2021-12-01T04:28:49.215Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [2021-12-01T04:28:49.229Z] Commit message: "Merge pull request #147 from lenny-intel/no-win-zmq" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T04:28:49.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T04:28:49.718Z] [2021-12-01T04:28:49.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:28:50.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T04:28:50.112Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-01T04:28:50.112Z] b4d181a07f80: Pulling fs layer [2021-12-01T04:28:50.112Z] a1111a8f2ec3: Pulling fs layer [2021-12-01T04:28:50.112Z] ed53099fbce6: Pulling fs layer [2021-12-01T04:28:50.112Z] dc539afda2c1: Pulling fs layer [2021-12-01T04:28:50.112Z] 77bc0d833cb6: Pulling fs layer [2021-12-01T04:28:50.112Z] 9065ff56babe: Pulling fs layer [2021-12-01T04:28:50.112Z] d287ab97295c: Pulling fs layer [2021-12-01T04:28:50.112Z] 77bc0d833cb6: Waiting [2021-12-01T04:28:50.112Z] 9065ff56babe: Waiting [2021-12-01T04:28:50.112Z] d287ab97295c: Waiting [2021-12-01T04:28:50.112Z] dc539afda2c1: Waiting [2021-12-01T04:28:50.112Z] a1111a8f2ec3: Verifying Checksum [2021-12-01T04:28:50.112Z] a1111a8f2ec3: Download complete [2021-12-01T04:28:50.112Z] dc539afda2c1: Verifying Checksum [2021-12-01T04:28:50.112Z] dc539afda2c1: Download complete [2021-12-01T04:28:50.133Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-01T04:28:50.133Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-01T04:28:50.133Z] Dload Upload Total Spent Left Speed [2021-12-01T04:28:50.133Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 75312 0 --:--:-- --:--:-- --:--:-- 75312 [Pipeline] sh [2021-12-01T04:28:50.378Z] ed53099fbce6: Verifying Checksum [2021-12-01T04:28:50.378Z] ed53099fbce6: Download complete [2021-12-01T04:28:50.378Z] 9065ff56babe: Verifying Checksum [2021-12-01T04:28:50.378Z] 9065ff56babe: Download complete [2021-12-01T04:28:50.378Z] b4d181a07f80: Verifying Checksum [2021-12-01T04:28:50.378Z] b4d181a07f80: Download complete [2021-12-01T04:28:50.378Z] 77bc0d833cb6: Verifying Checksum [2021-12-01T04:28:50.378Z] 77bc0d833cb6: Download complete [2021-12-01T04:28:50.650Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-01T04:28:50.955Z] d287ab97295c: Verifying Checksum [2021-12-01T04:28:50.955Z] d287ab97295c: Download complete [2021-12-01T04:28:50.986Z] + sudo tee /etc/docker/daemon.new [2021-12-01T04:28:50.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-01T04:28:50.986Z] { [2021-12-01T04:28:50.986Z] "registry-mirrors": [ [2021-12-01T04:28:50.986Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-01T04:28:50.986Z] ], [2021-12-01T04:28:50.986Z] "bip": "10.250.0.254/24", [2021-12-01T04:28:50.986Z] "hosts": [ [2021-12-01T04:28:50.986Z] "tcp://0.0.0.0:5555", [2021-12-01T04:28:50.986Z] "unix:///var/run/docker.sock" [2021-12-01T04:28:50.986Z] ], [2021-12-01T04:28:50.986Z] "mtu": 1458, [2021-12-01T04:28:50.986Z] "selinux-enabled": true, [2021-12-01T04:28:50.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-01T04:28:50.986Z] } [Pipeline] sh [2021-12-01T04:28:51.347Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-01T04:28:51.697Z] + sudo service docker restart [2021-12-01T04:28:51.919Z] b4d181a07f80: Pull complete [2021-12-01T04:28:51.919Z] a1111a8f2ec3: Pull complete [2021-12-01T04:28:52.496Z] ed53099fbce6: Pull complete [2021-12-01T04:28:52.765Z] dc539afda2c1: Pull complete [2021-12-01T04:28:53.047Z] 77bc0d833cb6: Pull complete [2021-12-01T04:28:53.047Z] 9065ff56babe: Pull complete [2021-12-01T04:28:58.424Z] d287ab97295c: Pull complete [2021-12-01T04:28:58.424Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-01T04:28:58.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T04:28:58.424Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-01T04:28:58.494Z] prd-centos7-docker-4c-2g-33 does not seem to be running inside a container [2021-12-01T04:28:58.525Z] $ 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-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-01T04:29:00.894Z] $ docker top 72f187b492bf76439d52830ea374030191d13cca801ededfd044f82b31283552 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:29:01.282Z] ---> job-cost.sh [2021-12-01T04:29:01.282Z] lf-activate-venv: SKIPPING [2021-12-01T04:29:01.282Z] INFO: No Stack... [2021-12-01T04:29:01.543Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-01T04:29:01.803Z] INFO: Archiving Costs [Pipeline] sh [2021-12-01T04:29:02.098Z] + cat /w/workspace/device-rest-go/21/archives/cost.csv [2021-12-01T04:29:02.098Z] + cut -d, -f6 [Pipeline] lock [2021-12-01T04:29:02.130Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [2021-12-01T04:29:02.136Z] Resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] did not exist. Created. [2021-12-01T04:29:02.136Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-01T04:29:02.443Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-01T04:29:02.479Z] Stashed 1 file(s) [Pipeline] } [2021-12-01T04:29:02.486Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-01T04:29:02.507Z] $ docker stop --time=1 72f187b492bf76439d52830ea374030191d13cca801ededfd044f82b31283552 [2021-12-01T04:29:03.654Z] $ docker rm -f 72f187b492bf76439d52830ea374030191d13cca801ededfd044f82b31283552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T04:29:10.067Z] provisioning config files... [2021-12-01T04:29:10.098Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config9209082194107660875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:29:10.485Z] ---> docker-login.sh [2021-12-01T04:29:10.485Z] nexus3.edgexfoundry.org:10001 [2021-12-01T04:29:11.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:29:11.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:29:11.367Z] Configure a credential helper to remove this warning. See [2021-12-01T04:29:11.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:29:11.367Z] [2021-12-01T04:29:11.367Z] Login Succeeded [2021-12-01T04:29:11.367Z] nexus3.edgexfoundry.org:10002 [2021-12-01T04:29:11.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:29:11.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:29:11.925Z] Configure a credential helper to remove this warning. See [2021-12-01T04:29:11.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:29:11.925Z] [2021-12-01T04:29:11.925Z] Login Succeeded [2021-12-01T04:29:11.925Z] nexus3.edgexfoundry.org:10003 [2021-12-01T04:29:12.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:29:12.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:29:12.276Z] Configure a credential helper to remove this warning. See [2021-12-01T04:29:12.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:29:12.276Z] [2021-12-01T04:29:12.276Z] Login Succeeded [2021-12-01T04:29:12.276Z] nexus3.edgexfoundry.org:10004 [2021-12-01T04:29:12.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:29:12.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:29:12.893Z] Configure a credential helper to remove this warning. See [2021-12-01T04:29:12.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:29:12.893Z] [2021-12-01T04:29:12.893Z] Login Succeeded [2021-12-01T04:29:12.893Z] docker.io [2021-12-01T04:29:13.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:29:13.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:29:13.772Z] Configure a credential helper to remove this warning. See [2021-12-01T04:29:13.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:29:13.773Z] [2021-12-01T04:29:13.773Z] Login Succeeded [2021-12-01T04:29:13.773Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T04:29:13.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-01T04:29:14.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T04:29:14.242Z] ========================================================= [2021-12-01T04:29:14.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-01T04:29:14.242Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:29:14.603Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-01T04:29:14.603Z] Sending build context to Docker daemon 121.9kB [2021-12-01T04:29:14.880Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T04:29:14.880Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-01T04:29:15.155Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-01T04:29:15.155Z] 552d1f2373af: Pulling fs layer [2021-12-01T04:29:15.155Z] ea3f2d53f512: Pulling fs layer [2021-12-01T04:29:15.155Z] 9e70ebbbe112: Pulling fs layer [2021-12-01T04:29:15.155Z] 7a9cfe048b4a: Pulling fs layer [2021-12-01T04:29:15.155Z] 72dc09318566: Pulling fs layer [2021-12-01T04:29:15.155Z] f4f7b4309257: Pulling fs layer [2021-12-01T04:29:15.155Z] 0ac9a79272e3: Pulling fs layer [2021-12-01T04:29:15.155Z] b78e95d17946: Pulling fs layer [2021-12-01T04:29:15.155Z] f4f7b4309257: Waiting [2021-12-01T04:29:15.155Z] 0ac9a79272e3: Waiting [2021-12-01T04:29:15.155Z] 7a9cfe048b4a: Waiting [2021-12-01T04:29:15.155Z] b78e95d17946: Waiting [2021-12-01T04:29:15.155Z] 72dc09318566: Waiting [2021-12-01T04:29:15.155Z] 9e70ebbbe112: Verifying Checksum [2021-12-01T04:29:15.155Z] ea3f2d53f512: Download complete [2021-12-01T04:29:15.155Z] 72dc09318566: Verifying Checksum [2021-12-01T04:29:15.155Z] 72dc09318566: Download complete [2021-12-01T04:29:15.155Z] f4f7b4309257: Verifying Checksum [2021-12-01T04:29:15.155Z] f4f7b4309257: Download complete [2021-12-01T04:29:15.155Z] 552d1f2373af: Verifying Checksum [2021-12-01T04:29:15.155Z] 552d1f2373af: Download complete [2021-12-01T04:29:15.155Z] 0ac9a79272e3: Verifying Checksum [2021-12-01T04:29:15.155Z] 0ac9a79272e3: Download complete [2021-12-01T04:29:16.093Z] 552d1f2373af: Pull complete [2021-12-01T04:29:16.699Z] ea3f2d53f512: Pull complete [2021-12-01T04:29:17.313Z] 9e70ebbbe112: Pull complete [2021-12-01T04:29:17.592Z] b78e95d17946: Verifying Checksum [2021-12-01T04:29:17.592Z] b78e95d17946: Download complete [2021-12-01T04:29:18.191Z] 7a9cfe048b4a: Verifying Checksum [2021-12-01T04:29:18.191Z] 7a9cfe048b4a: Download complete [2021-12-01T04:29:30.591Z] 7a9cfe048b4a: Pull complete [2021-12-01T04:29:30.591Z] 72dc09318566: Pull complete [2021-12-01T04:29:30.591Z] f4f7b4309257: Pull complete [2021-12-01T04:29:30.591Z] 0ac9a79272e3: Pull complete [2021-12-01T04:29:35.995Z] b78e95d17946: Pull complete [2021-12-01T04:29:35.995Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-01T04:29:35.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-01T04:29:35.995Z] ---> 8b459fc5aaf0 [2021-12-01T04:29:35.995Z] Step 3/11 : ARG MAKE='make build' [2021-12-01T04:29:37.441Z] ---> Running in 8c79a343a493 [2021-12-01T04:29:37.715Z] Removing intermediate container 8c79a343a493 [2021-12-01T04:29:37.715Z] ---> 7a176d26ac40 [2021-12-01T04:29:37.715Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T04:29:37.715Z] ---> Running in 86fb23e3009d [2021-12-01T04:29:37.987Z] Removing intermediate container 86fb23e3009d [2021-12-01T04:29:37.987Z] ---> ec7a4ad54372 [2021-12-01T04:29:37.987Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T04:29:38.260Z] ---> Running in c4e9362780eb [2021-12-01T04:29:38.532Z] Removing intermediate container c4e9362780eb [2021-12-01T04:29:38.532Z] ---> 21ae1dadabbd [2021-12-01T04:29:38.532Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T04:29:38.804Z] ---> Running in d8d31530f501 [2021-12-01T04:29:40.777Z] Removing intermediate container d8d31530f501 [2021-12-01T04:29:40.777Z] ---> 556a84524c7a [2021-12-01T04:29:40.777Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T04:29:40.777Z] ---> Running in 07f96361ea06 [2021-12-01T04:29:41.758Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T04:29:42.734Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T04:29:43.717Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-01T04:29:43.717Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-01T04:29:43.989Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-01T04:29:43.989Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-01T04:29:44.264Z] Executing busybox-1.33.1-r3.trigger [2021-12-01T04:29:44.264Z] OK: 223 MiB in 56 packages [2021-12-01T04:29:45.244Z] Removing intermediate container 07f96361ea06 [2021-12-01T04:29:45.244Z] ---> 04f001d6bb9b [2021-12-01T04:29:45.244Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-01T04:29:45.244Z] ---> Running in c1f8854e663f [2021-12-01T04:29:45.845Z] Removing intermediate container c1f8854e663f [2021-12-01T04:29:45.845Z] ---> 82f009465f57 [2021-12-01T04:29:45.845Z] Step 9/11 : COPY . . [2021-12-01T04:29:46.440Z] ---> c00770ef0c91 [2021-12-01T04:29:46.440Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T04:29:46.733Z] ---> Running in 6d344ccab47f [2021-12-01T04:31:08.545Z] Removing intermediate container 6d344ccab47f [2021-12-01T04:31:08.545Z] ---> a30ff3c4cfd0 [2021-12-01T04:31:08.545Z] Step 11/11 : RUN $MAKE [2021-12-01T04:31:08.545Z] ---> Running in d8e1549f7eb8 [2021-12-01T04:31:08.545Z] noop [2021-12-01T04:31:08.545Z] Removing intermediate container d8e1549f7eb8 [2021-12-01T04:31:08.545Z] ---> 47bc7b6e5a88 [2021-12-01T04:31:08.545Z] Successfully built 47bc7b6e5a88 [2021-12-01T04:31:08.545Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:31:08.896Z] + docker inspect -f . ci-base-image-arm64 [2021-12-01T04:31:08.896Z] . [Pipeline] withDockerContainer [2021-12-01T04:31:09.144Z] prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container [2021-12-01T04:31:09.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-01T04:31:10.700Z] $ docker top a89a42170bef77e7e7efc4cd6d56b62f61b08f84327ca8ccc27872d71b0d534b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T04:31:11.664Z] + go version [2021-12-01T04:31:11.664Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-01T04:31:11.687Z] $ docker stop --time=1 a89a42170bef77e7e7efc4cd6d56b62f61b08f84327ca8ccc27872d71b0d534b [2021-12-01T04:31:13.402Z] $ docker rm -f a89a42170bef77e7e7efc4cd6d56b62f61b08f84327ca8ccc27872d71b0d534b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:31:14.179Z] + docker inspect -f . ci-base-image-arm64 [2021-12-01T04:31:14.179Z] . [Pipeline] withDockerContainer [2021-12-01T04:31:14.419Z] prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container [2021-12-01T04:31:14.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-01T04:31:15.934Z] $ docker top 1883ed0c2bb8335b2869ea23a320a7055f02293b275176be7828aac257fcc256 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-01T04:31:16.867Z] + make test [2021-12-01T04:31:16.867Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-01T04:31:18.324Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-01T04:32:26.397Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-01T04:32:26.397Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 56.0% of statements [2021-12-01T04:32:26.397Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-01T04:32:48.594Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-01T04:32:48.594Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-01T04:32:48.594Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-01T04:32:48.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-01T04:32:48.896Z] $ docker stop --time=1 1883ed0c2bb8335b2869ea23a320a7055f02293b275176be7828aac257fcc256 [2021-12-01T04:32:50.716Z] $ docker rm -f 1883ed0c2bb8335b2869ea23a320a7055f02293b275176be7828aac257fcc256 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T04:32:51.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-01T04:32:51.619Z] Warning: overwriting stash ‘coverage-report’ [2021-12-01T04:32:52.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T04:32:52.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-01T04:32:52.973Z] + ls -al . [2021-12-01T04:32:52.973Z] total 176 [2021-12-01T04:32:52.973Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 04:32 . [2021-12-01T04:32:52.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 04:28 .. [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 1 04:28 .dockerignore [2021-12-01T04:32:52.973Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 04:28 .git [2021-12-01T04:32:52.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:28 .github [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 1 04:28 .gitignore [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 7095 Dec 1 04:28 Attribution.txt [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 7459 Dec 1 04:28 CHANGELOG.md [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 1649 Dec 1 04:28 Dockerfile [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 04:28 GOVERNANCE.md [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 1 04:28 Jenkinsfile [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 1 04:28 LICENSE [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 1078 Dec 1 04:28 Makefile [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 1 04:28 OWNERS.md [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 8246 Dec 1 04:28 README.md [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 1 04:25 VERSION [2021-12-01T04:32:52.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:28 bin [2021-12-01T04:32:52.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 04:28 cmd [2021-12-01T04:32:52.973Z] -rw-r--r-- 1 jenkins jenkins 9215 Dec 1 04:32 coverage.out [2021-12-01T04:32:52.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:28 driver [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 277 Dec 1 04:28 go.mod [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 49330 Dec 1 04:28 go.sum [2021-12-01T04:32:52.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 04:28 snap [2021-12-01T04:32:52.973Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 1 04:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:32:53.323Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8f9dabbcd23e32bae175015e2a15c1f428ed019f --label arch=arm64 --label version=2.2.0-dev.1 . [2021-12-01T04:32:53.323Z] Sending build context to Docker daemon 131.6kB [2021-12-01T04:32:53.599Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T04:32:53.599Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-01T04:32:53.599Z] ---> 47bc7b6e5a88 [2021-12-01T04:32:53.599Z] Step 3/24 : ARG MAKE='make build' [2021-12-01T04:32:53.873Z] ---> Running in 7b25c011597e [2021-12-01T04:32:54.149Z] Removing intermediate container 7b25c011597e [2021-12-01T04:32:54.149Z] ---> 642fbbe6aa9c [2021-12-01T04:32:54.149Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T04:32:54.149Z] ---> Running in ca8bab8c1edb [2021-12-01T04:32:54.750Z] Removing intermediate container ca8bab8c1edb [2021-12-01T04:32:54.750Z] ---> 58a98e24278f [2021-12-01T04:32:54.750Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T04:32:54.750Z] ---> Running in 15ba1d5eab13 [2021-12-01T04:32:55.026Z] Removing intermediate container 15ba1d5eab13 [2021-12-01T04:32:55.026Z] ---> abb3fdf98837 [2021-12-01T04:32:55.026Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T04:32:55.299Z] ---> Running in 990cd156548f [2021-12-01T04:32:57.282Z] Removing intermediate container 990cd156548f [2021-12-01T04:32:57.282Z] ---> 64da527031d0 [2021-12-01T04:32:57.282Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T04:32:57.282Z] ---> Running in ccf13daf2d0b [2021-12-01T04:32:58.265Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T04:32:59.241Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T04:33:00.218Z] OK: 223 MiB in 56 packages [2021-12-01T04:33:01.200Z] Removing intermediate container ccf13daf2d0b [2021-12-01T04:33:01.200Z] ---> 87a945e9365e [2021-12-01T04:33:01.200Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-01T04:33:01.200Z] ---> Running in d28a444a0215 [2021-12-01T04:33:01.797Z] Removing intermediate container d28a444a0215 [2021-12-01T04:33:01.797Z] ---> 9047a49e8f8c [2021-12-01T04:33:01.797Z] Step 9/24 : COPY . . [2021-12-01T04:33:02.393Z] ---> 47f0fa416dbf [2021-12-01T04:33:02.393Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T04:33:02.668Z] ---> Running in 0d89cf231b1e [2021-12-01T04:33:05.293Z] Removing intermediate container 0d89cf231b1e [2021-12-01T04:33:05.293Z] ---> 628fba251535 [2021-12-01T04:33:05.293Z] Step 11/24 : RUN $MAKE [2021-12-01T04:33:05.293Z] ---> Running in 44d8348022b5 [2021-12-01T04:33:06.271Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.1" -o cmd/device-rest ./cmd [2021-12-01T04:33:53.265Z] Removing intermediate container 44d8348022b5 [2021-12-01T04:33:53.265Z] ---> bc3a7ed9632f [2021-12-01T04:33:53.265Z] Step 12/24 : FROM alpine:3.14 [2021-12-01T04:33:53.265Z] 3.14: Pulling from library/alpine [2021-12-01T04:33:53.265Z] be307f383ecc: Pulling fs layer [2021-12-01T04:33:53.265Z] be307f383ecc: Verifying Checksum [2021-12-01T04:33:53.265Z] be307f383ecc: Download complete [2021-12-01T04:33:53.265Z] be307f383ecc: Pull complete [2021-12-01T04:33:53.265Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-01T04:33:53.265Z] Status: Downloaded newer image for alpine:3.14 [2021-12-01T04:33:53.265Z] ---> 5b8b7b635229 [2021-12-01T04:33:53.265Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-01T04:33:53.265Z] ---> Running in fe664cda55ae [2021-12-01T04:33:53.265Z] Removing intermediate container fe664cda55ae [2021-12-01T04:33:53.265Z] ---> 9aa734db65be [2021-12-01T04:33:53.265Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-01T04:33:53.265Z] ---> Running in 4284cf53c9d5 [2021-12-01T04:33:53.265Z] Removing intermediate container 4284cf53c9d5 [2021-12-01T04:33:53.265Z] ---> 916cafa8277f [2021-12-01T04:33:53.265Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-01T04:33:53.265Z] ---> Running in 8149a4ec778d [2021-12-01T04:33:53.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T04:33:53.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T04:33:53.265Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-01T04:33:53.265Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-01T04:33:53.265Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-01T04:33:53.265Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-01T04:33:53.265Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-01T04:33:53.265Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-01T04:33:53.265Z] Executing busybox-1.33.1-r6.trigger [2021-12-01T04:33:53.265Z] OK: 8 MiB in 20 packages [2021-12-01T04:33:53.265Z] Removing intermediate container 8149a4ec778d [2021-12-01T04:33:53.265Z] ---> d3b803536b29 [2021-12-01T04:33:53.265Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-01T04:33:53.265Z] ---> 85537900cd28 [2021-12-01T04:33:53.265Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-01T04:33:53.537Z] ---> 42dbb5b2f5b7 [2021-12-01T04:33:53.538Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-01T04:33:54.130Z] ---> c159a3e37c56 [2021-12-01T04:33:54.130Z] Step 19/24 : EXPOSE 59986 [2021-12-01T04:33:54.402Z] ---> Running in a12aabe2a41a [2021-12-01T04:33:54.676Z] Removing intermediate container a12aabe2a41a [2021-12-01T04:33:54.676Z] ---> 2464d5139f50 [2021-12-01T04:33:54.676Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-01T04:33:54.676Z] ---> Running in 635c129c6c33 [2021-12-01T04:33:55.271Z] Removing intermediate container 635c129c6c33 [2021-12-01T04:33:55.271Z] ---> 5536c2005abb [2021-12-01T04:33:55.271Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-01T04:33:55.271Z] ---> Running in 13e2685c595f [2021-12-01T04:33:55.543Z] Removing intermediate container 13e2685c595f [2021-12-01T04:33:55.543Z] ---> b062ba6ad2dc [2021-12-01T04:33:55.543Z] Step 22/24 : LABEL arch=arm64 [2021-12-01T04:33:55.543Z] ---> Running in a34786ed4726 [2021-12-01T04:33:56.146Z] Removing intermediate container a34786ed4726 [2021-12-01T04:33:56.146Z] ---> e800eebb01a1 [2021-12-01T04:33:56.146Z] Step 23/24 : LABEL git_sha=8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:33:56.146Z] ---> Running in 6e6ccebe9da1 [2021-12-01T04:33:56.418Z] Removing intermediate container 6e6ccebe9da1 [2021-12-01T04:33:56.418Z] ---> a34468d666c0 [2021-12-01T04:33:56.418Z] Step 24/24 : LABEL version=2.2.0-dev.1 [2021-12-01T04:33:56.418Z] ---> Running in 1afc70c49269 [2021-12-01T04:33:57.012Z] Removing intermediate container 1afc70c49269 [2021-12-01T04:33:57.012Z] ---> 2a0e220a65f6 [2021-12-01T04:33:57.012Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-01T04:33:57.012Z] Successfully built 2a0e220a65f6 [2021-12-01T04:33:57.012Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T04:33:57.166Z] provisioning config files... [2021-12-01T04:33:57.187Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config7345549898876142479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:33:57.547Z] ---> docker-login.sh [2021-12-01T04:33:57.547Z] nexus3.edgexfoundry.org:10001 [2021-12-01T04:33:57.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:33:57.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:33:57.821Z] Configure a credential helper to remove this warning. See [2021-12-01T04:33:57.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:33:57.822Z] [2021-12-01T04:33:57.822Z] Login Succeeded [2021-12-01T04:33:57.822Z] nexus3.edgexfoundry.org:10002 [2021-12-01T04:33:58.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:33:58.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:33:58.365Z] Configure a credential helper to remove this warning. See [2021-12-01T04:33:58.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:33:58.365Z] [2021-12-01T04:33:58.365Z] Login Succeeded [2021-12-01T04:33:58.365Z] nexus3.edgexfoundry.org:10003 [2021-12-01T04:33:58.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:33:58.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:33:58.636Z] Configure a credential helper to remove this warning. See [2021-12-01T04:33:58.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:33:58.636Z] [2021-12-01T04:33:58.636Z] Login Succeeded [2021-12-01T04:33:58.915Z] nexus3.edgexfoundry.org:10004 [2021-12-01T04:33:59.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:33:59.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:33:59.188Z] Configure a credential helper to remove this warning. See [2021-12-01T04:33:59.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:33:59.188Z] [2021-12-01T04:33:59.188Z] Login Succeeded [2021-12-01T04:33:59.188Z] docker.io [2021-12-01T04:33:59.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T04:34:00.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T04:34:00.057Z] Configure a credential helper to remove this warning. See [2021-12-01T04:34:00.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T04:34:00.057Z] [2021-12-01T04:34:00.057Z] Login Succeeded [2021-12-01T04:34:00.057Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T04:34:00.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T04:34:00.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T04:34:00.138Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-12-01T04:34:00.138Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:34:00.138Z] latest [2021-12-01T04:34:00.138Z] 2.2.0-dev.1 [2021-12-01T04:34:00.138Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [2021-12-01T04:34:00.138Z] main [2021-12-01T04:34:00.138Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:00.504Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:00.847Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:34:00.847Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-01T04:34:00.847Z] 52f5dd487a79: Preparing [2021-12-01T04:34:00.847Z] f063872ba9a9: Preparing [2021-12-01T04:34:00.847Z] 0b88c54bd0ed: Preparing [2021-12-01T04:34:00.847Z] d169a51bb13b: Preparing [2021-12-01T04:34:00.847Z] 62170e181a92: Preparing [2021-12-01T04:34:00.847Z] 62170e181a92: Layer already exists [2021-12-01T04:34:01.126Z] 52f5dd487a79: Pushed [2021-12-01T04:34:01.126Z] f063872ba9a9: Pushed [2021-12-01T04:34:01.722Z] d169a51bb13b: Pushed [2021-12-01T04:34:04.340Z] 0b88c54bd0ed: Pushed [2021-12-01T04:34:04.340Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:04.689Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:05.037Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-12-01T04:34:05.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-01T04:34:05.037Z] 52f5dd487a79: Preparing [2021-12-01T04:34:05.037Z] f063872ba9a9: Preparing [2021-12-01T04:34:05.037Z] 0b88c54bd0ed: Preparing [2021-12-01T04:34:05.037Z] d169a51bb13b: Preparing [2021-12-01T04:34:05.037Z] 62170e181a92: Preparing [2021-12-01T04:34:05.037Z] d169a51bb13b: Layer already exists [2021-12-01T04:34:05.037Z] 62170e181a92: Layer already exists [2021-12-01T04:34:05.037Z] 0b88c54bd0ed: Layer already exists [2021-12-01T04:34:05.037Z] 52f5dd487a79: Layer already exists [2021-12-01T04:34:05.037Z] f063872ba9a9: Layer already exists [2021-12-01T04:34:05.310Z] latest: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:05.657Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:06.002Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.1 [2021-12-01T04:34:06.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-01T04:34:06.003Z] 52f5dd487a79: Preparing [2021-12-01T04:34:06.003Z] f063872ba9a9: Preparing [2021-12-01T04:34:06.003Z] 0b88c54bd0ed: Preparing [2021-12-01T04:34:06.003Z] d169a51bb13b: Preparing [2021-12-01T04:34:06.003Z] 62170e181a92: Preparing [2021-12-01T04:34:06.003Z] d169a51bb13b: Layer already exists [2021-12-01T04:34:06.003Z] 52f5dd487a79: Layer already exists [2021-12-01T04:34:06.003Z] 0b88c54bd0ed: Layer already exists [2021-12-01T04:34:06.003Z] f063872ba9a9: Layer already exists [2021-12-01T04:34:06.003Z] 62170e181a92: Layer already exists [2021-12-01T04:34:06.278Z] 2.2.0-dev.1: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:06.635Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:06.986Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [2021-12-01T04:34:06.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-01T04:34:06.986Z] 52f5dd487a79: Preparing [2021-12-01T04:34:06.986Z] f063872ba9a9: Preparing [2021-12-01T04:34:06.986Z] 0b88c54bd0ed: Preparing [2021-12-01T04:34:06.986Z] d169a51bb13b: Preparing [2021-12-01T04:34:06.986Z] 62170e181a92: Preparing [2021-12-01T04:34:06.986Z] 62170e181a92: Layer already exists [2021-12-01T04:34:06.986Z] 52f5dd487a79: Layer already exists [2021-12-01T04:34:06.986Z] f063872ba9a9: Layer already exists [2021-12-01T04:34:06.986Z] 0b88c54bd0ed: Layer already exists [2021-12-01T04:34:06.986Z] d169a51bb13b: Layer already exists [2021-12-01T04:34:07.260Z] 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:07.607Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:07.953Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-12-01T04:34:07.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-01T04:34:07.953Z] 52f5dd487a79: Preparing [2021-12-01T04:34:07.953Z] f063872ba9a9: Preparing [2021-12-01T04:34:07.953Z] 0b88c54bd0ed: Preparing [2021-12-01T04:34:07.953Z] d169a51bb13b: Preparing [2021-12-01T04:34:07.953Z] 62170e181a92: Preparing [2021-12-01T04:34:07.953Z] f063872ba9a9: Layer already exists [2021-12-01T04:34:07.953Z] d169a51bb13b: Layer already exists [2021-12-01T04:34:07.953Z] 52f5dd487a79: Layer already exists [2021-12-01T04:34:07.953Z] 62170e181a92: Layer already exists [2021-12-01T04:34:07.953Z] 0b88c54bd0ed: Layer already exists [2021-12-01T04:34:08.229Z] main: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T04:34:08.289Z] ===================================================== [Pipeline] echo [2021-12-01T04:34:08.300Z] taggedImages: [2021-12-01T04:34:08.300Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f [2021-12-01T04:34:08.300Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-12-01T04:34:08.300Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.1 [2021-12-01T04:34:08.300Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [2021-12-01T04:34:08.300Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:08.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T04:34:08.742Z] [2021-12-01T04:34:08.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:09.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T04:34:09.383Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-01T04:34:09.383Z] 448f6bf000e3: Pulling fs layer [2021-12-01T04:34:09.383Z] f757da607395: Pulling fs layer [2021-12-01T04:34:09.383Z] 05883995daec: Pulling fs layer [2021-12-01T04:34:09.383Z] 8603b9c90790: Pulling fs layer [2021-12-01T04:34:09.383Z] 1560dd03e051: Pulling fs layer [2021-12-01T04:34:09.383Z] 27f5ce0e4adf: Pulling fs layer [2021-12-01T04:34:09.383Z] c2d8d7efcc4b: Pulling fs layer [2021-12-01T04:34:09.383Z] 8603b9c90790: Waiting [2021-12-01T04:34:09.383Z] 1560dd03e051: Waiting [2021-12-01T04:34:09.383Z] 27f5ce0e4adf: Waiting [2021-12-01T04:34:09.383Z] c2d8d7efcc4b: Waiting [2021-12-01T04:34:09.383Z] f757da607395: Verifying Checksum [2021-12-01T04:34:09.383Z] f757da607395: Download complete [2021-12-01T04:34:09.383Z] 8603b9c90790: Verifying Checksum [2021-12-01T04:34:09.383Z] 8603b9c90790: Download complete [2021-12-01T04:34:09.383Z] 1560dd03e051: Verifying Checksum [2021-12-01T04:34:09.383Z] 1560dd03e051: Download complete [2021-12-01T04:34:09.660Z] 27f5ce0e4adf: Verifying Checksum [2021-12-01T04:34:09.660Z] 27f5ce0e4adf: Download complete [2021-12-01T04:34:09.660Z] 05883995daec: Verifying Checksum [2021-12-01T04:34:09.660Z] 05883995daec: Download complete [2021-12-01T04:34:09.935Z] 448f6bf000e3: Download complete [2021-12-01T04:34:12.561Z] c2d8d7efcc4b: Verifying Checksum [2021-12-01T04:34:12.561Z] c2d8d7efcc4b: Download complete [2021-12-01T04:34:13.543Z] 448f6bf000e3: Pull complete [2021-12-01T04:34:14.524Z] f757da607395: Pull complete [2021-12-01T04:34:15.976Z] 05883995daec: Pull complete [2021-12-01T04:34:15.976Z] 8603b9c90790: Pull complete [2021-12-01T04:34:16.964Z] 1560dd03e051: Pull complete [2021-12-01T04:34:17.238Z] 27f5ce0e4adf: Pull complete [2021-12-01T04:34:32.324Z] c2d8d7efcc4b: Pull complete [2021-12-01T04:34:32.324Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-01T04:34:32.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T04:34:32.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-01T04:34:32.561Z] prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container [2021-12-01T04:34:32.640Z] $ 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-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-01T04:34:35.500Z] $ docker top c3082182448f044dc28ac5b7d90ec1383935b2f85ebe9d894f549c76e435376f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:34:36.437Z] ---> job-cost.sh [2021-12-01T04:34:36.437Z] lf-activate-venv: SKIPPING [2021-12-01T04:34:36.437Z] INFO: No Stack... [2021-12-01T04:34:36.712Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-01T04:34:37.310Z] INFO: Archiving Costs [Pipeline] sh [2021-12-01T04:34:37.977Z] + cut -d, -f6 [2021-12-01T04:34:37.977Z] + cat /w/workspace/device-rest-go/21/archives/cost.csv [Pipeline] lock [2021-12-01T04:34:38.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [2021-12-01T04:34:38.049Z] Resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] did not exist. Created. [2021-12-01T04:34:38.049Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-01T04:34:38.724Z] /w/workspace/device-rest-go/21@tmp/durable-2d3f85a3/script.sh: 1: /w/workspace/device-rest-go/21@tmp/durable-2d3f85a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-01T04:34:39.404Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-01T04:34:39.432Z] Warning: overwriting stash ‘stack-cost’ [2021-12-01T04:34:39.479Z] Stashed 1 file(s) [Pipeline] } [2021-12-01T04:34:39.486Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-01T04:34:39.496Z] $ docker stop --time=1 c3082182448f044dc28ac5b7d90ec1383935b2f85ebe9d894f549c76e435376f [2021-12-01T04:34:41.002Z] $ docker rm -f c3082182448f044dc28ac5b7d90ec1383935b2f85ebe9d894f549c76e435376f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-12-01T04:34:41.608Z] provisioning config files... [2021-12-01T04:34:41.619Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3453747460261130257tmp [Pipeline] { [Pipeline] sh [2021-12-01T04:34:41.934Z] + set +x [2021-12-01T04:34:41.934Z] + curl -s https://codecov.io/bash [2021-12-01T04:34:41.934Z] + bash -s -- [2021-12-01T04:34:41.934Z] [2021-12-01T04:34:41.934Z] _____ _ [2021-12-01T04:34:41.934Z] / ____| | | [2021-12-01T04:34:41.934Z] | | ___ __| | ___ ___ _____ __ [2021-12-01T04:34:41.934Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-01T04:34:41.934Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-01T04:34:41.934Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-01T04:34:41.934Z] Bash-1.0.6 [2021-12-01T04:34:41.934Z] [2021-12-01T04:34:41.934Z] [2021-12-01T04:34:41.934Z] ==> git version 2.24.4 found [2021-12-01T04:34:41.935Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-12-01T04:34:41.935Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-01T04:34:41.935Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-01T04:34:41.935Z] ==> Jenkins CI detected. [2021-12-01T04:34:41.935Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-12-01T04:34:41.935Z] project root: . [2021-12-01T04:34:41.935Z] --> token set from env [2021-12-01T04:34:41.935Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-01T04:34:41.935Z] ==> Running gcov in . (disable via -X gcov) [2021-12-01T04:34:41.935Z] ==> Python coveragepy not found [2021-12-01T04:34:41.935Z] ==> Searching for coverage reports in: [2021-12-01T04:34:41.935Z] + . [2021-12-01T04:34:41.935Z] -> Found 1 reports [2021-12-01T04:34:41.935Z] ==> Detecting git/mercurial file structure [2021-12-01T04:34:42.199Z] ==> Reading reports [2021-12-01T04:34:42.199Z] + ./coverage.out bytes=9215 [2021-12-01T04:34:42.199Z] ==> Appending adjustments [2021-12-01T04:34:42.199Z] https://docs.codecov.io/docs/fixing-reports [2021-12-01T04:34:42.199Z] + Found adjustments [2021-12-01T04:34:42.199Z] ==> Gzipping contents [2021-12-01T04:34:42.199Z] 4.0K /tmp/codecov.ulXBjK.gz [2021-12-01T04:34:42.199Z] ==> Uploading reports [2021-12-01T04:34:42.199Z] url: https://codecov.io [2021-12-01T04:34:42.199Z] query: branch=main&commit=8f9dabbcd23e32bae175015e2a15c1f428ed019f&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-01T04:34:42.199Z] -> Pinging Codecov [2021-12-01T04:34:42.199Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=8f9dabbcd23e32bae175015e2a15c1f428ed019f&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-01T04:34:42.462Z] -> Uploading to [2021-12-01T04:34:42.462Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-01/4E5D53B4F1F92C436F7061BF334D961C/8f9dabbcd23e32bae175015e2a15c1f428ed019f/922b1804-4b01-42ae-8520-4ed2d7bb9d67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211201T043442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a481c55095d87d29690da5e8807631e4f9ea8cef4a168fa7a8ff2ef4f380b11a [2021-12-01T04:34:42.462Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-01T04:34:42.462Z] Dload Upload Total Spent Left Speed [2021-12-01T04:34:42.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5968 --:--:-- --:--:-- --:--:-- 5976 [2021-12-01T04:34:42.726Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] } [2021-12-01T04:34:42.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-01T04:34:42.901Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-01T04:34:42.913Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:43.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-01T04:34:43.215Z] [2021-12-01T04:34:43.215Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:34:43.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-01T04:34:43.517Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-01T04:34:43.517Z] 188c0c94c7c5: Pulling fs layer [2021-12-01T04:34:43.517Z] 0ef7d3d256c8: Pulling fs layer [2021-12-01T04:34:43.517Z] de9db76c5a1d: Pulling fs layer [2021-12-01T04:34:43.517Z] 0eba1c9be4d2: Pulling fs layer [2021-12-01T04:34:43.517Z] 0d57e429df01: Pulling fs layer [2021-12-01T04:34:43.517Z] 4e4be7b47b0d: Pulling fs layer [2021-12-01T04:34:43.517Z] e1f770b5df2f: Pulling fs layer [2021-12-01T04:34:43.517Z] 85a0685a4137: Pulling fs layer [2021-12-01T04:34:43.517Z] 0eba1c9be4d2: Waiting [2021-12-01T04:34:43.517Z] 0d57e429df01: Waiting [2021-12-01T04:34:43.517Z] 85a0685a4137: Waiting [2021-12-01T04:34:43.517Z] 4e4be7b47b0d: Waiting [2021-12-01T04:34:43.517Z] e1f770b5df2f: Waiting [2021-12-01T04:34:43.517Z] de9db76c5a1d: Download complete [2021-12-01T04:34:43.517Z] 0ef7d3d256c8: Verifying Checksum [2021-12-01T04:34:43.517Z] 0ef7d3d256c8: Download complete [2021-12-01T04:34:43.517Z] 0d57e429df01: Verifying Checksum [2021-12-01T04:34:43.517Z] 0d57e429df01: Download complete [2021-12-01T04:34:43.517Z] 188c0c94c7c5: Verifying Checksum [2021-12-01T04:34:43.517Z] 188c0c94c7c5: Download complete [2021-12-01T04:34:43.517Z] 4e4be7b47b0d: Verifying Checksum [2021-12-01T04:34:43.517Z] 4e4be7b47b0d: Download complete [2021-12-01T04:34:43.789Z] e1f770b5df2f: Verifying Checksum [2021-12-01T04:34:43.789Z] e1f770b5df2f: Download complete [2021-12-01T04:34:44.057Z] 0eba1c9be4d2: Verifying Checksum [2021-12-01T04:34:44.057Z] 0eba1c9be4d2: Download complete [2021-12-01T04:34:44.320Z] 188c0c94c7c5: Pull complete [2021-12-01T04:34:44.320Z] 85a0685a4137: Verifying Checksum [2021-12-01T04:34:44.320Z] 85a0685a4137: Download complete [2021-12-01T04:34:44.320Z] 0ef7d3d256c8: Pull complete [2021-12-01T04:34:44.588Z] de9db76c5a1d: Pull complete [2021-12-01T04:34:48.873Z] 0eba1c9be4d2: Pull complete [2021-12-01T04:34:48.873Z] 0d57e429df01: Pull complete [2021-12-01T04:34:48.873Z] 4e4be7b47b0d: Pull complete [2021-12-01T04:34:48.873Z] e1f770b5df2f: Pull complete [2021-12-01T04:34:53.147Z] 85a0685a4137: Pull complete [2021-12-01T04:34:53.147Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-01T04:34:53.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-01T04:34:53.147Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-01T04:34:53.212Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-12-01T04:34:53.254Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-01T04:34:55.215Z] $ docker top 23bc953af755a5b9a9c0037ea4152d8eb4a6fd58f4699f5b5b2893211571bf62 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-01T04:34:55.291Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-01T04:34:55.571Z] + set -o pipefail [2021-12-01T04:34:55.571Z] + snyk monitor '--org=edgex-jenkins' [2021-12-01T04:35:00.867Z] [2021-12-01T04:35:00.867Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-12-01T04:35:00.867Z] [2021-12-01T04:35:00.867Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/3dba02d1-9b17-40a5-8b0d-b4b71c98f3c9 [2021-12-01T04:35:00.867Z] [2021-12-01T04:35:00.867Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-01T04:35:00.867Z] [2021-12-01T04:35:00.867Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-01T04:35:00.867Z] [2021-12-01T04:35:00.867Z] [Pipeline] } [2021-12-01T04:35:00.876Z] $ docker stop --time=1 23bc953af755a5b9a9c0037ea4152d8eb4a6fd58f4699f5b5b2893211571bf62 [2021-12-01T04:35:02.853Z] $ docker rm -f 23bc953af755a5b9a9c0037ea4152d8eb4a6fd58f4699f5b5b2893211571bf62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-01T04:35:03.723Z] + git log --format=format:%s -1 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] sh [2021-12-01T04:35:04.014Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T04:35:04.014Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:35:04.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T04:35:04.308Z] . [Pipeline] withDockerContainer [2021-12-01T04:35:04.379Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-12-01T04:35:04.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T04:35:04.770Z] $ docker top 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T04:35:04.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T04:35:04.861Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T04:35:04.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T04:35:04.965Z] $ docker exec 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 ssh-agent [2021-12-01T04:35:05.059Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJMOmKK/agent.13 [2021-12-01T04:35:05.059Z] SSH_AGENT_PID=20 [2021-12-01T04:35:05.064Z] Running ssh-add (command line suppressed) [2021-12-01T04:35:05.145Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8528564264898943943.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8528564264898943943.key) [2021-12-01T04:35:05.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T04:35:05.456Z] + git semver tag [2021-12-01T04:35:05.456Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T04:35:05.456Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-01T04:35:05.456Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-01T04:35:05.456Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T04:35:05.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T04:35:05.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T04:35:05.456Z] # $SEMVER_BRANCH = main [2021-12-01T04:35:05.456Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-12-01T04:35:05.456Z] # 8f9dabbcd23e32bae175015e2a15c1f428ed019f HEAD [2021-12-01T04:35:05.456Z] # -> Force: false [2021-12-01T04:35:05.456Z] # 52d27dbb9421d37d36ba5647ebd07514382b6205 refs/tags/v2.2.0-dev.1 [Pipeline] } [2021-12-01T04:35:05.467Z] $ docker exec --env ******** --env ******** 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 ssh-agent -k [2021-12-01T04:35:05.560Z] unset SSH_AUTH_SOCK; [2021-12-01T04:35:05.560Z] unset SSH_AGENT_PID; [2021-12-01T04:35:05.560Z] echo Agent pid 20 killed; [2021-12-01T04:35:05.571Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T04:35:05.888Z] + git semver [Pipeline] } [2021-12-01T04:35:05.902Z] $ docker stop --time=1 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 [2021-12-01T04:35:07.081Z] $ docker rm -f 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:35:07.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-01T04:35:07.469Z] [2021-12-01T04:35:07.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:35:07.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-01T04:35:07.779Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-01T04:35:07.779Z] ab5ef0e58194: Pulling fs layer [2021-12-01T04:35:07.779Z] 9712f1f96733: Pulling fs layer [2021-12-01T04:35:07.779Z] 63f879dbbcfc: Pulling fs layer [2021-12-01T04:35:07.779Z] 0d9ebad4ef96: Pulling fs layer [2021-12-01T04:35:07.779Z] e9a5061849ea: Pulling fs layer [2021-12-01T04:35:07.779Z] d747dcd14b5f: Pulling fs layer [2021-12-01T04:35:07.779Z] 2de7ff778b66: Pulling fs layer [2021-12-01T04:35:07.779Z] e9a5061849ea: Waiting [2021-12-01T04:35:07.779Z] d747dcd14b5f: Waiting [2021-12-01T04:35:07.779Z] 2de7ff778b66: Waiting [2021-12-01T04:35:07.779Z] 0d9ebad4ef96: Waiting [2021-12-01T04:35:07.779Z] 9712f1f96733: Download complete [2021-12-01T04:35:08.044Z] 63f879dbbcfc: Verifying Checksum [2021-12-01T04:35:08.044Z] 63f879dbbcfc: Download complete [2021-12-01T04:35:08.044Z] 0d9ebad4ef96: Verifying Checksum [2021-12-01T04:35:08.044Z] 0d9ebad4ef96: Download complete [2021-12-01T04:35:08.044Z] d747dcd14b5f: Verifying Checksum [2021-12-01T04:35:08.044Z] d747dcd14b5f: Download complete [2021-12-01T04:35:08.318Z] e9a5061849ea: Verifying Checksum [2021-12-01T04:35:08.318Z] e9a5061849ea: Download complete [2021-12-01T04:35:08.318Z] 2de7ff778b66: Verifying Checksum [2021-12-01T04:35:08.318Z] 2de7ff778b66: Download complete [2021-12-01T04:35:08.318Z] ab5ef0e58194: Verifying Checksum [2021-12-01T04:35:08.318Z] ab5ef0e58194: Download complete [2021-12-01T04:35:11.663Z] ab5ef0e58194: Pull complete [2021-12-01T04:35:11.663Z] 9712f1f96733: Pull complete [2021-12-01T04:35:11.926Z] 63f879dbbcfc: Pull complete [2021-12-01T04:35:16.163Z] 0d9ebad4ef96: Pull complete [2021-12-01T04:35:16.427Z] e9a5061849ea: Pull complete [2021-12-01T04:35:16.427Z] d747dcd14b5f: Pull complete [2021-12-01T04:35:17.825Z] 2de7ff778b66: Pull complete [2021-12-01T04:35:17.825Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-01T04:35:17.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-01T04:35:17.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-01T04:35:17.895Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-12-01T04:35:17.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-01T04:35:21.296Z] $ docker top 501466c73384d16751792799bbb63900f18cfeaba7e621d5d373d34bcf94c45a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-01T04:35:21.384Z] provisioning config files... [2021-12-01T04:35:21.395Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8015148057165876854tmp [2021-12-01T04:35:21.407Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config324720918666287795tmp [2021-12-01T04:35:21.417Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2221780814928040011tmp [Pipeline] { [Pipeline] echo [2021-12-01T04:35:21.434Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:21.727Z] ---> sigul-configuration.sh [2021-12-01T04:35:21.727Z] gpg: directory `/root/.gnupg' created [2021-12-01T04:35:21.727Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-01T04:35:21.727Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-01T04:35:21.727Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-01T04:35:21.727Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-01T04:35:21.727Z] gpg: CAST5 encrypted data [2021-12-01T04:35:21.727Z] gpg: encrypted with 1 passphrase [2021-12-01T04:35:21.727Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-01T04:35:22.019Z] + mkdir /home/jenkins [2021-12-01T04:35:22.019Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-01T04:35:22.319Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-12-01T04:35:22.328Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:22.619Z] ---> sigul-install.sh [2021-12-01T04:35:22.619Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-01T04:35:22.909Z] + git tag --list [2021-12-01T04:35:22.909Z] v1.0.0 [2021-12-01T04:35:22.909Z] v1.1.0 [2021-12-01T04:35:22.909Z] v1.1.1 [2021-12-01T04:35:22.909Z] v1.1.2 [2021-12-01T04:35:22.909Z] v1.2.0 [2021-12-01T04:35:22.909Z] v1.2.1 [2021-12-01T04:35:22.909Z] v2.0.0 [2021-12-01T04:35:22.909Z] v2.0.1-dev.1 [2021-12-01T04:35:22.909Z] v2.0.1-dev.10 [2021-12-01T04:35:22.909Z] v2.0.1-dev.11 [2021-12-01T04:35:22.909Z] v2.0.1-dev.12 [2021-12-01T04:35:22.909Z] v2.0.1-dev.13 [2021-12-01T04:35:22.909Z] v2.0.1-dev.14 [2021-12-01T04:35:22.909Z] v2.0.1-dev.2 [2021-12-01T04:35:22.909Z] v2.0.1-dev.3 [2021-12-01T04:35:22.909Z] v2.0.1-dev.4 [2021-12-01T04:35:22.909Z] v2.0.1-dev.5 [2021-12-01T04:35:22.909Z] v2.0.1-dev.6 [2021-12-01T04:35:22.909Z] v2.0.1-dev.7 [2021-12-01T04:35:22.909Z] v2.0.1-dev.8 [2021-12-01T04:35:22.909Z] v2.0.1-dev.9 [2021-12-01T04:35:22.909Z] v2.1.0 [2021-12-01T04:35:22.909Z] v2.2.0-dev.1 [Pipeline] sh [2021-12-01T04:35:23.200Z] + lftools sign git-tag v2.2.0-dev.1 [2021-12-01T04:35:23.775Z] Signing Git tag with Sigul... [2021-12-01T04:35:23.775Z] Signing v2.2.0-dev.1 [Pipeline] echo [2021-12-01T04:35:24.730Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:25.036Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-01T04:35:25.045Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-01T04:35:25.069Z] $ docker stop --time=1 501466c73384d16751792799bbb63900f18cfeaba7e621d5d373d34bcf94c45a [2021-12-01T04:35:26.291Z] $ docker rm -f 501466c73384d16751792799bbb63900f18cfeaba7e621d5d373d34bcf94c45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-01T04:35:26.896Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T04:35:26.896Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:35:27.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T04:35:27.209Z] . [Pipeline] withDockerContainer [2021-12-01T04:35:27.280Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-12-01T04:35:27.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T04:35:27.686Z] $ docker top e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T04:35:27.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T04:35:27.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T04:35:27.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T04:35:27.884Z] $ docker exec e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 ssh-agent [2021-12-01T04:35:27.986Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEDkiKp/agent.13 [2021-12-01T04:35:27.986Z] SSH_AGENT_PID=20 [2021-12-01T04:35:28.031Z] Running ssh-add (command line suppressed) [2021-12-01T04:35:28.162Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7252796420741517403.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7252796420741517403.key) [2021-12-01T04:35:28.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T04:35:28.673Z] + git semver bump pre [2021-12-01T04:35:28.673Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T04:35:28.673Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-01T04:35:28.673Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-01T04:35:28.673Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T04:35:28.673Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T04:35:28.673Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T04:35:28.673Z] # $SEMVER_BRANCH = main [2021-12-01T04:35:28.673Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-12-01T04:35:28.673Z] 2.2.0-dev.2 [Pipeline] } [2021-12-01T04:35:28.723Z] $ docker exec --env ******** --env ******** e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 ssh-agent -k [2021-12-01T04:35:28.808Z] unset SSH_AUTH_SOCK; [2021-12-01T04:35:28.808Z] unset SSH_AGENT_PID; [2021-12-01T04:35:28.808Z] echo Agent pid 20 killed; [2021-12-01T04:35:28.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T04:35:29.137Z] + git semver [Pipeline] } [2021-12-01T04:35:29.149Z] $ docker stop --time=1 e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 [2021-12-01T04:35:30.347Z] $ docker rm -f e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T04:35:30.702Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T04:35:30.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:35:31.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T04:35:31.003Z] . [Pipeline] withDockerContainer [2021-12-01T04:35:31.082Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-12-01T04:35:31.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T04:35:31.509Z] $ docker top aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T04:35:31.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T04:35:31.604Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T04:35:31.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T04:35:31.709Z] $ docker exec aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 ssh-agent [2021-12-01T04:35:31.809Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjDhaPh/agent.13 [2021-12-01T04:35:31.809Z] SSH_AGENT_PID=19 [2021-12-01T04:35:31.813Z] Running ssh-add (command line suppressed) [2021-12-01T04:35:31.902Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1338279953041107164.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1338279953041107164.key) [2021-12-01T04:35:31.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T04:35:32.209Z] + git semver push [2021-12-01T04:35:32.209Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T04:35:32.209Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-01T04:35:32.209Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-01T04:35:32.209Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T04:35:32.209Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T04:35:32.209Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T04:35:32.209Z] # $SEMVER_BRANCH = main [2021-12-01T04:35:32.209Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-12-01T04:35:34.150Z] $ docker exec --env ******** --env ******** aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 ssh-agent -k [2021-12-01T04:35:34.234Z] unset SSH_AUTH_SOCK; [2021-12-01T04:35:34.234Z] unset SSH_AGENT_PID; [2021-12-01T04:35:34.234Z] echo Agent pid 19 killed; [2021-12-01T04:35:34.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T04:35:34.558Z] + git semver [Pipeline] } [2021-12-01T04:35:34.570Z] $ docker stop --time=1 aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 [2021-12-01T04:35:35.763Z] $ docker rm -f aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-01T04:35:36.701Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:37.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:37.557Z] ---> package-listing.sh [2021-12-01T04:35:37.557Z] ++ facter osfamily [2021-12-01T04:35:37.557Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-01T04:35:37.817Z] + OS_FAMILY=redhat [2021-12-01T04:35:37.817Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-12-01T04:35:37.817Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-01T04:35:37.817Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-01T04:35:37.817Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-01T04:35:37.817Z] + PACKAGES=/tmp/packages_start.txt [2021-12-01T04:35:37.817Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-12-01T04:35:37.817Z] + PACKAGES=/tmp/packages_end.txt [2021-12-01T04:35:37.817Z] + case "${OS_FAMILY}" in [2021-12-01T04:35:37.817Z] + rpm -qa [2021-12-01T04:35:37.817Z] + sort [2021-12-01T04:35:38.391Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-01T04:35:38.391Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-01T04:35:38.391Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-01T04:35:38.391Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-12-01T04:35:38.391Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-12-01T04:35:38.391Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-12-01T04:35:38.403Z] 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-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-01T04:35:38.683Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:35:39.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T04:35:39.243Z] [2021-12-01T04:35:39.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T04:35:39.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T04:35:39.550Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-01T04:35:39.550Z] b4d181a07f80: Pulling fs layer [2021-12-01T04:35:39.550Z] a1111a8f2ec3: Pulling fs layer [2021-12-01T04:35:39.550Z] ed53099fbce6: Pulling fs layer [2021-12-01T04:35:39.550Z] dc539afda2c1: Pulling fs layer [2021-12-01T04:35:39.550Z] 77bc0d833cb6: Pulling fs layer [2021-12-01T04:35:39.550Z] 9065ff56babe: Pulling fs layer [2021-12-01T04:35:39.550Z] d287ab97295c: Pulling fs layer [2021-12-01T04:35:39.550Z] dc539afda2c1: Waiting [2021-12-01T04:35:39.550Z] 77bc0d833cb6: Waiting [2021-12-01T04:35:39.550Z] 9065ff56babe: Waiting [2021-12-01T04:35:39.550Z] d287ab97295c: Waiting [2021-12-01T04:35:39.550Z] a1111a8f2ec3: Verifying Checksum [2021-12-01T04:35:39.550Z] a1111a8f2ec3: Download complete [2021-12-01T04:35:39.550Z] dc539afda2c1: Verifying Checksum [2021-12-01T04:35:39.550Z] dc539afda2c1: Download complete [2021-12-01T04:35:39.550Z] ed53099fbce6: Verifying Checksum [2021-12-01T04:35:39.550Z] ed53099fbce6: Download complete [2021-12-01T04:35:39.550Z] 9065ff56babe: Verifying Checksum [2021-12-01T04:35:39.550Z] 9065ff56babe: Download complete [2021-12-01T04:35:39.811Z] 77bc0d833cb6: Verifying Checksum [2021-12-01T04:35:39.811Z] 77bc0d833cb6: Download complete [2021-12-01T04:35:39.811Z] b4d181a07f80: Verifying Checksum [2021-12-01T04:35:39.811Z] b4d181a07f80: Download complete [2021-12-01T04:35:40.379Z] d287ab97295c: Verifying Checksum [2021-12-01T04:35:40.379Z] d287ab97295c: Download complete [2021-12-01T04:35:41.321Z] b4d181a07f80: Pull complete [2021-12-01T04:35:41.584Z] a1111a8f2ec3: Pull complete [2021-12-01T04:35:42.160Z] ed53099fbce6: Pull complete [2021-12-01T04:35:42.160Z] dc539afda2c1: Pull complete [2021-12-01T04:35:42.436Z] 77bc0d833cb6: Pull complete [2021-12-01T04:35:42.436Z] 9065ff56babe: Pull complete [2021-12-01T04:35:47.766Z] d287ab97295c: Pull complete [2021-12-01T04:35:47.766Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-01T04:35:47.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T04:35:47.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-01T04:35:47.832Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-12-01T04:35:47.869Z] $ 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-rest-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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 [2021-12-01T04:35:50.076Z] $ docker top f1c8f6188c8b1c65a18301d6159f9165034861a66b9e83c884ac3a9e838c83de -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T04:35:50.431Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-01T04:35:50.722Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-01T04:35:51.014Z] + ls /var/log/sa-host [2021-12-01T04:35:51.014Z] + sadf -c /var/log/sa-host/sa01 [2021-12-01T04:35:51.014Z] file_magic: OK [2021-12-01T04:35:51.014Z] HZ: Using current value: 100 [2021-12-01T04:35:51.014Z] file_header: OK [2021-12-01T04:35:51.014Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-01T04:35:51.014Z] Statistics: [2021-12-01T04:35:51.014Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-01T04:35:51.014Z] File successfully converted to sysstat format version 12.0.3 [2021-12-01T04:35:51.014Z] + sadf -c /var/log/sa-host/sa17 [2021-12-01T04:35:51.014Z] file_magic: OK [2021-12-01T04:35:51.014Z] HZ: Using current value: 100 [2021-12-01T04:35:51.014Z] file_header: OK [2021-12-01T04:35:51.014Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-01T04:35:51.014Z] Statistics: [2021-12-01T04:35:51.014Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-01T04:35:51.014Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T04:35:51.089Z] provisioning config files... [2021-12-01T04:35:51.099Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1428162193720540432tmp [Pipeline] { [Pipeline] echo [2021-12-01T04:35:51.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:51.401Z] ---> create-netrc.sh [Pipeline] } [2021-12-01T04:35:51.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:51.742Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-01T04:35:51.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:52.048Z] ---> sudo-logs.sh [2021-12-01T04:35:52.049Z] Archiving 'sudo' log.. [2021-12-01T04:35:52.620Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30.novalocal: Name or service not known [2021-12-01T04:35:52.620Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-01T04:35:52.650Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:52.939Z] ---> job-cost.sh [2021-12-01T04:35:52.939Z] lf-activate-venv: SKIPPING [2021-12-01T04:35:52.939Z] DEBUG: total: 0.10999999940395355 [2021-12-01T04:35:52.939Z] INFO: Retrieving Stack Cost... [2021-12-01T04:35:53.513Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-01T04:35:53.774Z] INFO: Archiving Costs [Pipeline] echo [2021-12-01T04:35:53.785Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T04:35:54.072Z] ---> logs-deploy.sh [2021-12-01T04:35:54.072Z] lf-activate-venv: SKIPPING [2021-12-01T04:35:54.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/21 [2021-12-01T04:35:54.072Z] INFO: archiving workspace using pattern(s): [2021-12-01T04:35:54.644Z] Archives upload complete. [2021-12-01T04:35:54.908Z] INFO: archiving logs to Nexus