Pull request #199 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f44da36a0bb3c62c36f5e8a829634f7a73409b18+a3ce1b492942266db7d07684db880175cd9968c1 (d943140da8cc330a3b74b7dc1380ef6f5794f608) 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-ssh5601922122086284336.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh5679726163227734303.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh484511201655490976.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12554902324258579474.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh5862455676534368800.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1162516812126937487.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 SNYK_DEBUG: false [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-15180 in /w/workspace/gexfoundry_device-rest-go_PR-199 [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-199 # 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 a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit f44da36a0bb3c62c36f5e8a829634f7a73409b18 Merge succeeded, producing f44da36a0bb3c62c36f5e8a829634f7a73409b18 Checking out Revision f44da36a0bb3c62c36f5e8a829634f7a73409b18 (PR-199) > 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/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f44da36a0bb3c62c36f5e8a829634f7a73409b18 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f44da36a0bb3c62c36f5e8a829634f7a73409b18 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-20T20:05:07.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T20:05:07.679Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T20:05:07.773Z] ========================================================= [2022-06-20T20:05:07.773Z] EdgeX Global Pipelines Version Info [2022-06-20T20:05:07.773Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:05:08.564Z] ------------------- [2022-06-20T20:05:08.564Z] stable info: [2022-06-20T20:05:08.564Z] ------------------- [2022-06-20T20:05:08.564Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T20:05:08.564Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T20:05:08.564Z] Message: update stable to v1.0.234 [2022-06-20T20:05:09.137Z] ------------------- [2022-06-20T20:05:09.138Z] experimental info: [2022-06-20T20:05:09.138Z] ------------------- [2022-06-20T20:05:09.138Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T20:05:09.138Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T20:05:09.138Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T20:05:09.501Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-20T20:05:09.544Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-20T20:05:09.583Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T20:05:09.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T20:05:09.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T20:05:09.711Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T20:05:09.751Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T20:05:09.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-20T20:05:09.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T20:05:09.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T20:05:09.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T20:05:09.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-20T20:05:09.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T20:05:10.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T20:05:10.071Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T20:05:10.108Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T20:05:10.145Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T20:05:10.183Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T20:05:10.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T20:05:10.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T20:05:10.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-20T20:05:10.333Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-20T20:05:10.371Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-20T20:05:10.409Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-20T20:05:10.454Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-20T20:05:10.496Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T20:05:10.538Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T20:05:10.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2022-06-20T20:05:10.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2022-06-20T20:05:10.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2022-06-20T20:05:10.696Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f44da36a0bb3c62c36f5e8a829634f7a73409b18 [Pipeline] echo [2022-06-20T20:05:10.732Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f44da36 [Pipeline] echo [2022-06-20T20:05:10.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T20:05:10.878Z] provisioning config files... [2022-06-20T20:05:10.895Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-199@tmp/config4595646128991895922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:05:11.272Z] ---> docker-login.sh [2022-06-20T20:05:11.272Z] nexus3.edgexfoundry.org:10001 [2022-06-20T20:05:11.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:11.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:11.534Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:11.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:11.534Z] [2022-06-20T20:05:11.534Z] Login Succeeded [2022-06-20T20:05:11.534Z] nexus3.edgexfoundry.org:10002 [2022-06-20T20:05:11.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:11.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:11.795Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:11.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:11.795Z] [2022-06-20T20:05:11.795Z] Login Succeeded [2022-06-20T20:05:11.795Z] nexus3.edgexfoundry.org:10003 [2022-06-20T20:05:11.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:11.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:11.795Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:11.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:11.795Z] [2022-06-20T20:05:11.795Z] Login Succeeded [2022-06-20T20:05:11.796Z] nexus3.edgexfoundry.org:10004 [2022-06-20T20:05:12.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:12.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:12.058Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:12.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:12.058Z] [2022-06-20T20:05:12.058Z] Login Succeeded [2022-06-20T20:05:12.058Z] docker.io [2022-06-20T20:05:12.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:12.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:12.321Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:12.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:12.321Z] [2022-06-20T20:05:12.321Z] Login Succeeded [2022-06-20T20:05:12.583Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T20:05:12.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T20:05:13.222Z] + git rev-list -1 --merges f44da36a0bb3c62c36f5e8a829634f7a73409b18~1..f44da36a0bb3c62c36f5e8a829634f7a73409b18 [Pipeline] echo [2022-06-20T20:05:13.270Z] -----------> git rev-list -1 --merges f44da36a0bb3c62c36f5e8a829634f7a73409b18~1..f44da36a0bb3c62c36f5e8a829634f7a73409b18 f44da36a0bb3c62c36f5e8a829634f7a73409b18 [false] [Pipeline] sh [2022-06-20T20:05:13.583Z] + git log --format=format:%s -1 f44da36a0bb3c62c36f5e8a829634f7a73409b18 [Pipeline] echo [2022-06-20T20:05:13.619Z] ========================================================= [2022-06-20T20:05:13.619Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T20:05:13.619Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T20:05:14.057Z] + git log --format=format:%s -1 f44da36a0bb3c62c36f5e8a829634f7a73409b18 [Pipeline] echo [2022-06-20T20:05:14.087Z] [semverPrep] GIT_COMMIT: f44da36a0bb3c62c36f5e8a829634f7a73409b18, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-06-20T20:05:14.116Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-20T20:05:14.496Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T20:05:14.496Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T20:05:14.496Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T20:05:14.496Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T20:05:14.496Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-20T20:05:14.496Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T20:05:14.496Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:05:14.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T20:05:14.923Z] [2022-06-20T20:05:14.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:05:15.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T20:05:15.295Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T20:05:15.295Z] 42c077c10790: Pulling fs layer [2022-06-20T20:05:15.295Z] f63e77b7563a: Pulling fs layer [2022-06-20T20:05:15.295Z] bd5fdadae976: Pulling fs layer [2022-06-20T20:05:15.295Z] 205491f53016: Pulling fs layer [2022-06-20T20:05:15.295Z] df18705c85c3: Pulling fs layer [2022-06-20T20:05:15.295Z] bdb3f477010e: Pulling fs layer [2022-06-20T20:05:15.295Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T20:05:15.295Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T20:05:15.295Z] bdb8f0575790: Pulling fs layer [2022-06-20T20:05:15.295Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T20:05:15.295Z] 2343380bae48: Pulling fs layer [2022-06-20T20:05:15.295Z] bdb8f0575790: Waiting [2022-06-20T20:05:15.295Z] 386e3cb2ff24: Waiting [2022-06-20T20:05:15.295Z] bdb3f477010e: Waiting [2022-06-20T20:05:15.295Z] 205491f53016: Waiting [2022-06-20T20:05:15.295Z] 2c6e9b1d212d: Waiting [2022-06-20T20:05:15.295Z] 2343380bae48: Waiting [2022-06-20T20:05:15.295Z] c8a8fc8e1c8f: Waiting [2022-06-20T20:05:15.295Z] f63e77b7563a: Verifying Checksum [2022-06-20T20:05:15.295Z] f63e77b7563a: Download complete [2022-06-20T20:05:15.295Z] 205491f53016: Verifying Checksum [2022-06-20T20:05:15.295Z] 205491f53016: Download complete [2022-06-20T20:05:15.557Z] df18705c85c3: Verifying Checksum [2022-06-20T20:05:15.557Z] df18705c85c3: Download complete [2022-06-20T20:05:15.557Z] bd5fdadae976: Verifying Checksum [2022-06-20T20:05:15.557Z] bd5fdadae976: Download complete [2022-06-20T20:05:15.557Z] bdb3f477010e: Verifying Checksum [2022-06-20T20:05:15.557Z] bdb3f477010e: Download complete [2022-06-20T20:05:15.557Z] 2c6e9b1d212d: Download complete [2022-06-20T20:05:15.557Z] bdb8f0575790: Download complete [2022-06-20T20:05:15.557Z] 386e3cb2ff24: Verifying Checksum [2022-06-20T20:05:15.557Z] 386e3cb2ff24: Download complete [2022-06-20T20:05:15.557Z] 2343380bae48: Verifying Checksum [2022-06-20T20:05:15.557Z] 2343380bae48: Download complete [2022-06-20T20:05:15.557Z] 42c077c10790: Download complete [2022-06-20T20:05:15.816Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-20T20:05:15.816Z] c8a8fc8e1c8f: Download complete [2022-06-20T20:05:17.200Z] 42c077c10790: Pull complete [2022-06-20T20:05:17.200Z] f63e77b7563a: Pull complete [2022-06-20T20:05:17.775Z] bd5fdadae976: Pull complete [2022-06-20T20:05:17.775Z] 205491f53016: Pull complete [2022-06-20T20:05:18.037Z] df18705c85c3: Pull complete [2022-06-20T20:05:18.296Z] bdb3f477010e: Pull complete [2022-06-20T20:05:20.238Z] c8a8fc8e1c8f: Pull complete [2022-06-20T20:05:20.502Z] 2c6e9b1d212d: Pull complete [2022-06-20T20:05:20.502Z] bdb8f0575790: Pull complete [2022-06-20T20:05:20.502Z] 386e3cb2ff24: Pull complete [2022-06-20T20:05:20.764Z] 2343380bae48: Pull complete [2022-06-20T20:05:20.764Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T20:05:20.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T20:05:20.764Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:05:21.009Z] prd-ubuntu20.04-docker-8c-8g-15180 does not seem to be running inside a container [2022-06-20T20:05:21.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-199 -v /w/workspace/gexfoundry_device-rest-go_PR-199:/w/workspace/gexfoundry_device-rest-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-199@tmp:/w/workspace/gexfoundry_device-rest-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-20T20:05:22.460Z] $ docker top 8c53d8800992e91877554df0e1942d3e93a1b37c7668a48abeee4c6ac0718fc9 -eo pid,comm [2022-06-20T20:05:22.531Z] 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-06-20T20:05:22.531Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T20:05:22.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T20:05:22.654Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T20:05:22.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T20:05:22.791Z] $ docker exec 8c53d8800992e91877554df0e1942d3e93a1b37c7668a48abeee4c6ac0718fc9 ssh-agent [2022-06-20T20:05:22.937Z] SSH_AUTH_SOCK=/tmp/ssh-BHtDzlV2MoBl/agent.32 [2022-06-20T20:05:22.937Z] SSH_AGENT_PID=39 [2022-06-20T20:05:22.943Z] Running ssh-add (command line suppressed) [2022-06-20T20:05:23.080Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-199@tmp/private_key_6241053372255358271.key (/w/workspace/gexfoundry_device-rest-go_PR-199@tmp/private_key_6241053372255358271.key) [2022-06-20T20:05:23.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T20:05:23.434Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T20:05:23.457Z] $ docker exec --env ******** --env ******** 8c53d8800992e91877554df0e1942d3e93a1b37c7668a48abeee4c6ac0718fc9 ssh-agent -k [2022-06-20T20:05:23.581Z] unset SSH_AUTH_SOCK; [2022-06-20T20:05:23.582Z] unset SSH_AGENT_PID; [2022-06-20T20:05:23.582Z] echo Agent pid 39 killed; [2022-06-20T20:05:23.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T20:05:23.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T20:05:23.675Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T20:05:23.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T20:05:23.816Z] $ docker exec 8c53d8800992e91877554df0e1942d3e93a1b37c7668a48abeee4c6ac0718fc9 ssh-agent [2022-06-20T20:05:23.954Z] SSH_AUTH_SOCK=/tmp/ssh-kJdlTCubom4v/agent.75 [2022-06-20T20:05:23.954Z] SSH_AGENT_PID=81 [2022-06-20T20:05:23.960Z] Running ssh-add (command line suppressed) [2022-06-20T20:05:24.077Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-199@tmp/private_key_2296678371934882487.key (/w/workspace/gexfoundry_device-rest-go_PR-199@tmp/private_key_2296678371934882487.key) [2022-06-20T20:05:24.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T20:05:24.426Z] + git semver init [2022-06-20T20:05:24.687Z] 2022-06-20 20:05:24,663 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T20:05:24.687Z] 2022-06-20 20:05:24,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-199/.semver [2022-06-20T20:05:24.687Z] 2022-06-20 20:05:24,665 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-199/.semver [2022-06-20T20:05:24.687Z] 2022-06-20 20:05:24,665 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-199/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-199, universal_newlines=False, shell=None, istream=None) [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,544 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-199/.git/info/exclude [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,545 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-199/.semver/PR-199 with force:False [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,545 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-199/.semver/PR-199 [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,550 [execute] INFO git cat-file --batch-check [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-199/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,557 [execute] INFO git cat-file --batch [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-199/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T20:05:25.628Z] 2022-06-20 20:05:25,563 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-199/.semver/PR-199 [2022-06-20T20:05:25.628Z] 0.0.0 [Pipeline] } [2022-06-20T20:05:25.653Z] $ docker exec --env ******** --env ******** 8c53d8800992e91877554df0e1942d3e93a1b37c7668a48abeee4c6ac0718fc9 ssh-agent -k [2022-06-20T20:05:25.760Z] unset SSH_AUTH_SOCK; [2022-06-20T20:05:25.761Z] unset SSH_AGENT_PID; [2022-06-20T20:05:25.761Z] echo Agent pid 81 killed; [2022-06-20T20:05:25.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T20:05:26.197Z] + git semver [Pipeline] } [2022-06-20T20:05:26.485Z] $ docker stop --time=1 8c53d8800992e91877554df0e1942d3e93a1b37c7668a48abeee4c6ac0718fc9 [2022-06-20T20:05:27.831Z] $ docker rm -f 8c53d8800992e91877554df0e1942d3e93a1b37c7668a48abeee4c6ac0718fc9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T20:05:28.254Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T20:05:28.568Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T20:05:28.586Z] [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-06-20T20:05:29.163Z] provisioning config files... [2022-06-20T20:05:29.175Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-199@tmp/config2447867553151464518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:05:29.521Z] ---> docker-login.sh [2022-06-20T20:05:29.521Z] nexus3.edgexfoundry.org:10001 [2022-06-20T20:05:29.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:29.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:29.521Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:29.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:29.521Z] [2022-06-20T20:05:29.521Z] Login Succeeded [2022-06-20T20:05:29.521Z] nexus3.edgexfoundry.org:10002 [2022-06-20T20:05:29.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:29.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:29.784Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:29.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:29.784Z] [2022-06-20T20:05:29.784Z] Login Succeeded [2022-06-20T20:05:29.784Z] nexus3.edgexfoundry.org:10003 [2022-06-20T20:05:29.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:29.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:29.784Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:29.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:29.784Z] [2022-06-20T20:05:29.784Z] Login Succeeded [2022-06-20T20:05:29.784Z] nexus3.edgexfoundry.org:10004 [2022-06-20T20:05:30.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:30.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:30.045Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:30.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:30.045Z] [2022-06-20T20:05:30.045Z] Login Succeeded [2022-06-20T20:05:30.045Z] docker.io [2022-06-20T20:05:30.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:05:30.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:05:30.623Z] Configure a credential helper to remove this warning. See [2022-06-20T20:05:30.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:05:30.623Z] [2022-06-20T20:05:30.623Z] Login Succeeded [2022-06-20T20:05:30.623Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T20:05:30.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T20:05:30.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:05:30.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:05:30.918Z] ========================================================= [2022-06-20T20:05:30.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T20:05:30.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:05:31.392Z] + 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-06-20T20:05:31.392Z] Sending build context to Docker daemon 10.68MB [2022-06-20T20:05:31.392Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:05:31.392Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T20:05:31.392Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T20:05:31.392Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T20:05:31.392Z] 666ba61612fd: Pulling fs layer [2022-06-20T20:05:31.392Z] 8ed8ca486205: Pulling fs layer [2022-06-20T20:05:31.392Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T20:05:31.392Z] c516ae0d96e1: Pulling fs layer [2022-06-20T20:05:31.392Z] 684cea983483: Pulling fs layer [2022-06-20T20:05:31.392Z] dd3240ac7de5: Pulling fs layer [2022-06-20T20:05:31.392Z] b1e948a4e11c: Pulling fs layer [2022-06-20T20:05:31.392Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T20:05:31.392Z] 646ad004c059: Pulling fs layer [2022-06-20T20:05:31.392Z] cc1cd167ecdc: Waiting [2022-06-20T20:05:31.392Z] c516ae0d96e1: Waiting [2022-06-20T20:05:31.392Z] 684cea983483: Waiting [2022-06-20T20:05:31.392Z] dd3240ac7de5: Waiting [2022-06-20T20:05:31.392Z] b1e948a4e11c: Waiting [2022-06-20T20:05:31.392Z] a8fd76ee1af6: Waiting [2022-06-20T20:05:31.392Z] 646ad004c059: Waiting [2022-06-20T20:05:31.392Z] 8ed8ca486205: Verifying Checksum [2022-06-20T20:05:31.392Z] 8ed8ca486205: Download complete [2022-06-20T20:05:31.392Z] 666ba61612fd: Verifying Checksum [2022-06-20T20:05:31.392Z] 666ba61612fd: Download complete [2022-06-20T20:05:31.655Z] c516ae0d96e1: Download complete [2022-06-20T20:05:31.655Z] 684cea983483: Verifying Checksum [2022-06-20T20:05:31.655Z] 684cea983483: Download complete [2022-06-20T20:05:31.655Z] dd3240ac7de5: Verifying Checksum [2022-06-20T20:05:31.655Z] dd3240ac7de5: Download complete [2022-06-20T20:05:31.655Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T20:05:31.655Z] 59bf1c3509f3: Download complete [2022-06-20T20:05:31.655Z] b1e948a4e11c: Verifying Checksum [2022-06-20T20:05:31.655Z] b1e948a4e11c: Download complete [2022-06-20T20:05:31.655Z] 59bf1c3509f3: Pull complete [2022-06-20T20:05:31.920Z] 666ba61612fd: Pull complete [2022-06-20T20:05:31.920Z] 8ed8ca486205: Pull complete [2022-06-20T20:05:32.182Z] 646ad004c059: Verifying Checksum [2022-06-20T20:05:32.182Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T20:05:32.182Z] cc1cd167ecdc: Download complete [2022-06-20T20:05:32.182Z] a8fd76ee1af6: Verifying Checksum [2022-06-20T20:05:32.182Z] a8fd76ee1af6: Download complete [2022-06-20T20:05:36.388Z] cc1cd167ecdc: Pull complete [2022-06-20T20:05:36.388Z] c516ae0d96e1: Pull complete [2022-06-20T20:05:36.650Z] 684cea983483: Pull complete [2022-06-20T20:05:36.650Z] dd3240ac7de5: Pull complete [2022-06-20T20:05:36.650Z] b1e948a4e11c: Pull complete [2022-06-20T20:05:39.201Z] a8fd76ee1af6: Pull complete [2022-06-20T20:05:40.139Z] 646ad004c059: Pull complete [2022-06-20T20:05:40.139Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T20:05:40.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T20:05:40.139Z] ---> 8f69c11f6b0c [2022-06-20T20:05:40.139Z] Step 3/12 : ARG MAKE='make build' [2022-06-20T20:05:41.527Z] ---> Running in dc59c1c3d22d [2022-06-20T20:05:41.527Z] Removing intermediate container dc59c1c3d22d [2022-06-20T20:05:41.527Z] ---> 2338b45df56f [2022-06-20T20:05:41.527Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:05:41.527Z] ---> Running in 35c20192d631 [2022-06-20T20:05:41.527Z] Removing intermediate container 35c20192d631 [2022-06-20T20:05:41.527Z] ---> ff97c32ab11e [2022-06-20T20:05:41.527Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:05:41.527Z] ---> Running in 61568d6ab08b [2022-06-20T20:05:41.788Z] Removing intermediate container 61568d6ab08b [2022-06-20T20:05:41.788Z] ---> 2fbb1401f34d [2022-06-20T20:05:41.788Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:05:41.788Z] ---> Running in 9dbc11bb429d [2022-06-20T20:05:42.359Z] Removing intermediate container 9dbc11bb429d [2022-06-20T20:05:42.359Z] ---> 96d84a2382fe [2022-06-20T20:05:42.359Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:05:42.359Z] ---> Running in 321766c19b3d [2022-06-20T20:05:42.624Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T20:05:43.569Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T20:05:43.830Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T20:05:43.993Z] Still waiting to schedule task [2022-06-20T20:05:43.993Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15181’ is offline [2022-06-20T20:05:44.092Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T20:05:44.092Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T20:05:44.092Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T20:05:44.353Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T20:05:44.353Z] OK: 224 MiB in 56 packages [2022-06-20T20:05:44.613Z] Removing intermediate container 321766c19b3d [2022-06-20T20:05:44.613Z] ---> dd3c2b666771 [2022-06-20T20:05:44.613Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-20T20:05:44.879Z] ---> Running in 52094cbbcef0 [2022-06-20T20:05:44.879Z] Removing intermediate container 52094cbbcef0 [2022-06-20T20:05:44.879Z] ---> 1ffabae8be73 [2022-06-20T20:05:44.879Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-20T20:05:45.141Z] ---> 411758ab2e2d [2022-06-20T20:05:45.141Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:05:45.141Z] ---> Running in c001fe4b6032 [2022-06-20T20:06:00.058Z] Removing intermediate container c001fe4b6032 [2022-06-20T20:06:00.058Z] ---> f874ecd25d5f [2022-06-20T20:06:00.058Z] Step 11/12 : COPY . . [2022-06-20T20:06:00.058Z] ---> 0311c1f3adf6 [2022-06-20T20:06:00.058Z] Step 12/12 : RUN $MAKE [2022-06-20T20:06:00.058Z] ---> Running in dbb356354c55 [2022-06-20T20:06:00.058Z] noop [2022-06-20T20:06:00.058Z] Removing intermediate container dbb356354c55 [2022-06-20T20:06:00.058Z] ---> 944f3bde2450 [2022-06-20T20:06:00.058Z] Successfully built 944f3bde2450 [2022-06-20T20:06:00.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:06:00.549Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T20:06:00.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:06:00.712Z] prd-ubuntu20.04-docker-8c-8g-15180 does not seem to be running inside a container [2022-06-20T20:06:00.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-199 -v /w/workspace/gexfoundry_device-rest-go_PR-199:/w/workspace/gexfoundry_device-rest-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-199@tmp:/w/workspace/gexfoundry_device-rest-go_PR-199@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 ******** ci-base-image-x86_64 cat [2022-06-20T20:06:01.173Z] $ docker top 33bbe35540272d0e26fd7e68a5d3f1b191df744f939a9f425d7016eb8e83bf9b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T20:06:01.650Z] + go version [2022-06-20T20:06:01.650Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T20:06:01.685Z] $ docker stop --time=1 33bbe35540272d0e26fd7e68a5d3f1b191df744f939a9f425d7016eb8e83bf9b [2022-06-20T20:06:02.982Z] $ docker rm -f 33bbe35540272d0e26fd7e68a5d3f1b191df744f939a9f425d7016eb8e83bf9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:06:03.682Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T20:06:03.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:06:03.844Z] prd-ubuntu20.04-docker-8c-8g-15180 does not seem to be running inside a container [2022-06-20T20:06:03.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-199 -v /w/workspace/gexfoundry_device-rest-go_PR-199:/w/workspace/gexfoundry_device-rest-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-199@tmp:/w/workspace/gexfoundry_device-rest-go_PR-199@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 ******** ci-base-image-x86_64 cat [2022-06-20T20:06:04.281Z] $ docker top 3a1c2889a456afff23729ed13b2ab33c914298ba253c7734315024d268ff62af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T20:06:04.732Z] + make test [2022-06-20T20:06:04.732Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-20T20:06:04.994Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-20T20:06:14.988Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-20T20:06:14.988Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-06-20T20:06:23.120Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T20:06:27.322Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T20:06:27.322Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T20:06:27.322Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T20:06:27.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T20:06:27.400Z] $ docker stop --time=1 3a1c2889a456afff23729ed13b2ab33c914298ba253c7734315024d268ff62af [2022-06-20T20:06:29.193Z] $ docker rm -f 3a1c2889a456afff23729ed13b2ab33c914298ba253c7734315024d268ff62af [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T20:06:29.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T20:06:29.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-20T20:06:30.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T20:06:30.664Z] + ls -al . [2022-06-20T20:06:30.664Z] total 172 [2022-06-20T20:06:30.664Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 20:06 . [2022-06-20T20:06:30.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 20:05 .. [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 20 20:05 .dockerignore [2022-06-20T20:06:30.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 20:05 .git [2022-06-20T20:06:30.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:05 .github [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 20 20:05 .gitignore [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 20:05 .golangci.yml [2022-06-20T20:06:30.664Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 20:05 .semver [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 20 20:05 Attribution.txt [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 20 20:05 CHANGELOG.md [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 20 20:05 Dockerfile [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 20:05 GOVERNANCE.md [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 20 20:05 Jenkinsfile [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 20:05 LICENSE [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 20 20:05 Makefile [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 20 20:05 OWNERS.md [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 20 20:05 README.md [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 20:05 VERSION [2022-06-20T20:06:30.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:05 bin [2022-06-20T20:06:30.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:05 cmd [2022-06-20T20:06:30.664Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 20 20:06 coverage.out [2022-06-20T20:06:30.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:05 driver [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 20 20:05 go.mod [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 36102 Jun 20 20:05 go.sum [2022-06-20T20:06:30.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:05 snap [2022-06-20T20:06:30.664Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 20 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:06:31.074Z] + 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=f44da36a0bb3c62c36f5e8a829634f7a73409b18 --label arch=amd64 --label version=0.0.0 . [2022-06-20T20:06:31.074Z] Sending build context to Docker daemon 10.69MB [2022-06-20T20:06:31.074Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:06:31.074Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-20T20:06:31.074Z] ---> 944f3bde2450 [2022-06-20T20:06:31.074Z] Step 3/25 : ARG MAKE='make build' [2022-06-20T20:06:31.074Z] ---> Running in 3d16a5700e61 [2022-06-20T20:06:31.336Z] Removing intermediate container 3d16a5700e61 [2022-06-20T20:06:31.336Z] ---> 2b9342ffa3f4 [2022-06-20T20:06:31.336Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:06:31.336Z] ---> Running in dc615cb14f7d [2022-06-20T20:06:31.336Z] Removing intermediate container dc615cb14f7d [2022-06-20T20:06:31.336Z] ---> a6706d36bc78 [2022-06-20T20:06:31.336Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:06:31.336Z] ---> Running in d926b8a57bdb [2022-06-20T20:06:31.596Z] Removing intermediate container d926b8a57bdb [2022-06-20T20:06:31.596Z] ---> af1d8a58bdea [2022-06-20T20:06:31.596Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:06:31.596Z] ---> Running in 71ee89583c3d [2022-06-20T20:06:32.170Z] Removing intermediate container 71ee89583c3d [2022-06-20T20:06:32.170Z] ---> 660198d94d33 [2022-06-20T20:06:32.170Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:06:32.170Z] ---> Running in 7a9379922bd7 [2022-06-20T20:06:32.743Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T20:06:33.315Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T20:06:33.578Z] OK: 224 MiB in 56 packages [2022-06-20T20:06:34.150Z] Removing intermediate container 7a9379922bd7 [2022-06-20T20:06:34.150Z] ---> 5a455b696fd4 [2022-06-20T20:06:34.150Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-20T20:06:34.150Z] ---> Running in cec6f247c9b5 [2022-06-20T20:06:34.150Z] Removing intermediate container cec6f247c9b5 [2022-06-20T20:06:34.150Z] ---> 2baadbead275 [2022-06-20T20:06:34.150Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-20T20:06:34.412Z] ---> 75537e36d6aa [2022-06-20T20:06:34.412Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:06:34.412Z] ---> Running in ecc0a2c045d6 [2022-06-20T20:06:34.987Z] Removing intermediate container ecc0a2c045d6 [2022-06-20T20:06:34.987Z] ---> a7d5357ce7db [2022-06-20T20:06:34.987Z] Step 11/25 : COPY . . [2022-06-20T20:06:35.557Z] ---> 3aaab4da4433 [2022-06-20T20:06:35.557Z] Step 12/25 : RUN $MAKE [2022-06-20T20:06:35.557Z] ---> Running in fd9217fd5839 [2022-06-20T20:06:35.818Z] 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-06-20T20:06:57.775Z] Removing intermediate container fd9217fd5839 [2022-06-20T20:06:57.775Z] ---> 622d24f06fc0 [2022-06-20T20:06:57.775Z] Step 13/25 : FROM alpine:3.14 [2022-06-20T20:06:57.775Z] 3.14: Pulling from library/alpine [2022-06-20T20:06:57.775Z] 8663204ce13b: Pulling fs layer [2022-06-20T20:06:57.775Z] 8663204ce13b: Verifying Checksum [2022-06-20T20:06:57.775Z] 8663204ce13b: Download complete [2022-06-20T20:06:57.775Z] 8663204ce13b: Pull complete [2022-06-20T20:06:57.775Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T20:06:57.775Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T20:06:57.775Z] ---> e04c818066af [2022-06-20T20:06:57.775Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-20T20:06:57.775Z] ---> Running in 4a74175c1db1 [2022-06-20T20:06:57.775Z] Removing intermediate container 4a74175c1db1 [2022-06-20T20:06:57.775Z] ---> 8ead282beca2 [2022-06-20T20:06:57.775Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-20T20:06:57.775Z] ---> Running in 6d41d71349b8 [2022-06-20T20:06:57.775Z] Removing intermediate container 6d41d71349b8 [2022-06-20T20:06:57.775Z] ---> 5391087e51e8 [2022-06-20T20:06:57.775Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T20:06:57.775Z] ---> Running in 5d72d69e44f5 [2022-06-20T20:06:58.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-20T20:06:58.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-20T20:06:58.554Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T20:06:58.554Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T20:06:58.554Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T20:06:58.554Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T20:06:58.554Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T20:06:58.554Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T20:06:58.555Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T20:06:58.555Z] OK: 8 MiB in 20 packages [2022-06-20T20:06:58.815Z] Removing intermediate container 5d72d69e44f5 [2022-06-20T20:06:58.815Z] ---> 1c832e824e9a [2022-06-20T20:06:58.815Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-20T20:06:59.754Z] ---> 45a05ae7f787 [2022-06-20T20:06:59.754Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-20T20:06:59.754Z] ---> 1e8ae002550b [2022-06-20T20:06:59.754Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-20T20:06:59.754Z] ---> b5ca5e06b0a7 [2022-06-20T20:06:59.754Z] Step 20/25 : EXPOSE 59986 [2022-06-20T20:07:00.015Z] ---> Running in 7b057e7be91b [2022-06-20T20:07:00.015Z] Removing intermediate container 7b057e7be91b [2022-06-20T20:07:00.015Z] ---> 2638dd62dd95 [2022-06-20T20:07:00.015Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-20T20:07:00.015Z] ---> Running in d9849f4d5317 [2022-06-20T20:07:00.274Z] Removing intermediate container d9849f4d5317 [2022-06-20T20:07:00.274Z] ---> 6373465977dc [2022-06-20T20:07:00.274Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-20T20:07:00.274Z] ---> Running in 620be74699e3 [2022-06-20T20:07:00.274Z] Removing intermediate container 620be74699e3 [2022-06-20T20:07:00.274Z] ---> 907b199e5d28 [2022-06-20T20:07:00.274Z] Step 23/25 : LABEL arch=amd64 [2022-06-20T20:07:00.535Z] ---> Running in db1224c0ca58 [2022-06-20T20:07:00.536Z] Removing intermediate container db1224c0ca58 [2022-06-20T20:07:00.536Z] ---> aee967c4a92e [2022-06-20T20:07:00.536Z] Step 24/25 : LABEL git_sha=f44da36a0bb3c62c36f5e8a829634f7a73409b18 [2022-06-20T20:07:00.536Z] ---> Running in e64a514a3be8 [2022-06-20T20:07:00.536Z] Removing intermediate container e64a514a3be8 [2022-06-20T20:07:00.536Z] ---> 83d47ce2b96f [2022-06-20T20:07:00.536Z] Step 25/25 : LABEL version=0.0.0 [2022-06-20T20:07:00.800Z] ---> Running in bc4e062ce994 [2022-06-20T20:07:00.800Z] Removing intermediate container bc4e062ce994 [2022-06-20T20:07:00.800Z] ---> 484cc8e2e6d4 [2022-06-20T20:07:00.800Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T20:07:00.800Z] Successfully built 484cc8e2e6d4 [2022-06-20T20:07:00.800Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:07:01.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:07:01.677Z] [2022-06-20T20:07:01.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:07:02.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:07:02.051Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T20:07:02.051Z] 5eb5b503b376: Pulling fs layer [2022-06-20T20:07:02.051Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T20:07:02.051Z] ec43610c2a17: Pulling fs layer [2022-06-20T20:07:02.051Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T20:07:02.051Z] 33b1e0a273af: Pulling fs layer [2022-06-20T20:07:02.051Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T20:07:02.051Z] 2f39f015ded8: Pulling fs layer [2022-06-20T20:07:02.051Z] 5d3b04190fa2: Waiting [2022-06-20T20:07:02.051Z] 3a2ae6a8a46f: Waiting [2022-06-20T20:07:02.051Z] 33b1e0a273af: Waiting [2022-06-20T20:07:02.051Z] 2f39f015ded8: Waiting [2022-06-20T20:07:02.051Z] 5c69ac0246d0: Download complete [2022-06-20T20:07:02.051Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-20T20:07:02.051Z] 33b1e0a273af: Verifying Checksum [2022-06-20T20:07:02.051Z] 33b1e0a273af: Download complete [2022-06-20T20:07:02.051Z] 5d3b04190fa2: Download complete [2022-06-20T20:07:02.051Z] ec43610c2a17: Verifying Checksum [2022-06-20T20:07:02.051Z] ec43610c2a17: Download complete [2022-06-20T20:07:02.312Z] 5eb5b503b376: Verifying Checksum [2022-06-20T20:07:02.312Z] 5eb5b503b376: Download complete [2022-06-20T20:07:02.879Z] 2f39f015ded8: Verifying Checksum [2022-06-20T20:07:02.880Z] 2f39f015ded8: Download complete [2022-06-20T20:07:03.448Z] 5eb5b503b376: Pull complete [2022-06-20T20:07:03.708Z] 5c69ac0246d0: Pull complete [2022-06-20T20:07:04.277Z] ec43610c2a17: Pull complete [2022-06-20T20:07:04.277Z] 3a2ae6a8a46f: Pull complete [2022-06-20T20:07:04.537Z] 33b1e0a273af: Pull complete [2022-06-20T20:07:04.537Z] 5d3b04190fa2: Pull complete [2022-06-20T20:07:09.812Z] 2f39f015ded8: Pull complete [2022-06-20T20:07:09.812Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T20:07:09.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:07:09.812Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:07:10.043Z] prd-ubuntu20.04-docker-8c-8g-15180 does not seem to be running inside a container [2022-06-20T20:07:10.086Z] $ 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-199 -v /w/workspace/gexfoundry_device-rest-go_PR-199:/w/workspace/gexfoundry_device-rest-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-199@tmp:/w/workspace/gexfoundry_device-rest-go_PR-199@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T20:07:11.960Z] $ docker top f56e3a9d4ee444004e13cad2f465dcc5cccd693a3f527213c4eab042464e4197 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:07:12.411Z] ---> job-cost.sh [2022-06-20T20:07:12.411Z] lf-activate-venv: SKIPPING [2022-06-20T20:07:12.411Z] INFO: No Stack... [2022-06-20T20:07:12.671Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T20:07:13.242Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T20:07:13.553Z] + + cat /w/workspace/gexfoundry_device-rest-go_PR-199/archives/cost.csvcut [2022-06-20T20:07:13.553Z] -d, -f6 [Pipeline] lock [2022-06-20T20:07:13.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] [2022-06-20T20:07:13.601Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] did not exist. Created. [2022-06-20T20:07:13.601Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T20:07:13.989Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-20T20:07:14.034Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T20:07:14.063Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T20:07:14.139Z] $ docker stop --time=1 f56e3a9d4ee444004e13cad2f465dcc5cccd693a3f527213c4eab042464e4197 [2022-06-20T20:07:15.312Z] $ docker rm -f f56e3a9d4ee444004e13cad2f465dcc5cccd693a3f527213c4eab042464e4197 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T20:08:04.777Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15182 in /w/workspace/gexfoundry_device-rest-go_PR-199 [Pipeline] { [Pipeline] ws [2022-06-20T20:08:04.821Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-20T20:08:04.882Z] The recommended git tool is: git [2022-06-20T20:08:10.475Z] using credential edgex-jenkins-ssh [2022-06-20T20:08:10.578Z] Cloning the remote Git repository [2022-06-20T20:08:10.658Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-20T20:08:10.819Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-20T20:08:10.890Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-20T20:08:10.891Z] > git --version # timeout=10 [2022-06-20T20:08:10.912Z] > git --version # 'git version 2.25.1' [2022-06-20T20:08:10.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T20:08:11.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T20:08:13.430Z] Merging remotes/origin/main commit a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit f44da36a0bb3c62c36f5e8a829634f7a73409b18 [2022-06-20T20:08:13.669Z] Merge succeeded, producing f44da36a0bb3c62c36f5e8a829634f7a73409b18 [2022-06-20T20:08:13.670Z] Checking out Revision f44da36a0bb3c62c36f5e8a829634f7a73409b18 (PR-199) [2022-06-20T20:08:12.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-20T20:08:12.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T20:08:12.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-20T20:08:12.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-20T20:08:12.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T20:08:12.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-20T20:08:13.455Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T20:08:13.482Z] > git checkout -f f44da36a0bb3c62c36f5e8a829634f7a73409b18 # timeout=10 [2022-06-20T20:08:13.577Z] > git remote # timeout=10 [2022-06-20T20:08:13.594Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T20:08:13.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T20:08:13.625Z] > git merge a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 [2022-06-20T20:08:13.650Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T20:08:13.680Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T20:08:13.693Z] > git checkout -f f44da36a0bb3c62c36f5e8a829634f7a73409b18 # timeout=10 [2022-06-20T20:08:17.891Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-06-20T20:08:17.958Z] > git --version # timeout=10 [2022-06-20T20:08:17.972Z] > git --version # 'git version 2.25.1' [2022-06-20T20:08:17.996Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T20:08:19.269Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T20:08:19.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T20:08:19.269Z] Dload Upload Total Spent Left Speed [2022-06-20T20:08:19.269Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 209k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh [2022-06-20T20:08:20.222Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T20:08:20.588Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T20:08:20.588Z] + sudo tee /etc/docker/daemon.new [2022-06-20T20:08:20.588Z] { [2022-06-20T20:08:20.588Z] "registry-mirrors": [ [2022-06-20T20:08:20.588Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T20:08:20.588Z] ], [2022-06-20T20:08:20.588Z] "bip": "10.250.0.254/24", [2022-06-20T20:08:20.588Z] "hosts": [ [2022-06-20T20:08:20.588Z] "tcp://0.0.0.0:5555", [2022-06-20T20:08:20.588Z] "unix:///var/run/docker.sock" [2022-06-20T20:08:20.588Z] ], [2022-06-20T20:08:20.588Z] "mtu": 1458, [2022-06-20T20:08:20.588Z] "selinux-enabled": true, [2022-06-20T20:08:20.588Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T20:08:20.588Z] } [Pipeline] sh [2022-06-20T20:08:20.949Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T20:08:21.306Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T20:08:39.720Z] provisioning config files... [2022-06-20T20:08:39.752Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7574105739854428372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:08:40.161Z] ---> docker-login.sh [2022-06-20T20:08:40.161Z] nexus3.edgexfoundry.org:10001 [2022-06-20T20:08:40.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:08:41.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:08:41.037Z] Configure a credential helper to remove this warning. See [2022-06-20T20:08:41.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:08:41.037Z] [2022-06-20T20:08:41.037Z] Login Succeeded [2022-06-20T20:08:41.037Z] nexus3.edgexfoundry.org:10002 [2022-06-20T20:08:41.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:08:41.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:08:41.589Z] Configure a credential helper to remove this warning. See [2022-06-20T20:08:41.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:08:41.589Z] [2022-06-20T20:08:41.589Z] Login Succeeded [2022-06-20T20:08:41.589Z] nexus3.edgexfoundry.org:10003 [2022-06-20T20:08:41.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:08:42.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:08:42.142Z] Configure a credential helper to remove this warning. See [2022-06-20T20:08:42.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:08:42.142Z] [2022-06-20T20:08:42.142Z] Login Succeeded [2022-06-20T20:08:42.142Z] nexus3.edgexfoundry.org:10004 [2022-06-20T20:08:42.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:08:42.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:08:42.415Z] Configure a credential helper to remove this warning. See [2022-06-20T20:08:42.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:08:42.415Z] [2022-06-20T20:08:42.415Z] Login Succeeded [2022-06-20T20:08:42.690Z] docker.io [2022-06-20T20:08:42.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:08:43.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:08:43.239Z] Configure a credential helper to remove this warning. See [2022-06-20T20:08:43.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:08:43.239Z] [2022-06-20T20:08:43.239Z] Login Succeeded [2022-06-20T20:08:43.239Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T20:08:43.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T20:08:43.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:08:43.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:08:43.830Z] ========================================================= [2022-06-20T20:08:43.830Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T20:08:43.830Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:08:44.334Z] + 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-06-20T20:08:44.334Z] Sending build context to Docker daemon 129kB [2022-06-20T20:08:44.609Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:08:44.609Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T20:08:44.887Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T20:08:44.888Z] 9b3977197b4f: Pulling fs layer [2022-06-20T20:08:44.888Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T20:08:44.888Z] 94645a83ff95: Pulling fs layer [2022-06-20T20:08:44.888Z] e6fb740bc735: Pulling fs layer [2022-06-20T20:08:44.888Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T20:08:44.888Z] 355e64cbe906: Pulling fs layer [2022-06-20T20:08:44.888Z] 63ab81a10011: Pulling fs layer [2022-06-20T20:08:44.888Z] 555d1d1c4555: Pulling fs layer [2022-06-20T20:08:44.888Z] 7d9057610161: Pulling fs layer [2022-06-20T20:08:44.888Z] 355e64cbe906: Waiting [2022-06-20T20:08:44.888Z] 63ab81a10011: Waiting [2022-06-20T20:08:44.888Z] 555d1d1c4555: Waiting [2022-06-20T20:08:44.888Z] 7d9057610161: Waiting [2022-06-20T20:08:44.888Z] e6fb740bc735: Waiting [2022-06-20T20:08:44.888Z] 3a77bd46dcc9: Waiting [2022-06-20T20:08:44.888Z] 94645a83ff95: Verifying Checksum [2022-06-20T20:08:44.888Z] 94645a83ff95: Download complete [2022-06-20T20:08:44.888Z] 1a89e8eeedd5: Verifying Checksum [2022-06-20T20:08:44.888Z] 1a89e8eeedd5: Download complete [2022-06-20T20:08:44.888Z] 3a77bd46dcc9: Download complete [2022-06-20T20:08:44.888Z] 355e64cbe906: Download complete [2022-06-20T20:08:44.888Z] 9b3977197b4f: Verifying Checksum [2022-06-20T20:08:44.888Z] 9b3977197b4f: Download complete [2022-06-20T20:08:44.888Z] 63ab81a10011: Verifying Checksum [2022-06-20T20:08:44.888Z] 63ab81a10011: Download complete [2022-06-20T20:08:46.358Z] 9b3977197b4f: Pull complete [2022-06-20T20:08:46.358Z] 7d9057610161: Verifying Checksum [2022-06-20T20:08:46.358Z] 7d9057610161: Download complete [2022-06-20T20:08:46.633Z] 1a89e8eeedd5: Pull complete [2022-06-20T20:08:47.247Z] 94645a83ff95: Pull complete [2022-06-20T20:08:47.525Z] 555d1d1c4555: Verifying Checksum [2022-06-20T20:08:48.128Z] e6fb740bc735: Verifying Checksum [2022-06-20T20:08:48.128Z] e6fb740bc735: Download complete [2022-06-20T20:09:00.539Z] e6fb740bc735: Pull complete [2022-06-20T20:09:00.539Z] 3a77bd46dcc9: Pull complete [2022-06-20T20:09:00.539Z] 355e64cbe906: Pull complete [2022-06-20T20:09:00.539Z] 63ab81a10011: Pull complete [2022-06-20T20:09:07.284Z] 555d1d1c4555: Pull complete [2022-06-20T20:09:09.273Z] 7d9057610161: Pull complete [2022-06-20T20:09:09.273Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T20:09:09.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T20:09:09.273Z] ---> 819e984ddca1 [2022-06-20T20:09:09.273Z] Step 3/12 : ARG MAKE='make build' [2022-06-20T20:09:11.254Z] ---> Running in eca9f006f4e3 [2022-06-20T20:09:11.530Z] Removing intermediate container eca9f006f4e3 [2022-06-20T20:09:11.530Z] ---> a44cee0d5169 [2022-06-20T20:09:11.530Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:09:11.530Z] ---> Running in 71d3790d786c [2022-06-20T20:09:11.812Z] Removing intermediate container 71d3790d786c [2022-06-20T20:09:11.812Z] ---> 1f165d73c2bd [2022-06-20T20:09:11.812Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:09:12.098Z] ---> Running in f7b8ee55173b [2022-06-20T20:09:12.373Z] Removing intermediate container f7b8ee55173b [2022-06-20T20:09:12.373Z] ---> 6b39c730a3be [2022-06-20T20:09:12.374Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:09:12.374Z] ---> Running in 4820a19fa545 [2022-06-20T20:09:14.372Z] Removing intermediate container 4820a19fa545 [2022-06-20T20:09:14.372Z] ---> 760e733b86c7 [2022-06-20T20:09:14.372Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:09:14.372Z] ---> Running in 92a602de2348 [2022-06-20T20:09:15.368Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T20:09:16.349Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T20:09:17.787Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T20:09:17.787Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T20:09:17.787Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T20:09:17.787Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T20:09:18.071Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T20:09:18.072Z] OK: 224 MiB in 56 packages [2022-06-20T20:09:19.062Z] Removing intermediate container 92a602de2348 [2022-06-20T20:09:19.062Z] ---> 65fabb2d76a3 [2022-06-20T20:09:19.062Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-20T20:09:19.062Z] ---> Running in 1382a9338040 [2022-06-20T20:09:19.341Z] Removing intermediate container 1382a9338040 [2022-06-20T20:09:19.341Z] ---> 837001e70b6d [2022-06-20T20:09:19.341Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-20T20:09:19.951Z] ---> f7a90151f4bb [2022-06-20T20:09:19.951Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:09:19.951Z] ---> Running in 48b038cd9dfd [2022-06-20T20:10:06.940Z] Removing intermediate container 48b038cd9dfd [2022-06-20T20:10:06.940Z] ---> 3b49c3446e9e [2022-06-20T20:10:06.940Z] Step 11/12 : COPY . . [2022-06-20T20:10:06.940Z] ---> a7f97765963e [2022-06-20T20:10:06.940Z] Step 12/12 : RUN $MAKE [2022-06-20T20:10:06.940Z] ---> Running in 2bf5165700b2 [2022-06-20T20:10:06.940Z] noop [2022-06-20T20:10:07.213Z] Removing intermediate container 2bf5165700b2 [2022-06-20T20:10:07.213Z] ---> c5d4e824f8f1 [2022-06-20T20:10:07.213Z] Successfully built c5d4e824f8f1 [2022-06-20T20:10:07.213Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:10:07.704Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T20:10:07.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:10:08.028Z] prd-ubuntu20.04-docker-arm64-4c-16g-15182 does not seem to be running inside a container [2022-06-20T20:10:08.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-06-20T20:10:09.452Z] $ docker top 412ce2f7053bd8f3b02c368155875e3a7a38f2e36ca09b0f086769e977d4bed8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T20:10:10.432Z] + go version [2022-06-20T20:10:10.432Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T20:10:10.479Z] $ docker stop --time=1 412ce2f7053bd8f3b02c368155875e3a7a38f2e36ca09b0f086769e977d4bed8 [2022-06-20T20:10:12.133Z] $ docker rm -f 412ce2f7053bd8f3b02c368155875e3a7a38f2e36ca09b0f086769e977d4bed8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:10:13.038Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T20:10:13.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:10:13.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-15182 does not seem to be running inside a container [2022-06-20T20:10:13.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-06-20T20:10:14.781Z] $ docker top 68df8891b16e948220dab286d4e948e40551f42e55b88871b0c112bbc7578b40 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T20:10:15.794Z] + make test [2022-06-20T20:10:15.794Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-20T20:10:17.231Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-20T20:11:39.085Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-20T20:11:39.086Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-06-20T20:11:39.086Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-20T20:11:39.086Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T20:12:05.911Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T20:12:05.911Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T20:12:05.911Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T20:12:07.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T20:12:07.968Z] $ docker stop --time=1 68df8891b16e948220dab286d4e948e40551f42e55b88871b0c112bbc7578b40 [2022-06-20T20:12:09.767Z] $ docker rm -f 68df8891b16e948220dab286d4e948e40551f42e55b88871b0c112bbc7578b40 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T20:12:10.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T20:12:10.863Z] Warning: overwriting stash ‘coverage-report’ [2022-06-20T20:12:11.356Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T20:12:11.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T20:12:12.304Z] + ls -al . [2022-06-20T20:12:12.304Z] total 168 [2022-06-20T20:12:12.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 20:12 . [2022-06-20T20:12:12.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 20:08 .. [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 20 20:08 .dockerignore [2022-06-20T20:12:12.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 20:08 .git [2022-06-20T20:12:12.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:08 .github [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 20 20:08 .gitignore [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 20:08 .golangci.yml [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 20 20:08 Attribution.txt [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 20 20:08 CHANGELOG.md [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 20 20:08 Dockerfile [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 20:08 GOVERNANCE.md [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 20 20:08 Jenkinsfile [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 20:08 LICENSE [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 20 20:08 Makefile [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 20 20:08 OWNERS.md [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 20 20:08 README.md [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 20:05 VERSION [2022-06-20T20:12:12.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:08 bin [2022-06-20T20:12:12.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:08 cmd [2022-06-20T20:12:12.304Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 20 20:11 coverage.out [2022-06-20T20:12:12.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:08 driver [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 20 20:08 go.mod [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 36102 Jun 20 20:08 go.sum [2022-06-20T20:12:12.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:08 snap [2022-06-20T20:12:12.304Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 20 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:12:12.743Z] + 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=f44da36a0bb3c62c36f5e8a829634f7a73409b18 --label arch=arm64 --label version=0.0.0 . [2022-06-20T20:12:12.743Z] Sending build context to Docker daemon 139.3kB [2022-06-20T20:12:13.024Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:12:13.024Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-20T20:12:13.024Z] ---> c5d4e824f8f1 [2022-06-20T20:12:13.024Z] Step 3/25 : ARG MAKE='make build' [2022-06-20T20:12:13.297Z] ---> Running in 689032f90222 [2022-06-20T20:12:13.572Z] Removing intermediate container 689032f90222 [2022-06-20T20:12:13.573Z] ---> 637e807e7588 [2022-06-20T20:12:13.573Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:12:13.573Z] ---> Running in 5e9e54c341d9 [2022-06-20T20:12:13.849Z] Removing intermediate container 5e9e54c341d9 [2022-06-20T20:12:13.849Z] ---> 56451cb05095 [2022-06-20T20:12:13.849Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:12:13.849Z] ---> Running in 864b44dd50c5 [2022-06-20T20:12:14.463Z] Removing intermediate container 864b44dd50c5 [2022-06-20T20:12:14.463Z] ---> 77cffe715adc [2022-06-20T20:12:14.463Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:12:14.463Z] ---> Running in 6f6529362542 [2022-06-20T20:12:15.915Z] Removing intermediate container 6f6529362542 [2022-06-20T20:12:15.915Z] ---> 85a156c3738a [2022-06-20T20:12:15.915Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:12:16.189Z] ---> Running in 2803de131a7c [2022-06-20T20:12:17.181Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T20:12:18.163Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T20:12:19.149Z] OK: 224 MiB in 56 packages [2022-06-20T20:12:19.747Z] Removing intermediate container 2803de131a7c [2022-06-20T20:12:19.747Z] ---> cc52f1b8421f [2022-06-20T20:12:19.747Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-20T20:12:19.747Z] ---> Running in 9a20dc64e11a [2022-06-20T20:12:20.342Z] Removing intermediate container 9a20dc64e11a [2022-06-20T20:12:20.342Z] ---> cef7254b2f80 [2022-06-20T20:12:20.342Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-20T20:12:20.619Z] ---> 9b2199a95a32 [2022-06-20T20:12:20.619Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:12:20.897Z] ---> Running in 3f19f9455775 [2022-06-20T20:12:22.877Z] Removing intermediate container 3f19f9455775 [2022-06-20T20:12:22.877Z] ---> 33650aa043ed [2022-06-20T20:12:22.877Z] Step 11/25 : COPY . . [2022-06-20T20:12:23.152Z] ---> 11d85d479d00 [2022-06-20T20:12:23.152Z] Step 12/25 : RUN $MAKE [2022-06-20T20:12:23.426Z] ---> Running in 98ab458c33ea [2022-06-20T20:12:24.412Z] 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-06-20T20:14:31.324Z] Removing intermediate container 98ab458c33ea [2022-06-20T20:14:31.324Z] ---> acd1ffede558 [2022-06-20T20:14:31.324Z] Step 13/25 : FROM alpine:3.14 [2022-06-20T20:14:31.324Z] 3.14: Pulling from library/alpine [2022-06-20T20:14:31.324Z] 455c02918c45: Pulling fs layer [2022-06-20T20:14:31.324Z] 455c02918c45: Verifying Checksum [2022-06-20T20:14:31.324Z] 455c02918c45: Download complete [2022-06-20T20:14:31.324Z] 455c02918c45: Pull complete [2022-06-20T20:14:31.324Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T20:14:31.324Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T20:14:31.324Z] ---> ac73e934f311 [2022-06-20T20:14:31.324Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-20T20:14:31.324Z] ---> Running in ee455b0aa618 [2022-06-20T20:14:31.324Z] Removing intermediate container ee455b0aa618 [2022-06-20T20:14:31.324Z] ---> ac2a7e0aa9fa [2022-06-20T20:14:31.324Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-20T20:14:31.324Z] ---> Running in 50ed8edcf907 [2022-06-20T20:14:31.324Z] Removing intermediate container 50ed8edcf907 [2022-06-20T20:14:31.324Z] ---> d8ac237ea383 [2022-06-20T20:14:31.324Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T20:14:31.324Z] ---> Running in d9e3f3cad254 [2022-06-20T20:14:31.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-20T20:14:31.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-20T20:14:31.324Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T20:14:31.324Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T20:14:31.324Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T20:14:31.324Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T20:14:31.324Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T20:14:31.324Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T20:14:31.324Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T20:14:31.324Z] OK: 8 MiB in 20 packages [2022-06-20T20:14:31.324Z] Removing intermediate container d9e3f3cad254 [2022-06-20T20:14:31.324Z] ---> db255d8b3e28 [2022-06-20T20:14:31.324Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-20T20:14:31.324Z] ---> a17ff664357c [2022-06-20T20:14:31.324Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-20T20:14:31.324Z] ---> 46ce91ff5e08 [2022-06-20T20:14:31.325Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-20T20:14:31.325Z] ---> ef76bc3631bb [2022-06-20T20:14:31.325Z] Step 20/25 : EXPOSE 59986 [2022-06-20T20:14:31.325Z] ---> Running in f334381883c6 [2022-06-20T20:14:31.325Z] Removing intermediate container f334381883c6 [2022-06-20T20:14:31.325Z] ---> e97abae74c92 [2022-06-20T20:14:31.325Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-20T20:14:31.325Z] ---> Running in fde180093160 [2022-06-20T20:14:31.325Z] Removing intermediate container fde180093160 [2022-06-20T20:14:31.325Z] ---> ef0cb0dd61d9 [2022-06-20T20:14:31.325Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-20T20:14:31.325Z] ---> Running in 12a49b6833af [2022-06-20T20:14:31.325Z] Removing intermediate container 12a49b6833af [2022-06-20T20:14:31.325Z] ---> c180538c8559 [2022-06-20T20:14:31.325Z] Step 23/25 : LABEL arch=arm64 [2022-06-20T20:14:31.325Z] ---> Running in 85db3f46bd1c [2022-06-20T20:14:31.604Z] Removing intermediate container 85db3f46bd1c [2022-06-20T20:14:31.604Z] ---> 96c8ba55ae88 [2022-06-20T20:14:31.604Z] Step 24/25 : LABEL git_sha=f44da36a0bb3c62c36f5e8a829634f7a73409b18 [2022-06-20T20:14:31.879Z] ---> Running in 3ff916e47c33 [2022-06-20T20:14:32.156Z] Removing intermediate container 3ff916e47c33 [2022-06-20T20:14:32.156Z] ---> e5f903f0b835 [2022-06-20T20:14:32.156Z] Step 25/25 : LABEL version=0.0.0 [2022-06-20T20:14:32.156Z] ---> Running in e5b2d51bf831 [2022-06-20T20:14:32.429Z] Removing intermediate container e5b2d51bf831 [2022-06-20T20:14:32.429Z] ---> 1dbe5b0987c3 [2022-06-20T20:14:32.429Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T20:14:32.429Z] Successfully built 1dbe5b0987c3 [2022-06-20T20:14:32.429Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:14:33.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T20:14:33.206Z] [2022-06-20T20:14:33.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:14:33.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T20:14:33.894Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T20:14:33.894Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T20:14:33.894Z] 04944245beec: Pulling fs layer [2022-06-20T20:14:33.894Z] 699f458cf7ca: Pulling fs layer [2022-06-20T20:14:33.894Z] 765212b225bb: Pulling fs layer [2022-06-20T20:14:33.894Z] f23df028b6ca: Pulling fs layer [2022-06-20T20:14:33.894Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T20:14:33.894Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T20:14:33.894Z] f23df028b6ca: Waiting [2022-06-20T20:14:33.894Z] d65c8cfc05b1: Waiting [2022-06-20T20:14:33.894Z] 765212b225bb: Waiting [2022-06-20T20:14:33.894Z] 2437ff75d9bd: Waiting [2022-06-20T20:14:33.894Z] 04944245beec: Verifying Checksum [2022-06-20T20:14:33.894Z] 04944245beec: Download complete [2022-06-20T20:14:33.894Z] 765212b225bb: Verifying Checksum [2022-06-20T20:14:33.894Z] 765212b225bb: Download complete [2022-06-20T20:14:33.894Z] f23df028b6ca: Verifying Checksum [2022-06-20T20:14:33.894Z] f23df028b6ca: Download complete [2022-06-20T20:14:33.894Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T20:14:33.894Z] d65c8cfc05b1: Download complete [2022-06-20T20:14:34.171Z] 699f458cf7ca: Verifying Checksum [2022-06-20T20:14:34.171Z] 699f458cf7ca: Download complete [2022-06-20T20:14:34.446Z] 8998bd30e6a1: Verifying Checksum [2022-06-20T20:14:34.446Z] 8998bd30e6a1: Download complete [2022-06-20T20:14:36.432Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T20:14:36.432Z] 2437ff75d9bd: Download complete [2022-06-20T20:14:39.060Z] 8998bd30e6a1: Pull complete [2022-06-20T20:14:39.060Z] 04944245beec: Pull complete [2022-06-20T20:14:40.501Z] 699f458cf7ca: Pull complete [2022-06-20T20:14:40.775Z] 765212b225bb: Pull complete [2022-06-20T20:14:41.769Z] f23df028b6ca: Pull complete [2022-06-20T20:14:42.043Z] d65c8cfc05b1: Pull complete [2022-06-20T20:14:57.136Z] 2437ff75d9bd: Pull complete [2022-06-20T20:14:57.136Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T20:14:57.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T20:14:57.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:14:57.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-15182 does not seem to be running inside a container [2022-06-20T20:14:57.613Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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:arm64 cat [2022-06-20T20:15:00.101Z] $ docker top 9e5e9c8b9ef708d11696a312c960a3fe53d0843a38f94ee5ba7119ea106c3eb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:01.075Z] ---> job-cost.sh [2022-06-20T20:15:01.076Z] lf-activate-venv: SKIPPING [2022-06-20T20:15:01.076Z] INFO: No Stack... [2022-06-20T20:15:01.672Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T20:15:02.271Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T20:15:02.948Z] + + cat /w/workspace/device-rest-go/1/archives/cost.csvcut [2022-06-20T20:15:02.948Z] -d, -f6 [Pipeline] lock [2022-06-20T20:15:03.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] [2022-06-20T20:15:03.040Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] did not exist. Created. [2022-06-20T20:15:03.041Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T20:15:03.787Z] /w/workspace/device-rest-go/1@tmp/durable-1bdbc2d0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-20T20:15:04.486Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T20:15:04.523Z] Warning: overwriting stash ‘stack-cost’ [2022-06-20T20:15:04.565Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T20:15:04.580Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T20:15:04.676Z] $ docker stop --time=1 9e5e9c8b9ef708d11696a312c960a3fe53d0843a38f94ee5ba7119ea106c3eb3 [2022-06-20T20:15:06.170Z] $ docker rm -f 9e5e9c8b9ef708d11696a312c960a3fe53d0843a38f94ee5ba7119ea106c3eb3 [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-06-20T20:15:07.128Z] provisioning config files... [2022-06-20T20:15:07.137Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-199@tmp/config7241435287046422304tmp [Pipeline] { [Pipeline] sh [2022-06-20T20:15:07.471Z] + set +x [2022-06-20T20:15:07.471Z] + curl -s https://codecov.io/bash [2022-06-20T20:15:07.471Z] + bash -s -- [2022-06-20T20:15:07.471Z] [2022-06-20T20:15:07.471Z] _____ _ [2022-06-20T20:15:07.471Z] / ____| | | [2022-06-20T20:15:07.471Z] | | ___ __| | ___ ___ _____ __ [2022-06-20T20:15:07.471Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-20T20:15:07.471Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-20T20:15:07.471Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-20T20:15:07.471Z] Bash-1.0.6 [2022-06-20T20:15:07.471Z] [2022-06-20T20:15:07.471Z] [2022-06-20T20:15:07.471Z] ==> git version 2.25.1 found [2022-06-20T20:15:07.471Z] ==> 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-06-20T20:15:07.471Z] Release-Date: 2020-01-08 [2022-06-20T20:15:07.471Z] 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-06-20T20:15:07.471Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-20T20:15:07.471Z] ==> Jenkins CI detected. [2022-06-20T20:15:07.471Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-199 [2022-06-20T20:15:07.471Z] project root: . [2022-06-20T20:15:07.471Z] --> token set from env [2022-06-20T20:15:07.471Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-20T20:15:07.471Z] ==> Running gcov in . (disable via -X gcov) [2022-06-20T20:15:07.471Z] ==> Python coveragepy not found [2022-06-20T20:15:07.471Z] ==> Searching for coverage reports in: [2022-06-20T20:15:07.471Z] + . [2022-06-20T20:15:07.471Z] -> Found 1 reports [2022-06-20T20:15:07.471Z] ==> Detecting git/mercurial file structure [2022-06-20T20:15:07.471Z] ==> Reading reports [2022-06-20T20:15:07.471Z] + ./coverage.out bytes=9355 [2022-06-20T20:15:07.471Z] ==> Appending adjustments [2022-06-20T20:15:07.471Z] https://docs.codecov.io/docs/fixing-reports [2022-06-20T20:15:07.733Z] + Found adjustments [2022-06-20T20:15:07.733Z] ==> Gzipping contents [2022-06-20T20:15:07.733Z] 4.0K /tmp/codecov.fuZjZL.gz [2022-06-20T20:15:07.733Z] ==> Uploading reports [2022-06-20T20:15:07.733Z] url: https://codecov.io [2022-06-20T20:15:07.733Z] query: branch=PR-199&commit=f44da36a0bb3c62c36f5e8a829634f7a73409b18&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2022-06-20T20:15:07.733Z] -> Pinging Codecov [2022-06-20T20:15:07.733Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-199&commit=f44da36a0bb3c62c36f5e8a829634f7a73409b18&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2022-06-20T20:15:07.994Z] -> Uploading to [2022-06-20T20:15:07.994Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-20/4E5D53B4F1F92C436F7061BF334D961C/f44da36a0bb3c62c36f5e8a829634f7a73409b18/bdbdfa2a-8169-4648-a550-189204bb2bb6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T201507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9641cf670996861cc96b5adcdcb76afc89165e22b87d5177eb8e16aec046692 [2022-06-20T20:15:07.994Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T20:15:07.994Z] Dload Upload Total Spent Left Speed [2022-06-20T20:15:08.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7493 --:--:-- --:--:-- --:--:-- 7493 [2022-06-20T20:15:08.257Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f44da36a0bb3c62c36f5e8a829634f7a73409b18 [Pipeline] } [2022-06-20T20:15:08.284Z] 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-06-20T20:15:10.002Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-199/archives ] [2022-06-20T20:15:10.002Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-199/archives [2022-06-20T20:15:10.002Z] total 16 [2022-06-20T20:15:10.002Z] drwxr-xr-x 3 root root 4096 Jun 20 20:07 . [2022-06-20T20:15:10.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 20:07 .. [2022-06-20T20:15:10.002Z] drwxr-xr-x 2 root root 4096 Jun 20 20:07 cost [2022-06-20T20:15:10.002Z] -rw-r--r-- 1 root root 85 Jun 20 20:07 cost.csv [2022-06-20T20:15:10.002Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-199/archives [2022-06-20T20:15:10.002Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-199/archives [2022-06-20T20:15:10.002Z] total 16 [2022-06-20T20:15:10.002Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 20:07 . [2022-06-20T20:15:10.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 20:07 .. [2022-06-20T20:15:10.002Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 20:07 cost [2022-06-20T20:15:10.002Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 20 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:10.329Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:11.228Z] ---> package-listing.sh [2022-06-20T20:15:11.229Z] ++ facter osfamily [2022-06-20T20:15:11.229Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T20:15:11.491Z] + OS_FAMILY=debian [2022-06-20T20:15:11.491Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-199 [2022-06-20T20:15:11.491Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T20:15:11.491Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T20:15:11.491Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T20:15:11.491Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T20:15:11.491Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-199 ']' [2022-06-20T20:15:11.491Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T20:15:11.491Z] + case "${OS_FAMILY}" in [2022-06-20T20:15:11.491Z] + grep '^ii' [2022-06-20T20:15:11.491Z] + dpkg -l [2022-06-20T20:15:11.491Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T20:15:11.491Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T20:15:11.491Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T20:15:11.491Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-199 ']' [2022-06-20T20:15:11.491Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-199/archives/ [2022-06-20T20:15:11.491Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-199/archives/ [Pipeline] echo [2022-06-20T20:15:11.526Z] 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-20T20:15:11.824Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:15:12.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:15:12.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:15:12.607Z] prd-ubuntu20.04-docker-8c-8g-15180 does not seem to be running inside a container [2022-06-20T20:15:12.653Z] $ 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-199/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-199 -v /w/workspace/gexfoundry_device-rest-go_PR-199:/w/workspace/gexfoundry_device-rest-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-199@tmp:/w/workspace/gexfoundry_device-rest-go_PR-199@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-lftools-log-publisher:latest cat [2022-06-20T20:15:12.916Z] $ docker top d2fec88c0b4b9825c78579a338b7d5c9a36c32a615eb2d738d2d244c07587564 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T20:15:13.325Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T20:15:13.636Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T20:15:13.958Z] + ls /var/log/sa-host [2022-06-20T20:15:13.958Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T20:15:14.084Z] provisioning config files... [2022-06-20T20:15:14.094Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-199@tmp/config2769567501983026180tmp [Pipeline] { [Pipeline] echo [2022-06-20T20:15:14.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:14.465Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T20:15:14.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:14.884Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T20:15:14.913Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:15.230Z] ---> sudo-logs.sh [2022-06-20T20:15:15.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T20:15:15.312Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:15.625Z] ---> job-cost.sh [2022-06-20T20:15:15.625Z] lf-activate-venv: SKIPPING [2022-06-20T20:15:15.625Z] DEBUG: total: 0.2199999988079071 [2022-06-20T20:15:15.625Z] INFO: Retrieving Stack Cost... [2022-06-20T20:15:15.887Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T20:15:16.458Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T20:15:16.493Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:15:16.800Z] ---> logs-deploy.sh [2022-06-20T20:15:16.800Z] lf-activate-venv: SKIPPING [2022-06-20T20:15:16.800Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-199/1 [2022-06-20T20:15:16.800Z] INFO: archiving workspace using pattern(s): [2022-06-20T20:15:17.743Z] Archives upload complete. [2022-06-20T20:15:17.743Z] INFO: archiving logs to Nexus