Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e17efc4e40053c7710c451774e80e9bfae25c24 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-ssh5936995707307652972.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4354261793143087868.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh6656079407065936243.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2951945664013474642.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-ssh1733499664604069397.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2100 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-ssh3523915636250043679.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 7e17efc4e40053c7710c451774e80e9bfae25c24 (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 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 Commit message: "Merge pull request #152 from ernestojeda/go-1_17-dockerfile-changes" > git rev-list --no-walk 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T20:50:25.591Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T20:50:25.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T20:50:25.653Z] ========================================================= [2022-01-19T20:50:25.653Z] EdgeX Global Pipelines Version Info [2022-01-19T20:50:25.653Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:50:26.805Z] ------------------- [2022-01-19T20:50:26.805Z] stable info: [2022-01-19T20:50:26.805Z] ------------------- [2022-01-19T20:50:26.805Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T20:50:26.805Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T20:50:26.805Z] Message: update stable to v1.0.219 [2022-01-19T20:50:27.380Z] ------------------- [2022-01-19T20:50:27.380Z] experimental info: [2022-01-19T20:50:27.380Z] ------------------- [2022-01-19T20:50:27.380Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T20:50:27.380Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T20:50:27.380Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T20:50:27.529Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-01-19T20:50:27.539Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-01-19T20:50:27.549Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T20:50:27.559Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T20:50:27.568Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T20:50:27.577Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T20:50:27.587Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T20:50:27.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T20:50:27.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T20:50:27.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T20:50:27.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T20:50:27.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-01-19T20:50:27.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T20:50:27.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T20:50:27.663Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T20:50:27.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T20:50:27.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T20:50:27.692Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T20:50:27.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T20:50:27.711Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-19T20:50:27.721Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T20:50:27.733Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T20:50:27.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T20:50:27.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T20:50:27.773Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T20:50:27.783Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T20:50:27.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-19T20:50:27.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-19T20:50:27.812Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-19T20:50:27.822Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo [2022-01-19T20:50:27.831Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e17efc [Pipeline] echo [2022-01-19T20:50:27.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:50:27.892Z] provisioning config files... [2022-01-19T20:50:27.903Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5802059839432564248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:50:28.208Z] ---> docker-login.sh [2022-01-19T20:50:28.208Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:50:28.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:28.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:28.473Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:28.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:28.473Z] [2022-01-19T20:50:28.473Z] Login Succeeded [2022-01-19T20:50:28.473Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:50:28.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:28.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:28.473Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:28.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:28.473Z] [2022-01-19T20:50:28.473Z] Login Succeeded [2022-01-19T20:50:28.473Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:50:28.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:28.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:28.734Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:28.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:28.734Z] [2022-01-19T20:50:28.734Z] Login Succeeded [2022-01-19T20:50:28.734Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:50:28.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:28.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:28.734Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:28.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:28.734Z] [2022-01-19T20:50:28.734Z] Login Succeeded [2022-01-19T20:50:28.734Z] docker.io [2022-01-19T20:50:28.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:29.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:29.306Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:29.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:29.306Z] [2022-01-19T20:50:29.306Z] Login Succeeded [2022-01-19T20:50:29.306Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:50:29.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T20:50:29.703Z] + git rev-list -1 --merges 7e17efc4e40053c7710c451774e80e9bfae25c24~1..7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo [2022-01-19T20:50:29.730Z] -----------> git rev-list -1 --merges 7e17efc4e40053c7710c451774e80e9bfae25c24~1..7e17efc4e40053c7710c451774e80e9bfae25c24 7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:50:29.730Z] 7e17efc4e40053c7710c451774e80e9bfae25c24 [false] [Pipeline] sh [2022-01-19T20:50:30.046Z] + git log --format=format:%s -1 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo [2022-01-19T20:50:30.061Z] ========================================================= [2022-01-19T20:50:30.061Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T20:50:30.061Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:50:30.415Z] + git log --format=format:%s -1 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo [2022-01-19T20:50:30.430Z] [semverPrep] GIT_COMMIT: 7e17efc4e40053c7710c451774e80e9bfae25c24, Commit Message: Merge pull request #152 from ernestojeda/go-1_17-dockerfile-changes [Pipeline] echo [2022-01-19T20:50:30.440Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T20:50:30.870Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:50:30.870Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T20:50:30.870Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T20:50:30.870Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T20:50:30.870Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T20:50:30.870Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T20:50:30.870Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:50:31.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:50:31.288Z] [2022-01-19T20:50:31.288Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:50:31.598Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:50:31.598Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T20:50:31.598Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T20:50:31.598Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T20:50:31.598Z] 4c7163046ea9: Pulling fs layer [2022-01-19T20:50:31.598Z] 0c2d73faf560: Pulling fs layer [2022-01-19T20:50:31.598Z] 0c2d73faf560: Waiting [2022-01-19T20:50:31.598Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T20:50:31.598Z] 3e5f54012d9b: Download complete [2022-01-19T20:50:31.598Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T20:50:31.598Z] a0d0a0d46f8b: Download complete [2022-01-19T20:50:31.598Z] 0c2d73faf560: Verifying Checksum [2022-01-19T20:50:31.598Z] 0c2d73faf560: Download complete [2022-01-19T20:50:31.598Z] 4c7163046ea9: Verifying Checksum [2022-01-19T20:50:31.598Z] 4c7163046ea9: Download complete [2022-01-19T20:50:31.864Z] a0d0a0d46f8b: Pull complete [2022-01-19T20:50:31.864Z] 3e5f54012d9b: Pull complete [2022-01-19T20:50:32.128Z] 4c7163046ea9: Pull complete [2022-01-19T20:50:32.389Z] 0c2d73faf560: Pull complete [2022-01-19T20:50:32.389Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T20:50:32.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:50:32.389Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T20:50:32.466Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:50:32.504Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:50:33.192Z] $ docker top 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:50:33.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:50:33.295Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:50:33.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:50:33.398Z] $ docker exec 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent [2022-01-19T20:50:33.488Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOPjgBB/agent.13 [2022-01-19T20:50:33.488Z] SSH_AGENT_PID=19 [2022-01-19T20:50:33.495Z] Running ssh-add (command line suppressed) [2022-01-19T20:50:33.578Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7536634261508951512.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7536634261508951512.key) [2022-01-19T20:50:33.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:50:33.883Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T20:50:33.901Z] $ docker exec --env ******** --env ******** 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent -k [2022-01-19T20:50:34.006Z] unset SSH_AUTH_SOCK; [2022-01-19T20:50:34.007Z] unset SSH_AGENT_PID; [2022-01-19T20:50:34.007Z] echo Agent pid 19 killed; [2022-01-19T20:50:34.024Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T20:50:34.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:50:34.055Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:50:34.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:50:34.176Z] $ docker exec 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent [2022-01-19T20:50:34.270Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXchiHpN/agent.51 [2022-01-19T20:50:34.270Z] SSH_AGENT_PID=58 [2022-01-19T20:50:34.274Z] Running ssh-add (command line suppressed) [2022-01-19T20:50:34.362Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3536534447462067675.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3536534447462067675.key) [2022-01-19T20:50:34.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:50:34.670Z] + git semver init [2022-01-19T20:50:34.670Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:50:34.670Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-19T20:50:34.670Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-19T20:50:34.670Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:50:34.670Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:50:34.670Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:50:34.670Z] # $SEMVER_BRANCH = main [2022-01-19T20:50:34.670Z] # $SEMVER_TEMP = /tmp/semver-719341042 [2022-01-19T20:50:34.670Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-01-19T20:50:36.058Z] # '/tmp/semver-719341042' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-01-19T20:50:36.058Z] # -> Force: false [2022-01-19T20:50:36.058Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-01-19T20:50:36.069Z] $ docker exec --env ******** --env ******** 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent -k [2022-01-19T20:50:36.170Z] unset SSH_AUTH_SOCK; [2022-01-19T20:50:36.171Z] unset SSH_AGENT_PID; [2022-01-19T20:50:36.171Z] echo Agent pid 58 killed; [2022-01-19T20:50:36.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:50:36.499Z] + git semver [Pipeline] } [2022-01-19T20:50:36.516Z] $ docker stop --time=1 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 [2022-01-19T20:50:37.856Z] $ docker rm -f 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:50:38.205Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T20:50:38.416Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T20:50:38.419Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:50:38.523Z] provisioning config files... [2022-01-19T20:50:38.533Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4290240713945734064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:50:38.843Z] ---> docker-login.sh [2022-01-19T20:50:38.843Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:50:38.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:38.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:38.843Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:38.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:38.843Z] [2022-01-19T20:50:38.843Z] Login Succeeded [2022-01-19T20:50:38.843Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:50:38.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:38.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:38.843Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:38.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:38.843Z] [2022-01-19T20:50:38.843Z] Login Succeeded [2022-01-19T20:50:38.843Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:50:39.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:39.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:39.102Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:39.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:39.102Z] [2022-01-19T20:50:39.102Z] Login Succeeded [2022-01-19T20:50:39.102Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:50:39.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:39.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:39.102Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:39.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:39.102Z] [2022-01-19T20:50:39.102Z] Login Succeeded [2022-01-19T20:50:39.102Z] docker.io [2022-01-19T20:50:39.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:50:39.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:50:39.676Z] Configure a credential helper to remove this warning. See [2022-01-19T20:50:39.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:50:39.676Z] [2022-01-19T20:50:39.676Z] Login Succeeded [2022-01-19T20:50:39.676Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:50:39.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T20:50:39.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:50:39.769Z] ========================================================= [2022-01-19T20:50:39.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T20:50:39.769Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:50:40.085Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-19T20:50:40.085Z] Sending build context to Docker daemon 10.53MB [2022-01-19T20:50:40.085Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:50:40.085Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T20:50:40.085Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T20:50:40.085Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T20:50:40.085Z] 666ba61612fd: Pulling fs layer [2022-01-19T20:50:40.085Z] 8ed8ca486205: Pulling fs layer [2022-01-19T20:50:40.085Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T20:50:40.085Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T20:50:40.085Z] f965cba54748: Pulling fs layer [2022-01-19T20:50:40.085Z] 861ffc35075e: Pulling fs layer [2022-01-19T20:50:40.085Z] 4b385c91608e: Pulling fs layer [2022-01-19T20:50:40.085Z] 560528eb2ebb: Pulling fs layer [2022-01-19T20:50:40.085Z] 4fe6c5a15a65: Waiting [2022-01-19T20:50:40.085Z] 22a0e8bec74d: Waiting [2022-01-19T20:50:40.085Z] f965cba54748: Waiting [2022-01-19T20:50:40.085Z] 861ffc35075e: Waiting [2022-01-19T20:50:40.085Z] 4b385c91608e: Waiting [2022-01-19T20:50:40.085Z] 560528eb2ebb: Waiting [2022-01-19T20:50:40.351Z] 8ed8ca486205: Verifying Checksum [2022-01-19T20:50:40.351Z] 8ed8ca486205: Download complete [2022-01-19T20:50:40.351Z] 666ba61612fd: Download complete [2022-01-19T20:50:40.351Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T20:50:40.351Z] 22a0e8bec74d: Download complete [2022-01-19T20:50:40.351Z] f965cba54748: Verifying Checksum [2022-01-19T20:50:40.351Z] f965cba54748: Download complete [2022-01-19T20:50:40.351Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T20:50:40.351Z] 59bf1c3509f3: Download complete [2022-01-19T20:50:40.351Z] 861ffc35075e: Verifying Checksum [2022-01-19T20:50:40.351Z] 861ffc35075e: Download complete [2022-01-19T20:50:40.351Z] 4b385c91608e: Verifying Checksum [2022-01-19T20:50:40.351Z] 4b385c91608e: Download complete [2022-01-19T20:50:40.616Z] 59bf1c3509f3: Pull complete [2022-01-19T20:50:40.880Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T20:50:40.880Z] 4fe6c5a15a65: Download complete [2022-01-19T20:50:40.880Z] 560528eb2ebb: Verifying Checksum [2022-01-19T20:50:40.880Z] 560528eb2ebb: Download complete [2022-01-19T20:50:40.880Z] 666ba61612fd: Pull complete [2022-01-19T20:50:41.143Z] 8ed8ca486205: Pull complete [2022-01-19T20:50:45.391Z] 4fe6c5a15a65: Pull complete [2022-01-19T20:50:45.391Z] 22a0e8bec74d: Pull complete [2022-01-19T20:50:45.391Z] f965cba54748: Pull complete [2022-01-19T20:50:45.391Z] 861ffc35075e: Pull complete [2022-01-19T20:50:45.391Z] 4b385c91608e: Pull complete [2022-01-19T20:50:47.968Z] 560528eb2ebb: Pull complete [2022-01-19T20:50:47.968Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T20:50:47.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T20:50:47.968Z] ---> dd4a08f94e63 [2022-01-19T20:50:47.968Z] Step 3/12 : ARG MAKE='make build' [2022-01-19T20:50:52.182Z] ---> Running in 01c7ae9ad6a6 [2022-01-19T20:50:52.182Z] Removing intermediate container 01c7ae9ad6a6 [2022-01-19T20:50:52.182Z] ---> 93f551fec3c4 [2022-01-19T20:50:52.182Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:50:52.182Z] ---> Running in 5c0049c459da [2022-01-19T20:50:52.182Z] Removing intermediate container 5c0049c459da [2022-01-19T20:50:52.182Z] ---> bab2e21cb753 [2022-01-19T20:50:52.182Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:50:52.182Z] ---> Running in 83db7ef09f54 [2022-01-19T20:50:52.182Z] Removing intermediate container 83db7ef09f54 [2022-01-19T20:50:52.182Z] ---> 87abac39a7b4 [2022-01-19T20:50:52.182Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:50:52.182Z] ---> Running in cc04edadd070 [2022-01-19T20:50:52.443Z] Removing intermediate container cc04edadd070 [2022-01-19T20:50:52.443Z] ---> 7d511927b41b [2022-01-19T20:50:52.444Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:50:52.444Z] ---> Running in ffae765c70d4 [2022-01-19T20:50:53.017Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:50:53.493Z] Still waiting to schedule task [2022-01-19T20:50:53.494Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-19T20:50:53.591Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:50:53.852Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T20:50:54.112Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T20:50:54.112Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T20:50:54.372Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T20:50:54.372Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T20:50:54.372Z] OK: 224 MiB in 56 packages [2022-01-19T20:50:54.633Z] Removing intermediate container ffae765c70d4 [2022-01-19T20:50:54.633Z] ---> 21fa00b16511 [2022-01-19T20:50:54.633Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-19T20:50:54.633Z] ---> Running in 8caa9020c2d7 [2022-01-19T20:50:54.893Z] Removing intermediate container 8caa9020c2d7 [2022-01-19T20:50:54.893Z] ---> 6ed00bf6e07e [2022-01-19T20:50:54.893Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-19T20:50:54.893Z] ---> dfa7628a0976 [2022-01-19T20:50:54.893Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:50:54.893Z] ---> Running in 5ce423bb4f63 [2022-01-19T20:51:27.023Z] Removing intermediate container 5ce423bb4f63 [2022-01-19T20:51:27.023Z] ---> 3dad5230ef13 [2022-01-19T20:51:27.023Z] Step 11/12 : COPY . . [2022-01-19T20:51:27.023Z] ---> 1b741561bab7 [2022-01-19T20:51:27.023Z] Step 12/12 : RUN $MAKE [2022-01-19T20:51:27.023Z] ---> Running in 200f34db7add [2022-01-19T20:51:27.023Z] noop [2022-01-19T20:51:27.023Z] Removing intermediate container 200f34db7add [2022-01-19T20:51:27.023Z] ---> 86f8d9cbf396 [2022-01-19T20:51:27.023Z] Successfully built 86f8d9cbf396 [2022-01-19T20:51:27.023Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:51:27.341Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T20:51:27.341Z] . [Pipeline] withDockerContainer [2022-01-19T20:51:27.411Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:51:27.444Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-19T20:51:27.801Z] $ docker top 526f4efad80c8d3c05ee7ac70c904553d7949eb1706bab0413f360185bc475fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:51:28.162Z] + go version [2022-01-19T20:51:28.162Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T20:51:28.173Z] $ docker stop --time=1 526f4efad80c8d3c05ee7ac70c904553d7949eb1706bab0413f360185bc475fa [2022-01-19T20:51:29.364Z] $ docker rm -f 526f4efad80c8d3c05ee7ac70c904553d7949eb1706bab0413f360185bc475fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:51:29.784Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T20:51:29.784Z] . [Pipeline] withDockerContainer [2022-01-19T20:51:29.843Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:51:29.875Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-19T20:51:30.228Z] $ docker top 291a7c29f60f37c8667a470855bb961bc0f7be20142b8c61def502467e401177 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T20:51:30.600Z] + make test [2022-01-19T20:51:30.600Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T20:51:30.862Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-19T20:51:45.827Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-19T20:51:45.827Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2022-01-19T20:51:45.827Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T20:51:51.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T20:51:51.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T20:51:51.145Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T20:51:51.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T20:51:51.173Z] $ docker stop --time=1 291a7c29f60f37c8667a470855bb961bc0f7be20142b8c61def502467e401177 [2022-01-19T20:51:52.632Z] $ docker rm -f 291a7c29f60f37c8667a470855bb961bc0f7be20142b8c61def502467e401177 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:51:53.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T20:51:53.085Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-19T20:51:54.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T20:51:54.365Z] + ls -al . [2022-01-19T20:51:54.365Z] total 148 [2022-01-19T20:51:54.365Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 20:51 . [2022-01-19T20:51:54.365Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 20:50 .. [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 7095 Jan 19 20:50 Attribution.txt [2022-01-19T20:51:54.365Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 19 20:50 bin [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jan 19 20:50 CHANGELOG.md [2022-01-19T20:51:54.365Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 20:50 cmd [2022-01-19T20:51:54.365Z] -rw-r--r--. 1 jenkins jenkins 9215 Jan 19 20:51 coverage.out [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 1672 Jan 19 20:50 Dockerfile [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 19 20:50 .dockerignore [2022-01-19T20:51:54.365Z] drwxrwxr-x. 2 jenkins jenkins 76 Jan 19 20:50 driver [2022-01-19T20:51:54.365Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 20:50 .git [2022-01-19T20:51:54.365Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 20:50 .github [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 19 20:50 .gitignore [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 277 Jan 19 20:50 go.mod [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 49330 Jan 19 20:50 go.sum [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:50 GOVERNANCE.md [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 19 20:50 Jenkinsfile [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 20:50 LICENSE [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 1078 Jan 19 20:50 Makefile [2022-01-19T20:51:54.365Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 19 20:50 OWNERS.md [2022-01-19T20:51:54.366Z] -rw-rw-r--. 1 jenkins jenkins 8246 Jan 19 20:50 README.md [2022-01-19T20:51:54.366Z] drwx------. 3 jenkins jenkins 45 Jan 19 20:50 .semver [2022-01-19T20:51:54.366Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 19 20:50 snap [2022-01-19T20:51:54.366Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 20:50 VERSION [2022-01-19T20:51:54.366Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 19 20:50 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:51:54.676Z] + 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=7e17efc4e40053c7710c451774e80e9bfae25c24 --label arch=amd64 --label version=2.2.0-dev.4 . [2022-01-19T20:51:54.676Z] Sending build context to Docker daemon 10.54MB [2022-01-19T20:51:54.676Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:51:54.676Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-19T20:51:54.676Z] ---> 86f8d9cbf396 [2022-01-19T20:51:54.676Z] Step 3/25 : ARG MAKE='make build' [2022-01-19T20:51:54.676Z] ---> Running in 5adcc2f9aea8 [2022-01-19T20:51:54.939Z] Removing intermediate container 5adcc2f9aea8 [2022-01-19T20:51:54.939Z] ---> a489f298eadc [2022-01-19T20:51:54.939Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:51:54.939Z] ---> Running in 838aaa3c154c [2022-01-19T20:51:54.939Z] Removing intermediate container 838aaa3c154c [2022-01-19T20:51:54.939Z] ---> ac4ab0cb7eb1 [2022-01-19T20:51:54.939Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:51:54.939Z] ---> Running in dd3a11fbc4bf [2022-01-19T20:51:55.202Z] Removing intermediate container dd3a11fbc4bf [2022-01-19T20:51:55.202Z] ---> f0706f6429d2 [2022-01-19T20:51:55.202Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:51:55.202Z] ---> Running in 6b44a003412e [2022-01-19T20:51:55.466Z] Removing intermediate container 6b44a003412e [2022-01-19T20:51:55.466Z] ---> 6bb8b4a0f605 [2022-01-19T20:51:55.466Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:51:55.466Z] ---> Running in 3294e7d1f4cd [2022-01-19T20:51:55.727Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:51:56.674Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:51:56.938Z] OK: 224 MiB in 56 packages [2022-01-19T20:51:57.198Z] Removing intermediate container 3294e7d1f4cd [2022-01-19T20:51:57.198Z] ---> 29d9d70a8afb [2022-01-19T20:51:57.198Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-19T20:51:57.198Z] ---> Running in 499c1a911845 [2022-01-19T20:51:57.198Z] Removing intermediate container 499c1a911845 [2022-01-19T20:51:57.198Z] ---> c6d060bed3bd [2022-01-19T20:51:57.198Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-19T20:51:57.457Z] ---> 8cc84de4a35d [2022-01-19T20:51:57.457Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:51:57.457Z] ---> Running in ea51ffa5b129 [2022-01-19T20:51:58.030Z] Removing intermediate container ea51ffa5b129 [2022-01-19T20:51:58.030Z] ---> ec68b76ecf2b [2022-01-19T20:51:58.030Z] Step 11/25 : COPY . . [2022-01-19T20:51:58.289Z] ---> 17a2e1852225 [2022-01-19T20:51:58.289Z] Step 12/25 : RUN $MAKE [2022-01-19T20:51:58.289Z] ---> Running in c39ce45d371d [2022-01-19T20:51:58.558Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.4" -o cmd/device-rest ./cmd [2022-01-19T20:52:10.877Z] Removing intermediate container c39ce45d371d [2022-01-19T20:52:10.877Z] ---> 4915749beb68 [2022-01-19T20:52:10.877Z] Step 13/25 : FROM alpine:3.14 [2022-01-19T20:52:10.877Z] 3.14: Pulling from library/alpine [2022-01-19T20:52:10.877Z] 97518928ae5f: Pulling fs layer [2022-01-19T20:52:11.138Z] 97518928ae5f: Verifying Checksum [2022-01-19T20:52:11.138Z] 97518928ae5f: Download complete [2022-01-19T20:52:11.398Z] 97518928ae5f: Pull complete [2022-01-19T20:52:11.398Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T20:52:11.398Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T20:52:11.398Z] ---> 0a97eee8041e [2022-01-19T20:52:11.398Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-19T20:52:11.398Z] ---> Running in d8520ecaef7b [2022-01-19T20:52:11.398Z] Removing intermediate container d8520ecaef7b [2022-01-19T20:52:11.398Z] ---> 7ddeec184806 [2022-01-19T20:52:11.398Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-19T20:52:11.398Z] ---> Running in 261253b95504 [2022-01-19T20:52:11.661Z] Removing intermediate container 261253b95504 [2022-01-19T20:52:11.661Z] ---> ee4afcdecdf3 [2022-01-19T20:52:11.661Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T20:52:11.661Z] ---> Running in 5042206484cd [2022-01-19T20:52:11.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-19T20:52:11.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-19T20:52:12.179Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T20:52:12.179Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T20:52:12.179Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T20:52:12.179Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T20:52:12.179Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T20:52:12.179Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T20:52:12.179Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T20:52:12.179Z] OK: 8 MiB in 20 packages [2022-01-19T20:52:12.449Z] Removing intermediate container 5042206484cd [2022-01-19T20:52:12.449Z] ---> 729e7ec95e13 [2022-01-19T20:52:12.449Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-19T20:52:12.713Z] ---> 1f67eee3131f [2022-01-19T20:52:12.713Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-19T20:52:12.976Z] ---> 627fcd7873d9 [2022-01-19T20:52:12.976Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-19T20:52:12.976Z] ---> bb99b7a752e5 [2022-01-19T20:52:12.976Z] Step 20/25 : EXPOSE 59986 [2022-01-19T20:52:13.236Z] ---> Running in 50f7d8d0fab3 [2022-01-19T20:52:13.236Z] Removing intermediate container 50f7d8d0fab3 [2022-01-19T20:52:13.236Z] ---> 5fdda73281cd [2022-01-19T20:52:13.236Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-19T20:52:13.236Z] ---> Running in d9a8ecf9592e [2022-01-19T20:52:13.236Z] Removing intermediate container d9a8ecf9592e [2022-01-19T20:52:13.236Z] ---> 10b382aeba70 [2022-01-19T20:52:13.236Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-19T20:52:13.236Z] ---> Running in aac12ccba328 [2022-01-19T20:52:13.497Z] Removing intermediate container aac12ccba328 [2022-01-19T20:52:13.497Z] ---> 2b8a4b21f729 [2022-01-19T20:52:13.497Z] Step 23/25 : LABEL arch=amd64 [2022-01-19T20:52:13.497Z] ---> Running in c29d70a5233c [2022-01-19T20:52:13.497Z] Removing intermediate container c29d70a5233c [2022-01-19T20:52:13.497Z] ---> 78711ec579bf [2022-01-19T20:52:13.497Z] Step 24/25 : LABEL git_sha=7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:52:13.497Z] ---> Running in 178b562864bd [2022-01-19T20:52:13.497Z] Removing intermediate container 178b562864bd [2022-01-19T20:52:13.497Z] ---> fc826aea95ad [2022-01-19T20:52:13.497Z] Step 25/25 : LABEL version=2.2.0-dev.4 [2022-01-19T20:52:13.758Z] ---> Running in 15a05100d4fe [2022-01-19T20:52:13.758Z] Removing intermediate container 15a05100d4fe [2022-01-19T20:52:13.758Z] ---> 6069489f7610 [2022-01-19T20:52:13.758Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T20:52:13.758Z] Successfully built 6069489f7610 [2022-01-19T20:52:13.758Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:52:13.850Z] provisioning config files... [2022-01-19T20:52:13.858Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1694975977400608608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:52:14.157Z] ---> docker-login.sh [2022-01-19T20:52:14.157Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:52:14.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:14.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:14.157Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:14.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:14.157Z] [2022-01-19T20:52:14.157Z] Login Succeeded [2022-01-19T20:52:14.157Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:52:14.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:14.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:14.157Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:14.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:14.157Z] [2022-01-19T20:52:14.157Z] Login Succeeded [2022-01-19T20:52:14.157Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:52:14.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:14.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:14.423Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:14.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:14.423Z] [2022-01-19T20:52:14.423Z] Login Succeeded [2022-01-19T20:52:14.423Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:52:14.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:14.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:14.423Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:14.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:14.423Z] [2022-01-19T20:52:14.423Z] Login Succeeded [2022-01-19T20:52:14.423Z] docker.io [2022-01-19T20:52:14.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:14.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:14.943Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:14.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:14.943Z] [2022-01-19T20:52:14.943Z] Login Succeeded [2022-01-19T20:52:14.943Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:52:14.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:52:14.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:52:15.006Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-01-19T20:52:15.006Z] 7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:52:15.006Z] latest [2022-01-19T20:52:15.006Z] 2.2.0-dev.4 [2022-01-19T20:52:15.006Z] 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [2022-01-19T20:52:15.006Z] main [2022-01-19T20:52:15.006Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:15.325Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:15.698Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:52:15.698Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-19T20:52:15.698Z] 2b2036e3abdb: Preparing [2022-01-19T20:52:15.698Z] 526ed5dfed46: Preparing [2022-01-19T20:52:15.698Z] fa39e7eba1cc: Preparing [2022-01-19T20:52:15.698Z] 9508a223cc09: Preparing [2022-01-19T20:52:15.698Z] 1a058d5342cc: Preparing [2022-01-19T20:52:15.698Z] 1a058d5342cc: Layer already exists [2022-01-19T20:52:15.698Z] 2b2036e3abdb: Pushed [2022-01-19T20:52:15.958Z] 526ed5dfed46: Pushed [2022-01-19T20:52:15.958Z] 9508a223cc09: Pushed [2022-01-19T20:52:16.899Z] fa39e7eba1cc: Pushed [2022-01-19T20:52:16.899Z] 7e17efc4e40053c7710c451774e80e9bfae25c24: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:17.222Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:17.513Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-01-19T20:52:17.513Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-19T20:52:17.513Z] 2b2036e3abdb: Preparing [2022-01-19T20:52:17.513Z] 526ed5dfed46: Preparing [2022-01-19T20:52:17.513Z] fa39e7eba1cc: Preparing [2022-01-19T20:52:17.513Z] 9508a223cc09: Preparing [2022-01-19T20:52:17.513Z] 1a058d5342cc: Preparing [2022-01-19T20:52:17.513Z] 2b2036e3abdb: Layer already exists [2022-01-19T20:52:17.513Z] fa39e7eba1cc: Layer already exists [2022-01-19T20:52:17.513Z] 1a058d5342cc: Layer already exists [2022-01-19T20:52:17.513Z] 9508a223cc09: Layer already exists [2022-01-19T20:52:17.513Z] 526ed5dfed46: Layer already exists [2022-01-19T20:52:17.513Z] latest: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:17.810Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:18.104Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.4 [2022-01-19T20:52:18.104Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-19T20:52:18.104Z] 2b2036e3abdb: Preparing [2022-01-19T20:52:18.104Z] 526ed5dfed46: Preparing [2022-01-19T20:52:18.104Z] fa39e7eba1cc: Preparing [2022-01-19T20:52:18.104Z] 9508a223cc09: Preparing [2022-01-19T20:52:18.104Z] 1a058d5342cc: Preparing [2022-01-19T20:52:18.104Z] 9508a223cc09: Layer already exists [2022-01-19T20:52:18.104Z] fa39e7eba1cc: Layer already exists [2022-01-19T20:52:18.104Z] 1a058d5342cc: Layer already exists [2022-01-19T20:52:18.104Z] 2b2036e3abdb: Layer already exists [2022-01-19T20:52:18.104Z] 526ed5dfed46: Layer already exists [2022-01-19T20:52:18.104Z] 2.2.0-dev.4: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:18.417Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:18.710Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [2022-01-19T20:52:18.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-19T20:52:18.710Z] 2b2036e3abdb: Preparing [2022-01-19T20:52:18.710Z] 526ed5dfed46: Preparing [2022-01-19T20:52:18.710Z] fa39e7eba1cc: Preparing [2022-01-19T20:52:18.710Z] 9508a223cc09: Preparing [2022-01-19T20:52:18.710Z] 1a058d5342cc: Preparing [2022-01-19T20:52:18.710Z] 2b2036e3abdb: Layer already exists [2022-01-19T20:52:18.710Z] 526ed5dfed46: Layer already exists [2022-01-19T20:52:18.710Z] 9508a223cc09: Layer already exists [2022-01-19T20:52:18.710Z] fa39e7eba1cc: Layer already exists [2022-01-19T20:52:18.710Z] 1a058d5342cc: Layer already exists [2022-01-19T20:52:18.710Z] 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:18.969Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2101 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-01-19T20:52:18.979Z] Running in /w/workspace/device-rest-go/24 [Pipeline] { [Pipeline] checkout [2022-01-19T20:52:19.005Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:19.136Z] The recommended git tool is: git [2022-01-19T20:52:19.301Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-01-19T20:52:19.301Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-19T20:52:19.301Z] 2b2036e3abdb: Preparing [2022-01-19T20:52:19.301Z] 526ed5dfed46: Preparing [2022-01-19T20:52:19.301Z] fa39e7eba1cc: Preparing [2022-01-19T20:52:19.301Z] 9508a223cc09: Preparing [2022-01-19T20:52:19.301Z] 1a058d5342cc: Preparing [2022-01-19T20:52:19.301Z] 2b2036e3abdb: Layer already exists [2022-01-19T20:52:19.301Z] 526ed5dfed46: Layer already exists [2022-01-19T20:52:19.301Z] 1a058d5342cc: Layer already exists [2022-01-19T20:52:19.301Z] fa39e7eba1cc: Layer already exists [2022-01-19T20:52:19.301Z] 9508a223cc09: Layer already exists [2022-01-19T20:52:19.301Z] main: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:52:19.339Z] ===================================================== [Pipeline] echo [2022-01-19T20:52:19.354Z] taggedImages: [2022-01-19T20:52:19.354Z] - nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:52:19.354Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-01-19T20:52:19.354Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.4 [2022-01-19T20:52:19.354Z] - nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [2022-01-19T20:52:19.354Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:19.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:52:19.718Z] [2022-01-19T20:52:19.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:20.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:52:20.015Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T20:52:20.015Z] b4d181a07f80: Pulling fs layer [2022-01-19T20:52:20.015Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T20:52:20.015Z] ed53099fbce6: Pulling fs layer [2022-01-19T20:52:20.015Z] dc539afda2c1: Pulling fs layer [2022-01-19T20:52:20.015Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T20:52:20.015Z] 9065ff56babe: Pulling fs layer [2022-01-19T20:52:20.015Z] d287ab97295c: Pulling fs layer [2022-01-19T20:52:20.015Z] dc539afda2c1: Waiting [2022-01-19T20:52:20.015Z] 77bc0d833cb6: Waiting [2022-01-19T20:52:20.015Z] 9065ff56babe: Waiting [2022-01-19T20:52:20.015Z] d287ab97295c: Waiting [2022-01-19T20:52:20.015Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T20:52:20.015Z] a1111a8f2ec3: Download complete [2022-01-19T20:52:20.015Z] dc539afda2c1: Verifying Checksum [2022-01-19T20:52:20.015Z] dc539afda2c1: Download complete [2022-01-19T20:52:20.015Z] ed53099fbce6: Verifying Checksum [2022-01-19T20:52:20.015Z] ed53099fbce6: Download complete [2022-01-19T20:52:20.278Z] 9065ff56babe: Verifying Checksum [2022-01-19T20:52:20.278Z] 9065ff56babe: Download complete [2022-01-19T20:52:20.278Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T20:52:20.278Z] 77bc0d833cb6: Download complete [2022-01-19T20:52:20.278Z] b4d181a07f80: Verifying Checksum [2022-01-19T20:52:20.278Z] b4d181a07f80: Download complete [2022-01-19T20:52:20.858Z] d287ab97295c: Verifying Checksum [2022-01-19T20:52:20.858Z] d287ab97295c: Download complete [2022-01-19T20:52:21.954Z] b4d181a07f80: Pull complete [2022-01-19T20:52:21.954Z] a1111a8f2ec3: Pull complete [2022-01-19T20:52:22.602Z] ed53099fbce6: Pull complete [2022-01-19T20:52:22.602Z] dc539afda2c1: Pull complete [2022-01-19T20:52:22.938Z] 77bc0d833cb6: Pull complete [2022-01-19T20:52:22.938Z] 9065ff56babe: Pull complete [2022-01-19T20:52:23.704Z] using credential edgex-jenkins-ssh [2022-01-19T20:52:23.737Z] Cloning the remote Git repository [2022-01-19T20:52:23.763Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-19T20:52:23.838Z] > git init /w/workspace/device-rest-go/24 # timeout=10 [2022-01-19T20:52:23.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-19T20:52:23.911Z] > git --version # timeout=10 [2022-01-19T20:52:23.935Z] > git --version # 'git version 2.17.1' [2022-01-19T20:52:23.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T20:52:24.045Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T20:52:25.894Z] Avoid second fetch [2022-01-19T20:52:25.895Z] Checking out Revision 7e17efc4e40053c7710c451774e80e9bfae25c24 (main) [2022-01-19T20:52:25.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-19T20:52:25.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T20:52:25.894Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T20:52:25.906Z] > git checkout -f 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 [2022-01-19T20:52:28.295Z] d287ab97295c: Pull complete [2022-01-19T20:52:28.296Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T20:52:28.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:52:28.296Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T20:52:28.355Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:52:28.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-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 [2022-01-19T20:52:30.111Z] Commit message: "Merge pull request #152 from ernestojeda/go-1_17-dockerfile-changes" [2022-01-19T20:52:30.377Z] [2022-01-19T20:52:30.377Z] GitHub has been notified of this commit’s build result [2022-01-19T20:52:30.377Z] [2022-01-19T20:52:31.243Z] $ docker top 4cb9c81471971dd629ac51b19ef5179596224d9ce5af6da803823ac9d47915c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:52:31.663Z] ---> job-cost.sh [2022-01-19T20:52:31.663Z] lf-activate-venv: SKIPPING [2022-01-19T20:52:31.663Z] INFO: No Stack... [2022-01-19T20:52:31.923Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:52:31.952Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T20:52:31.952Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T20:52:31.952Z] Dload Upload Total Spent Left Speed [2022-01-19T20:52:31.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 74484 0 --:--:-- --:--:-- --:--:-- 74955 [2022-01-19T20:52:32.183Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-01-19T20:52:32.487Z] + cut -d, -f6 [2022-01-19T20:52:32.487Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2022-01-19T20:52:32.504Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [2022-01-19T20:52:32.510Z] Resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] did not exist. Created. [2022-01-19T20:52:32.510Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:52:32.572Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T20:52:32.817Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T20:52:32.846Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:52:32.853Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:52:32.869Z] $ docker stop --time=1 4cb9c81471971dd629ac51b19ef5179596224d9ce5af6da803823ac9d47915c8 [2022-01-19T20:52:32.919Z] + + sudo tee /etc/docker/daemon.new [2022-01-19T20:52:32.919Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T20:52:32.919Z] { [2022-01-19T20:52:32.919Z] "registry-mirrors": [ [2022-01-19T20:52:32.919Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T20:52:32.919Z] ], [2022-01-19T20:52:32.919Z] "bip": "10.250.0.254/24", [2022-01-19T20:52:32.919Z] "hosts": [ [2022-01-19T20:52:32.919Z] "tcp://0.0.0.0:5555", [2022-01-19T20:52:32.919Z] "unix:///var/run/docker.sock" [2022-01-19T20:52:32.919Z] ], [2022-01-19T20:52:32.919Z] "mtu": 1458, [2022-01-19T20:52:32.919Z] "selinux-enabled": true, [2022-01-19T20:52:32.919Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T20:52:32.919Z] } [2022-01-19T20:52:34.015Z] $ docker rm -f 4cb9c81471971dd629ac51b19ef5179596224d9ce5af6da803823ac9d47915c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T20:52:34.386Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T20:52:34.730Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:52:53.040Z] provisioning config files... [2022-01-19T20:52:53.066Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/24@tmp/config7874848726860348725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:52:53.426Z] ---> docker-login.sh [2022-01-19T20:52:53.426Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:52:54.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:54.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:54.031Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:54.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:54.031Z] [2022-01-19T20:52:54.031Z] Login Succeeded [2022-01-19T20:52:54.304Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:52:54.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:54.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:54.576Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:54.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:54.576Z] [2022-01-19T20:52:54.576Z] Login Succeeded [2022-01-19T20:52:54.576Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:52:54.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:54.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:54.851Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:54.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:54.851Z] [2022-01-19T20:52:54.851Z] Login Succeeded [2022-01-19T20:52:54.851Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:52:55.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:55.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:55.451Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:55.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:55.451Z] [2022-01-19T20:52:55.451Z] Login Succeeded [2022-01-19T20:52:55.451Z] docker.io [2022-01-19T20:52:55.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:52:56.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:52:56.005Z] Configure a credential helper to remove this warning. See [2022-01-19T20:52:56.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:52:56.005Z] [2022-01-19T20:52:56.005Z] Login Succeeded [2022-01-19T20:52:56.005Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:52:56.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T20:52:56.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:52:56.495Z] ========================================================= [2022-01-19T20:52:56.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T20:52:56.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:52:56.930Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-19T20:52:56.930Z] Sending build context to Docker daemon 121.9kB [2022-01-19T20:52:57.201Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:52:57.201Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T20:52:57.474Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T20:52:57.474Z] 9b3977197b4f: Pulling fs layer [2022-01-19T20:52:57.474Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T20:52:57.474Z] 94645a83ff95: Pulling fs layer [2022-01-19T20:52:57.474Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T20:52:57.474Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T20:52:57.474Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T20:52:57.474Z] 9a6b49a46696: Pulling fs layer [2022-01-19T20:52:57.474Z] cf05db05a679: Pulling fs layer [2022-01-19T20:52:57.474Z] 4b8299f9d1f4: Waiting [2022-01-19T20:52:57.474Z] 9a6b49a46696: Waiting [2022-01-19T20:52:57.474Z] 3f3a8bcf1eab: Waiting [2022-01-19T20:52:57.474Z] cf05db05a679: Waiting [2022-01-19T20:52:57.474Z] 0c92f367c5e7: Waiting [2022-01-19T20:52:57.474Z] 94645a83ff95: Verifying Checksum [2022-01-19T20:52:57.474Z] 94645a83ff95: Download complete [2022-01-19T20:52:57.474Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T20:52:57.474Z] 1a89e8eeedd5: Download complete [2022-01-19T20:52:57.474Z] 0c92f367c5e7: Download complete [2022-01-19T20:52:57.474Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T20:52:57.474Z] 4b8299f9d1f4: Download complete [2022-01-19T20:52:57.474Z] 9b3977197b4f: Verifying Checksum [2022-01-19T20:52:57.474Z] 9b3977197b4f: Download complete [2022-01-19T20:52:57.474Z] 9a6b49a46696: Download complete [2022-01-19T20:52:58.084Z] 9b3977197b4f: Pull complete [2022-01-19T20:52:58.681Z] 1a89e8eeedd5: Pull complete [2022-01-19T20:52:58.954Z] 94645a83ff95: Pull complete [2022-01-19T20:52:59.229Z] cf05db05a679: Verifying Checksum [2022-01-19T20:52:59.229Z] cf05db05a679: Download complete [2022-01-19T20:52:59.823Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T20:52:59.823Z] 3f3a8bcf1eab: Download complete [2022-01-19T20:53:12.227Z] 3f3a8bcf1eab: Pull complete [2022-01-19T20:53:12.227Z] 0c92f367c5e7: Pull complete [2022-01-19T20:53:12.227Z] 4b8299f9d1f4: Pull complete [2022-01-19T20:53:12.227Z] 9a6b49a46696: Pull complete [2022-01-19T20:53:17.622Z] cf05db05a679: Pull complete [2022-01-19T20:53:17.622Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T20:53:17.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T20:53:17.622Z] ---> 0ccda1f7e2ee [2022-01-19T20:53:17.622Z] Step 3/12 : ARG MAKE='make build' [2022-01-19T20:53:19.598Z] ---> Running in 7d737cb1bf12 [2022-01-19T20:53:19.598Z] Removing intermediate container 7d737cb1bf12 [2022-01-19T20:53:19.598Z] ---> 45534f62997f [2022-01-19T20:53:19.598Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:53:19.873Z] ---> Running in 4686623377e5 [2022-01-19T20:53:20.144Z] Removing intermediate container 4686623377e5 [2022-01-19T20:53:20.144Z] ---> 56dd1d4e5af8 [2022-01-19T20:53:20.144Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:53:20.144Z] ---> Running in e9155cdd3c28 [2022-01-19T20:53:20.739Z] Removing intermediate container e9155cdd3c28 [2022-01-19T20:53:20.739Z] ---> 8aa250cc5d8c [2022-01-19T20:53:20.739Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:53:20.739Z] ---> Running in eef40f08cff0 [2022-01-19T20:53:22.711Z] Removing intermediate container eef40f08cff0 [2022-01-19T20:53:22.711Z] ---> ea2a202744aa [2022-01-19T20:53:22.711Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:53:22.711Z] ---> Running in 15e5348d6bc7 [2022-01-19T20:53:23.304Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:53:24.285Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:53:25.264Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T20:53:25.264Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T20:53:25.264Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T20:53:25.264Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T20:53:25.536Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T20:53:25.536Z] OK: 224 MiB in 56 packages [2022-01-19T20:53:26.511Z] Removing intermediate container 15e5348d6bc7 [2022-01-19T20:53:26.511Z] ---> 57b4c9e9082b [2022-01-19T20:53:26.511Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-19T20:53:26.511Z] ---> Running in e120f7694379 [2022-01-19T20:53:26.784Z] Removing intermediate container e120f7694379 [2022-01-19T20:53:26.784Z] ---> 8a573b506f5d [2022-01-19T20:53:26.784Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-19T20:53:27.375Z] ---> 52a58ddfb5d1 [2022-01-19T20:53:27.375Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:53:27.653Z] ---> Running in bff250f692ed [2022-01-19T20:54:35.696Z] Removing intermediate container bff250f692ed [2022-01-19T20:54:35.696Z] ---> 068617c0b3cd [2022-01-19T20:54:35.696Z] Step 11/12 : COPY . . [2022-01-19T20:54:35.969Z] ---> 3bcedc817ea8 [2022-01-19T20:54:35.969Z] Step 12/12 : RUN $MAKE [2022-01-19T20:54:35.969Z] ---> Running in 8a103e5b9a7e [2022-01-19T20:54:36.946Z] noop [2022-01-19T20:54:37.540Z] Removing intermediate container 8a103e5b9a7e [2022-01-19T20:54:37.540Z] ---> ffcb73a8c86a [2022-01-19T20:54:37.540Z] Successfully built ffcb73a8c86a [2022-01-19T20:54:37.540Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:54:38.173Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T20:54:38.174Z] . [Pipeline] withDockerContainer [2022-01-19T20:54:38.398Z] prd-ubuntu18.04-docker-arm64-4c-16g-2101 does not seem to be running inside a container [2022-01-19T20:54:38.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T20:54:39.826Z] $ docker top 0a367575dc939071e9f5971afb20876528636846a0f12b1acfc57f2750c879e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:54:40.711Z] + go version [2022-01-19T20:54:40.711Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T20:54:40.740Z] $ docker stop --time=1 0a367575dc939071e9f5971afb20876528636846a0f12b1acfc57f2750c879e9 [2022-01-19T20:54:42.404Z] $ docker rm -f 0a367575dc939071e9f5971afb20876528636846a0f12b1acfc57f2750c879e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:54:43.008Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T20:54:43.008Z] . [Pipeline] withDockerContainer [2022-01-19T20:54:43.234Z] prd-ubuntu18.04-docker-arm64-4c-16g-2101 does not seem to be running inside a container [2022-01-19T20:54:43.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T20:54:44.660Z] $ docker top d47c0bf7b21fb108b7eea79c5379d3fd0b17528d40d698b72ca937e851036000 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T20:54:45.591Z] + make test [2022-01-19T20:54:45.592Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-19T20:54:47.041Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-19T20:55:34.082Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-19T20:55:38.379Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements [2022-01-19T20:55:38.379Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T20:56:00.543Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T20:56:00.543Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T20:56:00.543Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T20:56:00.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T20:56:00.595Z] $ docker stop --time=1 d47c0bf7b21fb108b7eea79c5379d3fd0b17528d40d698b72ca937e851036000 [2022-01-19T20:56:02.409Z] $ docker rm -f d47c0bf7b21fb108b7eea79c5379d3fd0b17528d40d698b72ca937e851036000 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:56:03.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T20:56:03.285Z] Warning: overwriting stash ‘coverage-report’ [2022-01-19T20:56:03.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T20:56:04.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T20:56:04.532Z] + ls -al . [2022-01-19T20:56:04.532Z] total 176 [2022-01-19T20:56:04.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:55 . [2022-01-19T20:56:04.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:52 .. [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 19 20:52 .dockerignore [2022-01-19T20:56:04.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:52 .git [2022-01-19T20:56:04.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:52 .github [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 20:52 .gitignore [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jan 19 20:52 Attribution.txt [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jan 19 20:52 CHANGELOG.md [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jan 19 20:52 Dockerfile [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:52 GOVERNANCE.md [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 20:52 Jenkinsfile [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 20:52 LICENSE [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jan 19 20:52 Makefile [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 20:52 OWNERS.md [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jan 19 20:52 README.md [2022-01-19T20:56:04.532Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 20:50 VERSION [2022-01-19T20:56:04.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:52 bin [2022-01-19T20:56:04.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:52 cmd [2022-01-19T20:56:04.533Z] -rw-r--r-- 1 jenkins jenkins 9215 Jan 19 20:55 coverage.out [2022-01-19T20:56:04.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:52 driver [2022-01-19T20:56:04.533Z] -rw-rw-r-- 1 jenkins jenkins 277 Jan 19 20:52 go.mod [2022-01-19T20:56:04.533Z] -rw-rw-r-- 1 jenkins jenkins 49330 Jan 19 20:52 go.sum [2022-01-19T20:56:04.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:52 snap [2022-01-19T20:56:04.533Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 19 20:52 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:56:04.884Z] + 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=7e17efc4e40053c7710c451774e80e9bfae25c24 --label arch=arm64 --label version=2.2.0-dev.4 . [2022-01-19T20:56:04.884Z] Sending build context to Docker daemon 131.6kB [2022-01-19T20:56:05.158Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T20:56:05.158Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-19T20:56:05.158Z] ---> ffcb73a8c86a [2022-01-19T20:56:05.158Z] Step 3/25 : ARG MAKE='make build' [2022-01-19T20:56:05.432Z] ---> Running in d3b356482ea6 [2022-01-19T20:56:05.706Z] Removing intermediate container d3b356482ea6 [2022-01-19T20:56:05.706Z] ---> b5a9fc465d25 [2022-01-19T20:56:05.706Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T20:56:06.024Z] ---> Running in e3ba6d67a93e [2022-01-19T20:56:06.328Z] Removing intermediate container e3ba6d67a93e [2022-01-19T20:56:06.328Z] ---> 718331dd0e64 [2022-01-19T20:56:06.328Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T20:56:06.328Z] ---> Running in 90ee619ad038 [2022-01-19T20:56:06.954Z] Removing intermediate container 90ee619ad038 [2022-01-19T20:56:06.954Z] ---> cbfa9f4670c9 [2022-01-19T20:56:06.954Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T20:56:06.954Z] ---> Running in fc63411332af [2022-01-19T20:56:09.015Z] Removing intermediate container fc63411332af [2022-01-19T20:56:09.015Z] ---> a5651708cecd [2022-01-19T20:56:09.015Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T20:56:09.015Z] ---> Running in e84530ae60b6 [2022-01-19T20:56:10.002Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:56:10.980Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:56:11.954Z] OK: 224 MiB in 56 packages [2022-01-19T20:56:12.552Z] Removing intermediate container e84530ae60b6 [2022-01-19T20:56:12.552Z] ---> 8e2c8ddf7852 [2022-01-19T20:56:12.552Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-19T20:56:12.825Z] ---> Running in b83189b62c9e [2022-01-19T20:56:13.095Z] Removing intermediate container b83189b62c9e [2022-01-19T20:56:13.095Z] ---> a7a6112bca72 [2022-01-19T20:56:13.095Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-19T20:56:13.694Z] ---> 7271a7eaf95f [2022-01-19T20:56:13.694Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T20:56:13.694Z] ---> Running in 5ea8c0669631 [2022-01-19T20:56:15.653Z] Removing intermediate container 5ea8c0669631 [2022-01-19T20:56:15.653Z] ---> 8c68260cff64 [2022-01-19T20:56:15.653Z] Step 11/25 : COPY . . [2022-01-19T20:56:16.245Z] ---> 993f0c09b023 [2022-01-19T20:56:16.245Z] Step 12/25 : RUN $MAKE [2022-01-19T20:56:16.245Z] ---> Running in 56b79a632f07 [2022-01-19T20:56:17.218Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.4" -o cmd/device-rest ./cmd [2022-01-19T20:57:04.146Z] Removing intermediate container 56b79a632f07 [2022-01-19T20:57:04.146Z] ---> 2a407d487aea [2022-01-19T20:57:04.146Z] Step 13/25 : FROM alpine:3.14 [2022-01-19T20:57:04.146Z] 3.14: Pulling from library/alpine [2022-01-19T20:57:04.146Z] be307f383ecc: Pulling fs layer [2022-01-19T20:57:04.146Z] be307f383ecc: Download complete [2022-01-19T20:57:04.146Z] be307f383ecc: Pull complete [2022-01-19T20:57:04.146Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T20:57:04.146Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T20:57:04.146Z] ---> 5b8b7b635229 [2022-01-19T20:57:04.146Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-19T20:57:04.146Z] ---> Running in 81b22fa436a1 [2022-01-19T20:57:04.146Z] Removing intermediate container 81b22fa436a1 [2022-01-19T20:57:04.146Z] ---> c045d77947eb [2022-01-19T20:57:04.146Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-19T20:57:04.146Z] ---> Running in c09187679611 [2022-01-19T20:57:04.146Z] Removing intermediate container c09187679611 [2022-01-19T20:57:04.146Z] ---> 1cac684d7cb0 [2022-01-19T20:57:04.146Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T20:57:04.146Z] ---> Running in 50a0cc2d3b05 [2022-01-19T20:57:04.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-19T20:57:04.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-19T20:57:04.146Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T20:57:04.146Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T20:57:04.146Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T20:57:04.146Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T20:57:04.146Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T20:57:04.146Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T20:57:04.146Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T20:57:04.146Z] OK: 8 MiB in 20 packages [2022-01-19T20:57:04.146Z] Removing intermediate container 50a0cc2d3b05 [2022-01-19T20:57:04.146Z] ---> efabc46b96a0 [2022-01-19T20:57:04.146Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-19T20:57:04.146Z] ---> ea79d4fd43fc [2022-01-19T20:57:04.146Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-19T20:57:04.737Z] ---> 063e227ca671 [2022-01-19T20:57:04.737Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-19T20:57:05.327Z] ---> 22c1c27df840 [2022-01-19T20:57:05.327Z] Step 20/25 : EXPOSE 59986 [2022-01-19T20:57:05.598Z] ---> Running in d22e5b6a7652 [2022-01-19T20:57:05.870Z] Removing intermediate container d22e5b6a7652 [2022-01-19T20:57:05.870Z] ---> 9c06d396f0b4 [2022-01-19T20:57:05.870Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-19T20:57:05.870Z] ---> Running in 2e013b8dd30b [2022-01-19T20:57:06.141Z] Removing intermediate container 2e013b8dd30b [2022-01-19T20:57:06.141Z] ---> 51c52d09ed04 [2022-01-19T20:57:06.141Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-19T20:57:06.410Z] ---> Running in e482a3afa7bd [2022-01-19T20:57:06.687Z] Removing intermediate container e482a3afa7bd [2022-01-19T20:57:06.687Z] ---> 57d533dc4c52 [2022-01-19T20:57:06.687Z] Step 23/25 : LABEL arch=arm64 [2022-01-19T20:57:06.687Z] ---> Running in 9e42d275db77 [2022-01-19T20:57:06.958Z] Removing intermediate container 9e42d275db77 [2022-01-19T20:57:06.958Z] ---> 9423283eb46c [2022-01-19T20:57:06.958Z] Step 24/25 : LABEL git_sha=7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:57:07.229Z] ---> Running in 9ae418009f30 [2022-01-19T20:57:07.500Z] Removing intermediate container 9ae418009f30 [2022-01-19T20:57:07.500Z] ---> 2480809f71ca [2022-01-19T20:57:07.500Z] Step 25/25 : LABEL version=2.2.0-dev.4 [2022-01-19T20:57:07.500Z] ---> Running in 06016b47798a [2022-01-19T20:57:08.094Z] Removing intermediate container 06016b47798a [2022-01-19T20:57:08.094Z] ---> 6d93fef05789 [2022-01-19T20:57:08.094Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T20:57:08.094Z] Successfully built 6d93fef05789 [2022-01-19T20:57:08.094Z] 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 [2022-01-19T20:57:08.213Z] provisioning config files... [2022-01-19T20:57:08.230Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/24@tmp/config2268806341486789922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:57:08.576Z] ---> docker-login.sh [2022-01-19T20:57:08.576Z] nexus3.edgexfoundry.org:10001 [2022-01-19T20:57:08.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:57:08.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:57:08.846Z] Configure a credential helper to remove this warning. See [2022-01-19T20:57:08.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:57:08.846Z] [2022-01-19T20:57:08.846Z] Login Succeeded [2022-01-19T20:57:08.846Z] nexus3.edgexfoundry.org:10002 [2022-01-19T20:57:09.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:57:09.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:57:09.390Z] Configure a credential helper to remove this warning. See [2022-01-19T20:57:09.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:57:09.390Z] [2022-01-19T20:57:09.390Z] Login Succeeded [2022-01-19T20:57:09.390Z] nexus3.edgexfoundry.org:10003 [2022-01-19T20:57:09.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:57:09.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:57:09.661Z] Configure a credential helper to remove this warning. See [2022-01-19T20:57:09.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:57:09.661Z] [2022-01-19T20:57:09.661Z] Login Succeeded [2022-01-19T20:57:09.661Z] nexus3.edgexfoundry.org:10004 [2022-01-19T20:57:09.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:57:10.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:57:10.202Z] Configure a credential helper to remove this warning. See [2022-01-19T20:57:10.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:57:10.202Z] [2022-01-19T20:57:10.202Z] Login Succeeded [2022-01-19T20:57:10.202Z] docker.io [2022-01-19T20:57:10.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T20:57:10.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T20:57:10.742Z] Configure a credential helper to remove this warning. See [2022-01-19T20:57:10.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T20:57:10.742Z] [2022-01-19T20:57:10.742Z] Login Succeeded [2022-01-19T20:57:10.742Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T20:57:10.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:57:10.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T20:57:10.805Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-01-19T20:57:10.805Z] 7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:57:10.805Z] latest [2022-01-19T20:57:10.805Z] 2.2.0-dev.4 [2022-01-19T20:57:10.805Z] 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [2022-01-19T20:57:10.805Z] main [2022-01-19T20:57:10.805Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:11.138Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:11.469Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:57:11.469Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-19T20:57:11.469Z] b5997848b008: Preparing [2022-01-19T20:57:11.469Z] fd3b14cb0008: Preparing [2022-01-19T20:57:11.469Z] e2d614d25ee4: Preparing [2022-01-19T20:57:11.469Z] df598be08ad7: Preparing [2022-01-19T20:57:11.469Z] 62170e181a92: Preparing [2022-01-19T20:57:11.469Z] 62170e181a92: Layer already exists [2022-01-19T20:57:11.740Z] b5997848b008: Pushed [2022-01-19T20:57:11.740Z] fd3b14cb0008: Pushed [2022-01-19T20:57:12.330Z] df598be08ad7: Pushed [2022-01-19T20:57:14.287Z] e2d614d25ee4: Pushed [2022-01-19T20:57:14.556Z] 7e17efc4e40053c7710c451774e80e9bfae25c24: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:14.893Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:15.225Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-01-19T20:57:15.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-19T20:57:15.225Z] b5997848b008: Preparing [2022-01-19T20:57:15.225Z] fd3b14cb0008: Preparing [2022-01-19T20:57:15.225Z] e2d614d25ee4: Preparing [2022-01-19T20:57:15.225Z] df598be08ad7: Preparing [2022-01-19T20:57:15.225Z] 62170e181a92: Preparing [2022-01-19T20:57:15.225Z] df598be08ad7: Layer already exists [2022-01-19T20:57:15.225Z] 62170e181a92: Layer already exists [2022-01-19T20:57:15.225Z] e2d614d25ee4: Layer already exists [2022-01-19T20:57:15.225Z] b5997848b008: Layer already exists [2022-01-19T20:57:15.225Z] fd3b14cb0008: Layer already exists [2022-01-19T20:57:15.494Z] latest: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:15.835Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:16.168Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.4 [2022-01-19T20:57:16.168Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-19T20:57:16.168Z] b5997848b008: Preparing [2022-01-19T20:57:16.168Z] fd3b14cb0008: Preparing [2022-01-19T20:57:16.168Z] e2d614d25ee4: Preparing [2022-01-19T20:57:16.168Z] df598be08ad7: Preparing [2022-01-19T20:57:16.168Z] 62170e181a92: Preparing [2022-01-19T20:57:16.168Z] b5997848b008: Layer already exists [2022-01-19T20:57:16.168Z] fd3b14cb0008: Layer already exists [2022-01-19T20:57:16.168Z] 62170e181a92: Layer already exists [2022-01-19T20:57:16.168Z] df598be08ad7: Layer already exists [2022-01-19T20:57:16.168Z] e2d614d25ee4: Layer already exists [2022-01-19T20:57:16.168Z] 2.2.0-dev.4: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:16.782Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:17.114Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [2022-01-19T20:57:17.114Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-19T20:57:17.114Z] b5997848b008: Preparing [2022-01-19T20:57:17.114Z] fd3b14cb0008: Preparing [2022-01-19T20:57:17.114Z] e2d614d25ee4: Preparing [2022-01-19T20:57:17.114Z] df598be08ad7: Preparing [2022-01-19T20:57:17.114Z] 62170e181a92: Preparing [2022-01-19T20:57:17.114Z] e2d614d25ee4: Layer already exists [2022-01-19T20:57:17.114Z] b5997848b008: Layer already exists [2022-01-19T20:57:17.114Z] df598be08ad7: Layer already exists [2022-01-19T20:57:17.114Z] fd3b14cb0008: Layer already exists [2022-01-19T20:57:17.114Z] 62170e181a92: Layer already exists [2022-01-19T20:57:17.114Z] 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:17.726Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:18.055Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-01-19T20:57:18.055Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-19T20:57:18.055Z] b5997848b008: Preparing [2022-01-19T20:57:18.055Z] fd3b14cb0008: Preparing [2022-01-19T20:57:18.055Z] e2d614d25ee4: Preparing [2022-01-19T20:57:18.055Z] df598be08ad7: Preparing [2022-01-19T20:57:18.055Z] 62170e181a92: Preparing [2022-01-19T20:57:18.055Z] e2d614d25ee4: Layer already exists [2022-01-19T20:57:18.055Z] df598be08ad7: Layer already exists [2022-01-19T20:57:18.055Z] 62170e181a92: Layer already exists [2022-01-19T20:57:18.055Z] b5997848b008: Layer already exists [2022-01-19T20:57:18.055Z] fd3b14cb0008: Layer already exists [2022-01-19T20:57:18.326Z] main: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T20:57:18.377Z] ===================================================== [Pipeline] echo [2022-01-19T20:57:18.386Z] taggedImages: [2022-01-19T20:57:18.386Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24 [2022-01-19T20:57:18.386Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-01-19T20:57:18.386Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.4 [2022-01-19T20:57:18.386Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [2022-01-19T20:57:18.386Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:18.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:57:18.750Z] [2022-01-19T20:57:18.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:19.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:57:19.364Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T20:57:19.364Z] 448f6bf000e3: Pulling fs layer [2022-01-19T20:57:19.364Z] f757da607395: Pulling fs layer [2022-01-19T20:57:19.364Z] 05883995daec: Pulling fs layer [2022-01-19T20:57:19.364Z] 8603b9c90790: Pulling fs layer [2022-01-19T20:57:19.364Z] 1560dd03e051: Pulling fs layer [2022-01-19T20:57:19.364Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T20:57:19.364Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T20:57:19.364Z] 1560dd03e051: Waiting [2022-01-19T20:57:19.364Z] 27f5ce0e4adf: Waiting [2022-01-19T20:57:19.364Z] c2d8d7efcc4b: Waiting [2022-01-19T20:57:19.364Z] 8603b9c90790: Waiting [2022-01-19T20:57:19.364Z] f757da607395: Verifying Checksum [2022-01-19T20:57:19.364Z] f757da607395: Download complete [2022-01-19T20:57:19.364Z] 8603b9c90790: Download complete [2022-01-19T20:57:19.364Z] 1560dd03e051: Verifying Checksum [2022-01-19T20:57:19.364Z] 1560dd03e051: Download complete [2022-01-19T20:57:19.636Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T20:57:19.636Z] 27f5ce0e4adf: Download complete [2022-01-19T20:57:19.636Z] 05883995daec: Verifying Checksum [2022-01-19T20:57:19.636Z] 05883995daec: Download complete [2022-01-19T20:57:19.908Z] 448f6bf000e3: Verifying Checksum [2022-01-19T20:57:19.908Z] 448f6bf000e3: Download complete [2022-01-19T20:57:22.516Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T20:57:23.105Z] 448f6bf000e3: Pull complete [2022-01-19T20:57:23.695Z] f757da607395: Pull complete [2022-01-19T20:57:25.118Z] 05883995daec: Pull complete [2022-01-19T20:57:25.390Z] 8603b9c90790: Pull complete [2022-01-19T20:57:25.985Z] 1560dd03e051: Pull complete [2022-01-19T20:57:26.256Z] 27f5ce0e4adf: Pull complete [2022-01-19T20:57:41.292Z] c2d8d7efcc4b: Pull complete [2022-01-19T20:57:41.292Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T20:57:41.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:57:41.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T20:57:41.493Z] prd-ubuntu18.04-docker-arm64-4c-16g-2101 does not seem to be running inside a container [2022-01-19T20:57:41.590Z] $ 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/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@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:arm64 cat [2022-01-19T20:57:44.424Z] $ docker top 1f1dc580d3684bf628d568b1634cd6192cb95533716e50de49209b91a7733f35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:57:45.355Z] ---> job-cost.sh [2022-01-19T20:57:45.355Z] lf-activate-venv: SKIPPING [2022-01-19T20:57:45.355Z] INFO: No Stack... [2022-01-19T20:57:45.627Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T20:57:45.898Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T20:57:46.821Z] + cat /w/workspace/device-rest-go/24/archives/cost.csv [2022-01-19T20:57:46.821Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T20:57:46.883Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [2022-01-19T20:57:46.888Z] Resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] did not exist. Created. [2022-01-19T20:57:46.888Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:57:47.557Z] /w/workspace/device-rest-go/24@tmp/durable-8adaded9/script.sh: 1: /w/workspace/device-rest-go/24@tmp/durable-8adaded9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T20:57:48.219Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T20:57:48.237Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T20:57:48.280Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:57:48.286Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:57:48.312Z] $ docker stop --time=1 1f1dc580d3684bf628d568b1634cd6192cb95533716e50de49209b91a7733f35 [2022-01-19T20:57:49.771Z] $ docker rm -f 1f1dc580d3684bf628d568b1634cd6192cb95533716e50de49209b91a7733f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-19T20:57:50.228Z] provisioning config files... [2022-01-19T20:57:50.239Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5402358234548072206tmp [Pipeline] { [Pipeline] sh [2022-01-19T20:57:50.541Z] + set +x [2022-01-19T20:57:50.541Z] + curl -s https://codecov.io/bash [2022-01-19T20:57:50.541Z] + bash -s -- [2022-01-19T20:57:52.455Z] [2022-01-19T20:57:52.455Z] _____ _ [2022-01-19T20:57:52.455Z] / ____| | | [2022-01-19T20:57:52.455Z] | | ___ __| | ___ ___ _____ __ [2022-01-19T20:57:52.455Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-19T20:57:52.455Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-19T20:57:52.455Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-19T20:57:52.455Z] Bash-1.0.6 [2022-01-19T20:57:52.455Z] [2022-01-19T20:57:52.455Z] [2022-01-19T20:57:52.455Z] ==> git version 2.24.4 found [2022-01-19T20:57:52.455Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-19T20:57:52.455Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-19T20:57:52.455Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-19T20:57:52.455Z] ==> Jenkins CI detected. [2022-01-19T20:57:52.455Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-01-19T20:57:52.455Z] project root: . [2022-01-19T20:57:52.455Z] --> token set from env [2022-01-19T20:57:52.455Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-19T20:57:52.455Z] ==> Running gcov in . (disable via -X gcov) [2022-01-19T20:57:52.455Z] ==> Python coveragepy not found [2022-01-19T20:57:52.455Z] ==> Searching for coverage reports in: [2022-01-19T20:57:52.455Z] + . [2022-01-19T20:57:52.455Z] -> Found 1 reports [2022-01-19T20:57:52.455Z] ==> Detecting git/mercurial file structure [2022-01-19T20:57:52.455Z] ==> Reading reports [2022-01-19T20:57:52.455Z] + ./coverage.out bytes=9215 [2022-01-19T20:57:52.455Z] ==> Appending adjustments [2022-01-19T20:57:52.455Z] https://docs.codecov.io/docs/fixing-reports [2022-01-19T20:57:52.455Z] + Found adjustments [2022-01-19T20:57:52.455Z] ==> Gzipping contents [2022-01-19T20:57:52.455Z] 4.0K /tmp/codecov.cNvS7x.gz [2022-01-19T20:57:52.455Z] ==> Uploading reports [2022-01-19T20:57:52.455Z] url: https://codecov.io [2022-01-19T20:57:52.455Z] query: branch=main&commit=7e17efc4e40053c7710c451774e80e9bfae25c24&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T20:57:52.455Z] -> Pinging Codecov [2022-01-19T20:57:52.455Z] 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=7e17efc4e40053c7710c451774e80e9bfae25c24&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T20:57:52.455Z] -> Uploading to [2022-01-19T20:57:52.455Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-19/4E5D53B4F1F92C436F7061BF334D961C/7e17efc4e40053c7710c451774e80e9bfae25c24/d0246431-b992-4a1c-8ace-5832614ecf24.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T205752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0fd1683103a47e67f419df290ed54b97a366d9601cd9a928bd6968dca790666 [2022-01-19T20:57:52.455Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T20:57:52.455Z] Dload Upload Total Spent Left Speed [2022-01-19T20:57:52.716Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 6497 --:--:-- --:--:-- --:--:-- 6492 [2022-01-19T20:57:52.716Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] } [2022-01-19T20:57:52.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-19T20:57:53.075Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-19T20:57:53.084Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:53.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:57:53.386Z] [2022-01-19T20:57:53.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:57:53.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:57:53.698Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-19T20:57:53.698Z] 188c0c94c7c5: Pulling fs layer [2022-01-19T20:57:53.698Z] 0ef7d3d256c8: Pulling fs layer [2022-01-19T20:57:53.698Z] de9db76c5a1d: Pulling fs layer [2022-01-19T20:57:53.698Z] 0eba1c9be4d2: Pulling fs layer [2022-01-19T20:57:53.698Z] 0d57e429df01: Pulling fs layer [2022-01-19T20:57:53.698Z] 4e4be7b47b0d: Pulling fs layer [2022-01-19T20:57:53.698Z] e1f770b5df2f: Pulling fs layer [2022-01-19T20:57:53.698Z] 85a0685a4137: Pulling fs layer [2022-01-19T20:57:53.698Z] 4e4be7b47b0d: Waiting [2022-01-19T20:57:53.698Z] 0eba1c9be4d2: Waiting [2022-01-19T20:57:53.698Z] 0d57e429df01: Waiting [2022-01-19T20:57:53.698Z] e1f770b5df2f: Waiting [2022-01-19T20:57:53.698Z] 85a0685a4137: Waiting [2022-01-19T20:57:53.698Z] de9db76c5a1d: Verifying Checksum [2022-01-19T20:57:53.698Z] de9db76c5a1d: Download complete [2022-01-19T20:57:53.698Z] 0ef7d3d256c8: Verifying Checksum [2022-01-19T20:57:53.698Z] 0ef7d3d256c8: Download complete [2022-01-19T20:57:53.698Z] 0d57e429df01: Verifying Checksum [2022-01-19T20:57:53.698Z] 0d57e429df01: Download complete [2022-01-19T20:57:53.698Z] 188c0c94c7c5: Verifying Checksum [2022-01-19T20:57:53.698Z] 188c0c94c7c5: Download complete [2022-01-19T20:57:53.698Z] 4e4be7b47b0d: Verifying Checksum [2022-01-19T20:57:53.698Z] 4e4be7b47b0d: Download complete [2022-01-19T20:57:53.961Z] 188c0c94c7c5: Pull complete [2022-01-19T20:57:54.235Z] 0ef7d3d256c8: Pull complete [2022-01-19T20:57:54.499Z] 0eba1c9be4d2: Verifying Checksum [2022-01-19T20:57:54.499Z] 0eba1c9be4d2: Download complete [2022-01-19T20:57:54.499Z] de9db76c5a1d: Pull complete [2022-01-19T20:57:54.499Z] e1f770b5df2f: Verifying Checksum [2022-01-19T20:57:54.499Z] e1f770b5df2f: Download complete [2022-01-19T20:57:54.499Z] 85a0685a4137: Verifying Checksum [2022-01-19T20:57:54.499Z] 85a0685a4137: Download complete [2022-01-19T20:57:57.822Z] 0eba1c9be4d2: Pull complete [2022-01-19T20:57:57.822Z] 0d57e429df01: Pull complete [2022-01-19T20:57:58.086Z] 4e4be7b47b0d: Pull complete [2022-01-19T20:57:58.347Z] e1f770b5df2f: Pull complete [2022-01-19T20:58:01.696Z] 85a0685a4137: Pull complete [2022-01-19T20:58:01.696Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-19T20:58:01.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T20:58:01.696Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-19T20:58:01.767Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:58:01.805Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-19T20:58:03.906Z] $ docker top e2ee5a1f3776dc289b068fc6ca6cb03c5680c23c26cf3b5affaa14e63687eec8 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-19T20:58:03.980Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-19T20:58:04.265Z] + set -o pipefail [2022-01-19T20:58:04.265Z] + snyk monitor '--org=edgex-jenkins' [2022-01-19T20:58:08.479Z] [2022-01-19T20:58:08.479Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-01-19T20:58:08.479Z] [2022-01-19T20:58:08.479Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/fcfbe26a-972e-4506-8a06-c5b752375e29 [2022-01-19T20:58:08.479Z] [2022-01-19T20:58:08.479Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-19T20:58:08.479Z] [2022-01-19T20:58:08.479Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-19T20:58:08.479Z] [2022-01-19T20:58:08.479Z] [Pipeline] } [2022-01-19T20:58:08.490Z] $ docker stop --time=1 e2ee5a1f3776dc289b068fc6ca6cb03c5680c23c26cf3b5affaa14e63687eec8 [2022-01-19T20:58:10.347Z] $ docker rm -f e2ee5a1f3776dc289b068fc6ca6cb03c5680c23c26cf3b5affaa14e63687eec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:58:11.022Z] + git log --format=format:%s -1 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] sh [2022-01-19T20:58:11.318Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:58:11.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:58:11.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:58:11.620Z] . [Pipeline] withDockerContainer [2022-01-19T20:58:11.684Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:58:11.715Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:58:12.022Z] $ docker top 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:58:12.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:58:12.113Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:58:12.210Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:58:12.212Z] $ docker exec 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 ssh-agent [2022-01-19T20:58:12.300Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlJCAGP/agent.14 [2022-01-19T20:58:12.300Z] SSH_AGENT_PID=22 [2022-01-19T20:58:12.304Z] Running ssh-add (command line suppressed) [2022-01-19T20:58:12.383Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4624243202447421308.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4624243202447421308.key) [2022-01-19T20:58:12.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:58:12.695Z] + git semver tag [2022-01-19T20:58:12.695Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:58:12.695Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-19T20:58:12.695Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-19T20:58:12.695Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:58:12.695Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:58:12.695Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:58:12.695Z] # $SEMVER_BRANCH = main [2022-01-19T20:58:12.695Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-01-19T20:58:12.695Z] # 7e17efc4e40053c7710c451774e80e9bfae25c24 HEAD [2022-01-19T20:58:12.695Z] # -> Force: false [2022-01-19T20:58:12.695Z] # 1ce1037c3f5f34b11881b328526308cbdf2ccc70 refs/tags/v2.2.0-dev.4 [Pipeline] } [2022-01-19T20:58:12.704Z] $ docker exec --env ******** --env ******** 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 ssh-agent -k [2022-01-19T20:58:12.774Z] unset SSH_AUTH_SOCK; [2022-01-19T20:58:12.774Z] unset SSH_AGENT_PID; [2022-01-19T20:58:12.774Z] echo Agent pid 22 killed; [2022-01-19T20:58:12.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:58:13.093Z] + git semver [Pipeline] } [2022-01-19T20:58:13.107Z] $ docker stop --time=1 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 [2022-01-19T20:58:14.294Z] $ docker rm -f 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:58:14.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:58:14.700Z] [2022-01-19T20:58:14.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:58:15.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:58:15.014Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-19T20:58:15.014Z] ab5ef0e58194: Pulling fs layer [2022-01-19T20:58:15.014Z] 9712f1f96733: Pulling fs layer [2022-01-19T20:58:15.014Z] 63f879dbbcfc: Pulling fs layer [2022-01-19T20:58:15.014Z] 0d9ebad4ef96: Pulling fs layer [2022-01-19T20:58:15.014Z] e9a5061849ea: Pulling fs layer [2022-01-19T20:58:15.014Z] d747dcd14b5f: Pulling fs layer [2022-01-19T20:58:15.014Z] 2de7ff778b66: Pulling fs layer [2022-01-19T20:58:15.014Z] 0d9ebad4ef96: Waiting [2022-01-19T20:58:15.014Z] e9a5061849ea: Waiting [2022-01-19T20:58:15.014Z] d747dcd14b5f: Waiting [2022-01-19T20:58:15.014Z] 2de7ff778b66: Waiting [2022-01-19T20:58:15.014Z] 9712f1f96733: Verifying Checksum [2022-01-19T20:58:15.014Z] 9712f1f96733: Download complete [2022-01-19T20:58:15.282Z] 63f879dbbcfc: Verifying Checksum [2022-01-19T20:58:15.282Z] 63f879dbbcfc: Download complete [2022-01-19T20:58:15.543Z] ab5ef0e58194: Verifying Checksum [2022-01-19T20:58:15.543Z] ab5ef0e58194: Download complete [2022-01-19T20:58:15.543Z] d747dcd14b5f: Verifying Checksum [2022-01-19T20:58:15.543Z] d747dcd14b5f: Download complete [2022-01-19T20:58:15.543Z] e9a5061849ea: Verifying Checksum [2022-01-19T20:58:15.543Z] e9a5061849ea: Download complete [2022-01-19T20:58:15.543Z] 0d9ebad4ef96: Verifying Checksum [2022-01-19T20:58:15.543Z] 0d9ebad4ef96: Download complete [2022-01-19T20:58:15.543Z] 2de7ff778b66: Verifying Checksum [2022-01-19T20:58:15.543Z] 2de7ff778b66: Download complete [2022-01-19T20:58:18.879Z] ab5ef0e58194: Pull complete [2022-01-19T20:58:18.879Z] 9712f1f96733: Pull complete [2022-01-19T20:58:19.145Z] 63f879dbbcfc: Pull complete [2022-01-19T20:58:23.379Z] 0d9ebad4ef96: Pull complete [2022-01-19T20:58:23.646Z] e9a5061849ea: Pull complete [2022-01-19T20:58:23.646Z] d747dcd14b5f: Pull complete [2022-01-19T20:58:25.052Z] 2de7ff778b66: Pull complete [2022-01-19T20:58:25.052Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-19T20:58:25.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T20:58:25.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-19T20:58:25.115Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:58:25.147Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-19T20:58:28.212Z] $ docker top 1abf5c51a7a57e6b65a23205e55e25397d178d7a0981aea0d91dcf8a4737c2e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:58:28.286Z] provisioning config files... [2022-01-19T20:58:28.295Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2014147242945974328tmp [2022-01-19T20:58:28.305Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5683946898446984708tmp [2022-01-19T20:58:28.314Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4160939839410092493tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:58:28.330Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:28.614Z] ---> sigul-configuration.sh [2022-01-19T20:58:28.614Z] gpg: directory `/root/.gnupg' created [2022-01-19T20:58:28.614Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-19T20:58:28.614Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-19T20:58:28.614Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-19T20:58:28.614Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-19T20:58:28.614Z] gpg: CAST5 encrypted data [2022-01-19T20:58:28.614Z] gpg: encrypted with 1 passphrase [2022-01-19T20:58:28.614Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-19T20:58:28.894Z] + mkdir /home/jenkins [2022-01-19T20:58:28.894Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-19T20:58:29.188Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-19T20:58:29.197Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:29.485Z] ---> sigul-install.sh [2022-01-19T20:58:29.485Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-19T20:58:29.773Z] + git tag --list [2022-01-19T20:58:29.773Z] v1.0.0 [2022-01-19T20:58:29.773Z] v1.1.0 [2022-01-19T20:58:29.773Z] v1.1.1 [2022-01-19T20:58:29.773Z] v1.1.2 [2022-01-19T20:58:29.773Z] v1.2.0 [2022-01-19T20:58:29.773Z] v1.2.1 [2022-01-19T20:58:29.773Z] v2.0.0 [2022-01-19T20:58:29.773Z] v2.0.1-dev.1 [2022-01-19T20:58:29.773Z] v2.0.1-dev.10 [2022-01-19T20:58:29.773Z] v2.0.1-dev.11 [2022-01-19T20:58:29.773Z] v2.0.1-dev.12 [2022-01-19T20:58:29.773Z] v2.0.1-dev.13 [2022-01-19T20:58:29.773Z] v2.0.1-dev.14 [2022-01-19T20:58:29.773Z] v2.0.1-dev.2 [2022-01-19T20:58:29.773Z] v2.0.1-dev.3 [2022-01-19T20:58:29.773Z] v2.0.1-dev.4 [2022-01-19T20:58:29.773Z] v2.0.1-dev.5 [2022-01-19T20:58:29.773Z] v2.0.1-dev.6 [2022-01-19T20:58:29.773Z] v2.0.1-dev.7 [2022-01-19T20:58:29.773Z] v2.0.1-dev.8 [2022-01-19T20:58:29.773Z] v2.0.1-dev.9 [2022-01-19T20:58:29.773Z] v2.1.0 [2022-01-19T20:58:29.773Z] v2.2.0-dev.1 [2022-01-19T20:58:29.773Z] v2.2.0-dev.2 [2022-01-19T20:58:29.773Z] v2.2.0-dev.3 [2022-01-19T20:58:29.773Z] v2.2.0-dev.4 [Pipeline] sh [2022-01-19T20:58:30.070Z] + lftools sign git-tag v2.2.0-dev.4 [2022-01-19T20:58:30.646Z] Signing Git tag with Sigul... [2022-01-19T20:58:30.646Z] Signing v2.2.0-dev.4 [Pipeline] echo [2022-01-19T20:58:30.918Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:31.204Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-19T20:58:31.212Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-19T20:58:31.229Z] $ docker stop --time=1 1abf5c51a7a57e6b65a23205e55e25397d178d7a0981aea0d91dcf8a4737c2e2 [2022-01-19T20:58:32.431Z] $ docker rm -f 1abf5c51a7a57e6b65a23205e55e25397d178d7a0981aea0d91dcf8a4737c2e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-19T20:58:32.859Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:58:32.859Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:58:33.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:58:33.155Z] . [Pipeline] withDockerContainer [2022-01-19T20:58:33.222Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:58:33.260Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:58:33.585Z] $ docker top 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:58:33.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:58:33.677Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:58:33.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:58:33.776Z] $ docker exec 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 ssh-agent [2022-01-19T20:58:33.867Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGbDocI/agent.13 [2022-01-19T20:58:33.867Z] SSH_AGENT_PID=19 [2022-01-19T20:58:33.872Z] Running ssh-add (command line suppressed) [2022-01-19T20:58:33.974Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7217456780630971409.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7217456780630971409.key) [2022-01-19T20:58:33.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:58:34.293Z] + git semver bump pre [2022-01-19T20:58:34.293Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:58:34.293Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-19T20:58:34.293Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-19T20:58:34.293Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:58:34.293Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:58:34.293Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:58:34.293Z] # $SEMVER_BRANCH = main [2022-01-19T20:58:34.293Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-01-19T20:58:34.293Z] 2.2.0-dev.5 [Pipeline] } [2022-01-19T20:58:34.302Z] $ docker exec --env ******** --env ******** 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 ssh-agent -k [2022-01-19T20:58:34.407Z] unset SSH_AUTH_SOCK; [2022-01-19T20:58:34.407Z] unset SSH_AGENT_PID; [2022-01-19T20:58:34.407Z] echo Agent pid 19 killed; [2022-01-19T20:58:34.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:58:34.718Z] + git semver [Pipeline] } [2022-01-19T20:58:34.734Z] $ docker stop --time=1 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 [2022-01-19T20:58:35.907Z] $ docker rm -f 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T20:58:36.252Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T20:58:36.252Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:58:36.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T20:58:36.547Z] . [Pipeline] withDockerContainer [2022-01-19T20:58:36.603Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:58:36.629Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T20:58:36.961Z] $ docker top ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T20:58:37.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T20:58:37.045Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T20:58:37.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T20:58:37.147Z] $ docker exec ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d ssh-agent [2022-01-19T20:58:37.240Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnjpejd/agent.15 [2022-01-19T20:58:37.240Z] SSH_AGENT_PID=21 [2022-01-19T20:58:37.245Z] Running ssh-add (command line suppressed) [2022-01-19T20:58:37.340Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6072128033224473185.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6072128033224473185.key) [2022-01-19T20:58:37.352Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T20:58:37.643Z] + git semver push [2022-01-19T20:58:37.643Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T20:58:37.643Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-19T20:58:37.643Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-19T20:58:37.643Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T20:58:37.643Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T20:58:37.643Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T20:58:37.643Z] # $SEMVER_BRANCH = main [2022-01-19T20:58:37.643Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-01-19T20:58:39.558Z] $ docker exec --env ******** --env ******** ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d ssh-agent -k [2022-01-19T20:58:39.640Z] unset SSH_AUTH_SOCK; [2022-01-19T20:58:39.640Z] unset SSH_AGENT_PID; [2022-01-19T20:58:39.640Z] echo Agent pid 21 killed; [2022-01-19T20:58:39.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T20:58:39.956Z] + git semver [Pipeline] } [2022-01-19T20:58:39.969Z] $ docker stop --time=1 ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d [2022-01-19T20:58:41.152Z] $ docker rm -f ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-19T20:58:41.768Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [2022-01-19T20:58:41.768Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-19T20:58:41.768Z] total 8 [2022-01-19T20:58:41.768Z] drwxr-xr-x. 3 root root 34 Jan 19 20:52 . [2022-01-19T20:58:41.768Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:58 .. [2022-01-19T20:58:41.768Z] drwxr-xr-x. 2 root root 6 Jan 19 20:52 cost [2022-01-19T20:58:41.768Z] -rw-r--r--. 1 root root 84 Jan 19 20:52 cost.csv [2022-01-19T20:58:41.768Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-19T20:58:41.768Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-19T20:58:41.768Z] total 8 [2022-01-19T20:58:41.768Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 20:52 . [2022-01-19T20:58:41.768Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:58 .. [2022-01-19T20:58:41.768Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 20:52 cost [2022-01-19T20:58:41.768Z] -rw-r--r--. 1 jenkins jenkins 84 Jan 19 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:42.075Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:42.642Z] ---> package-listing.sh [2022-01-19T20:58:42.642Z] ++ facter osfamily [2022-01-19T20:58:42.642Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T20:58:42.901Z] + OS_FAMILY=redhat [2022-01-19T20:58:42.901Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-01-19T20:58:42.901Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T20:58:42.901Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T20:58:42.901Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T20:58:42.901Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T20:58:42.901Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-01-19T20:58:42.901Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T20:58:42.901Z] + case "${OS_FAMILY}" in [2022-01-19T20:58:42.901Z] + rpm -qa [2022-01-19T20:58:42.901Z] + sort [2022-01-19T20:58:43.476Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T20:58:43.476Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T20:58:43.476Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T20:58:43.476Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-01-19T20:58:43.476Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-01-19T20:58:43.476Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-01-19T20:58:43.491Z] 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 [2022-01-19T20:58:43.777Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:58:44.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:58:44.338Z] . [Pipeline] withDockerContainer [2022-01-19T20:58:44.403Z] prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container [2022-01-19T20:58:44.429Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T20:58:44.623Z] $ docker top eb020c4c47fe71a8cb962b51637a8f0de20966f92d37d0bd99a4ae7ca3aff029 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:58:44.967Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T20:58:45.260Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T20:58:45.547Z] + ls /var/log/sa-host [2022-01-19T20:58:45.547Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T20:58:45.547Z] file_magic: OK [2022-01-19T20:58:45.547Z] HZ: Using current value: 100 [2022-01-19T20:58:45.547Z] file_header: OK [2022-01-19T20:58:45.547Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T20:58:45.547Z] Statistics: [2022-01-19T20:58:45.547Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:58:45.547Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T20:58:45.547Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T20:58:45.547Z] file_magic: OK [2022-01-19T20:58:45.547Z] HZ: Using current value: 100 [2022-01-19T20:58:45.547Z] file_header: OK [2022-01-19T20:58:45.547Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T20:58:45.547Z] Statistics: [2022-01-19T20:58:45.547Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:58:45.547Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:58:45.749Z] provisioning config files... [2022-01-19T20:58:45.757Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6323354651838270365tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:58:45.770Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:46.056Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T20:58:46.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:46.387Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T20:58:46.395Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:46.682Z] ---> sudo-logs.sh [2022-01-19T20:58:46.682Z] Archiving 'sudo' log.. [2022-01-19T20:58:47.252Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2100.novalocal: Name or service not known [2022-01-19T20:58:47.252Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2100.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T20:58:47.275Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:47.573Z] ---> job-cost.sh [2022-01-19T20:58:47.574Z] lf-activate-venv: SKIPPING [2022-01-19T20:58:47.574Z] DEBUG: total: 0.05999999865889549 [2022-01-19T20:58:47.574Z] INFO: Retrieving Stack Cost... [2022-01-19T20:58:47.836Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:58:48.097Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T20:58:48.110Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:58:48.407Z] ---> logs-deploy.sh [2022-01-19T20:58:48.407Z] lf-activate-venv: SKIPPING [2022-01-19T20:58:48.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/24 [2022-01-19T20:58:48.407Z] INFO: archiving workspace using pattern(s): [2022-01-19T20:58:48.979Z] Archives upload complete. [2022-01-19T20:58:49.241Z] INFO: archiving logs to Nexus