Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7cae7b1f58b74971914cd61c53ee135eddaf8249+9b53a838cf715098176e329c4fd19d0f7ded052f (caba23ef965e3dca246112157224b9731510ff9e) 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-ssh17594753439410265084.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh85137303140074014.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-186/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-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12865558029175356364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh13527454891605568562.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-186/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-186/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12663321068819211008.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63038 in /w/workspace/gexfoundry_device-rest-go_PR-186 [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-186 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 9b53a838cf715098176e329c4fd19d0f7ded052f into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 > git remote # timeout=10 Merge succeeded, producing a707ba172b9c2d3ea21e0fee90480c085186d301 Checking out Revision a707ba172b9c2d3ea21e0fee90480c085186d301 (PR-186) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a707ba172b9c2d3ea21e0fee90480c085186d301 # timeout=10 Commit message: "Merge commit '9b53a838cf715098176e329c4fd19d0f7ded052f' into HEAD" > git rev-list --no-walk 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T03:07:25.979Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T03:07:26.044Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T03:07:26.065Z] ========================================================= [2022-05-11T03:07:26.065Z] EdgeX Global Pipelines Version Info [2022-05-11T03:07:26.065Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:07:26.838Z] ------------------- [2022-05-11T03:07:26.838Z] stable info: [2022-05-11T03:07:26.838Z] ------------------- [2022-05-11T03:07:26.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T03:07:26.838Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T03:07:26.838Z] Message: update stable to v1.0.230 [2022-05-11T03:07:27.414Z] ------------------- [2022-05-11T03:07:27.414Z] experimental info: [2022-05-11T03:07:27.414Z] ------------------- [2022-05-11T03:07:27.414Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T03:07:27.414Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T03:07:27.414Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T03:07:27.572Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-11T03:07:27.589Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-11T03:07:27.605Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T03:07:27.622Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T03:07:27.639Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T03:07:27.656Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T03:07:27.673Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T03:07:27.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T03:07:27.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T03:07:27.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T03:07:27.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T03:07:27.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-11T03:07:27.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T03:07:27.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T03:07:27.813Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T03:07:27.830Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T03:07:27.846Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T03:07:27.864Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T03:07:27.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T03:07:27.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T03:07:27.914Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T03:07:27.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T03:07:27.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T03:07:27.968Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T03:07:27.984Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T03:07:28.001Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T03:07:28.018Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo [2022-05-11T03:07:28.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo [2022-05-11T03:07:28.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo [2022-05-11T03:07:28.075Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo [2022-05-11T03:07:28.091Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a707ba1 [Pipeline] echo [2022-05-11T03:07:28.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T03:07:28.163Z] provisioning config files... [2022-05-11T03:07:28.177Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config3253382690844957916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:07:28.489Z] ---> docker-login.sh [2022-05-11T03:07:28.489Z] nexus3.edgexfoundry.org:10001 [2022-05-11T03:07:28.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:29.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:29.012Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:29.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:29.012Z] [2022-05-11T03:07:29.012Z] Login Succeeded [2022-05-11T03:07:29.012Z] nexus3.edgexfoundry.org:10002 [2022-05-11T03:07:29.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:29.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:29.012Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:29.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:29.012Z] [2022-05-11T03:07:29.012Z] Login Succeeded [2022-05-11T03:07:29.012Z] nexus3.edgexfoundry.org:10003 [2022-05-11T03:07:29.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:29.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:29.272Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:29.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:29.272Z] [2022-05-11T03:07:29.272Z] Login Succeeded [2022-05-11T03:07:29.272Z] nexus3.edgexfoundry.org:10004 [2022-05-11T03:07:29.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:29.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:29.272Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:29.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:29.272Z] [2022-05-11T03:07:29.272Z] Login Succeeded [2022-05-11T03:07:29.272Z] docker.io [2022-05-11T03:07:29.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:29.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:29.796Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:29.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:29.796Z] [2022-05-11T03:07:29.796Z] Login Succeeded [2022-05-11T03:07:29.796Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T03:07:29.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T03:07:30.217Z] + git rev-list -1 --merges a707ba172b9c2d3ea21e0fee90480c085186d301~1..a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo [2022-05-11T03:07:30.334Z] -----------> git rev-list -1 --merges a707ba172b9c2d3ea21e0fee90480c085186d301~1..a707ba172b9c2d3ea21e0fee90480c085186d301 a707ba172b9c2d3ea21e0fee90480c085186d301 [2022-05-11T03:07:30.334Z] a707ba172b9c2d3ea21e0fee90480c085186d301 [false] [Pipeline] sh [2022-05-11T03:07:30.631Z] + git log --format=format:%s -1 a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo [2022-05-11T03:07:30.646Z] ========================================================= [2022-05-11T03:07:30.646Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T03:07:30.646Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T03:07:30.996Z] + git log --format=format:%s -1 a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo [2022-05-11T03:07:31.011Z] [semverPrep] GIT_COMMIT: a707ba172b9c2d3ea21e0fee90480c085186d301, Commit Message: Merge commit '9b53a838cf715098176e329c4fd19d0f7ded052f' into HEAD [Pipeline] echo [2022-05-11T03:07:31.021Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T03:07:31.503Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T03:07:31.504Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T03:07:31.504Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T03:07:31.504Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T03:07:31.504Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T03:07:31.504Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T03:07:31.504Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:07:32.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T03:07:32.018Z] [2022-05-11T03:07:32.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:07:32.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T03:07:32.327Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T03:07:32.327Z] 1fe172e4850f: Pulling fs layer [2022-05-11T03:07:32.327Z] caf521ccaac6: Pulling fs layer [2022-05-11T03:07:32.327Z] 3ead6fa29328: Pulling fs layer [2022-05-11T03:07:32.327Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T03:07:32.327Z] a8d5f1318db7: Pulling fs layer [2022-05-11T03:07:32.327Z] c427282e49a2: Pulling fs layer [2022-05-11T03:07:32.327Z] 1827001aaf11: Pulling fs layer [2022-05-11T03:07:32.327Z] 0714d37db230: Pulling fs layer [2022-05-11T03:07:32.327Z] ac28cf19c067: Pulling fs layer [2022-05-11T03:07:32.327Z] ca983d60f3e2: Pulling fs layer [2022-05-11T03:07:32.327Z] 9f894cec8388: Pulling fs layer [2022-05-11T03:07:32.327Z] a8d5f1318db7: Waiting [2022-05-11T03:07:32.327Z] ac28cf19c067: Waiting [2022-05-11T03:07:32.327Z] c427282e49a2: Waiting [2022-05-11T03:07:32.327Z] 1827001aaf11: Waiting [2022-05-11T03:07:32.327Z] ca983d60f3e2: Waiting [2022-05-11T03:07:32.327Z] 9f894cec8388: Waiting [2022-05-11T03:07:32.327Z] 5c2a1cbceb83: Waiting [2022-05-11T03:07:32.327Z] 0714d37db230: Waiting [2022-05-11T03:07:32.327Z] caf521ccaac6: Download complete [2022-05-11T03:07:32.327Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T03:07:32.327Z] 5c2a1cbceb83: Download complete [2022-05-11T03:07:32.587Z] a8d5f1318db7: Download complete [2022-05-11T03:07:32.587Z] 3ead6fa29328: Verifying Checksum [2022-05-11T03:07:32.587Z] 3ead6fa29328: Download complete [2022-05-11T03:07:32.587Z] c427282e49a2: Verifying Checksum [2022-05-11T03:07:32.587Z] c427282e49a2: Download complete [2022-05-11T03:07:32.587Z] 0714d37db230: Download complete [2022-05-11T03:07:32.587Z] ac28cf19c067: Download complete [2022-05-11T03:07:32.587Z] ca983d60f3e2: Verifying Checksum [2022-05-11T03:07:32.587Z] ca983d60f3e2: Download complete [2022-05-11T03:07:32.587Z] 9f894cec8388: Download complete [2022-05-11T03:07:32.587Z] 1fe172e4850f: Verifying Checksum [2022-05-11T03:07:32.587Z] 1fe172e4850f: Download complete [2022-05-11T03:07:33.160Z] 1827001aaf11: Verifying Checksum [2022-05-11T03:07:33.160Z] 1827001aaf11: Download complete [2022-05-11T03:07:34.100Z] 1fe172e4850f: Pull complete [2022-05-11T03:07:34.100Z] caf521ccaac6: Pull complete [2022-05-11T03:07:34.671Z] 3ead6fa29328: Pull complete [2022-05-11T03:07:34.671Z] 5c2a1cbceb83: Pull complete [2022-05-11T03:07:34.932Z] a8d5f1318db7: Pull complete [2022-05-11T03:07:34.932Z] c427282e49a2: Pull complete [2022-05-11T03:07:36.841Z] 1827001aaf11: Pull complete [2022-05-11T03:07:36.841Z] 0714d37db230: Pull complete [2022-05-11T03:07:37.101Z] ac28cf19c067: Pull complete [2022-05-11T03:07:37.101Z] ca983d60f3e2: Pull complete [2022-05-11T03:07:37.101Z] 9f894cec8388: Pull complete [2022-05-11T03:07:37.101Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T03:07:37.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T03:07:37.101Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T03:07:37.176Z] prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container [2022-05-11T03:07:37.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T03:07:39.195Z] $ docker top bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e -eo pid,comm [2022-05-11T03:07:39.265Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-11T03:07:39.265Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T03:07:39.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T03:07:39.312Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T03:07:39.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T03:07:39.446Z] $ docker exec bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent [2022-05-11T03:07:39.556Z] SSH_AUTH_SOCK=/tmp/ssh-19YwLC4rPB5j/agent.33 [2022-05-11T03:07:39.556Z] SSH_AGENT_PID=39 [2022-05-11T03:07:39.563Z] Running ssh-add (command line suppressed) [2022-05-11T03:07:39.694Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_5071774455716094776.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_5071774455716094776.key) [2022-05-11T03:07:39.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T03:07:40.003Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T03:07:40.027Z] $ docker exec --env ******** --env ******** bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent -k [2022-05-11T03:07:40.129Z] unset SSH_AUTH_SOCK; [2022-05-11T03:07:40.129Z] unset SSH_AGENT_PID; [2022-05-11T03:07:40.129Z] echo Agent pid 39 killed; [2022-05-11T03:07:40.135Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T03:07:40.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T03:07:40.160Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T03:07:40.290Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T03:07:40.299Z] $ docker exec bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent [2022-05-11T03:07:40.412Z] SSH_AUTH_SOCK=/tmp/ssh-VxzwQ3Lbph8Q/agent.73 [2022-05-11T03:07:40.412Z] SSH_AGENT_PID=79 [2022-05-11T03:07:40.417Z] Running ssh-add (command line suppressed) [2022-05-11T03:07:40.528Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3011803868964059366.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3011803868964059366.key) [2022-05-11T03:07:40.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T03:07:40.830Z] + git semver init [2022-05-11T03:07:41.093Z] 2022-05-11 03:07:41,017 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T03:07:41.093Z] 2022-05-11 03:07:41,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver [2022-05-11T03:07:41.093Z] 2022-05-11 03:07:41,018 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-186/.semver [2022-05-11T03:07:41.093Z] 2022-05-11 03:07:41,018 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-186/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186, universal_newlines=False, shell=None, istream=None) [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,076 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.git/info/exclude [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,077 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 with force:False [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,077 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,081 [execute] INFO git cat-file --batch-check [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,086 [execute] INFO git cat-file --batch [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T03:07:42.479Z] 2022-05-11 03:07:42,089 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 [2022-05-11T03:07:42.479Z] 0.0.0 [Pipeline] } [2022-05-11T03:07:42.495Z] $ docker exec --env ******** --env ******** bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent -k [2022-05-11T03:07:42.599Z] unset SSH_AUTH_SOCK; [2022-05-11T03:07:42.599Z] unset SSH_AGENT_PID; [2022-05-11T03:07:42.599Z] echo Agent pid 79 killed; [2022-05-11T03:07:42.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T03:07:42.922Z] + git semver [Pipeline] } [2022-05-11T03:07:43.200Z] $ docker stop --time=1 bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e [2022-05-11T03:07:44.549Z] $ docker rm -f bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T03:07:44.912Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T03:07:45.167Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T03:07:45.171Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T03:07:45.331Z] provisioning config files... [2022-05-11T03:07:45.344Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config6820095313740793552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:07:45.646Z] ---> docker-login.sh [2022-05-11T03:07:45.646Z] nexus3.edgexfoundry.org:10001 [2022-05-11T03:07:45.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:45.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:45.646Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:45.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:45.646Z] [2022-05-11T03:07:45.646Z] Login Succeeded [2022-05-11T03:07:45.646Z] nexus3.edgexfoundry.org:10002 [2022-05-11T03:07:45.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:45.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:45.906Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:45.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:45.906Z] [2022-05-11T03:07:45.906Z] Login Succeeded [2022-05-11T03:07:45.906Z] nexus3.edgexfoundry.org:10003 [2022-05-11T03:07:45.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:45.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:45.906Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:45.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:45.906Z] [2022-05-11T03:07:45.906Z] Login Succeeded [2022-05-11T03:07:45.906Z] nexus3.edgexfoundry.org:10004 [2022-05-11T03:07:46.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:46.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:46.165Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:46.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:46.165Z] [2022-05-11T03:07:46.165Z] Login Succeeded [2022-05-11T03:07:46.165Z] docker.io [2022-05-11T03:07:46.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:07:46.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:07:46.738Z] Configure a credential helper to remove this warning. See [2022-05-11T03:07:46.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:07:46.738Z] [2022-05-11T03:07:46.738Z] Login Succeeded [2022-05-11T03:07:46.738Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T03:07:46.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T03:07:46.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T03:07:46.844Z] ========================================================= [2022-05-11T03:07:46.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T03:07:46.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:07:47.164Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T03:07:47.164Z] Sending build context to Docker daemon 10.63MB [2022-05-11T03:07:47.164Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T03:07:47.164Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T03:07:47.164Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T03:07:47.164Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T03:07:47.164Z] 666ba61612fd: Pulling fs layer [2022-05-11T03:07:47.164Z] 8ed8ca486205: Pulling fs layer [2022-05-11T03:07:47.164Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T03:07:47.164Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T03:07:47.164Z] ca2b28591e48: Pulling fs layer [2022-05-11T03:07:47.164Z] a51346096db8: Pulling fs layer [2022-05-11T03:07:47.164Z] daebc70d1ce1: Pulling fs layer [2022-05-11T03:07:47.164Z] 0e18a0eac166: Pulling fs layer [2022-05-11T03:07:47.164Z] 22a0e8bec74d: Waiting [2022-05-11T03:07:47.164Z] ca2b28591e48: Waiting [2022-05-11T03:07:47.164Z] a51346096db8: Waiting [2022-05-11T03:07:47.164Z] daebc70d1ce1: Waiting [2022-05-11T03:07:47.164Z] 4fe6c5a15a65: Waiting [2022-05-11T03:07:47.164Z] 8ed8ca486205: Verifying Checksum [2022-05-11T03:07:47.164Z] 8ed8ca486205: Download complete [2022-05-11T03:07:47.423Z] 666ba61612fd: Download complete [2022-05-11T03:07:47.423Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T03:07:47.423Z] 22a0e8bec74d: Download complete [2022-05-11T03:07:47.423Z] ca2b28591e48: Verifying Checksum [2022-05-11T03:07:47.423Z] ca2b28591e48: Download complete [2022-05-11T03:07:47.423Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T03:07:47.423Z] a51346096db8: Verifying Checksum [2022-05-11T03:07:47.423Z] a51346096db8: Download complete [2022-05-11T03:07:47.423Z] daebc70d1ce1: Verifying Checksum [2022-05-11T03:07:47.423Z] daebc70d1ce1: Download complete [2022-05-11T03:07:47.423Z] 59bf1c3509f3: Pull complete [2022-05-11T03:07:47.685Z] 666ba61612fd: Pull complete [2022-05-11T03:07:47.685Z] 8ed8ca486205: Pull complete [2022-05-11T03:07:48.256Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T03:07:48.256Z] 4fe6c5a15a65: Download complete [2022-05-11T03:07:48.256Z] 0e18a0eac166: Verifying Checksum [2022-05-11T03:07:48.256Z] 0e18a0eac166: Download complete [2022-05-11T03:07:51.542Z] 4fe6c5a15a65: Pull complete [2022-05-11T03:07:51.805Z] 22a0e8bec74d: Pull complete [2022-05-11T03:07:51.805Z] ca2b28591e48: Pull complete [2022-05-11T03:07:51.805Z] a51346096db8: Pull complete [2022-05-11T03:07:52.064Z] daebc70d1ce1: Pull complete [2022-05-11T03:07:53.965Z] 0e18a0eac166: Pull complete [2022-05-11T03:07:54.225Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T03:07:54.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T03:07:54.225Z] ---> f018257e8ee9 [2022-05-11T03:07:54.225Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T03:07:56.763Z] ---> Running in 7461a77425ea [2022-05-11T03:07:56.763Z] Removing intermediate container 7461a77425ea [2022-05-11T03:07:56.763Z] ---> 17141ca580b1 [2022-05-11T03:07:56.763Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T03:07:56.763Z] ---> Running in af2b09bdfabb [2022-05-11T03:07:56.763Z] Removing intermediate container af2b09bdfabb [2022-05-11T03:07:56.763Z] ---> 86529b05a79b [2022-05-11T03:07:56.763Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T03:07:56.763Z] ---> Running in cdbd07153a3d [2022-05-11T03:07:56.763Z] Removing intermediate container cdbd07153a3d [2022-05-11T03:07:56.763Z] ---> cac254cdaace [2022-05-11T03:07:56.763Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T03:07:56.763Z] ---> Running in bbda852a8b04 [2022-05-11T03:07:57.702Z] Removing intermediate container bbda852a8b04 [2022-05-11T03:07:57.702Z] ---> fa29392d7e83 [2022-05-11T03:07:57.702Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T03:07:57.702Z] ---> Running in 0980ca16737f [2022-05-11T03:07:57.702Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T03:07:58.645Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T03:07:59.216Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T03:07:59.216Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T03:07:59.216Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T03:07:59.475Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T03:07:59.475Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T03:07:59.475Z] OK: 224 MiB in 56 packages [2022-05-11T03:08:00.042Z] Removing intermediate container 0980ca16737f [2022-05-11T03:08:00.042Z] ---> 0c7ec3762b69 [2022-05-11T03:08:00.042Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T03:08:00.042Z] ---> Running in 3827350c5b6e [2022-05-11T03:08:00.042Z] Removing intermediate container 3827350c5b6e [2022-05-11T03:08:00.042Z] ---> d53ce53a6535 [2022-05-11T03:08:00.042Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T03:08:00.282Z] Still waiting to schedule task [2022-05-11T03:08:00.283Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-11T03:08:00.301Z] ---> f76b2b324fba [2022-05-11T03:08:00.301Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T03:08:00.301Z] ---> Running in 120ad7b189a4 [2022-05-11T03:08:18.403Z] Removing intermediate container 120ad7b189a4 [2022-05-11T03:08:18.403Z] ---> 7bab622cab28 [2022-05-11T03:08:18.403Z] Step 11/12 : COPY . . [2022-05-11T03:08:18.403Z] ---> b23554d0613a [2022-05-11T03:08:18.403Z] Step 12/12 : RUN $MAKE [2022-05-11T03:08:18.403Z] ---> Running in c94745c9dc8b [2022-05-11T03:08:18.666Z] noop [2022-05-11T03:08:18.942Z] Removing intermediate container c94745c9dc8b [2022-05-11T03:08:18.942Z] ---> 39fd008e1547 [2022-05-11T03:08:18.942Z] Successfully built 39fd008e1547 [2022-05-11T03:08:19.203Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:08:19.505Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T03:08:19.505Z] . [Pipeline] withDockerContainer [2022-05-11T03:08:19.582Z] prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container [2022-05-11T03:08:19.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** ci-base-image-x86_64 cat [2022-05-11T03:08:20.054Z] $ docker top 8e9487c2be508cfbbb97dd19cae0c30d509b161df46421367ee8409e909330f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T03:08:20.418Z] + go version [2022-05-11T03:08:20.418Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T03:08:20.435Z] $ docker stop --time=1 8e9487c2be508cfbbb97dd19cae0c30d509b161df46421367ee8409e909330f4 [2022-05-11T03:08:21.781Z] $ docker rm -f 8e9487c2be508cfbbb97dd19cae0c30d509b161df46421367ee8409e909330f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:08:22.210Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T03:08:22.211Z] . [Pipeline] withDockerContainer [2022-05-11T03:08:22.279Z] prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container [2022-05-11T03:08:22.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** ci-base-image-x86_64 cat [2022-05-11T03:08:22.733Z] $ docker top 2ad61e4c02f952b4f63e9b2f71f87954346f8a6bc98d3ec99422b592d1adcaf7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T03:08:23.099Z] + make test [2022-05-11T03:08:23.099Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T03:08:23.359Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T03:08:33.338Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T03:08:33.338Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-11T03:08:39.920Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T03:08:43.212Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T03:08:43.212Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T03:08:43.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T03:08:43.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T03:08:43.818Z] $ docker stop --time=1 2ad61e4c02f952b4f63e9b2f71f87954346f8a6bc98d3ec99422b592d1adcaf7 [2022-05-11T03:08:45.909Z] $ docker rm -f 2ad61e4c02f952b4f63e9b2f71f87954346f8a6bc98d3ec99422b592d1adcaf7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T03:08:46.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T03:08:46.411Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T03:08:47.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T03:08:47.467Z] + ls -al . [2022-05-11T03:08:47.467Z] total 172 [2022-05-11T03:08:47.467Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 03:08 . [2022-05-11T03:08:47.467Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:07 .. [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 03:07 .dockerignore [2022-05-11T03:08:47.468Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:07 .git [2022-05-11T03:08:47.468Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:07 .github [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 03:07 .gitignore [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 03:07 .golangci.yml [2022-05-11T03:08:47.468Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 03:07 .semver [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 03:07 Attribution.txt [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 03:07 CHANGELOG.md [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 03:07 Dockerfile [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 03:07 GOVERNANCE.md [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 03:07 Jenkinsfile [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 03:07 LICENSE [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 03:07 Makefile [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 03:07 OWNERS.md [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 03:07 README.md [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 03:07 VERSION [2022-05-11T03:08:47.468Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:07 bin [2022-05-11T03:08:47.468Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:07 cmd [2022-05-11T03:08:47.468Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 03:08 coverage.out [2022-05-11T03:08:47.468Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:07 driver [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 3326 May 11 03:07 go.mod [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 35481 May 11 03:07 go.sum [2022-05-11T03:08:47.468Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:07 snap [2022-05-11T03:08:47.468Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 03:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:08:47.774Z] + 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=a707ba172b9c2d3ea21e0fee90480c085186d301 --label arch=amd64 --label version=0.0.0 . [2022-05-11T03:08:47.774Z] Sending build context to Docker daemon 10.64MB [2022-05-11T03:08:47.774Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T03:08:47.774Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T03:08:47.774Z] ---> 39fd008e1547 [2022-05-11T03:08:47.774Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T03:08:48.040Z] ---> Running in 53f53d171a04 [2022-05-11T03:08:48.040Z] Removing intermediate container 53f53d171a04 [2022-05-11T03:08:48.040Z] ---> fd26dab3dcd0 [2022-05-11T03:08:48.040Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T03:08:48.040Z] ---> Running in 0abc029050bd [2022-05-11T03:08:48.311Z] Removing intermediate container 0abc029050bd [2022-05-11T03:08:48.311Z] ---> 54022f2df5ab [2022-05-11T03:08:48.311Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T03:08:48.311Z] ---> Running in 3f2fc93187dd [2022-05-11T03:08:48.311Z] Removing intermediate container 3f2fc93187dd [2022-05-11T03:08:48.311Z] ---> 905e079729a1 [2022-05-11T03:08:48.311Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T03:08:48.311Z] ---> Running in 8f72cc7b2101 [2022-05-11T03:08:48.887Z] Removing intermediate container 8f72cc7b2101 [2022-05-11T03:08:48.887Z] ---> 3d9524bc8c37 [2022-05-11T03:08:48.887Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T03:08:49.147Z] ---> Running in 5b09f5e1e2c6 [2022-05-11T03:08:49.407Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T03:08:50.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T03:08:50.348Z] OK: 224 MiB in 56 packages [2022-05-11T03:08:50.918Z] Removing intermediate container 5b09f5e1e2c6 [2022-05-11T03:08:50.918Z] ---> a5911edaa916 [2022-05-11T03:08:50.918Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T03:08:50.918Z] ---> Running in b9b2ddc5c3cd [2022-05-11T03:08:51.178Z] Removing intermediate container b9b2ddc5c3cd [2022-05-11T03:08:51.178Z] ---> 0767fae9febd [2022-05-11T03:08:51.178Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T03:08:51.178Z] ---> e6a4885e5a56 [2022-05-11T03:08:51.178Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T03:08:51.178Z] ---> Running in 43d4a38d34b5 [2022-05-11T03:08:51.746Z] Removing intermediate container 43d4a38d34b5 [2022-05-11T03:08:51.746Z] ---> f94a421afc3f [2022-05-11T03:08:51.746Z] Step 11/25 : COPY . . [2022-05-11T03:08:52.317Z] ---> e44f8f15a7a4 [2022-05-11T03:08:52.317Z] Step 12/25 : RUN $MAKE [2022-05-11T03:08:52.317Z] ---> Running in 9e3cf9ccf67b [2022-05-11T03:08:52.577Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T03:09:14.550Z] Removing intermediate container 9e3cf9ccf67b [2022-05-11T03:09:14.550Z] ---> c8554f58ce27 [2022-05-11T03:09:14.550Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T03:09:14.550Z] 3.14: Pulling from library/alpine [2022-05-11T03:09:14.550Z] 8663204ce13b: Pulling fs layer [2022-05-11T03:09:14.550Z] 8663204ce13b: Verifying Checksum [2022-05-11T03:09:14.550Z] 8663204ce13b: Download complete [2022-05-11T03:09:14.550Z] 8663204ce13b: Pull complete [2022-05-11T03:09:14.550Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T03:09:14.550Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T03:09:14.550Z] ---> e04c818066af [2022-05-11T03:09:14.550Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T03:09:14.550Z] ---> Running in 1fbd91454dfa [2022-05-11T03:09:14.550Z] Removing intermediate container 1fbd91454dfa [2022-05-11T03:09:14.550Z] ---> 78845b207d72 [2022-05-11T03:09:14.550Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T03:09:14.550Z] ---> Running in 760ec5185a40 [2022-05-11T03:09:14.550Z] Removing intermediate container 760ec5185a40 [2022-05-11T03:09:14.550Z] ---> 45b017eb6ea7 [2022-05-11T03:09:14.550Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T03:09:14.550Z] ---> Running in cf966251d91f [2022-05-11T03:09:14.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T03:09:14.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T03:09:14.810Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T03:09:14.810Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T03:09:14.810Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T03:09:14.810Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T03:09:14.810Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T03:09:14.810Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T03:09:14.810Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T03:09:14.810Z] OK: 8 MiB in 20 packages [2022-05-11T03:09:15.379Z] Removing intermediate container cf966251d91f [2022-05-11T03:09:15.379Z] ---> 7622ab425cca [2022-05-11T03:09:15.379Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T03:09:15.951Z] ---> b7677cd9a678 [2022-05-11T03:09:15.951Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T03:09:16.221Z] ---> b33d10797fc9 [2022-05-11T03:09:16.221Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T03:09:16.221Z] ---> 750ad7a28a50 [2022-05-11T03:09:16.221Z] Step 20/25 : EXPOSE 59986 [2022-05-11T03:09:16.221Z] ---> Running in 3f1228ea5f5b [2022-05-11T03:09:16.481Z] Removing intermediate container 3f1228ea5f5b [2022-05-11T03:09:16.481Z] ---> dad864c37cf4 [2022-05-11T03:09:16.481Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T03:09:16.481Z] ---> Running in a67f813157c2 [2022-05-11T03:09:16.481Z] Removing intermediate container a67f813157c2 [2022-05-11T03:09:16.481Z] ---> e5027efa712e [2022-05-11T03:09:16.481Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T03:09:16.481Z] ---> Running in fce94b120a17 [2022-05-11T03:09:16.751Z] Removing intermediate container fce94b120a17 [2022-05-11T03:09:16.751Z] ---> 1155bfb53194 [2022-05-11T03:09:16.751Z] Step 23/25 : LABEL arch=amd64 [2022-05-11T03:09:16.751Z] ---> Running in e8ca9aa86a87 [2022-05-11T03:09:16.751Z] Removing intermediate container e8ca9aa86a87 [2022-05-11T03:09:16.751Z] ---> 063555cdbec2 [2022-05-11T03:09:16.751Z] Step 24/25 : LABEL git_sha=a707ba172b9c2d3ea21e0fee90480c085186d301 [2022-05-11T03:09:17.011Z] ---> Running in ab4696abc162 [2022-05-11T03:09:17.011Z] Removing intermediate container ab4696abc162 [2022-05-11T03:09:17.011Z] ---> a7ea373561bd [2022-05-11T03:09:17.011Z] Step 25/25 : LABEL version=0.0.0 [2022-05-11T03:09:17.012Z] ---> Running in 5db8c646429b [2022-05-11T03:09:17.274Z] Removing intermediate container 5db8c646429b [2022-05-11T03:09:17.274Z] ---> 1e8bcb2ffaa6 [2022-05-11T03:09:17.274Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T03:09:17.274Z] Successfully built 1e8bcb2ffaa6 [2022-05-11T03:09:17.274Z] 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 [2022-05-11T03:09:17.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T03:09:17.696Z] [2022-05-11T03:09:17.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:09:18.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T03:09:18.007Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T03:09:18.007Z] 5eb5b503b376: Pulling fs layer [2022-05-11T03:09:18.007Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T03:09:18.007Z] ec43610c2a17: Pulling fs layer [2022-05-11T03:09:18.007Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T03:09:18.007Z] 33b1e0a273af: Pulling fs layer [2022-05-11T03:09:18.007Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T03:09:18.007Z] 2f39f015ded8: Pulling fs layer [2022-05-11T03:09:18.007Z] 33b1e0a273af: Waiting [2022-05-11T03:09:18.007Z] 5d3b04190fa2: Waiting [2022-05-11T03:09:18.007Z] 3a2ae6a8a46f: Waiting [2022-05-11T03:09:18.007Z] 5c69ac0246d0: Verifying Checksum [2022-05-11T03:09:18.007Z] 5c69ac0246d0: Download complete [2022-05-11T03:09:18.007Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T03:09:18.007Z] 3a2ae6a8a46f: Download complete [2022-05-11T03:09:18.007Z] 33b1e0a273af: Verifying Checksum [2022-05-11T03:09:18.007Z] 33b1e0a273af: Download complete [2022-05-11T03:09:18.007Z] ec43610c2a17: Verifying Checksum [2022-05-11T03:09:18.007Z] ec43610c2a17: Download complete [2022-05-11T03:09:18.266Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T03:09:18.267Z] 5d3b04190fa2: Download complete [2022-05-11T03:09:18.267Z] 5eb5b503b376: Verifying Checksum [2022-05-11T03:09:18.267Z] 5eb5b503b376: Download complete [2022-05-11T03:09:18.835Z] 2f39f015ded8: Download complete [2022-05-11T03:09:19.774Z] 5eb5b503b376: Pull complete [2022-05-11T03:09:19.774Z] 5c69ac0246d0: Pull complete [2022-05-11T03:09:20.345Z] ec43610c2a17: Pull complete [2022-05-11T03:09:20.345Z] 3a2ae6a8a46f: Pull complete [2022-05-11T03:09:20.611Z] 33b1e0a273af: Pull complete [2022-05-11T03:09:20.611Z] 5d3b04190fa2: Pull complete [2022-05-11T03:09:24.808Z] 2f39f015ded8: Pull complete [2022-05-11T03:09:24.808Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T03:09:24.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T03:09:24.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T03:09:24.875Z] prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container [2022-05-11T03:09:24.915Z] $ 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/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T03:09:27.134Z] $ docker top 23ca361fb745cabf1a283aafad69e27b6e8ef16fbb350f474b1f7db573cccfbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:09:27.576Z] ---> job-cost.sh [2022-05-11T03:09:27.576Z] lf-activate-venv: SKIPPING [2022-05-11T03:09:27.576Z] INFO: No Stack... [2022-05-11T03:09:27.835Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T03:09:28.409Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T03:09:28.705Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-186/archives/cost.csv [2022-05-11T03:09:28.705Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T03:09:28.722Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [2022-05-11T03:09:28.728Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] did not exist. Created. [2022-05-11T03:09:28.728Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T03:09:29.041Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T03:09:29.069Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T03:09:29.078Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T03:09:29.104Z] $ docker stop --time=1 23ca361fb745cabf1a283aafad69e27b6e8ef16fbb350f474b1f7db573cccfbf [2022-05-11T03:09:30.304Z] $ docker rm -f 23ca361fb745cabf1a283aafad69e27b6e8ef16fbb350f474b1f7db573cccfbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T03:09:40.360Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63039 in /w/workspace/gexfoundry_device-rest-go_PR-186 [Pipeline] { [Pipeline] ws [2022-05-11T03:09:40.374Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2022-05-11T03:09:40.583Z] The recommended git tool is: git [2022-05-11T03:09:46.292Z] using credential edgex-jenkins-ssh [2022-05-11T03:09:46.309Z] Cloning the remote Git repository [2022-05-11T03:09:46.387Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T03:09:46.464Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2022-05-11T03:09:46.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T03:09:46.532Z] > git --version # timeout=10 [2022-05-11T03:09:46.549Z] > git --version # 'git version 2.25.1' [2022-05-11T03:09:46.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T03:09:46.606Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T03:09:49.032Z] Merging remotes/origin/main commit 9b53a838cf715098176e329c4fd19d0f7ded052f into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 [2022-05-11T03:09:49.285Z] Merge succeeded, producing 1ecf132fa2f4f128d116905892680ead940adc9e [2022-05-11T03:09:49.286Z] Checking out Revision 1ecf132fa2f4f128d116905892680ead940adc9e (PR-186) [2022-05-11T03:09:48.410Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-11T03:09:48.438Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T03:09:48.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-11T03:09:48.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T03:09:48.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T03:09:48.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-11T03:09:49.050Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T03:09:49.071Z] > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 [2022-05-11T03:09:49.151Z] > git remote # timeout=10 [2022-05-11T03:09:49.171Z] > git config --get remote.origin.url # timeout=10 [2022-05-11T03:09:49.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T03:09:49.207Z] > git merge 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 [2022-05-11T03:09:49.260Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-11T03:09:49.291Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T03:09:49.307Z] > git checkout -f 1ecf132fa2f4f128d116905892680ead940adc9e # timeout=10 [2022-05-11T03:09:53.430Z] Commit message: "Merge commit '9b53a838cf715098176e329c4fd19d0f7ded052f' into HEAD" [2022-05-11T03:09:53.441Z] > git rev-list --no-walk 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T03:09:54.576Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T03:09:54.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T03:09:54.576Z] Dload Upload Total Spent Left Speed [2022-05-11T03:09:54.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 84592 [Pipeline] sh [2022-05-11T03:09:55.166Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T03:09:55.527Z] + sudo tee /etc/docker/daemon.new [2022-05-11T03:09:55.527Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T03:09:55.527Z] { [2022-05-11T03:09:55.527Z] "registry-mirrors": [ [2022-05-11T03:09:55.527Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T03:09:55.527Z] ], [2022-05-11T03:09:55.527Z] "bip": "10.250.0.254/24", [2022-05-11T03:09:55.527Z] "hosts": [ [2022-05-11T03:09:55.527Z] "tcp://0.0.0.0:5555", [2022-05-11T03:09:55.527Z] "unix:///var/run/docker.sock" [2022-05-11T03:09:55.527Z] ], [2022-05-11T03:09:55.527Z] "mtu": 1458, [2022-05-11T03:09:55.527Z] "selinux-enabled": true, [2022-05-11T03:09:55.527Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T03:09:55.527Z] } [Pipeline] sh [2022-05-11T03:09:55.939Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T03:09:56.286Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T03:10:14.668Z] provisioning config files... [2022-05-11T03:10:14.694Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config5303861038269688626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:10:15.232Z] ---> docker-login.sh [2022-05-11T03:10:15.232Z] nexus3.edgexfoundry.org:10001 [2022-05-11T03:10:15.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:10:16.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:10:16.111Z] Configure a credential helper to remove this warning. See [2022-05-11T03:10:16.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:10:16.111Z] [2022-05-11T03:10:16.111Z] Login Succeeded [2022-05-11T03:10:16.111Z] nexus3.edgexfoundry.org:10002 [2022-05-11T03:10:16.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:10:16.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:10:16.659Z] Configure a credential helper to remove this warning. See [2022-05-11T03:10:16.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:10:16.659Z] [2022-05-11T03:10:16.659Z] Login Succeeded [2022-05-11T03:10:16.659Z] nexus3.edgexfoundry.org:10003 [2022-05-11T03:10:16.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:10:16.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:10:16.935Z] Configure a credential helper to remove this warning. See [2022-05-11T03:10:16.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:10:16.935Z] [2022-05-11T03:10:16.935Z] Login Succeeded [2022-05-11T03:10:16.935Z] nexus3.edgexfoundry.org:10004 [2022-05-11T03:10:17.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:10:17.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:10:17.496Z] Configure a credential helper to remove this warning. See [2022-05-11T03:10:17.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:10:17.496Z] [2022-05-11T03:10:17.496Z] Login Succeeded [2022-05-11T03:10:17.496Z] docker.io [2022-05-11T03:10:17.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T03:10:18.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T03:10:18.363Z] Configure a credential helper to remove this warning. See [2022-05-11T03:10:18.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T03:10:18.363Z] [2022-05-11T03:10:18.363Z] Login Succeeded [2022-05-11T03:10:18.363Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T03:10:18.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T03:10:18.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T03:10:18.654Z] ========================================================= [2022-05-11T03:10:18.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T03:10:18.654Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:10:18.997Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T03:10:18.997Z] Sending build context to Docker daemon 128.5kB [2022-05-11T03:10:19.272Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T03:10:19.272Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T03:10:19.550Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T03:10:19.550Z] 9b3977197b4f: Pulling fs layer [2022-05-11T03:10:19.550Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T03:10:19.550Z] 94645a83ff95: Pulling fs layer [2022-05-11T03:10:19.550Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T03:10:19.550Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T03:10:19.550Z] 3096ccb668a1: Pulling fs layer [2022-05-11T03:10:19.550Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T03:10:19.550Z] a4caa8a26152: Pulling fs layer [2022-05-11T03:10:19.550Z] 3f3a8bcf1eab: Waiting [2022-05-11T03:10:19.550Z] 0c92f367c5e7: Waiting [2022-05-11T03:10:19.550Z] 3096ccb668a1: Waiting [2022-05-11T03:10:19.550Z] e8cf19c19ddd: Waiting [2022-05-11T03:10:19.550Z] a4caa8a26152: Waiting [2022-05-11T03:10:19.550Z] 94645a83ff95: Verifying Checksum [2022-05-11T03:10:19.550Z] 94645a83ff95: Download complete [2022-05-11T03:10:19.550Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T03:10:19.550Z] 1a89e8eeedd5: Download complete [2022-05-11T03:10:19.550Z] 0c92f367c5e7: Download complete [2022-05-11T03:10:19.550Z] 3096ccb668a1: Verifying Checksum [2022-05-11T03:10:19.550Z] 3096ccb668a1: Download complete [2022-05-11T03:10:19.550Z] 9b3977197b4f: Verifying Checksum [2022-05-11T03:10:19.550Z] 9b3977197b4f: Download complete [2022-05-11T03:10:19.550Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T03:10:19.550Z] e8cf19c19ddd: Download complete [2022-05-11T03:10:20.544Z] 9b3977197b4f: Pull complete [2022-05-11T03:10:20.822Z] 1a89e8eeedd5: Pull complete [2022-05-11T03:10:21.102Z] 94645a83ff95: Pull complete [2022-05-11T03:10:21.701Z] a4caa8a26152: Verifying Checksum [2022-05-11T03:10:21.701Z] a4caa8a26152: Download complete [2022-05-11T03:10:22.299Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T03:10:22.299Z] 3f3a8bcf1eab: Download complete [2022-05-11T03:10:34.715Z] 3f3a8bcf1eab: Pull complete [2022-05-11T03:10:34.715Z] 0c92f367c5e7: Pull complete [2022-05-11T03:10:34.715Z] 3096ccb668a1: Pull complete [2022-05-11T03:10:34.715Z] e8cf19c19ddd: Pull complete [2022-05-11T03:10:41.455Z] a4caa8a26152: Pull complete [2022-05-11T03:10:41.455Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T03:10:41.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T03:10:41.455Z] ---> 725f1c02e7f9 [2022-05-11T03:10:41.455Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T03:10:41.734Z] ---> Running in 22a633de8606 [2022-05-11T03:10:42.010Z] Removing intermediate container 22a633de8606 [2022-05-11T03:10:42.010Z] ---> 8d0264a22cb3 [2022-05-11T03:10:42.010Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T03:10:42.010Z] ---> Running in 783f8e16ca27 [2022-05-11T03:10:42.291Z] Removing intermediate container 783f8e16ca27 [2022-05-11T03:10:42.291Z] ---> cb59d7d40504 [2022-05-11T03:10:42.291Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T03:10:42.569Z] ---> Running in 831833192a64 [2022-05-11T03:10:42.843Z] Removing intermediate container 831833192a64 [2022-05-11T03:10:42.843Z] ---> 68e89ee7ec0b [2022-05-11T03:10:42.843Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T03:10:42.843Z] ---> Running in 4a0dea76a402 [2022-05-11T03:10:44.853Z] Removing intermediate container 4a0dea76a402 [2022-05-11T03:10:44.853Z] ---> 0b1d64ca987b [2022-05-11T03:10:44.853Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T03:10:44.853Z] ---> Running in 55902250ae98 [2022-05-11T03:10:45.852Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T03:10:46.839Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T03:10:47.827Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T03:10:47.827Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T03:10:47.827Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T03:10:48.102Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T03:10:48.102Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T03:10:48.102Z] OK: 224 MiB in 56 packages [2022-05-11T03:10:49.095Z] Removing intermediate container 55902250ae98 [2022-05-11T03:10:49.095Z] ---> fbd9af5d9459 [2022-05-11T03:10:49.095Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T03:10:49.095Z] ---> Running in 649d2fc140b6 [2022-05-11T03:10:49.370Z] Removing intermediate container 649d2fc140b6 [2022-05-11T03:10:49.370Z] ---> db6d4e82ebcc [2022-05-11T03:10:49.370Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T03:10:49.985Z] ---> daaf767805cc [2022-05-11T03:10:49.985Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T03:10:49.985Z] ---> Running in 1e7de96017fe [2022-05-11T03:11:36.984Z] Removing intermediate container 1e7de96017fe [2022-05-11T03:11:36.984Z] ---> f8cab0deffc7 [2022-05-11T03:11:36.984Z] Step 11/12 : COPY . . [2022-05-11T03:11:36.984Z] ---> 3630e35d4d0e [2022-05-11T03:11:36.984Z] Step 12/12 : RUN $MAKE [2022-05-11T03:11:36.984Z] ---> Running in 9458cc20b807 [2022-05-11T03:11:36.984Z] noop [2022-05-11T03:11:36.984Z] Removing intermediate container 9458cc20b807 [2022-05-11T03:11:36.984Z] ---> e68affff0197 [2022-05-11T03:11:36.984Z] Successfully built e68affff0197 [2022-05-11T03:11:36.984Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:11:37.333Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T03:11:37.333Z] . [Pipeline] withDockerContainer [2022-05-11T03:11:37.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-63039 does not seem to be running inside a container [2022-05-11T03:11:37.673Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-11T03:11:38.959Z] $ docker top 8c7db368c9e621502f5dffa33d58aeb7560b0daaf120cedc3c4ae1447f10914f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T03:11:39.881Z] + go version [2022-05-11T03:11:39.882Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T03:11:39.912Z] $ docker stop --time=1 8c7db368c9e621502f5dffa33d58aeb7560b0daaf120cedc3c4ae1447f10914f [2022-05-11T03:11:41.547Z] $ docker rm -f 8c7db368c9e621502f5dffa33d58aeb7560b0daaf120cedc3c4ae1447f10914f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:11:42.145Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T03:11:42.145Z] . [Pipeline] withDockerContainer [2022-05-11T03:11:42.367Z] prd-ubuntu20.04-docker-arm64-4c-16g-63039 does not seem to be running inside a container [2022-05-11T03:11:42.460Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-11T03:11:43.825Z] $ docker top ecd773590d6aa4fb8a6482e5be015c19562e5185183932bf1b3fa1c13761a446 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T03:11:44.757Z] + make test [2022-05-11T03:11:44.757Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T03:11:46.216Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T03:13:08.082Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T03:13:08.082Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements [2022-05-11T03:13:08.082Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T03:13:08.082Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T03:13:30.275Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T03:13:30.275Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T03:13:30.275Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T03:13:32.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T03:13:32.306Z] $ docker stop --time=1 ecd773590d6aa4fb8a6482e5be015c19562e5185183932bf1b3fa1c13761a446 [2022-05-11T03:13:34.080Z] $ docker rm -f ecd773590d6aa4fb8a6482e5be015c19562e5185183932bf1b3fa1c13761a446 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T03:13:35.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T03:13:35.053Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T03:13:35.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T03:13:35.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T03:13:36.276Z] + ls -al . [2022-05-11T03:13:36.276Z] total 168 [2022-05-11T03:13:36.276Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:13 . [2022-05-11T03:13:36.276Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:09 .. [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 03:09 .dockerignore [2022-05-11T03:13:36.276Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:09 .git [2022-05-11T03:13:36.276Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:09 .github [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 03:09 .gitignore [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 03:09 .golangci.yml [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 03:09 Attribution.txt [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 03:09 CHANGELOG.md [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 03:09 Dockerfile [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 03:09 GOVERNANCE.md [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 03:09 Jenkinsfile [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 03:09 LICENSE [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 03:09 Makefile [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 03:09 OWNERS.md [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 03:09 README.md [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 03:07 VERSION [2022-05-11T03:13:36.276Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:09 bin [2022-05-11T03:13:36.276Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:09 cmd [2022-05-11T03:13:36.276Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 03:13 coverage.out [2022-05-11T03:13:36.276Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:09 driver [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 3326 May 11 03:09 go.mod [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 35481 May 11 03:09 go.sum [2022-05-11T03:13:36.276Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:09 snap [2022-05-11T03:13:36.276Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 03:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:13:36.623Z] + 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=1ecf132fa2f4f128d116905892680ead940adc9e --label arch=arm64 --label version=0.0.0 . [2022-05-11T03:13:36.623Z] Sending build context to Docker daemon 138.8kB [2022-05-11T03:13:36.897Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T03:13:36.897Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T03:13:36.897Z] ---> e68affff0197 [2022-05-11T03:13:36.897Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T03:13:36.897Z] ---> Running in 16ad887ea213 [2022-05-11T03:13:37.175Z] Removing intermediate container 16ad887ea213 [2022-05-11T03:13:37.175Z] ---> 7110ec1dcaa6 [2022-05-11T03:13:37.175Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T03:13:37.449Z] ---> Running in 597598ebc9ac [2022-05-11T03:13:37.722Z] Removing intermediate container 597598ebc9ac [2022-05-11T03:13:37.722Z] ---> 6a80a218cc7c [2022-05-11T03:13:37.722Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T03:13:37.722Z] ---> Running in 5cdef733b80b [2022-05-11T03:13:37.999Z] Removing intermediate container 5cdef733b80b [2022-05-11T03:13:37.999Z] ---> 741cafdfac15 [2022-05-11T03:13:37.999Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T03:13:37.999Z] ---> Running in 2a7c0999b97a [2022-05-11T03:13:39.979Z] Removing intermediate container 2a7c0999b97a [2022-05-11T03:13:39.979Z] ---> e1f9d8439ab2 [2022-05-11T03:13:39.979Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T03:13:39.979Z] ---> Running in c23eb489f200 [2022-05-11T03:13:40.967Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T03:13:41.566Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T03:13:42.546Z] OK: 224 MiB in 56 packages [2022-05-11T03:13:43.148Z] Removing intermediate container c23eb489f200 [2022-05-11T03:13:43.148Z] ---> d2c1ebbb7e81 [2022-05-11T03:13:43.148Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T03:13:43.426Z] ---> Running in 863969e62a41 [2022-05-11T03:13:43.702Z] Removing intermediate container 863969e62a41 [2022-05-11T03:13:43.702Z] ---> a3d367d2d8bb [2022-05-11T03:13:43.702Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T03:13:44.298Z] ---> 626aff6942e3 [2022-05-11T03:13:44.298Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T03:13:44.298Z] ---> Running in 9f88a095ab91 [2022-05-11T03:13:46.276Z] Removing intermediate container 9f88a095ab91 [2022-05-11T03:13:46.276Z] ---> 6c2a6bc9c894 [2022-05-11T03:13:46.276Z] Step 11/25 : COPY . . [2022-05-11T03:13:46.553Z] ---> a28ba22eae25 [2022-05-11T03:13:46.553Z] Step 12/25 : RUN $MAKE [2022-05-11T03:13:46.833Z] ---> Running in 36bb8916b616 [2022-05-11T03:13:47.820Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T03:15:54.716Z] Removing intermediate container 36bb8916b616 [2022-05-11T03:15:54.716Z] ---> 5922a9bc14b8 [2022-05-11T03:15:54.716Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T03:15:54.716Z] 3.14: Pulling from library/alpine [2022-05-11T03:15:54.716Z] 455c02918c45: Pulling fs layer [2022-05-11T03:15:54.716Z] 455c02918c45: Download complete [2022-05-11T03:15:54.716Z] 455c02918c45: Pull complete [2022-05-11T03:15:54.716Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T03:15:54.716Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T03:15:54.716Z] ---> ac73e934f311 [2022-05-11T03:15:54.716Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T03:15:54.716Z] ---> Running in f76b86042629 [2022-05-11T03:15:54.716Z] Removing intermediate container f76b86042629 [2022-05-11T03:15:54.716Z] ---> 84942aecf83f [2022-05-11T03:15:54.716Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T03:15:54.716Z] ---> Running in a29182a8d644 [2022-05-11T03:15:54.716Z] Removing intermediate container a29182a8d644 [2022-05-11T03:15:54.716Z] ---> b8a70d4ce33c [2022-05-11T03:15:54.716Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T03:15:54.716Z] ---> Running in f46b3a560dda [2022-05-11T03:15:54.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T03:15:54.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T03:15:54.716Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T03:15:54.716Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T03:15:54.716Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T03:15:54.716Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T03:15:54.716Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T03:15:54.716Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T03:15:54.716Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T03:15:54.716Z] OK: 8 MiB in 20 packages [2022-05-11T03:15:54.716Z] Removing intermediate container f46b3a560dda [2022-05-11T03:15:54.716Z] ---> c9050f604e92 [2022-05-11T03:15:54.716Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T03:15:54.716Z] ---> 98b31dab9acf [2022-05-11T03:15:54.716Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T03:15:54.716Z] ---> 9b96903c837d [2022-05-11T03:15:54.716Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T03:15:54.716Z] ---> 6571c1c14397 [2022-05-11T03:15:54.716Z] Step 20/25 : EXPOSE 59986 [2022-05-11T03:15:54.716Z] ---> Running in 7f7f8a0b902c [2022-05-11T03:15:54.716Z] Removing intermediate container 7f7f8a0b902c [2022-05-11T03:15:54.716Z] ---> 80f612ba24d0 [2022-05-11T03:15:54.716Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T03:15:54.716Z] ---> Running in a17517d6f814 [2022-05-11T03:15:54.716Z] Removing intermediate container a17517d6f814 [2022-05-11T03:15:54.716Z] ---> 106fd0decac6 [2022-05-11T03:15:54.716Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T03:15:54.716Z] ---> Running in 760e91f08d44 [2022-05-11T03:15:54.716Z] Removing intermediate container 760e91f08d44 [2022-05-11T03:15:54.716Z] ---> bbd31c5ae2f3 [2022-05-11T03:15:54.716Z] Step 23/25 : LABEL arch=arm64 [2022-05-11T03:15:54.716Z] ---> Running in 3813552aaef7 [2022-05-11T03:15:54.716Z] Removing intermediate container 3813552aaef7 [2022-05-11T03:15:54.716Z] ---> 1596d6bd7403 [2022-05-11T03:15:54.716Z] Step 24/25 : LABEL git_sha=1ecf132fa2f4f128d116905892680ead940adc9e [2022-05-11T03:15:54.716Z] ---> Running in a2bf358c7b43 [2022-05-11T03:15:54.716Z] Removing intermediate container a2bf358c7b43 [2022-05-11T03:15:54.716Z] ---> 48732f7e8d8d [2022-05-11T03:15:54.716Z] Step 25/25 : LABEL version=0.0.0 [2022-05-11T03:15:54.716Z] ---> Running in 9aeafca1f196 [2022-05-11T03:15:54.716Z] Removing intermediate container 9aeafca1f196 [2022-05-11T03:15:54.716Z] ---> 12462755ceb6 [2022-05-11T03:15:54.716Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T03:15:54.716Z] Successfully built 12462755ceb6 [2022-05-11T03:15:54.716Z] 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 [2022-05-11T03:15:55.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T03:15:55.168Z] [2022-05-11T03:15:55.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:15:55.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T03:15:55.802Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T03:15:55.802Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T03:15:55.802Z] 04944245beec: Pulling fs layer [2022-05-11T03:15:55.802Z] 699f458cf7ca: Pulling fs layer [2022-05-11T03:15:55.802Z] 765212b225bb: Pulling fs layer [2022-05-11T03:15:55.802Z] f23df028b6ca: Pulling fs layer [2022-05-11T03:15:55.802Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T03:15:55.802Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T03:15:55.802Z] f23df028b6ca: Waiting [2022-05-11T03:15:55.802Z] d65c8cfc05b1: Waiting [2022-05-11T03:15:55.802Z] 2437ff75d9bd: Waiting [2022-05-11T03:15:55.802Z] 765212b225bb: Waiting [2022-05-11T03:15:55.802Z] 04944245beec: Verifying Checksum [2022-05-11T03:15:55.802Z] 04944245beec: Download complete [2022-05-11T03:15:55.802Z] 765212b225bb: Verifying Checksum [2022-05-11T03:15:55.802Z] 765212b225bb: Download complete [2022-05-11T03:15:55.802Z] f23df028b6ca: Verifying Checksum [2022-05-11T03:15:55.802Z] f23df028b6ca: Download complete [2022-05-11T03:15:55.802Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T03:15:55.802Z] d65c8cfc05b1: Download complete [2022-05-11T03:15:56.078Z] 699f458cf7ca: Verifying Checksum [2022-05-11T03:15:56.078Z] 699f458cf7ca: Download complete [2022-05-11T03:15:56.352Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T03:15:56.352Z] 8998bd30e6a1: Download complete [2022-05-11T03:15:58.994Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T03:15:58.994Z] 2437ff75d9bd: Download complete [2022-05-11T03:16:00.985Z] 8998bd30e6a1: Pull complete [2022-05-11T03:16:01.260Z] 04944245beec: Pull complete [2022-05-11T03:16:02.702Z] 699f458cf7ca: Pull complete [2022-05-11T03:16:02.990Z] 765212b225bb: Pull complete [2022-05-11T03:16:03.593Z] f23df028b6ca: Pull complete [2022-05-11T03:16:03.868Z] d65c8cfc05b1: Pull complete [2022-05-11T03:16:19.006Z] 2437ff75d9bd: Pull complete [2022-05-11T03:16:19.006Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T03:16:19.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T03:16:19.006Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T03:16:19.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-63039 does not seem to be running inside a container [2022-05-11T03:16:19.343Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-11T03:16:21.861Z] $ docker top b53246b4853fdacb92d728be7d432f11ac7690e2090d94ae20b6457e853faaac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:22.781Z] ---> job-cost.sh [2022-05-11T03:16:22.781Z] lf-activate-venv: SKIPPING [2022-05-11T03:16:22.781Z] INFO: No Stack... [2022-05-11T03:16:23.057Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T03:16:24.043Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T03:16:24.719Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2022-05-11T03:16:24.719Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T03:16:24.792Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [2022-05-11T03:16:24.799Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] did not exist. Created. [2022-05-11T03:16:24.799Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T03:16:25.492Z] /w/workspace/device-rest-go/3@tmp/durable-68a1fe5c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T03:16:26.178Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T03:16:26.207Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T03:16:26.250Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T03:16:26.258Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T03:16:26.286Z] $ docker stop --time=1 b53246b4853fdacb92d728be7d432f11ac7690e2090d94ae20b6457e853faaac [2022-05-11T03:16:27.754Z] $ docker rm -f b53246b4853fdacb92d728be7d432f11ac7690e2090d94ae20b6457e853faaac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-11T03:16:28.411Z] provisioning config files... [2022-05-11T03:16:28.460Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config998777643155279037tmp [Pipeline] { [Pipeline] sh [2022-05-11T03:16:28.756Z] + set +x [2022-05-11T03:16:28.756Z] + curl -s https://codecov.io/bash [2022-05-11T03:16:28.756Z] + bash -s -- [2022-05-11T03:16:28.756Z] [2022-05-11T03:16:28.756Z] _____ _ [2022-05-11T03:16:28.756Z] / ____| | | [2022-05-11T03:16:28.756Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T03:16:28.756Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T03:16:28.756Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T03:16:28.756Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T03:16:28.756Z] Bash-1.0.6 [2022-05-11T03:16:28.756Z] [2022-05-11T03:16:28.756Z] [2022-05-11T03:16:28.756Z] ==> git version 2.25.1 found [2022-05-11T03:16:28.756Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-11T03:16:28.756Z] Release-Date: 2020-01-08 [2022-05-11T03:16:28.756Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-11T03:16:28.756Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T03:16:28.756Z] ==> Jenkins CI detected. [2022-05-11T03:16:28.756Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-186 [2022-05-11T03:16:28.756Z] project root: . [2022-05-11T03:16:28.756Z] --> token set from env [2022-05-11T03:16:28.756Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T03:16:28.756Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T03:16:28.756Z] ==> Python coveragepy not found [2022-05-11T03:16:28.756Z] ==> Searching for coverage reports in: [2022-05-11T03:16:28.756Z] + . [2022-05-11T03:16:28.756Z] -> Found 1 reports [2022-05-11T03:16:28.756Z] ==> Detecting git/mercurial file structure [2022-05-11T03:16:28.756Z] ==> Reading reports [2022-05-11T03:16:28.756Z] + ./coverage.out bytes=9355 [2022-05-11T03:16:28.756Z] ==> Appending adjustments [2022-05-11T03:16:28.756Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T03:16:29.017Z] + Found adjustments [2022-05-11T03:16:29.017Z] ==> Gzipping contents [2022-05-11T03:16:29.017Z] 4.0K /tmp/codecov.5CKZK7.gz [2022-05-11T03:16:29.017Z] ==> Uploading reports [2022-05-11T03:16:29.017Z] url: https://codecov.io [2022-05-11T03:16:29.017Z] query: branch=PR-186&commit=a707ba172b9c2d3ea21e0fee90480c085186d301&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= [2022-05-11T03:16:29.017Z] -> Pinging Codecov [2022-05-11T03:16:29.017Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-186&commit=a707ba172b9c2d3ea21e0fee90480c085186d301&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= [2022-05-11T03:16:29.277Z] -> Uploading to [2022-05-11T03:16:29.277Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/4E5D53B4F1F92C436F7061BF334D961C/a707ba172b9c2d3ea21e0fee90480c085186d301/16923ff7-6d14-4a4d-b0bb-d615cc4d2a49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T031629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff03ecb1348f9e0cf340399793426b286a2218189cec849e7ec081d3e73f1e7f [2022-05-11T03:16:29.277Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T03:16:29.277Z] Dload Upload Total Spent Left Speed [2022-05-11T03:16:29.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 33444 --:--:-- --:--:-- --:--:-- 32836 100 1806 0 0 100 1806 0 6496 --:--:-- --:--:-- --:--:-- 6496 [2022-05-11T03:16:29.541Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] } [2022-05-11T03:16:29.548Z] 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 [2022-05-11T03:16:30.431Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-186/archives ] [2022-05-11T03:16:30.431Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-11T03:16:30.431Z] total 16 [2022-05-11T03:16:30.431Z] drwxr-xr-x 3 root root 4096 May 11 03:09 . [2022-05-11T03:16:30.431Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 03:09 .. [2022-05-11T03:16:30.431Z] drwxr-xr-x 2 root root 4096 May 11 03:09 cost [2022-05-11T03:16:30.431Z] -rw-r--r-- 1 root root 85 May 11 03:09 cost.csv [2022-05-11T03:16:30.431Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-11T03:16:30.431Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-11T03:16:30.431Z] total 16 [2022-05-11T03:16:30.431Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 03:09 . [2022-05-11T03:16:30.431Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 03:09 .. [2022-05-11T03:16:30.431Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 03:09 cost [2022-05-11T03:16:30.431Z] -rw-r--r-- 1 jenkins jenkins 85 May 11 03:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:30.726Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:31.593Z] ---> package-listing.sh [2022-05-11T03:16:31.593Z] ++ facter osfamily [2022-05-11T03:16:31.593Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T03:16:31.853Z] + OS_FAMILY=debian [2022-05-11T03:16:31.854Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-186 [2022-05-11T03:16:31.854Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T03:16:31.854Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T03:16:31.854Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T03:16:31.854Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T03:16:31.854Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' [2022-05-11T03:16:31.854Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T03:16:31.854Z] + case "${OS_FAMILY}" in [2022-05-11T03:16:31.854Z] + dpkg -l [2022-05-11T03:16:31.854Z] + grep '^ii' [2022-05-11T03:16:31.854Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T03:16:31.854Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T03:16:31.854Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T03:16:31.854Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' [2022-05-11T03:16:31.854Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [2022-05-11T03:16:31.854Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [Pipeline] echo [2022-05-11T03:16:31.866Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-11T03:16:32.148Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T03:16:32.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T03:16:32.714Z] . [Pipeline] withDockerContainer [2022-05-11T03:16:32.786Z] prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container [2022-05-11T03:16:32.825Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-186/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-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T03:16:33.077Z] $ docker top 012779002e5a993b90f7c32313bc010a472be711c3b3f9e595ea6fa27b976dbd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T03:16:33.449Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T03:16:33.744Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T03:16:34.039Z] + ls /var/log/sa-host [2022-05-11T03:16:34.039Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T03:16:34.336Z] provisioning config files... [2022-05-11T03:16:34.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config5869012937050981019tmp [Pipeline] { [Pipeline] echo [2022-05-11T03:16:34.367Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:34.655Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T03:16:34.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:35.013Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T03:16:35.024Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:35.317Z] ---> sudo-logs.sh [2022-05-11T03:16:35.317Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T03:16:35.343Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:35.636Z] ---> job-cost.sh [2022-05-11T03:16:35.636Z] lf-activate-venv: SKIPPING [2022-05-11T03:16:35.636Z] DEBUG: total: 0.2199999988079071 [2022-05-11T03:16:35.636Z] INFO: Retrieving Stack Cost... [2022-05-11T03:16:36.207Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T03:16:36.466Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T03:16:36.479Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T03:16:36.768Z] ---> logs-deploy.sh [2022-05-11T03:16:36.768Z] lf-activate-venv: SKIPPING [2022-05-11T03:16:36.768Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-186/3 [2022-05-11T03:16:36.768Z] INFO: archiving workspace using pattern(s): [2022-05-11T03:16:37.707Z] Archives upload complete. [2022-05-11T03:16:37.707Z] INFO: archiving logs to Nexus