Pull request #148 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-rest-go Loading trusted files from base branch main at 8f9dabbcd23e32bae175015e2a15c1f428ed019f rather than fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 Obtained Jenkinsfile from 8f9dabbcd23e32bae175015e2a15c1f428ed019f Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7523256643963292215.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8810649887983479330.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-148/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/PR-148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11214496508369792990.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15969473232676306265.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/PR-148/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/PR-148/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13175882712156659696.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-89 in /w/workspace/gexfoundry_device-rest-go_PR-148 [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/gexfoundry_device-rest-go_PR-148 # 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/gexfoundry_device-rest-go_PR-148@tmp/jenkins-gitclient-ssh1346338805962481042.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 Merge succeeded, producing fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 Checking out Revision fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 (PR-148) > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 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/gexfoundry_device-rest-go_PR-148@tmp/jenkins-gitclient-ssh4709497672280226461.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-rest-go_PR-148@tmp/jenkins-gitclient-ssh2586494979666496610.key > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 # timeout=10 Commit message: "refactor(snap): remove obsolete passthrough usage" > git rev-list --no-walk 67a8320623b7619a7ca86474bb2d9d2932fcf24b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T11:48:30.405Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T11:48:30.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T11:48:30.480Z] ========================================================= [2021-12-02T11:48:30.480Z] EdgeX Global Pipelines Version Info [2021-12-02T11:48:30.480Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:48:31.581Z] ------------------- [2021-12-02T11:48:31.581Z] stable info: [2021-12-02T11:48:31.581Z] ------------------- [2021-12-02T11:48:31.581Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T11:48:31.581Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T11:48:31.581Z] Message: update stable to v1.0.217 [2021-12-02T11:48:32.153Z] ------------------- [2021-12-02T11:48:32.153Z] experimental info: [2021-12-02T11:48:32.153Z] ------------------- [2021-12-02T11:48:32.153Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T11:48:32.153Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T11:48:32.153Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T11:48:32.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-12-02T11:48:32.363Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-12-02T11:48:32.373Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T11:48:32.385Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T11:48:32.396Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T11:48:32.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T11:48:32.421Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T11:48:32.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T11:48:32.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T11:48:32.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T11:48:32.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T11:48:32.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-12-02T11:48:32.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T11:48:32.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T11:48:32.525Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T11:48:32.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T11:48:32.550Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T11:48:32.562Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T11:48:32.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T11:48:32.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-02T11:48:32.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T11:48:32.615Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T11:48:32.629Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T11:48:32.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T11:48:32.667Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T11:48:32.684Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T11:48:32.699Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo [2021-12-02T11:48:32.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo [2021-12-02T11:48:32.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo [2021-12-02T11:48:32.737Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [Pipeline] echo [2021-12-02T11:48:32.749Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd6a719 [Pipeline] echo [2021-12-02T11:48:32.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:48:32.804Z] provisioning config files... [2021-12-02T11:48:32.819Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config2707972837116212872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:48:33.139Z] ---> docker-login.sh [2021-12-02T11:48:33.139Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:48:33.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:33.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:33.403Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:33.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:33.403Z] [2021-12-02T11:48:33.403Z] Login Succeeded [2021-12-02T11:48:33.403Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:48:33.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:33.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:33.403Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:33.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:33.403Z] [2021-12-02T11:48:33.403Z] Login Succeeded [2021-12-02T11:48:33.403Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:48:33.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:33.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:33.403Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:33.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:33.403Z] [2021-12-02T11:48:33.403Z] Login Succeeded [2021-12-02T11:48:33.403Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:48:33.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:33.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:33.664Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:33.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:33.664Z] [2021-12-02T11:48:33.664Z] Login Succeeded [2021-12-02T11:48:33.664Z] docker.io [2021-12-02T11:48:33.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:33.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:33.933Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:33.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:33.933Z] [2021-12-02T11:48:33.933Z] Login Succeeded [2021-12-02T11:48:33.933Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:48:33.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T11:48:34.366Z] + git rev-list -1 --merges fd6a719a4bd5df0a2a0a64614c80655b1b6a3826~1..fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [Pipeline] echo [2021-12-02T11:48:34.399Z] -----------> git rev-list -1 --merges fd6a719a4bd5df0a2a0a64614c80655b1b6a3826~1..fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [false] [Pipeline] sh [2021-12-02T11:48:34.708Z] + git log --format=format:%s -1 fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [Pipeline] echo [2021-12-02T11:48:34.724Z] ========================================================= [2021-12-02T11:48:34.724Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T11:48:34.724Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:48:35.076Z] + git log --format=format:%s -1 fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [Pipeline] echo [2021-12-02T11:48:35.089Z] [semverPrep] GIT_COMMIT: fd6a719a4bd5df0a2a0a64614c80655b1b6a3826, Commit Message: refactor(snap): remove obsolete passthrough usage [Pipeline] echo [2021-12-02T11:48:35.099Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T11:48:35.489Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T11:48:35.489Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T11:48:35.489Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T11:48:35.489Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T11:48:35.489Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T11:48:35.489Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T11:48:35.489Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:35.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:48:35.832Z] [2021-12-02T11:48:35.832Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:36.147Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:48:36.147Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T11:48:36.147Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T11:48:36.147Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T11:48:36.147Z] 4c7163046ea9: Pulling fs layer [2021-12-02T11:48:36.147Z] 0c2d73faf560: Pulling fs layer [2021-12-02T11:48:36.147Z] 0c2d73faf560: Waiting [2021-12-02T11:48:36.147Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T11:48:36.147Z] 3e5f54012d9b: Download complete [2021-12-02T11:48:36.147Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T11:48:36.147Z] a0d0a0d46f8b: Download complete [2021-12-02T11:48:36.147Z] 4c7163046ea9: Verifying Checksum [2021-12-02T11:48:36.147Z] 4c7163046ea9: Download complete [2021-12-02T11:48:36.147Z] 0c2d73faf560: Verifying Checksum [2021-12-02T11:48:36.147Z] 0c2d73faf560: Download complete [2021-12-02T11:48:36.408Z] a0d0a0d46f8b: Pull complete [2021-12-02T11:48:36.408Z] 3e5f54012d9b: Pull complete [2021-12-02T11:48:36.669Z] 4c7163046ea9: Pull complete [2021-12-02T11:48:36.933Z] 0c2d73faf560: Pull complete [2021-12-02T11:48:36.933Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T11:48:36.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:48:36.933Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T11:48:36.999Z] prd-centos7-docker-4c-2g-89 does not seem to be running inside a container [2021-12-02T11:48:37.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-148 -v /w/workspace/gexfoundry_device-rest-go_PR-148:/w/workspace/gexfoundry_device-rest-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-148@tmp:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T11:48:37.644Z] $ docker top 89bca161436da95445fcf92458a139e007303d0c9c5249a1f3928a1ffd78d9ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T11:48:37.764Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:48:37.764Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:48:37.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:48:37.876Z] $ docker exec 89bca161436da95445fcf92458a139e007303d0c9c5249a1f3928a1ffd78d9ff ssh-agent [2021-12-02T11:48:37.975Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoPFfJe/agent.13 [2021-12-02T11:48:37.975Z] SSH_AGENT_PID=20 [2021-12-02T11:48:37.982Z] Running ssh-add (command line suppressed) [2021-12-02T11:48:38.077Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_5600830915013424779.key (/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_5600830915013424779.key) [2021-12-02T11:48:38.090Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:48:38.385Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T11:48:38.398Z] $ docker exec --env ******** --env ******** 89bca161436da95445fcf92458a139e007303d0c9c5249a1f3928a1ffd78d9ff ssh-agent -k [2021-12-02T11:48:38.484Z] unset SSH_AUTH_SOCK; [2021-12-02T11:48:38.484Z] unset SSH_AGENT_PID; [2021-12-02T11:48:38.485Z] echo Agent pid 20 killed; [2021-12-02T11:48:38.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T11:48:38.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:48:38.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:48:38.625Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:48:38.626Z] $ docker exec 89bca161436da95445fcf92458a139e007303d0c9c5249a1f3928a1ffd78d9ff ssh-agent [2021-12-02T11:48:38.718Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXojjGbn/agent.55 [2021-12-02T11:48:38.718Z] SSH_AGENT_PID=61 [2021-12-02T11:48:38.726Z] Running ssh-add (command line suppressed) [2021-12-02T11:48:38.843Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_182909397607960603.key (/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_182909397607960603.key) [2021-12-02T11:48:38.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:48:39.144Z] + git semver init [2021-12-02T11:48:39.144Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T11:48:39.144Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-148/.git [2021-12-02T11:48:39.144Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T11:48:39.144Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T11:48:39.144Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T11:48:39.144Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T11:48:39.144Z] # $SEMVER_BRANCH = PR-148 [2021-12-02T11:48:39.144Z] # $SEMVER_TEMP = /tmp/semver-293339446 [2021-12-02T11:48:39.144Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-12-02T11:48:40.528Z] # '/tmp/semver-293339446' -> '/w/workspace/gexfoundry_device-rest-go_PR-148/.semver' [2021-12-02T11:48:40.528Z] # -> Force: false [2021-12-02T11:48:40.528Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-148/.semver [Pipeline] } [2021-12-02T11:48:40.537Z] $ docker exec --env ******** --env ******** 89bca161436da95445fcf92458a139e007303d0c9c5249a1f3928a1ffd78d9ff ssh-agent -k [2021-12-02T11:48:40.619Z] unset SSH_AUTH_SOCK; [2021-12-02T11:48:40.619Z] unset SSH_AGENT_PID; [2021-12-02T11:48:40.619Z] echo Agent pid 61 killed; [2021-12-02T11:48:40.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T11:48:40.949Z] + git semver [Pipeline] } [2021-12-02T11:48:40.960Z] $ docker stop --time=1 89bca161436da95445fcf92458a139e007303d0c9c5249a1f3928a1ffd78d9ff [2021-12-02T11:48:42.287Z] $ docker rm -f 89bca161436da95445fcf92458a139e007303d0c9c5249a1f3928a1ffd78d9ff [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:48:42.633Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T11:48:42.857Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T11:48:42.861Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-02T11:48:58.090Z] Still waiting to schedule task [2021-12-02T11:48:58.090Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-02T11:48:58.094Z] Still waiting to schedule task [2021-12-02T11:48:58.095Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-12-02T11:51:05.248Z] Running on prd-centos7-docker-4c-2g-90 in /w/workspace/gexfoundry_device-rest-go_PR-148 [Pipeline] { [Pipeline] ws [2021-12-02T11:51:05.261Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-12-02T11:51:05.342Z] The recommended git tool is: git [2021-12-02T11:51:06.887Z] using credential edgex-jenkins-ssh [2021-12-02T11:51:06.903Z] Cloning the remote Git repository [2021-12-02T11:51:06.021Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T11:51:06.051Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-12-02T11:51:06.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T11:51:06.079Z] > git --version # timeout=10 [2021-12-02T11:51:06.090Z] > git --version # 'git version 2.24.4' [2021-12-02T11:51:06.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:51:06.111Z] [INFO] Currently running in a labeled security context [2021-12-02T11:51:06.111Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T11:51:06.112Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh4501067758387613552.key [2021-12-02T11:51:06.197Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:51:07.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T11:51:07.185Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:51:07.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T11:51:07.212Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T11:51:07.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:51:07.213Z] [INFO] Currently running in a labeled security context [2021-12-02T11:51:07.213Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T11:51:07.213Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh2160416193912544236.key [2021-12-02T11:51:07.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-02T11:51:08.729Z] Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [2021-12-02T11:51:08.821Z] Merge succeeded, producing fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [2021-12-02T11:51:08.822Z] Checking out Revision fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 (PR-148) [2021-12-02T11:51:07.835Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:51:07.842Z] > git checkout -f fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 # timeout=10 [2021-12-02T11:51:07.880Z] > git remote # timeout=10 [2021-12-02T11:51:07.886Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T11:51:07.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:51:07.897Z] [INFO] Currently running in a labeled security context [2021-12-02T11:51:07.897Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T11:51:07.897Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh7043848189272004966.key [2021-12-02T11:51:07.903Z] > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-02T11:51:07.914Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T11:51:07.923Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:51:07.930Z] > git checkout -f fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 # timeout=10 [2021-12-02T11:51:12.316Z] Commit message: "refactor(snap): remove obsolete passthrough usage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:51:12.632Z] provisioning config files... [2021-12-02T11:51:12.648Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7480526985719262064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:51:13.041Z] ---> docker-login.sh [2021-12-02T11:51:13.041Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:51:13.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:51:13.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:51:13.041Z] Configure a credential helper to remove this warning. See [2021-12-02T11:51:13.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:51:13.041Z] [2021-12-02T11:51:13.041Z] Login Succeeded [2021-12-02T11:51:13.041Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:51:13.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:51:13.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:51:13.314Z] Configure a credential helper to remove this warning. See [2021-12-02T11:51:13.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:51:13.314Z] [2021-12-02T11:51:13.314Z] Login Succeeded [2021-12-02T11:51:13.314Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:51:13.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:51:13.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:51:13.314Z] Configure a credential helper to remove this warning. See [2021-12-02T11:51:13.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:51:13.314Z] [2021-12-02T11:51:13.314Z] Login Succeeded [2021-12-02T11:51:13.314Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:51:13.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:51:13.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:51:13.576Z] Configure a credential helper to remove this warning. See [2021-12-02T11:51:13.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:51:13.576Z] [2021-12-02T11:51:13.576Z] Login Succeeded [2021-12-02T11:51:13.576Z] docker.io [2021-12-02T11:51:13.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:51:13.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:51:13.841Z] Configure a credential helper to remove this warning. See [2021-12-02T11:51:13.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:51:13.841Z] [2021-12-02T11:51:13.841Z] Login Succeeded [2021-12-02T11:51:13.842Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:51:13.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T11:51:14.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:51:14.081Z] ========================================================= [2021-12-02T11:51:14.081Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T11:51:14.081Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:51:14.395Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-02T11:51:14.395Z] Sending build context to Docker daemon 121.9kB [2021-12-02T11:51:14.395Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:51:14.395Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T11:51:14.395Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T11:51:14.395Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T11:51:14.395Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T11:51:14.395Z] b8b176561691: Pulling fs layer [2021-12-02T11:51:14.395Z] 4527c011a84f: Pulling fs layer [2021-12-02T11:51:14.395Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T11:51:14.395Z] e0aca202a116: Pulling fs layer [2021-12-02T11:51:14.395Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T11:51:14.395Z] 34cad66bf833: Pulling fs layer [2021-12-02T11:51:14.395Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T11:51:14.395Z] 4527c011a84f: Waiting [2021-12-02T11:51:14.395Z] 5d74067f8e1e: Waiting [2021-12-02T11:51:14.395Z] e0aca202a116: Waiting [2021-12-02T11:51:14.395Z] 3a43be97a3b4: Waiting [2021-12-02T11:51:14.395Z] 34cad66bf833: Waiting [2021-12-02T11:51:14.395Z] b4e3c513aaa6: Waiting [2021-12-02T11:51:14.395Z] b8b176561691: Download complete [2021-12-02T11:51:14.395Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T11:51:14.395Z] 31adcdaf11c8: Download complete [2021-12-02T11:51:14.395Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T11:51:14.395Z] 5d74067f8e1e: Download complete [2021-12-02T11:51:14.395Z] e0aca202a116: Verifying Checksum [2021-12-02T11:51:14.395Z] e0aca202a116: Download complete [2021-12-02T11:51:14.395Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T11:51:14.395Z] 3a43be97a3b4: Download complete [2021-12-02T11:51:14.395Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T11:51:14.395Z] a0d0a0d46f8b: Download complete [2021-12-02T11:51:14.672Z] 34cad66bf833: Verifying Checksum [2021-12-02T11:51:14.672Z] 34cad66bf833: Download complete [2021-12-02T11:51:14.943Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T11:51:14.943Z] b4e3c513aaa6: Download complete [2021-12-02T11:51:15.207Z] a0d0a0d46f8b: Pull complete [2021-12-02T11:51:15.207Z] 4527c011a84f: Verifying Checksum [2021-12-02T11:51:15.207Z] 4527c011a84f: Download complete [2021-12-02T11:51:15.207Z] 31adcdaf11c8: Pull complete [2021-12-02T11:51:15.207Z] b8b176561691: Pull complete [2021-12-02T11:51:19.434Z] 4527c011a84f: Pull complete [2021-12-02T11:51:19.434Z] 5d74067f8e1e: Pull complete [2021-12-02T11:51:19.434Z] e0aca202a116: Pull complete [2021-12-02T11:51:19.434Z] 3a43be97a3b4: Pull complete [2021-12-02T11:51:19.434Z] 34cad66bf833: Pull complete [2021-12-02T11:51:22.007Z] b4e3c513aaa6: Pull complete [2021-12-02T11:51:22.007Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T11:51:22.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T11:51:22.007Z] ---> 9f6097aaca64 [2021-12-02T11:51:22.007Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T11:51:26.213Z] ---> Running in e22291e99ff5 [2021-12-02T11:51:26.213Z] Removing intermediate container e22291e99ff5 [2021-12-02T11:51:26.213Z] ---> f31a35cb9abf [2021-12-02T11:51:26.213Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:51:26.213Z] ---> Running in 17fea772ea09 [2021-12-02T11:51:26.213Z] Removing intermediate container 17fea772ea09 [2021-12-02T11:51:26.213Z] ---> a93df76418d2 [2021-12-02T11:51:26.213Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:51:26.213Z] ---> Running in 9d23c37337f8 [2021-12-02T11:51:26.213Z] Removing intermediate container 9d23c37337f8 [2021-12-02T11:51:26.213Z] ---> 5324241d6879 [2021-12-02T11:51:26.213Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:51:26.213Z] ---> Running in 5379ddde16b8 [2021-12-02T11:51:26.788Z] Removing intermediate container 5379ddde16b8 [2021-12-02T11:51:26.788Z] ---> b791928aebd2 [2021-12-02T11:51:26.788Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:51:26.788Z] ---> Running in 91b5b33195d5 [2021-12-02T11:51:27.048Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:51:27.627Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:51:28.204Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T11:51:28.204Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T11:51:28.204Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T11:51:28.465Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T11:51:28.465Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T11:51:28.465Z] OK: 224 MiB in 56 packages [2021-12-02T11:51:28.726Z] Removing intermediate container 91b5b33195d5 [2021-12-02T11:51:28.726Z] ---> a3d49a44aece [2021-12-02T11:51:28.726Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T11:51:28.726Z] ---> Running in fe491a08fbdf [2021-12-02T11:51:29.000Z] Removing intermediate container fe491a08fbdf [2021-12-02T11:51:29.000Z] ---> 07bbf1096fee [2021-12-02T11:51:29.000Z] Step 9/11 : COPY . . [2021-12-02T11:51:29.000Z] ---> 498ec04bf55d [2021-12-02T11:51:29.000Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:51:29.000Z] ---> Running in 44f605818057 [2021-12-02T11:52:01.172Z] Removing intermediate container 44f605818057 [2021-12-02T11:52:01.172Z] ---> d640fc64c9e9 [2021-12-02T11:52:01.172Z] Step 11/11 : RUN $MAKE [2021-12-02T11:52:01.172Z] ---> Running in 23271d71bb6d [2021-12-02T11:52:01.172Z] noop [2021-12-02T11:52:01.172Z] Removing intermediate container 23271d71bb6d [2021-12-02T11:52:01.172Z] ---> 50c5d3659f39 [2021-12-02T11:52:01.172Z] Successfully built 50c5d3659f39 [2021-12-02T11:52:01.172Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:52:01.476Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T11:52:01.477Z] . [Pipeline] withDockerContainer [2021-12-02T11:52:01.554Z] prd-centos7-docker-4c-2g-90 does not seem to be running inside a container [2021-12-02T11:52:01.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T11:52:01.991Z] $ docker top 37c3e437dc3f523f175d88a586d9792639558e7c8fd500949557b55da65f55e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:52:02.369Z] + go version [2021-12-02T11:52:02.369Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T11:52:02.379Z] $ docker stop --time=1 37c3e437dc3f523f175d88a586d9792639558e7c8fd500949557b55da65f55e5 [2021-12-02T11:52:03.576Z] $ docker rm -f 37c3e437dc3f523f175d88a586d9792639558e7c8fd500949557b55da65f55e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:52:04.081Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T11:52:04.081Z] . [Pipeline] withDockerContainer [2021-12-02T11:52:04.165Z] prd-centos7-docker-4c-2g-90 does not seem to be running inside a container [2021-12-02T11:52:04.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T11:52:04.570Z] $ docker top c40670206846271f51a9e82de265f1d4d0ac9ec0b3b98c757330cd7246c07bff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T11:52:04.961Z] + make test [2021-12-02T11:52:04.961Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T11:52:05.555Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-02T11:52:18.238Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-91 in /w/workspace/gexfoundry_device-rest-go_PR-148 [Pipeline] { [Pipeline] ws [2021-12-02T11:52:18.250Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-12-02T11:52:18.463Z] The recommended git tool is: git [2021-12-02T11:52:23.601Z] using credential edgex-jenkins-ssh [2021-12-02T11:52:23.620Z] Cloning the remote Git repository [2021-12-02T11:52:23.672Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T11:52:23.738Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T11:52:23.738Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 56.0% of statements [2021-12-02T11:52:23.738Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T11:52:23.756Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-12-02T11:52:23.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T11:52:23.849Z] > git --version # timeout=10 [2021-12-02T11:52:23.866Z] > git --version # 'git version 2.17.1' [2021-12-02T11:52:23.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:52:23.970Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:52:25.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T11:52:25.905Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:52:25.935Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T11:52:25.972Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T11:52:25.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:52:25.986Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-02T11:52:26.648Z] Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [2021-12-02T11:52:26.832Z] Merge succeeded, producing fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [2021-12-02T11:52:26.832Z] Checking out Revision fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 (PR-148) [2021-12-02T11:52:26.662Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:52:26.677Z] > git checkout -f fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 # timeout=10 [2021-12-02T11:52:26.752Z] > git remote # timeout=10 [2021-12-02T11:52:26.768Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T11:52:26.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:52:26.791Z] > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-02T11:52:26.811Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T11:52:26.836Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:52:26.849Z] > git checkout -f fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 # timeout=10 [2021-12-02T11:52:30.341Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T11:52:30.341Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T11:52:30.341Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T11:52:30.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T11:52:30.365Z] $ docker stop --time=1 c40670206846271f51a9e82de265f1d4d0ac9ec0b3b98c757330cd7246c07bff [2021-12-02T11:52:30.961Z] Commit message: "refactor(snap): remove obsolete passthrough usage" [2021-12-02T11:52:31.802Z] $ docker rm -f c40670206846271f51a9e82de265f1d4d0ac9ec0b3b98c757330cd7246c07bff [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:52:32.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T11:52:32.357Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-12-02T11:52:32.494Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T11:52:32.495Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T11:52:32.495Z] Dload Upload Total Spent Left Speed [2021-12-02T11:52:32.495Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 93102 0 --:--:-- --:--:-- --:--:-- 93102 [Pipeline] sh [Pipeline] sh [2021-12-02T11:52:33.082Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T11:52:33.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T11:52:33.421Z] + sudo tee /etc/docker/daemon.new [2021-12-02T11:52:33.421Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T11:52:33.421Z] { [2021-12-02T11:52:33.421Z] "registry-mirrors": [ [2021-12-02T11:52:33.421Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T11:52:33.421Z] ], [2021-12-02T11:52:33.421Z] "bip": "10.250.0.254/24", [2021-12-02T11:52:33.421Z] "hosts": [ [2021-12-02T11:52:33.421Z] "tcp://0.0.0.0:5555", [2021-12-02T11:52:33.421Z] "unix:///var/run/docker.sock" [2021-12-02T11:52:33.421Z] ], [2021-12-02T11:52:33.421Z] "mtu": 1458, [2021-12-02T11:52:33.421Z] "selinux-enabled": true, [2021-12-02T11:52:33.421Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T11:52:33.421Z] } [2021-12-02T11:52:33.443Z] + ls -al . [2021-12-02T11:52:33.443Z] total 148 [2021-12-02T11:52:33.443Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 11:52 . [2021-12-02T11:52:33.443Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 11:51 .. [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 7095 Dec 2 11:51 Attribution.txt [2021-12-02T11:52:33.443Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 2 11:51 bin [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 7459 Dec 2 11:51 CHANGELOG.md [2021-12-02T11:52:33.443Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 11:51 cmd [2021-12-02T11:52:33.443Z] -rw-r--r--. 1 jenkins jenkins 9215 Dec 2 11:52 coverage.out [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 1649 Dec 2 11:51 Dockerfile [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 151 Dec 2 11:51 .dockerignore [2021-12-02T11:52:33.443Z] drwxrwxr-x. 2 jenkins jenkins 76 Dec 2 11:51 driver [2021-12-02T11:52:33.443Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 11:51 .git [2021-12-02T11:52:33.443Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 11:51 .github [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 11:51 .gitignore [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 277 Dec 2 11:51 go.mod [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 49330 Dec 2 11:51 go.sum [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 11:51 GOVERNANCE.md [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 680 Dec 2 11:51 Jenkinsfile [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 11:51 LICENSE [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 1078 Dec 2 11:51 Makefile [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 11:51 OWNERS.md [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 8246 Dec 2 11:51 README.md [2021-12-02T11:52:33.443Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 11:51 snap [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 11:48 VERSION [2021-12-02T11:52:33.443Z] -rw-rw-r--. 1 jenkins jenkins 713 Dec 2 11:51 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-12-02T11:52:33.744Z] + 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=fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 --label arch=amd64 --label version=0.0.0 . [2021-12-02T11:52:33.744Z] Sending build context to Docker daemon 131.6kB [2021-12-02T11:52:33.744Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:52:33.744Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T11:52:33.744Z] ---> 50c5d3659f39 [2021-12-02T11:52:33.744Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T11:52:33.744Z] ---> Running in e0106351b9bc [2021-12-02T11:52:33.744Z] Removing intermediate container e0106351b9bc [2021-12-02T11:52:33.744Z] ---> ed6de7849cb1 [2021-12-02T11:52:33.744Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:52:33.744Z] ---> Running in bf12035c8ea3 [2021-12-02T11:52:33.855Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T11:52:34.005Z] Removing intermediate container bf12035c8ea3 [2021-12-02T11:52:34.005Z] ---> 5f5045f315db [2021-12-02T11:52:34.005Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:52:34.005Z] ---> Running in c68f824629e6 [2021-12-02T11:52:34.005Z] Removing intermediate container c68f824629e6 [2021-12-02T11:52:34.005Z] ---> f42419e13d27 [2021-12-02T11:52:34.005Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:52:34.005Z] ---> Running in 2fa69a108098 [2021-12-02T11:52:34.202Z] + sudo service docker restart [2021-12-02T11:52:34.583Z] Removing intermediate container 2fa69a108098 [2021-12-02T11:52:34.583Z] ---> 02c765f9c17e [2021-12-02T11:52:34.583Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:52:34.583Z] ---> Running in 775264db2531 [2021-12-02T11:52:34.849Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:52:35.789Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:52:36.050Z] OK: 224 MiB in 56 packages [2021-12-02T11:52:36.313Z] Removing intermediate container 775264db2531 [2021-12-02T11:52:36.313Z] ---> 795ef2e87fc7 [2021-12-02T11:52:36.313Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T11:52:36.313Z] ---> Running in 5eb87303b630 [2021-12-02T11:52:36.574Z] Removing intermediate container 5eb87303b630 [2021-12-02T11:52:36.575Z] ---> 335fffdbf612 [2021-12-02T11:52:36.575Z] Step 9/24 : COPY . . [2021-12-02T11:52:36.839Z] ---> 41f9c1ec64de [2021-12-02T11:52:36.839Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:52:36.839Z] ---> Running in 3cfcf947b43d [2021-12-02T11:52:37.416Z] Removing intermediate container 3cfcf947b43d [2021-12-02T11:52:37.416Z] ---> 0e954e0b566d [2021-12-02T11:52:37.416Z] Step 11/24 : RUN $MAKE [2021-12-02T11:52:37.416Z] ---> Running in f5bfd5b0d302 [2021-12-02T11:52:37.684Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-12-02T11:52:50.011Z] Removing intermediate container f5bfd5b0d302 [2021-12-02T11:52:50.011Z] ---> 1f847443810e [2021-12-02T11:52:50.011Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T11:52:50.271Z] 3.14: Pulling from library/alpine [2021-12-02T11:52:50.536Z] 97518928ae5f: Pulling fs layer [2021-12-02T11:52:50.536Z] 97518928ae5f: Verifying Checksum [2021-12-02T11:52:50.536Z] 97518928ae5f: Download complete [2021-12-02T11:52:50.799Z] 97518928ae5f: Pull complete [2021-12-02T11:52:50.799Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T11:52:50.799Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T11:52:50.799Z] ---> 0a97eee8041e [2021-12-02T11:52:50.799Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T11:52:50.799Z] ---> Running in 8cb29b56d760 [2021-12-02T11:52:51.064Z] Removing intermediate container 8cb29b56d760 [2021-12-02T11:52:51.064Z] ---> e7e6c9fff9b7 [2021-12-02T11:52:51.064Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T11:52:51.064Z] ---> Running in 0dc856db8f8d [2021-12-02T11:52:51.064Z] Removing intermediate container 0dc856db8f8d [2021-12-02T11:52:51.064Z] ---> 2bfa9644e851 [2021-12-02T11:52:51.064Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T11:52:51.064Z] ---> Running in 0fceba318924 [2021-12-02T11:52:51.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:52:51.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:52:51.602Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T11:52:51.602Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T11:52:51.602Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T11:52:51.602Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T11:52:51.867Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T11:52:51.867Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T11:52:51.867Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T11:52:51.867Z] OK: 8 MiB in 20 packages [2021-12-02T11:52:52.127Z] Removing intermediate container 0fceba318924 [2021-12-02T11:52:52.127Z] ---> ca119975f443 [2021-12-02T11:52:52.127Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T11:52:52.386Z] ---> 12903544b312 [2021-12-02T11:52:52.386Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T11:52:52.386Z] ---> b4e50d2645e1 [2021-12-02T11:52:52.386Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:52:52.544Z] provisioning config files... [2021-12-02T11:52:52.572Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config749521507219064392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:52:52.646Z] ---> 7319a067c9ba [2021-12-02T11:52:52.646Z] Step 19/24 : EXPOSE 59986 [2021-12-02T11:52:52.646Z] ---> Running in 579e690fd6a6 [2021-12-02T11:52:52.646Z] Removing intermediate container 579e690fd6a6 [2021-12-02T11:52:52.646Z] ---> 1d9a57d5ff8d [2021-12-02T11:52:52.646Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T11:52:52.646Z] ---> Running in d436a4c802f0 [2021-12-02T11:52:52.908Z] Removing intermediate container d436a4c802f0 [2021-12-02T11:52:52.908Z] ---> 111840f61497 [2021-12-02T11:52:52.908Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T11:52:52.908Z] ---> Running in 5652185d0701 [2021-12-02T11:52:52.908Z] Removing intermediate container 5652185d0701 [2021-12-02T11:52:52.908Z] ---> 76ce23854259 [2021-12-02T11:52:52.908Z] Step 22/24 : LABEL arch=amd64 [2021-12-02T11:52:52.908Z] ---> Running in 843326c93c9c [2021-12-02T11:52:52.908Z] Removing intermediate container 843326c93c9c [2021-12-02T11:52:52.908Z] ---> 8d19f8b6d8d8 [2021-12-02T11:52:52.908Z] Step 23/24 : LABEL git_sha=fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [2021-12-02T11:52:52.940Z] ---> docker-login.sh [2021-12-02T11:52:52.940Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:52:53.169Z] ---> Running in e9def901d167 [2021-12-02T11:52:53.169Z] Removing intermediate container e9def901d167 [2021-12-02T11:52:53.169Z] ---> e691799ec046 [2021-12-02T11:52:53.169Z] Step 24/24 : LABEL version=0.0.0 [2021-12-02T11:52:53.169Z] ---> Running in 0d6031bd98f4 [2021-12-02T11:52:53.169Z] Removing intermediate container 0d6031bd98f4 [2021-12-02T11:52:53.169Z] ---> 708ebdc65c7b [2021-12-02T11:52:53.170Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T11:52:53.170Z] Successfully built 708ebdc65c7b [2021-12-02T11:52:53.170Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2021-12-02T11:52:53.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:52:53.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:52:53.802Z] [2021-12-02T11:52:53.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:52:53.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:52:53.813Z] Configure a credential helper to remove this warning. See [2021-12-02T11:52:53.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:52:53.813Z] [2021-12-02T11:52:53.813Z] Login Succeeded [2021-12-02T11:52:53.813Z] nexus3.edgexfoundry.org:10002 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:52:54.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:52:54.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:52:54.107Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T11:52:54.107Z] b4d181a07f80: Pulling fs layer [2021-12-02T11:52:54.107Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T11:52:54.107Z] ed53099fbce6: Pulling fs layer [2021-12-02T11:52:54.107Z] dc539afda2c1: Pulling fs layer [2021-12-02T11:52:54.107Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T11:52:54.107Z] 9065ff56babe: Pulling fs layer [2021-12-02T11:52:54.107Z] d287ab97295c: Pulling fs layer [2021-12-02T11:52:54.107Z] 9065ff56babe: Waiting [2021-12-02T11:52:54.107Z] dc539afda2c1: Waiting [2021-12-02T11:52:54.107Z] 77bc0d833cb6: Waiting [2021-12-02T11:52:54.107Z] d287ab97295c: Waiting [2021-12-02T11:52:54.107Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T11:52:54.107Z] a1111a8f2ec3: Download complete [2021-12-02T11:52:54.107Z] dc539afda2c1: Verifying Checksum [2021-12-02T11:52:54.107Z] dc539afda2c1: Download complete [2021-12-02T11:52:54.107Z] ed53099fbce6: Verifying Checksum [2021-12-02T11:52:54.107Z] ed53099fbce6: Download complete [2021-12-02T11:52:54.107Z] 9065ff56babe: Verifying Checksum [2021-12-02T11:52:54.107Z] 9065ff56babe: Download complete [2021-12-02T11:52:54.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:52:54.360Z] Configure a credential helper to remove this warning. See [2021-12-02T11:52:54.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:52:54.360Z] [2021-12-02T11:52:54.360Z] Login Succeeded [2021-12-02T11:52:54.360Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:52:54.373Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T11:52:54.373Z] 77bc0d833cb6: Download complete [2021-12-02T11:52:54.373Z] b4d181a07f80: Verifying Checksum [2021-12-02T11:52:54.373Z] b4d181a07f80: Download complete [2021-12-02T11:52:54.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:52:54.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:52:54.635Z] Configure a credential helper to remove this warning. See [2021-12-02T11:52:54.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:52:54.635Z] [2021-12-02T11:52:54.635Z] Login Succeeded [2021-12-02T11:52:54.635Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:52:54.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:52:54.964Z] d287ab97295c: Verifying Checksum [2021-12-02T11:52:54.964Z] d287ab97295c: Download complete [2021-12-02T11:52:55.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:52:55.202Z] Configure a credential helper to remove this warning. See [2021-12-02T11:52:55.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:52:55.202Z] [2021-12-02T11:52:55.202Z] Login Succeeded [2021-12-02T11:52:55.202Z] docker.io [2021-12-02T11:52:55.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:52:55.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:52:55.744Z] Configure a credential helper to remove this warning. See [2021-12-02T11:52:55.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:52:55.744Z] [2021-12-02T11:52:55.744Z] Login Succeeded [2021-12-02T11:52:55.744Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:52:55.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-12-02T11:52:55.928Z] b4d181a07f80: Pull complete [2021-12-02T11:52:55.928Z] a1111a8f2ec3: Pull complete [Pipeline] echo [2021-12-02T11:52:56.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:52:56.352Z] ========================================================= [2021-12-02T11:52:56.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T11:52:56.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:52:56.499Z] ed53099fbce6: Pull complete [2021-12-02T11:52:56.703Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-02T11:52:56.703Z] Sending build context to Docker daemon 121.9kB [2021-12-02T11:52:56.766Z] dc539afda2c1: Pull complete [2021-12-02T11:52:56.979Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:52:56.979Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T11:52:57.031Z] 77bc0d833cb6: Pull complete [2021-12-02T11:52:57.031Z] 9065ff56babe: Pull complete [2021-12-02T11:52:57.258Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T11:52:57.258Z] 552d1f2373af: Pulling fs layer [2021-12-02T11:52:57.258Z] ea3f2d53f512: Pulling fs layer [2021-12-02T11:52:57.258Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T11:52:57.258Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T11:52:57.258Z] 72dc09318566: Pulling fs layer [2021-12-02T11:52:57.258Z] f4f7b4309257: Pulling fs layer [2021-12-02T11:52:57.258Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T11:52:57.258Z] b78e95d17946: Pulling fs layer [2021-12-02T11:52:57.258Z] 7a9cfe048b4a: Waiting [2021-12-02T11:52:57.258Z] 72dc09318566: Waiting [2021-12-02T11:52:57.258Z] f4f7b4309257: Waiting [2021-12-02T11:52:57.258Z] 0ac9a79272e3: Waiting [2021-12-02T11:52:57.258Z] b78e95d17946: Waiting [2021-12-02T11:52:57.258Z] 9e70ebbbe112: Verifying Checksum [2021-12-02T11:52:57.258Z] 9e70ebbbe112: Download complete [2021-12-02T11:52:57.258Z] ea3f2d53f512: Verifying Checksum [2021-12-02T11:52:57.258Z] ea3f2d53f512: Download complete [2021-12-02T11:52:57.258Z] 72dc09318566: Download complete [2021-12-02T11:52:57.258Z] f4f7b4309257: Download complete [2021-12-02T11:52:57.258Z] 0ac9a79272e3: Download complete [2021-12-02T11:52:57.258Z] 552d1f2373af: Download complete [2021-12-02T11:52:58.253Z] 552d1f2373af: Pull complete [2021-12-02T11:52:58.531Z] ea3f2d53f512: Pull complete [2021-12-02T11:52:59.139Z] 9e70ebbbe112: Pull complete [2021-12-02T11:52:59.139Z] b78e95d17946: Verifying Checksum [2021-12-02T11:52:59.139Z] b78e95d17946: Download complete [2021-12-02T11:52:59.735Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T11:52:59.735Z] 7a9cfe048b4a: Download complete [2021-12-02T11:53:02.350Z] d287ab97295c: Pull complete [2021-12-02T11:53:02.350Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T11:53:02.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:53:02.350Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T11:53:02.424Z] prd-centos7-docker-4c-2g-90 does not seem to be running inside a container [2021-12-02T11:53:02.463Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T11:53:04.943Z] $ docker top a66248a66d6771bbd91d13afd078ecd650ff491455761252e3f97df87a82dedd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:53:05.349Z] ---> job-cost.sh [2021-12-02T11:53:05.349Z] lf-activate-venv: SKIPPING [2021-12-02T11:53:05.349Z] INFO: No Stack... [2021-12-02T11:53:05.612Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T11:53:05.873Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T11:53:06.172Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-12-02T11:53:06.172Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T11:53:06.203Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] [2021-12-02T11:53:06.209Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] did not exist. Created. [2021-12-02T11:53:06.209Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T11:53:06.515Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T11:53:06.555Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T11:53:06.561Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T11:53:06.581Z] $ docker stop --time=1 a66248a66d6771bbd91d13afd078ecd650ff491455761252e3f97df87a82dedd [2021-12-02T11:53:07.726Z] $ docker rm -f a66248a66d6771bbd91d13afd078ecd650ff491455761252e3f97df87a82dedd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T11:53:12.148Z] 7a9cfe048b4a: Pull complete [2021-12-02T11:53:12.148Z] 72dc09318566: Pull complete [2021-12-02T11:53:12.148Z] f4f7b4309257: Pull complete [2021-12-02T11:53:12.148Z] 0ac9a79272e3: Pull complete [2021-12-02T11:53:17.550Z] b78e95d17946: Pull complete [2021-12-02T11:53:17.550Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T11:53:17.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T11:53:17.550Z] ---> 8b459fc5aaf0 [2021-12-02T11:53:17.550Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T11:53:18.989Z] ---> Running in b45ef25ca69d [2021-12-02T11:53:19.264Z] Removing intermediate container b45ef25ca69d [2021-12-02T11:53:19.264Z] ---> 7b7dcd8c2dfd [2021-12-02T11:53:19.264Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:53:19.265Z] ---> Running in 7aa2ca966549 [2021-12-02T11:53:19.537Z] Removing intermediate container 7aa2ca966549 [2021-12-02T11:53:19.537Z] ---> c6ee052df3e2 [2021-12-02T11:53:19.537Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:53:19.809Z] ---> Running in d5751ba7fd2a [2021-12-02T11:53:20.083Z] Removing intermediate container d5751ba7fd2a [2021-12-02T11:53:20.083Z] ---> 722aa4b9427e [2021-12-02T11:53:20.083Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:53:20.357Z] ---> Running in 644b06e000c7 [2021-12-02T11:53:22.329Z] Removing intermediate container 644b06e000c7 [2021-12-02T11:53:22.329Z] ---> 98bdcffbd47f [2021-12-02T11:53:22.329Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:53:22.329Z] ---> Running in ca2459889438 [2021-12-02T11:53:23.304Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:53:24.276Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:53:24.867Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T11:53:24.867Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T11:53:24.867Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T11:53:25.140Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T11:53:25.140Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T11:53:25.140Z] OK: 223 MiB in 56 packages [2021-12-02T11:53:26.131Z] Removing intermediate container ca2459889438 [2021-12-02T11:53:26.131Z] ---> cd5c88809664 [2021-12-02T11:53:26.131Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T11:53:26.406Z] ---> Running in 96cd194659a1 [2021-12-02T11:53:26.686Z] Removing intermediate container 96cd194659a1 [2021-12-02T11:53:26.686Z] ---> b080c45f2956 [2021-12-02T11:53:26.686Z] Step 9/11 : COPY . . [2021-12-02T11:53:27.282Z] ---> d9b9bf7dbfaa [2021-12-02T11:53:27.282Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:53:27.553Z] ---> Running in 94c84f3bdaee [2021-12-02T11:54:49.341Z] Removing intermediate container 94c84f3bdaee [2021-12-02T11:54:49.341Z] ---> bfaacf2702ec [2021-12-02T11:54:49.341Z] Step 11/11 : RUN $MAKE [2021-12-02T11:54:49.341Z] ---> Running in d34064a2b82a [2021-12-02T11:54:49.341Z] noop [2021-12-02T11:54:49.341Z] Removing intermediate container d34064a2b82a [2021-12-02T11:54:49.341Z] ---> a41e4c71d693 [2021-12-02T11:54:49.341Z] Successfully built a41e4c71d693 [2021-12-02T11:54:49.341Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:54:49.683Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T11:54:49.683Z] . [Pipeline] withDockerContainer [2021-12-02T11:54:49.917Z] prd-ubuntu18.04-docker-arm64-4c-16g-91 does not seem to be running inside a container [2021-12-02T11:54:49.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T11:54:51.295Z] $ docker top 9fd3adacc6d6736a99582610e7759f8e2c913013f6da3ba31d7f7421b2be4c7f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:54:52.194Z] + go version [2021-12-02T11:54:52.194Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T11:54:52.211Z] $ docker stop --time=1 9fd3adacc6d6736a99582610e7759f8e2c913013f6da3ba31d7f7421b2be4c7f [2021-12-02T11:54:53.823Z] $ docker rm -f 9fd3adacc6d6736a99582610e7759f8e2c913013f6da3ba31d7f7421b2be4c7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:54:54.562Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T11:54:54.562Z] . [Pipeline] withDockerContainer [2021-12-02T11:54:54.792Z] prd-ubuntu18.04-docker-arm64-4c-16g-91 does not seem to be running inside a container [2021-12-02T11:54:54.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T11:54:56.134Z] $ docker top df6a96631314c58431bf799807004bf78ca3ebd488e7ba55dabf3c75240f6fd2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T11:54:57.053Z] + make test [2021-12-02T11:54:57.053Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T11:54:58.489Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-02T11:55:55.090Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T11:55:55.090Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 56.0% of statements [2021-12-02T11:55:55.090Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T11:56:17.283Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T11:56:17.283Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T11:56:17.283Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T11:56:17.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T11:56:17.917Z] $ docker stop --time=1 df6a96631314c58431bf799807004bf78ca3ebd488e7ba55dabf3c75240f6fd2 [2021-12-02T11:56:19.651Z] $ docker rm -f df6a96631314c58431bf799807004bf78ca3ebd488e7ba55dabf3c75240f6fd2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:56:20.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T11:56:20.482Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T11:56:20.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:56:21.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T11:56:22.235Z] + ls -al . [2021-12-02T11:56:22.235Z] total 176 [2021-12-02T11:56:22.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 11:56 . [2021-12-02T11:56:22.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 11:52 .. [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 2 11:52 .dockerignore [2021-12-02T11:56:22.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 11:52 .git [2021-12-02T11:56:22.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:52 .github [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 11:52 .gitignore [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 7095 Dec 2 11:52 Attribution.txt [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 7459 Dec 2 11:52 CHANGELOG.md [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 1649 Dec 2 11:52 Dockerfile [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 11:52 GOVERNANCE.md [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 2 11:52 Jenkinsfile [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 11:52 LICENSE [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 1078 Dec 2 11:52 Makefile [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 11:52 OWNERS.md [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 8246 Dec 2 11:52 README.md [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 11:48 VERSION [2021-12-02T11:56:22.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:52 bin [2021-12-02T11:56:22.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:52 cmd [2021-12-02T11:56:22.235Z] -rw-r--r-- 1 jenkins jenkins 9215 Dec 2 11:55 coverage.out [2021-12-02T11:56:22.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:52 driver [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 277 Dec 2 11:52 go.mod [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 49330 Dec 2 11:52 go.sum [2021-12-02T11:56:22.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:52 snap [2021-12-02T11:56:22.235Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 2 11:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:56:22.577Z] + 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=fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 --label arch=arm64 --label version=0.0.0 . [2021-12-02T11:56:22.577Z] Sending build context to Docker daemon 131.6kB [2021-12-02T11:56:22.878Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:56:22.878Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T11:56:22.878Z] ---> a41e4c71d693 [2021-12-02T11:56:22.878Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T11:56:23.154Z] ---> Running in ed7f051192d3 [2021-12-02T11:56:23.432Z] Removing intermediate container ed7f051192d3 [2021-12-02T11:56:23.432Z] ---> 4586f9961ccf [2021-12-02T11:56:23.432Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:56:23.432Z] ---> Running in b0cf8db14d50 [2021-12-02T11:56:24.044Z] Removing intermediate container b0cf8db14d50 [2021-12-02T11:56:24.044Z] ---> c8ec7d280633 [2021-12-02T11:56:24.044Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:56:24.044Z] ---> Running in f995753c9fcf [2021-12-02T11:56:24.337Z] Removing intermediate container f995753c9fcf [2021-12-02T11:56:24.337Z] ---> 10a9d3619153 [2021-12-02T11:56:24.337Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:56:24.337Z] ---> Running in 828679770eee [2021-12-02T11:56:26.313Z] Removing intermediate container 828679770eee [2021-12-02T11:56:26.313Z] ---> 8b35ef83d56a [2021-12-02T11:56:26.313Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:56:26.313Z] ---> Running in 3111d00216fb [2021-12-02T11:56:27.291Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:56:28.268Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:56:28.867Z] OK: 223 MiB in 56 packages [2021-12-02T11:56:29.851Z] Removing intermediate container 3111d00216fb [2021-12-02T11:56:29.851Z] ---> 847d313bd6e5 [2021-12-02T11:56:29.851Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T11:56:29.851Z] ---> Running in 96da9f129313 [2021-12-02T11:56:30.128Z] Removing intermediate container 96da9f129313 [2021-12-02T11:56:30.128Z] ---> 17e6b4b9b581 [2021-12-02T11:56:30.128Z] Step 9/24 : COPY . . [2021-12-02T11:56:31.113Z] ---> c0a191f8e794 [2021-12-02T11:56:31.113Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:56:31.113Z] ---> Running in 01696d358cc0 [2021-12-02T11:56:33.086Z] Removing intermediate container 01696d358cc0 [2021-12-02T11:56:33.086Z] ---> 64a3a7fddcfd [2021-12-02T11:56:33.086Z] Step 11/24 : RUN $MAKE [2021-12-02T11:56:33.086Z] ---> Running in 9cea3adfb259 [2021-12-02T11:56:34.061Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-12-02T11:57:13.054Z] Removing intermediate container 9cea3adfb259 [2021-12-02T11:57:13.054Z] ---> 5bb9749a5b8a [2021-12-02T11:57:13.054Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T11:57:13.054Z] 3.14: Pulling from library/alpine [2021-12-02T11:57:13.054Z] be307f383ecc: Pulling fs layer [2021-12-02T11:57:13.054Z] be307f383ecc: Verifying Checksum [2021-12-02T11:57:13.054Z] be307f383ecc: Download complete [2021-12-02T11:57:13.054Z] be307f383ecc: Pull complete [2021-12-02T11:57:13.054Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T11:57:13.054Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T11:57:13.054Z] ---> 5b8b7b635229 [2021-12-02T11:57:13.054Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T11:57:13.054Z] ---> Running in aabc948880dd [2021-12-02T11:57:13.054Z] Removing intermediate container aabc948880dd [2021-12-02T11:57:13.054Z] ---> f6ae289531af [2021-12-02T11:57:13.054Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T11:57:13.054Z] ---> Running in 1c81212359f0 [2021-12-02T11:57:13.054Z] Removing intermediate container 1c81212359f0 [2021-12-02T11:57:13.054Z] ---> cb12790fe611 [2021-12-02T11:57:13.054Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T11:57:13.054Z] ---> Running in 586212d2cab7 [2021-12-02T11:57:13.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:57:13.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:57:13.648Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T11:57:13.648Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T11:57:13.648Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T11:57:13.648Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T11:57:13.648Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T11:57:13.648Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T11:57:13.648Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T11:57:13.648Z] OK: 8 MiB in 20 packages [2021-12-02T11:57:14.620Z] Removing intermediate container 586212d2cab7 [2021-12-02T11:57:14.620Z] ---> ac30799be0e7 [2021-12-02T11:57:14.620Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T11:57:15.595Z] ---> 14850cb69d57 [2021-12-02T11:57:15.595Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T11:57:16.192Z] ---> b1b20f26394c [2021-12-02T11:57:16.192Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-02T11:57:16.784Z] ---> fa71feffd292 [2021-12-02T11:57:16.784Z] Step 19/24 : EXPOSE 59986 [2021-12-02T11:57:17.057Z] ---> Running in 81ead6b60006 [2021-12-02T11:57:17.329Z] Removing intermediate container 81ead6b60006 [2021-12-02T11:57:17.329Z] ---> 4025ad20eea8 [2021-12-02T11:57:17.329Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T11:57:17.329Z] ---> Running in 9fb1c7f4631c [2021-12-02T11:57:17.924Z] Removing intermediate container 9fb1c7f4631c [2021-12-02T11:57:17.924Z] ---> d7c4803a79f9 [2021-12-02T11:57:17.924Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T11:57:17.924Z] ---> Running in ed6ff360bd3e [2021-12-02T11:57:18.195Z] Removing intermediate container ed6ff360bd3e [2021-12-02T11:57:18.195Z] ---> b1d5d4129bf1 [2021-12-02T11:57:18.195Z] Step 22/24 : LABEL arch=arm64 [2021-12-02T11:57:18.195Z] ---> Running in 69bd0a26b1bd [2021-12-02T11:57:18.789Z] Removing intermediate container 69bd0a26b1bd [2021-12-02T11:57:18.789Z] ---> f6e32ef0833f [2021-12-02T11:57:18.789Z] Step 23/24 : LABEL git_sha=fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [2021-12-02T11:57:18.789Z] ---> Running in 8f07b4335cc9 [2021-12-02T11:57:19.063Z] Removing intermediate container 8f07b4335cc9 [2021-12-02T11:57:19.063Z] ---> 8d3b20683e30 [2021-12-02T11:57:19.063Z] Step 24/24 : LABEL version=0.0.0 [2021-12-02T11:57:19.063Z] ---> Running in 43372b8a5fc3 [2021-12-02T11:57:19.658Z] Removing intermediate container 43372b8a5fc3 [2021-12-02T11:57:19.658Z] ---> 7fd58f91d7d4 [2021-12-02T11:57:19.658Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T11:57:19.658Z] Successfully built 7fd58f91d7d4 [2021-12-02T11:57:19.658Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:57:20.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:57:20.251Z] [2021-12-02T11:57:20.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:57:20.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:57:20.595Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T11:57:20.595Z] 448f6bf000e3: Pulling fs layer [2021-12-02T11:57:20.595Z] f757da607395: Pulling fs layer [2021-12-02T11:57:20.595Z] 05883995daec: Pulling fs layer [2021-12-02T11:57:20.595Z] 8603b9c90790: Pulling fs layer [2021-12-02T11:57:20.595Z] 1560dd03e051: Pulling fs layer [2021-12-02T11:57:20.595Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T11:57:20.595Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T11:57:20.595Z] 1560dd03e051: Waiting [2021-12-02T11:57:20.595Z] 27f5ce0e4adf: Waiting [2021-12-02T11:57:20.595Z] c2d8d7efcc4b: Waiting [2021-12-02T11:57:20.595Z] 8603b9c90790: Waiting [2021-12-02T11:57:20.871Z] f757da607395: Verifying Checksum [2021-12-02T11:57:20.871Z] f757da607395: Download complete [2021-12-02T11:57:20.871Z] 8603b9c90790: Download complete [2021-12-02T11:57:20.871Z] 1560dd03e051: Verifying Checksum [2021-12-02T11:57:20.871Z] 1560dd03e051: Download complete [2021-12-02T11:57:20.871Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T11:57:20.871Z] 27f5ce0e4adf: Download complete [2021-12-02T11:57:21.145Z] 05883995daec: Verifying Checksum [2021-12-02T11:57:21.145Z] 05883995daec: Download complete [2021-12-02T11:57:21.418Z] 448f6bf000e3: Verifying Checksum [2021-12-02T11:57:21.418Z] 448f6bf000e3: Download complete [2021-12-02T11:57:24.049Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T11:57:24.049Z] c2d8d7efcc4b: Download complete [2021-12-02T11:57:25.024Z] 448f6bf000e3: Pull complete [2021-12-02T11:57:25.617Z] f757da607395: Pull complete [2021-12-02T11:57:27.045Z] 05883995daec: Pull complete [2021-12-02T11:57:27.317Z] 8603b9c90790: Pull complete [2021-12-02T11:57:28.293Z] 1560dd03e051: Pull complete [2021-12-02T11:57:28.566Z] 27f5ce0e4adf: Pull complete [2021-12-02T11:57:43.638Z] c2d8d7efcc4b: Pull complete [2021-12-02T11:57:43.638Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T11:57:43.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:57:43.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T11:57:43.859Z] prd-ubuntu18.04-docker-arm64-4c-16g-91 does not seem to be running inside a container [2021-12-02T11:57:43.925Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T11:57:46.519Z] $ docker top 1f5b4cfa533a13c5756464752e54c6004d41c45d42b111706a785eb910632f30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:57:47.438Z] ---> job-cost.sh [2021-12-02T11:57:47.438Z] lf-activate-venv: SKIPPING [2021-12-02T11:57:47.438Z] INFO: No Stack... [2021-12-02T11:57:47.709Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T11:57:48.299Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T11:57:48.955Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-12-02T11:57:48.955Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T11:57:49.013Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] [2021-12-02T11:57:49.020Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] did not exist. Created. [2021-12-02T11:57:49.021Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T11:57:49.691Z] /w/workspace/device-rest-go/3@tmp/durable-4238af72/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-4238af72/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T11:57:50.376Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T11:57:50.394Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T11:57:50.434Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T11:57:50.444Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-148-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T11:57:50.458Z] $ docker stop --time=1 1f5b4cfa533a13c5756464752e54c6004d41c45d42b111706a785eb910632f30 [2021-12-02T11:57:51.931Z] $ docker rm -f 1f5b4cfa533a13c5756464752e54c6004d41c45d42b111706a785eb910632f30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-12-02T11:57:52.622Z] provisioning config files... [2021-12-02T11:57:52.631Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config1784849710679696567tmp [Pipeline] { [Pipeline] sh [2021-12-02T11:57:52.931Z] + set +x [2021-12-02T11:57:52.931Z] + curl -s https://codecov.io/bash [2021-12-02T11:57:52.931Z] + bash -s -- [2021-12-02T11:57:52.931Z] [2021-12-02T11:57:52.931Z] _____ _ [2021-12-02T11:57:52.931Z] / ____| | | [2021-12-02T11:57:52.931Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T11:57:52.931Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T11:57:52.931Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T11:57:52.931Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T11:57:52.931Z] Bash-1.0.6 [2021-12-02T11:57:52.931Z] [2021-12-02T11:57:52.931Z] [2021-12-02T11:57:52.931Z] ==> git version 2.24.4 found [2021-12-02T11:57:52.931Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-12-02T11:57:52.931Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T11:57:52.931Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T11:57:52.931Z] ==> Jenkins CI detected. [2021-12-02T11:57:52.931Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T11:57:52.931Z] project root: . [2021-12-02T11:57:52.931Z] --> token set from env [2021-12-02T11:57:52.931Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T11:57:53.194Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T11:57:53.194Z] ==> Python coveragepy not found [2021-12-02T11:57:53.194Z] ==> Searching for coverage reports in: [2021-12-02T11:57:53.194Z] + . [2021-12-02T11:57:53.194Z] -> Found 1 reports [2021-12-02T11:57:53.194Z] ==> Detecting git/mercurial file structure [2021-12-02T11:57:53.194Z] ==> Reading reports [2021-12-02T11:57:53.194Z] + ./coverage.out bytes=9215 [2021-12-02T11:57:53.194Z] ==> Appending adjustments [2021-12-02T11:57:53.194Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T11:57:53.194Z] + Found adjustments [2021-12-02T11:57:53.194Z] ==> Gzipping contents [2021-12-02T11:57:53.194Z] 4.0K /tmp/codecov.NdQNdi.gz [2021-12-02T11:57:53.194Z] ==> Uploading reports [2021-12-02T11:57:53.194Z] url: https://codecov.io [2021-12-02T11:57:53.194Z] query: branch=PR-148&commit=fd6a719a4bd5df0a2a0a64614c80655b1b6a3826&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-148%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=148&job=&cmd_args= [2021-12-02T11:57:53.195Z] -> Pinging Codecov [2021-12-02T11:57:53.195Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-148&commit=fd6a719a4bd5df0a2a0a64614c80655b1b6a3826&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-148%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=148&job=&cmd_args= [2021-12-02T11:57:53.455Z] -> Uploading to [2021-12-02T11:57:53.455Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/4E5D53B4F1F92C436F7061BF334D961C/fd6a719a4bd5df0a2a0a64614c80655b1b6a3826/4fa2f5fc-25d8-4ff2-88bd-16a34f8a179c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T115753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f46bd7c24d420f353387a4a02667929a8f27fd95dc6548441c27331c066f36b [2021-12-02T11:57:53.455Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T11:57:53.456Z] Dload Upload Total Spent Left Speed [2021-12-02T11:57:53.724Z] 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 6600 --:--:-- --:--:-- --:--:-- 6587 [2021-12-02T11:57:53.724Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/fd6a719a4bd5df0a2a0a64614c80655b1b6a3826 [Pipeline] } [2021-12-02T11:57:53.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-02T11:57:54.996Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-148/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:57:55.298Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:57:55.871Z] ---> package-listing.sh [2021-12-02T11:57:55.871Z] ++ facter osfamily [2021-12-02T11:57:55.871Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T11:57:56.134Z] + OS_FAMILY=redhat [2021-12-02T11:57:56.134Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T11:57:56.134Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T11:57:56.134Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T11:57:56.134Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T11:57:56.134Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T11:57:56.134Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-148 ']' [2021-12-02T11:57:56.134Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T11:57:56.134Z] + case "${OS_FAMILY}" in [2021-12-02T11:57:56.134Z] + sort [2021-12-02T11:57:56.134Z] + rpm -qa [2021-12-02T11:57:56.709Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T11:57:56.709Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T11:57:56.709Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T11:57:56.709Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-148 ']' [2021-12-02T11:57:56.709Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-148/archives/ [2021-12-02T11:57:56.709Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-148/archives/ [Pipeline] echo [2021-12-02T11:57:56.723Z] 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/gexfoundry_device-rest-go_PR-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-02T11:57:57.013Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:57:57.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:57:57.577Z] [2021-12-02T11:57:57.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:57:57.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:57:57.879Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T11:57:57.879Z] b4d181a07f80: Pulling fs layer [2021-12-02T11:57:57.879Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T11:57:57.879Z] ed53099fbce6: Pulling fs layer [2021-12-02T11:57:57.879Z] dc539afda2c1: Pulling fs layer [2021-12-02T11:57:57.879Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T11:57:57.879Z] 9065ff56babe: Pulling fs layer [2021-12-02T11:57:57.879Z] d287ab97295c: Pulling fs layer [2021-12-02T11:57:57.879Z] dc539afda2c1: Waiting [2021-12-02T11:57:57.879Z] 77bc0d833cb6: Waiting [2021-12-02T11:57:57.879Z] 9065ff56babe: Waiting [2021-12-02T11:57:57.879Z] d287ab97295c: Waiting [2021-12-02T11:57:57.879Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T11:57:57.879Z] a1111a8f2ec3: Download complete [2021-12-02T11:57:57.879Z] dc539afda2c1: Verifying Checksum [2021-12-02T11:57:57.879Z] dc539afda2c1: Download complete [2021-12-02T11:57:58.149Z] ed53099fbce6: Verifying Checksum [2021-12-02T11:57:58.149Z] ed53099fbce6: Download complete [2021-12-02T11:57:58.149Z] 9065ff56babe: Verifying Checksum [2021-12-02T11:57:58.149Z] 9065ff56babe: Download complete [2021-12-02T11:57:58.149Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T11:57:58.149Z] 77bc0d833cb6: Download complete [2021-12-02T11:57:58.149Z] b4d181a07f80: Verifying Checksum [2021-12-02T11:57:58.149Z] b4d181a07f80: Download complete [2021-12-02T11:57:58.736Z] d287ab97295c: Verifying Checksum [2021-12-02T11:57:58.736Z] d287ab97295c: Download complete [2021-12-02T11:57:59.691Z] b4d181a07f80: Pull complete [2021-12-02T11:57:59.691Z] a1111a8f2ec3: Pull complete [2021-12-02T11:58:00.277Z] ed53099fbce6: Pull complete [2021-12-02T11:58:00.277Z] dc539afda2c1: Pull complete [2021-12-02T11:58:00.858Z] 77bc0d833cb6: Pull complete [2021-12-02T11:58:00.858Z] 9065ff56babe: Pull complete [2021-12-02T11:58:06.189Z] d287ab97295c: Pull complete [2021-12-02T11:58:06.189Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T11:58:06.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:58:06.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T11:58:06.259Z] prd-centos7-docker-4c-2g-89 does not seem to be running inside a container [2021-12-02T11:58:06.293Z] $ 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/gexfoundry_device-rest-go_PR-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-148 -v /w/workspace/gexfoundry_device-rest-go_PR-148:/w/workspace/gexfoundry_device-rest-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-148@tmp:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T11:58:08.868Z] $ docker top 79f1c897fa4d31d08884603aff862a16f489485d924c5d536cd1b4dcaae35bc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:58:09.222Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T11:58:09.510Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T11:58:09.809Z] + ls /var/log/sa-host [2021-12-02T11:58:09.809Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T11:58:09.809Z] file_magic: OK [2021-12-02T11:58:09.809Z] HZ: Using current value: 100 [2021-12-02T11:58:09.809Z] file_header: OK [2021-12-02T11:58:09.809Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T11:58:09.809Z] Statistics: [2021-12-02T11:58:09.809Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T11:58:09.809Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T11:58:09.809Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T11:58:09.809Z] file_magic: OK [2021-12-02T11:58:09.809Z] HZ: Using current value: 100 [2021-12-02T11:58:09.809Z] file_header: OK [2021-12-02T11:58:09.809Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T11:58:09.809Z] Statistics: [2021-12-02T11:58:09.809Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T11:58:09.809Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:58:09.896Z] provisioning config files... [2021-12-02T11:58:09.909Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config8644804249388538595tmp [Pipeline] { [Pipeline] echo [2021-12-02T11:58:09.924Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:58:10.212Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T11:58:10.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:58:10.561Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T11:58:10.572Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:58:10.862Z] ---> sudo-logs.sh [2021-12-02T11:58:10.862Z] Archiving 'sudo' log.. [2021-12-02T11:58:11.121Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-89.novalocal: Name or service not known [2021-12-02T11:58:11.121Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-89.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T11:58:11.147Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:58:11.448Z] ---> job-cost.sh [2021-12-02T11:58:11.448Z] lf-activate-venv: SKIPPING [2021-12-02T11:58:11.448Z] DEBUG: total: 0.10999999940395355 [2021-12-02T11:58:11.448Z] INFO: Retrieving Stack Cost... [2021-12-02T11:58:12.018Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T11:58:12.276Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T11:58:12.288Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:58:12.578Z] ---> logs-deploy.sh [2021-12-02T11:58:12.578Z] lf-activate-venv: SKIPPING [2021-12-02T11:58:12.578Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-148/3 [2021-12-02T11:58:12.578Z] INFO: archiving workspace using pattern(s): [2021-12-02T11:58:13.149Z] Archives upload complete. [2021-12-02T11:58:13.408Z] INFO: archiving logs to Nexus