Pull request #195 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75b0ec1075d75c323abccb2b545508219c51619f+6db49600d84fbc344f4830d0628105aa21893aeb (c201b763197a83402a3931d91d6c4f14f030f748) 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-ssh5274157739934854994.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh14853375209801863547.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-195/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-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2637367582058792086.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-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1715311575385819458.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh14435173159473474422.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-195/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-195/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11686875826862841257.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1495’ Running on prd-ubuntu20.04-docker-8c-8g-1542 in /w/workspace/gexfoundry_device-rest-go_PR-195 [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-195 # 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 6db49600d84fbc344f4830d0628105aa21893aeb into PR head commit 75b0ec1075d75c323abccb2b545508219c51619f Merge succeeded, producing 75b0ec1075d75c323abccb2b545508219c51619f Checking out Revision 75b0ec1075d75c323abccb2b545508219c51619f (PR-195) > 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/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b0ec1075d75c323abccb2b545508219c51619f # 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 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b0ec1075d75c323abccb2b545508219c51619f # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-06T20:05:55.137Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-06T20:05:55.305Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-06T20:05:55.400Z] ========================================================= [2022-06-06T20:05:55.401Z] EdgeX Global Pipelines Version Info [2022-06-06T20:05:55.401Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:05:56.170Z] ------------------- [2022-06-06T20:05:56.170Z] stable info: [2022-06-06T20:05:56.170Z] ------------------- [2022-06-06T20:05:56.170Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-06T20:05:56.170Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T20:05:56.170Z] Message: update stable to v1.0.232 [2022-06-06T20:05:56.744Z] ------------------- [2022-06-06T20:05:56.744Z] experimental info: [2022-06-06T20:05:56.744Z] ------------------- [2022-06-06T20:05:56.744Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-06T20:05:56.744Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T20:05:56.744Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-06T20:05:57.122Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-06T20:05:57.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-06T20:05:57.202Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-06T20:05:57.238Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-06T20:05:57.275Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-06T20:05:57.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-06T20:05:57.357Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-06T20:05:57.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-06T20:05:57.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-06T20:05:57.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-06T20:05:57.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-06T20:05:57.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-06T20:05:57.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-06T20:05:57.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-06T20:05:57.655Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T20:05:57.694Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T20:05:57.732Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T20:05:57.773Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T20:05:57.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-06T20:05:57.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-06T20:05:57.897Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-06T20:05:57.938Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-06T20:05:57.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-06T20:05:58.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-06T20:05:58.063Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-06T20:05:58.102Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-06T20:05:58.144Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-06T20:05:58.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-195 [Pipeline] echo [2022-06-06T20:05:58.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-195 [Pipeline] echo [2022-06-06T20:05:58.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-195 [Pipeline] echo [2022-06-06T20:05:58.300Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75b0ec1075d75c323abccb2b545508219c51619f [Pipeline] echo [2022-06-06T20:05:58.341Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75b0ec1 [Pipeline] echo [2022-06-06T20:05:58.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T20:05:58.497Z] provisioning config files... [2022-06-06T20:05:58.510Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-195@tmp/config6921736358048576493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:05:58.882Z] ---> docker-login.sh [2022-06-06T20:05:58.882Z] nexus3.edgexfoundry.org:10001 [2022-06-06T20:05:59.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:05:59.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:05:59.145Z] Configure a credential helper to remove this warning. See [2022-06-06T20:05:59.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:05:59.145Z] [2022-06-06T20:05:59.145Z] Login Succeeded [2022-06-06T20:05:59.145Z] nexus3.edgexfoundry.org:10002 [2022-06-06T20:05:59.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:05:59.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:05:59.145Z] Configure a credential helper to remove this warning. See [2022-06-06T20:05:59.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:05:59.145Z] [2022-06-06T20:05:59.145Z] Login Succeeded [2022-06-06T20:05:59.407Z] nexus3.edgexfoundry.org:10003 [2022-06-06T20:05:59.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:05:59.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:05:59.407Z] Configure a credential helper to remove this warning. See [2022-06-06T20:05:59.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:05:59.407Z] [2022-06-06T20:05:59.407Z] Login Succeeded [2022-06-06T20:05:59.407Z] nexus3.edgexfoundry.org:10004 [2022-06-06T20:05:59.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:05:59.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:05:59.669Z] Configure a credential helper to remove this warning. See [2022-06-06T20:05:59.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:05:59.669Z] [2022-06-06T20:05:59.669Z] Login Succeeded [2022-06-06T20:05:59.669Z] docker.io [2022-06-06T20:05:59.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:05:59.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:05:59.931Z] Configure a credential helper to remove this warning. See [2022-06-06T20:05:59.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:05:59.931Z] [2022-06-06T20:05:59.931Z] Login Succeeded [2022-06-06T20:05:59.931Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T20:05:59.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-06T20:06:00.570Z] + git rev-list -1 --merges 75b0ec1075d75c323abccb2b545508219c51619f~1..75b0ec1075d75c323abccb2b545508219c51619f [Pipeline] echo [2022-06-06T20:06:00.614Z] -----------> git rev-list -1 --merges 75b0ec1075d75c323abccb2b545508219c51619f~1..75b0ec1075d75c323abccb2b545508219c51619f 75b0ec1075d75c323abccb2b545508219c51619f [false] [Pipeline] sh [2022-06-06T20:06:00.920Z] + git log --format=format:%s -1 75b0ec1075d75c323abccb2b545508219c51619f [Pipeline] echo [2022-06-06T20:06:00.953Z] ========================================================= [2022-06-06T20:06:00.953Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-06T20:06:00.953Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T20:06:01.397Z] + git log --format=format:%s -1 75b0ec1075d75c323abccb2b545508219c51619f [Pipeline] echo [2022-06-06T20:06:01.428Z] [semverPrep] GIT_COMMIT: 75b0ec1075d75c323abccb2b545508219c51619f, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 [Pipeline] echo [2022-06-06T20:06:01.457Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-06T20:06:01.847Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-06T20:06:01.847Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-06T20:06:01.847Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-06T20:06:01.847Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-06T20:06:01.847Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-06T20:06:01.847Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-06T20:06:01.847Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:06:02.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T20:06:02.343Z] [2022-06-06T20:06:02.343Z] 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-06T20:06:02.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T20:06:02.723Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-06T20:06:02.723Z] 42c077c10790: Pulling fs layer [2022-06-06T20:06:02.723Z] f63e77b7563a: Pulling fs layer [2022-06-06T20:06:02.723Z] bd5fdadae976: Pulling fs layer [2022-06-06T20:06:02.723Z] 205491f53016: Pulling fs layer [2022-06-06T20:06:02.723Z] df18705c85c3: Pulling fs layer [2022-06-06T20:06:02.723Z] bdb3f477010e: Pulling fs layer [2022-06-06T20:06:02.723Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-06T20:06:02.723Z] 2c6e9b1d212d: Pulling fs layer [2022-06-06T20:06:02.723Z] bdb8f0575790: Pulling fs layer [2022-06-06T20:06:02.723Z] 386e3cb2ff24: Pulling fs layer [2022-06-06T20:06:02.723Z] 2343380bae48: Pulling fs layer [2022-06-06T20:06:02.723Z] 386e3cb2ff24: Waiting [2022-06-06T20:06:02.723Z] 2c6e9b1d212d: Waiting [2022-06-06T20:06:02.723Z] c8a8fc8e1c8f: Waiting [2022-06-06T20:06:02.723Z] bdb8f0575790: Waiting [2022-06-06T20:06:02.723Z] 2343380bae48: Waiting [2022-06-06T20:06:02.723Z] 205491f53016: Waiting [2022-06-06T20:06:02.723Z] df18705c85c3: Waiting [2022-06-06T20:06:02.723Z] f63e77b7563a: Download complete [2022-06-06T20:06:02.723Z] 205491f53016: Download complete [2022-06-06T20:06:02.723Z] df18705c85c3: Verifying Checksum [2022-06-06T20:06:02.723Z] df18705c85c3: Download complete [2022-06-06T20:06:02.985Z] bdb3f477010e: Verifying Checksum [2022-06-06T20:06:02.985Z] bdb3f477010e: Download complete [2022-06-06T20:06:02.985Z] bd5fdadae976: Verifying Checksum [2022-06-06T20:06:02.985Z] bd5fdadae976: Download complete [2022-06-06T20:06:02.985Z] 2c6e9b1d212d: Download complete [2022-06-06T20:06:02.985Z] bdb8f0575790: Download complete [2022-06-06T20:06:02.985Z] 386e3cb2ff24: Verifying Checksum [2022-06-06T20:06:02.985Z] 386e3cb2ff24: Download complete [2022-06-06T20:06:02.985Z] 2343380bae48: Download complete [2022-06-06T20:06:02.985Z] 42c077c10790: Verifying Checksum [2022-06-06T20:06:02.985Z] 42c077c10790: Download complete [2022-06-06T20:06:03.245Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-06T20:06:03.245Z] c8a8fc8e1c8f: Download complete [2022-06-06T20:06:04.627Z] 42c077c10790: Pull complete [2022-06-06T20:06:04.627Z] f63e77b7563a: Pull complete [2022-06-06T20:06:05.209Z] bd5fdadae976: Pull complete [2022-06-06T20:06:05.209Z] 205491f53016: Pull complete [2022-06-06T20:06:05.472Z] df18705c85c3: Pull complete [2022-06-06T20:06:05.472Z] bdb3f477010e: Pull complete [2022-06-06T20:06:07.383Z] c8a8fc8e1c8f: Pull complete [2022-06-06T20:06:07.644Z] 2c6e9b1d212d: Pull complete [2022-06-06T20:06:07.905Z] bdb8f0575790: Pull complete [2022-06-06T20:06:07.905Z] 386e3cb2ff24: Pull complete [2022-06-06T20:06:07.905Z] 2343380bae48: Pull complete [2022-06-06T20:06:07.905Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-06T20:06:07.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T20:06:07.905Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:06:08.118Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2022-06-06T20:06:08.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-195 -v /w/workspace/gexfoundry_device-rest-go_PR-195:/w/workspace/gexfoundry_device-rest-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-195@tmp:/w/workspace/gexfoundry_device-rest-go_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-06T20:06:09.318Z] $ docker top 9acc9c2dd646caa7a903dd5cd97cb172122b4da886156a3a5b8ecb95f65bcca9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-06T20:06:09.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T20:06:09.501Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T20:06:09.634Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T20:06:09.642Z] $ docker exec 9acc9c2dd646caa7a903dd5cd97cb172122b4da886156a3a5b8ecb95f65bcca9 ssh-agent [2022-06-06T20:06:09.774Z] SSH_AUTH_SOCK=/tmp/ssh-Ao0iB9WpZKEL/agent.33 [2022-06-06T20:06:09.774Z] SSH_AGENT_PID=39 [2022-06-06T20:06:09.780Z] Running ssh-add (command line suppressed) [2022-06-06T20:06:09.907Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-195@tmp/private_key_8498646414241767717.key (/w/workspace/gexfoundry_device-rest-go_PR-195@tmp/private_key_8498646414241767717.key) [2022-06-06T20:06:09.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T20:06:10.249Z] + git tag --points-at HEAD [Pipeline] } [2022-06-06T20:06:10.280Z] $ docker exec --env ******** --env ******** 9acc9c2dd646caa7a903dd5cd97cb172122b4da886156a3a5b8ecb95f65bcca9 ssh-agent -k [2022-06-06T20:06:10.384Z] unset SSH_AUTH_SOCK; [2022-06-06T20:06:10.384Z] unset SSH_AGENT_PID; [2022-06-06T20:06:10.385Z] echo Agent pid 39 killed; [2022-06-06T20:06:10.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-06T20:06:10.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T20:06:10.479Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T20:06:10.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T20:06:10.624Z] $ docker exec 9acc9c2dd646caa7a903dd5cd97cb172122b4da886156a3a5b8ecb95f65bcca9 ssh-agent [2022-06-06T20:06:10.749Z] SSH_AUTH_SOCK=/tmp/ssh-ShXZZwZIwxQO/agent.72 [2022-06-06T20:06:10.749Z] SSH_AGENT_PID=78 [2022-06-06T20:06:10.753Z] Running ssh-add (command line suppressed) [2022-06-06T20:06:10.865Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-195@tmp/private_key_4962616181905359396.key (/w/workspace/gexfoundry_device-rest-go_PR-195@tmp/private_key_4962616181905359396.key) [2022-06-06T20:06:10.876Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T20:06:11.214Z] + git semver init [2022-06-06T20:06:11.473Z] 2022-06-06 20:06:11,416 [run_init] DEBUG init version:0.0.0 force:False [2022-06-06T20:06:11.473Z] 2022-06-06 20:06:11,417 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-195/.semver [2022-06-06T20:06:11.473Z] 2022-06-06 20:06:11,417 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-195/.semver [2022-06-06T20:06:11.473Z] 2022-06-06 20:06:11,417 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-195/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-195, universal_newlines=False, shell=None, istream=None) [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,352 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-195/.git/info/exclude [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,352 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-195/.semver/PR-195 with force:False [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,352 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-195/.semver/PR-195 [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,357 [execute] INFO git cat-file --batch-check [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-195/.semver, universal_newlines=False, shell=None, istream=) [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,363 [execute] INFO git cat-file --batch [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,364 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-195/.semver, universal_newlines=False, shell=None, istream=) [2022-06-06T20:06:12.413Z] 2022-06-06 20:06:12,370 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-195/.semver/PR-195 [2022-06-06T20:06:12.413Z] 0.0.0 [Pipeline] } [2022-06-06T20:06:12.443Z] $ docker exec --env ******** --env ******** 9acc9c2dd646caa7a903dd5cd97cb172122b4da886156a3a5b8ecb95f65bcca9 ssh-agent -k [2022-06-06T20:06:12.574Z] unset SSH_AUTH_SOCK; [2022-06-06T20:06:12.575Z] unset SSH_AGENT_PID; [2022-06-06T20:06:12.575Z] echo Agent pid 78 killed; [2022-06-06T20:06:12.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-06T20:06:13.012Z] + git semver [Pipeline] } [2022-06-06T20:06:13.302Z] $ docker stop --time=1 9acc9c2dd646caa7a903dd5cd97cb172122b4da886156a3a5b8ecb95f65bcca9 [2022-06-06T20:06:14.635Z] $ docker rm -f 9acc9c2dd646caa7a903dd5cd97cb172122b4da886156a3a5b8ecb95f65bcca9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T20:06:15.048Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-06T20:06:15.330Z] Stashed 1 file(s) [Pipeline] echo [2022-06-06T20:06:15.350Z] [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-06T20:06:15.915Z] provisioning config files... [2022-06-06T20:06:15.928Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-195@tmp/config5179026492911486794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:06:16.275Z] ---> docker-login.sh [2022-06-06T20:06:16.275Z] nexus3.edgexfoundry.org:10001 [2022-06-06T20:06:16.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:06:16.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:06:16.275Z] Configure a credential helper to remove this warning. See [2022-06-06T20:06:16.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:06:16.275Z] [2022-06-06T20:06:16.275Z] Login Succeeded [2022-06-06T20:06:16.275Z] nexus3.edgexfoundry.org:10002 [2022-06-06T20:06:16.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:06:16.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:06:16.536Z] Configure a credential helper to remove this warning. See [2022-06-06T20:06:16.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:06:16.536Z] [2022-06-06T20:06:16.536Z] Login Succeeded [2022-06-06T20:06:16.536Z] nexus3.edgexfoundry.org:10003 [2022-06-06T20:06:16.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:06:16.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:06:16.536Z] Configure a credential helper to remove this warning. See [2022-06-06T20:06:16.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:06:16.536Z] [2022-06-06T20:06:16.536Z] Login Succeeded [2022-06-06T20:06:16.536Z] nexus3.edgexfoundry.org:10004 [2022-06-06T20:06:16.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:06:16.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:06:16.797Z] Configure a credential helper to remove this warning. See [2022-06-06T20:06:16.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:06:16.797Z] [2022-06-06T20:06:16.797Z] Login Succeeded [2022-06-06T20:06:16.797Z] docker.io [2022-06-06T20:06:16.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:06:17.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:06:17.060Z] Configure a credential helper to remove this warning. See [2022-06-06T20:06:17.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:06:17.060Z] [2022-06-06T20:06:17.060Z] Login Succeeded [2022-06-06T20:06:17.060Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T20:06:17.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T20:06:17.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T20:06:17.317Z] ========================================================= [2022-06-06T20:06:17.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-06T20:06:17.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:06:17.789Z] + 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-06T20:06:17.790Z] Sending build context to Docker daemon 10.67MB [2022-06-06T20:06:17.790Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T20:06:17.790Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-06T20:06:17.790Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-06T20:06:17.790Z] 59bf1c3509f3: Pulling fs layer [2022-06-06T20:06:17.790Z] 666ba61612fd: Pulling fs layer [2022-06-06T20:06:17.790Z] 8ed8ca486205: Pulling fs layer [2022-06-06T20:06:17.790Z] cc1cd167ecdc: Pulling fs layer [2022-06-06T20:06:17.790Z] c516ae0d96e1: Pulling fs layer [2022-06-06T20:06:17.790Z] 684cea983483: Pulling fs layer [2022-06-06T20:06:17.790Z] dd3240ac7de5: Pulling fs layer [2022-06-06T20:06:17.790Z] b1e948a4e11c: Pulling fs layer [2022-06-06T20:06:17.790Z] a8fd76ee1af6: Pulling fs layer [2022-06-06T20:06:17.790Z] 646ad004c059: Pulling fs layer [2022-06-06T20:06:17.790Z] 684cea983483: Waiting [2022-06-06T20:06:17.790Z] dd3240ac7de5: Waiting [2022-06-06T20:06:17.790Z] b1e948a4e11c: Waiting [2022-06-06T20:06:17.790Z] a8fd76ee1af6: Waiting [2022-06-06T20:06:17.790Z] 646ad004c059: Waiting [2022-06-06T20:06:17.790Z] c516ae0d96e1: Waiting [2022-06-06T20:06:17.790Z] cc1cd167ecdc: Waiting [2022-06-06T20:06:17.790Z] 8ed8ca486205: Verifying Checksum [2022-06-06T20:06:17.790Z] 8ed8ca486205: Download complete [2022-06-06T20:06:17.790Z] 666ba61612fd: Download complete [2022-06-06T20:06:17.790Z] c516ae0d96e1: Verifying Checksum [2022-06-06T20:06:17.790Z] c516ae0d96e1: Download complete [2022-06-06T20:06:18.052Z] 684cea983483: Download complete [2022-06-06T20:06:18.052Z] 59bf1c3509f3: Verifying Checksum [2022-06-06T20:06:18.052Z] 59bf1c3509f3: Download complete [2022-06-06T20:06:18.052Z] dd3240ac7de5: Download complete [2022-06-06T20:06:18.052Z] b1e948a4e11c: Verifying Checksum [2022-06-06T20:06:18.052Z] b1e948a4e11c: Download complete [2022-06-06T20:06:18.052Z] 59bf1c3509f3: Pull complete [2022-06-06T20:06:18.321Z] 666ba61612fd: Pull complete [2022-06-06T20:06:18.321Z] 8ed8ca486205: Pull complete [2022-06-06T20:06:18.584Z] 646ad004c059: Verifying Checksum [2022-06-06T20:06:18.584Z] 646ad004c059: Download complete [2022-06-06T20:06:18.584Z] a8fd76ee1af6: Verifying Checksum [2022-06-06T20:06:18.584Z] a8fd76ee1af6: Download complete [2022-06-06T20:06:18.844Z] cc1cd167ecdc: Verifying Checksum [2022-06-06T20:06:18.844Z] cc1cd167ecdc: Download complete [2022-06-06T20:06:23.044Z] cc1cd167ecdc: Pull complete [2022-06-06T20:06:23.044Z] c516ae0d96e1: Pull complete [2022-06-06T20:06:23.044Z] 684cea983483: Pull complete [2022-06-06T20:06:23.044Z] dd3240ac7de5: Pull complete [2022-06-06T20:06:23.044Z] b1e948a4e11c: Pull complete [2022-06-06T20:06:25.586Z] a8fd76ee1af6: Pull complete [2022-06-06T20:06:26.153Z] 646ad004c059: Pull complete [2022-06-06T20:06:26.153Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-06T20:06:26.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-06T20:06:26.153Z] ---> 8f69c11f6b0c [2022-06-06T20:06:26.153Z] Step 3/12 : ARG MAKE='make build' [2022-06-06T20:06:27.530Z] ---> Running in b33801cd1760 [2022-06-06T20:06:27.530Z] Removing intermediate container b33801cd1760 [2022-06-06T20:06:27.530Z] ---> 087f2d7c9e60 [2022-06-06T20:06:27.530Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T20:06:27.530Z] ---> Running in 4dcdd82bbff1 [2022-06-06T20:06:27.530Z] Removing intermediate container 4dcdd82bbff1 [2022-06-06T20:06:27.530Z] ---> 3b7e4ca68e46 [2022-06-06T20:06:27.530Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T20:06:27.530Z] ---> Running in 946443d3d8e9 [2022-06-06T20:06:27.530Z] Removing intermediate container 946443d3d8e9 [2022-06-06T20:06:27.530Z] ---> 7b1461244c16 [2022-06-06T20:06:27.530Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T20:06:27.530Z] ---> Running in 8d2352d45eb7 [2022-06-06T20:06:28.099Z] Removing intermediate container 8d2352d45eb7 [2022-06-06T20:06:28.099Z] ---> 2a3692773209 [2022-06-06T20:06:28.099Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T20:06:28.099Z] ---> Running in 0179cf391070 [2022-06-06T20:06:28.358Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T20:06:29.300Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T20:06:29.560Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-06T20:06:29.820Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-06T20:06:29.820Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-06T20:06:29.820Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-06T20:06:30.081Z] Executing busybox-1.34.1-r3.trigger [2022-06-06T20:06:30.081Z] OK: 224 MiB in 56 packages [2022-06-06T20:06:30.340Z] Removing intermediate container 0179cf391070 [2022-06-06T20:06:30.340Z] ---> c6f270ea54db [2022-06-06T20:06:30.340Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-06T20:06:30.340Z] ---> Running in a69f55209427 [2022-06-06T20:06:30.340Z] Removing intermediate container a69f55209427 [2022-06-06T20:06:30.340Z] ---> 41797517acc4 [2022-06-06T20:06:30.340Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-06T20:06:30.601Z] ---> 2ddc4f2152b6 [2022-06-06T20:06:30.601Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T20:06:30.601Z] ---> Running in 790fe24544a2 [2022-06-06T20:06:30.744Z] Still waiting to schedule task [2022-06-06T20:06:30.744Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1539’ [2022-06-06T20:06:48.720Z] Removing intermediate container 790fe24544a2 [2022-06-06T20:06:48.721Z] ---> cb8defd44358 [2022-06-06T20:06:48.721Z] Step 11/12 : COPY . . [2022-06-06T20:06:48.721Z] ---> 25555c01d1df [2022-06-06T20:06:48.721Z] Step 12/12 : RUN $MAKE [2022-06-06T20:06:48.721Z] ---> Running in a9db7a307434 [2022-06-06T20:06:48.721Z] noop [2022-06-06T20:06:48.721Z] Removing intermediate container a9db7a307434 [2022-06-06T20:06:48.721Z] ---> f261c7509ba7 [2022-06-06T20:06:48.721Z] Successfully built f261c7509ba7 [2022-06-06T20:06:48.721Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:06:49.153Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T20:06:49.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:06:49.316Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2022-06-06T20:06:49.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-195 -v /w/workspace/gexfoundry_device-rest-go_PR-195:/w/workspace/gexfoundry_device-rest-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-195@tmp:/w/workspace/gexfoundry_device-rest-go_PR-195@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-x86_64 cat [2022-06-06T20:06:49.705Z] $ docker top 510ac2e2991422fc883094272d858a414e789bb9eef0f13528f65cdafefdb1ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T20:06:50.099Z] + go version [2022-06-06T20:06:50.099Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-06T20:06:50.132Z] $ docker stop --time=1 510ac2e2991422fc883094272d858a414e789bb9eef0f13528f65cdafefdb1ff [2022-06-06T20:06:51.398Z] $ docker rm -f 510ac2e2991422fc883094272d858a414e789bb9eef0f13528f65cdafefdb1ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:06:52.123Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T20:06:52.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:06:52.316Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2022-06-06T20:06:52.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-195 -v /w/workspace/gexfoundry_device-rest-go_PR-195:/w/workspace/gexfoundry_device-rest-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-195@tmp:/w/workspace/gexfoundry_device-rest-go_PR-195@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-x86_64 cat [2022-06-06T20:06:52.862Z] $ docker top f710f740d27fe3ba3bb65334838ea9aa4c4c2b5f0f828774099867c18c947038 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T20:06:53.307Z] + make test [2022-06-06T20:06:53.307Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T20:06:53.566Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-06T20:07:03.558Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-06T20:07:03.558Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-06-06T20:07:10.126Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T20:07:14.323Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T20:07:14.323Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T20:07:14.323Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-06T20:07:14.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-06T20:07:14.399Z] $ docker stop --time=1 f710f740d27fe3ba3bb65334838ea9aa4c4c2b5f0f828774099867c18c947038 [2022-06-06T20:07:15.977Z] $ docker rm -f f710f740d27fe3ba3bb65334838ea9aa4c4c2b5f0f828774099867c18c947038 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T20:07:16.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-06T20:07:16.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-06T20:07:17.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-06T20:07:17.540Z] + ls -al . [2022-06-06T20:07:17.540Z] total 172 [2022-06-06T20:07:17.540Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 6 20:07 . [2022-06-06T20:07:17.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 20:05 .. [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 6 20:05 .dockerignore [2022-06-06T20:07:17.540Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 20:06 .git [2022-06-06T20:07:17.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 20:05 .github [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 6 20:05 .gitignore [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 6 20:05 .golangci.yml [2022-06-06T20:07:17.540Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 20:06 .semver [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 6 20:05 Attribution.txt [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 6 20:05 CHANGELOG.md [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 6 20:05 Dockerfile [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 20:05 GOVERNANCE.md [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 6 20:05 Jenkinsfile [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 6 20:05 LICENSE [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 6 20:05 Makefile [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 6 20:05 OWNERS.md [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 6 20:05 README.md [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 20:06 VERSION [2022-06-06T20:07:17.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 20:05 bin [2022-06-06T20:07:17.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 20:05 cmd [2022-06-06T20:07:17.540Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 6 20:07 coverage.out [2022-06-06T20:07:17.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 20:05 driver [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 6 20:05 go.mod [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 6 20:05 go.sum [2022-06-06T20:07:17.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 20:05 snap [2022-06-06T20:07:17.540Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 6 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:07:17.939Z] + 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=75b0ec1075d75c323abccb2b545508219c51619f --label arch=amd64 --label version=0.0.0 . [2022-06-06T20:07:17.939Z] Sending build context to Docker daemon 10.68MB [2022-06-06T20:07:17.939Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T20:07:17.939Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-06T20:07:17.939Z] ---> f261c7509ba7 [2022-06-06T20:07:17.939Z] Step 3/25 : ARG MAKE='make build' [2022-06-06T20:07:17.939Z] ---> Running in 869300fcad2d [2022-06-06T20:07:18.207Z] Removing intermediate container 869300fcad2d [2022-06-06T20:07:18.207Z] ---> 959cbf2c6899 [2022-06-06T20:07:18.207Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T20:07:18.207Z] ---> Running in 586d33ab8f2b [2022-06-06T20:07:18.207Z] Removing intermediate container 586d33ab8f2b [2022-06-06T20:07:18.207Z] ---> 2c571dcd4821 [2022-06-06T20:07:18.207Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T20:07:18.207Z] ---> Running in 6bec308740e0 [2022-06-06T20:07:18.207Z] Removing intermediate container 6bec308740e0 [2022-06-06T20:07:18.207Z] ---> 24316bfeef3b [2022-06-06T20:07:18.207Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T20:07:18.207Z] ---> Running in b6a39c1c7daf [2022-06-06T20:07:18.780Z] Removing intermediate container b6a39c1c7daf [2022-06-06T20:07:18.781Z] ---> f08f5cf84ca8 [2022-06-06T20:07:18.781Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T20:07:18.781Z] ---> Running in 0e8eb013afd1 [2022-06-06T20:07:19.042Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T20:07:19.984Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T20:07:20.245Z] OK: 224 MiB in 56 packages [2022-06-06T20:07:20.505Z] Removing intermediate container 0e8eb013afd1 [2022-06-06T20:07:20.505Z] ---> 7f4ceb20bb1a [2022-06-06T20:07:20.505Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-06T20:07:20.505Z] ---> Running in b6cd1d1c9e44 [2022-06-06T20:07:20.766Z] Removing intermediate container b6cd1d1c9e44 [2022-06-06T20:07:20.766Z] ---> 2bbfba79e029 [2022-06-06T20:07:20.766Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-06T20:07:20.766Z] ---> a48ef5e54870 [2022-06-06T20:07:20.766Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T20:07:20.766Z] ---> Running in ee944599e34c [2022-06-06T20:07:21.707Z] Removing intermediate container ee944599e34c [2022-06-06T20:07:21.707Z] ---> 9c99f15c2b89 [2022-06-06T20:07:21.707Z] Step 11/25 : COPY . . [2022-06-06T20:07:21.707Z] ---> 7d035a6e7642 [2022-06-06T20:07:21.707Z] Step 12/25 : RUN $MAKE [2022-06-06T20:07:21.707Z] ---> Running in 3e05b51226f4 [2022-06-06T20:07:21.969Z] 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-06T20:07:43.921Z] Removing intermediate container 3e05b51226f4 [2022-06-06T20:07:43.921Z] ---> 1f388c2ff414 [2022-06-06T20:07:43.921Z] Step 13/25 : FROM alpine:3.14 [2022-06-06T20:07:43.921Z] 3.14: Pulling from library/alpine [2022-06-06T20:07:43.921Z] 8663204ce13b: Pulling fs layer [2022-06-06T20:07:43.921Z] 8663204ce13b: Verifying Checksum [2022-06-06T20:07:43.921Z] 8663204ce13b: Download complete [2022-06-06T20:07:43.921Z] 8663204ce13b: Pull complete [2022-06-06T20:07:43.921Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-06T20:07:43.921Z] Status: Downloaded newer image for alpine:3.14 [2022-06-06T20:07:43.921Z] ---> e04c818066af [2022-06-06T20:07:43.921Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-06T20:07:43.921Z] ---> Running in c65b95b7887d [2022-06-06T20:07:43.921Z] Removing intermediate container c65b95b7887d [2022-06-06T20:07:43.921Z] ---> aef771a780ea [2022-06-06T20:07:43.921Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-06T20:07:43.921Z] ---> Running in c251a28f7746 [2022-06-06T20:07:43.921Z] Removing intermediate container c251a28f7746 [2022-06-06T20:07:43.921Z] ---> 3655d6b9aff5 [2022-06-06T20:07:43.922Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-06T20:07:43.922Z] ---> Running in f80ba254eaa9 [2022-06-06T20:07:43.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-06T20:07:43.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-06T20:07:43.922Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-06T20:07:43.922Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-06T20:07:43.922Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-06T20:07:43.922Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-06T20:07:43.922Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-06T20:07:43.922Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-06T20:07:43.922Z] Executing busybox-1.33.1-r7.trigger [2022-06-06T20:07:43.922Z] OK: 8 MiB in 20 packages [2022-06-06T20:07:43.922Z] Removing intermediate container f80ba254eaa9 [2022-06-06T20:07:43.922Z] ---> 052e628ba90e [2022-06-06T20:07:43.922Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-06T20:07:43.922Z] ---> 86d7e667405b [2022-06-06T20:07:43.922Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-06T20:07:43.922Z] ---> 3af09b509721 [2022-06-06T20:07:43.922Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-06T20:07:43.922Z] ---> 6b1f97ab7d45 [2022-06-06T20:07:43.922Z] Step 20/25 : EXPOSE 59986 [2022-06-06T20:07:43.922Z] ---> Running in f9439be98bb1 [2022-06-06T20:07:43.922Z] Removing intermediate container f9439be98bb1 [2022-06-06T20:07:43.922Z] ---> 3f7caebe2129 [2022-06-06T20:07:43.922Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-06T20:07:43.922Z] ---> Running in f638c8b4994f [2022-06-06T20:07:43.922Z] Removing intermediate container f638c8b4994f [2022-06-06T20:07:43.922Z] ---> 872b2cf506d1 [2022-06-06T20:07:43.922Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-06T20:07:43.922Z] ---> Running in af61b6b49e01 [2022-06-06T20:07:43.922Z] Removing intermediate container af61b6b49e01 [2022-06-06T20:07:43.922Z] ---> 995b2b4aaa34 [2022-06-06T20:07:43.922Z] Step 23/25 : LABEL arch=amd64 [2022-06-06T20:07:43.922Z] ---> Running in a7da724c0c73 [2022-06-06T20:07:44.183Z] Removing intermediate container a7da724c0c73 [2022-06-06T20:07:44.183Z] ---> 27a6b3bfc671 [2022-06-06T20:07:44.183Z] Step 24/25 : LABEL git_sha=75b0ec1075d75c323abccb2b545508219c51619f [2022-06-06T20:07:44.183Z] ---> Running in ec407bbcba6a [2022-06-06T20:07:44.183Z] Removing intermediate container ec407bbcba6a [2022-06-06T20:07:44.183Z] ---> 6689eb744a6f [2022-06-06T20:07:44.183Z] Step 25/25 : LABEL version=0.0.0 [2022-06-06T20:07:44.183Z] ---> Running in 0868881504c5 [2022-06-06T20:07:44.183Z] Removing intermediate container 0868881504c5 [2022-06-06T20:07:44.183Z] ---> 0c87ab835fd5 [2022-06-06T20:07:44.183Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-06T20:07:44.183Z] Successfully built 0c87ab835fd5 [2022-06-06T20:07:44.183Z] 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-06T20:07:45.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T20:07:45.034Z] [2022-06-06T20:07:45.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:07:45.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T20:07:45.406Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-06T20:07:45.406Z] 5eb5b503b376: Pulling fs layer [2022-06-06T20:07:45.406Z] 5c69ac0246d0: Pulling fs layer [2022-06-06T20:07:45.406Z] ec43610c2a17: Pulling fs layer [2022-06-06T20:07:45.406Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-06T20:07:45.406Z] 33b1e0a273af: Pulling fs layer [2022-06-06T20:07:45.406Z] 5d3b04190fa2: Pulling fs layer [2022-06-06T20:07:45.406Z] 2f39f015ded8: Pulling fs layer [2022-06-06T20:07:45.406Z] 3a2ae6a8a46f: Waiting [2022-06-06T20:07:45.406Z] 33b1e0a273af: Waiting [2022-06-06T20:07:45.406Z] 5d3b04190fa2: Waiting [2022-06-06T20:07:45.406Z] 2f39f015ded8: Waiting [2022-06-06T20:07:45.406Z] 5c69ac0246d0: Verifying Checksum [2022-06-06T20:07:45.406Z] 5c69ac0246d0: Download complete [2022-06-06T20:07:45.406Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-06T20:07:45.406Z] 3a2ae6a8a46f: Download complete [2022-06-06T20:07:45.406Z] 33b1e0a273af: Verifying Checksum [2022-06-06T20:07:45.406Z] 33b1e0a273af: Download complete [2022-06-06T20:07:45.406Z] 5d3b04190fa2: Download complete [2022-06-06T20:07:45.406Z] ec43610c2a17: Verifying Checksum [2022-06-06T20:07:45.406Z] ec43610c2a17: Download complete [2022-06-06T20:07:45.665Z] 5eb5b503b376: Verifying Checksum [2022-06-06T20:07:45.666Z] 5eb5b503b376: Download complete [2022-06-06T20:07:46.234Z] 2f39f015ded8: Verifying Checksum [2022-06-06T20:07:46.234Z] 2f39f015ded8: Download complete [2022-06-06T20:07:46.802Z] 5eb5b503b376: Pull complete [2022-06-06T20:07:47.061Z] 5c69ac0246d0: Pull complete [2022-06-06T20:07:47.321Z] ec43610c2a17: Pull complete [2022-06-06T20:07:47.321Z] 3a2ae6a8a46f: Pull complete [2022-06-06T20:07:47.580Z] 33b1e0a273af: Pull complete [2022-06-06T20:07:47.580Z] 5d3b04190fa2: Pull complete [2022-06-06T20:07:51.780Z] 2f39f015ded8: Pull complete [2022-06-06T20:07:51.780Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-06T20:07:51.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T20:07:51.780Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:07:52.002Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2022-06-06T20:07:52.044Z] $ 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-195 -v /w/workspace/gexfoundry_device-rest-go_PR-195:/w/workspace/gexfoundry_device-rest-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-195@tmp:/w/workspace/gexfoundry_device-rest-go_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-06T20:07:53.326Z] $ docker top be89bfed9245967eedaac38c74c9babe436bf4e2e086c8a0d5c4dd66fe983f46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:07:53.769Z] ---> job-cost.sh [2022-06-06T20:07:53.769Z] lf-activate-venv: SKIPPING [2022-06-06T20:07:53.769Z] INFO: No Stack... [2022-06-06T20:07:54.338Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T20:07:54.909Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T20:07:55.222Z] + cut -d, -f6 [2022-06-06T20:07:55.222Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-195/archives/cost.csv [Pipeline] lock [2022-06-06T20:07:55.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] [2022-06-06T20:07:55.263Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] did not exist. Created. [2022-06-06T20:07:55.263Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T20:07:55.641Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-06T20:07:55.682Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T20:07:55.707Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T20:07:55.781Z] $ docker stop --time=1 be89bfed9245967eedaac38c74c9babe436bf4e2e086c8a0d5c4dd66fe983f46 [2022-06-06T20:07:56.930Z] $ docker rm -f be89bfed9245967eedaac38c74c9babe436bf4e2e086c8a0d5c4dd66fe983f46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-06T20:10:16.410Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1543 in /w/workspace/gexfoundry_device-rest-go_PR-195 [Pipeline] { [Pipeline] ws [2022-06-06T20:10:16.451Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-06T20:10:16.529Z] The recommended git tool is: git [2022-06-06T20:10:24.035Z] using credential edgex-jenkins-ssh [2022-06-06T20:10:24.053Z] Cloning the remote Git repository [2022-06-06T20:10:24.110Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-06T20:10:24.196Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-06T20:10:24.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-06T20:10:24.303Z] > git --version # timeout=10 [2022-06-06T20:10:24.325Z] > git --version # 'git version 2.25.1' [2022-06-06T20:10:24.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T20:10:24.396Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T20:10:26.263Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-06T20:10:26.284Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T20:10:26.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-06T20:10:26.894Z] Merging remotes/origin/main commit 6db49600d84fbc344f4830d0628105aa21893aeb into PR head commit 75b0ec1075d75c323abccb2b545508219c51619f [2022-06-06T20:10:27.129Z] Merge succeeded, producing 75b0ec1075d75c323abccb2b545508219c51619f [2022-06-06T20:10:27.130Z] Checking out Revision 75b0ec1075d75c323abccb2b545508219c51619f (PR-195) [2022-06-06T20:10:26.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-06T20:10:26.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T20:10:26.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-06T20:10:26.919Z] > git config core.sparsecheckout # timeout=10 [2022-06-06T20:10:26.936Z] > git checkout -f 75b0ec1075d75c323abccb2b545508219c51619f # timeout=10 [2022-06-06T20:10:27.034Z] > git remote # timeout=10 [2022-06-06T20:10:27.056Z] > git config --get remote.origin.url # timeout=10 [2022-06-06T20:10:27.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T20:10:27.087Z] > git merge 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 [2022-06-06T20:10:27.115Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-06T20:10:27.142Z] > git config core.sparsecheckout # timeout=10 [2022-06-06T20:10:27.156Z] > git checkout -f 75b0ec1075d75c323abccb2b545508219c51619f # timeout=10 [2022-06-06T20:10:31.521Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2" [2022-06-06T20:10:31.608Z] > git --version # timeout=10 [2022-06-06T20:10:31.630Z] > git --version # 'git version 2.25.1' [2022-06-06T20:10:31.651Z] fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T20:10:32.817Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-06T20:10:32.817Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-06T20:10:32.817Z] Dload Upload Total Spent Left Speed [2022-06-06T20:10:32.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 97246 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh [2022-06-06T20:10:33.657Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-06T20:10:34.100Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-06T20:10:34.100Z] + sudo tee /etc/docker/daemon.new [2022-06-06T20:10:34.100Z] { [2022-06-06T20:10:34.100Z] "registry-mirrors": [ [2022-06-06T20:10:34.100Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-06T20:10:34.100Z] ], [2022-06-06T20:10:34.100Z] "bip": "10.250.0.254/24", [2022-06-06T20:10:34.100Z] "hosts": [ [2022-06-06T20:10:34.100Z] "tcp://0.0.0.0:5555", [2022-06-06T20:10:34.100Z] "unix:///var/run/docker.sock" [2022-06-06T20:10:34.100Z] ], [2022-06-06T20:10:34.100Z] "mtu": 1458, [2022-06-06T20:10:34.100Z] "selinux-enabled": true, [2022-06-06T20:10:34.100Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-06T20:10:34.100Z] } [Pipeline] sh [2022-06-06T20:10:34.463Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-06T20:10:34.831Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T20:10:53.258Z] provisioning config files... [2022-06-06T20:10:53.293Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7269202409245573926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:10:53.706Z] ---> docker-login.sh [2022-06-06T20:10:53.706Z] nexus3.edgexfoundry.org:10001 [2022-06-06T20:10:54.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:10:54.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:10:54.915Z] Configure a credential helper to remove this warning. See [2022-06-06T20:10:54.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:10:54.915Z] [2022-06-06T20:10:54.915Z] Login Succeeded [2022-06-06T20:10:54.915Z] nexus3.edgexfoundry.org:10002 [2022-06-06T20:10:55.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:10:55.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:10:55.190Z] Configure a credential helper to remove this warning. See [2022-06-06T20:10:55.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:10:55.190Z] [2022-06-06T20:10:55.190Z] Login Succeeded [2022-06-06T20:10:55.190Z] nexus3.edgexfoundry.org:10003 [2022-06-06T20:10:55.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:10:55.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:10:55.797Z] Configure a credential helper to remove this warning. See [2022-06-06T20:10:55.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:10:55.797Z] [2022-06-06T20:10:55.797Z] Login Succeeded [2022-06-06T20:10:55.797Z] nexus3.edgexfoundry.org:10004 [2022-06-06T20:10:56.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:10:56.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:10:56.407Z] Configure a credential helper to remove this warning. See [2022-06-06T20:10:56.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:10:56.407Z] [2022-06-06T20:10:56.407Z] Login Succeeded [2022-06-06T20:10:56.407Z] docker.io [2022-06-06T20:10:56.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T20:10:56.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T20:10:56.960Z] Configure a credential helper to remove this warning. See [2022-06-06T20:10:56.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T20:10:56.960Z] [2022-06-06T20:10:56.960Z] Login Succeeded [2022-06-06T20:10:57.234Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T20:10:57.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T20:10:57.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T20:10:57.748Z] ========================================================= [2022-06-06T20:10:57.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-06T20:10:57.748Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:10:58.274Z] + 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-06T20:10:58.274Z] Sending build context to Docker daemon 128.5kB [2022-06-06T20:10:58.548Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T20:10:58.548Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-06T20:10:58.825Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-06T20:10:58.825Z] 9b3977197b4f: Pulling fs layer [2022-06-06T20:10:58.825Z] 1a89e8eeedd5: Pulling fs layer [2022-06-06T20:10:58.825Z] 94645a83ff95: Pulling fs layer [2022-06-06T20:10:58.825Z] e6fb740bc735: Pulling fs layer [2022-06-06T20:10:58.825Z] 3a77bd46dcc9: Pulling fs layer [2022-06-06T20:10:58.825Z] 355e64cbe906: Pulling fs layer [2022-06-06T20:10:58.825Z] 63ab81a10011: Pulling fs layer [2022-06-06T20:10:58.825Z] 555d1d1c4555: Pulling fs layer [2022-06-06T20:10:58.825Z] 7d9057610161: Pulling fs layer [2022-06-06T20:10:58.825Z] e6fb740bc735: Waiting [2022-06-06T20:10:58.825Z] 3a77bd46dcc9: Waiting [2022-06-06T20:10:58.825Z] 355e64cbe906: Waiting [2022-06-06T20:10:58.825Z] 63ab81a10011: Waiting [2022-06-06T20:10:58.825Z] 7d9057610161: Waiting [2022-06-06T20:10:58.825Z] 555d1d1c4555: Waiting [2022-06-06T20:10:58.825Z] 94645a83ff95: Verifying Checksum [2022-06-06T20:10:58.825Z] 94645a83ff95: Download complete [2022-06-06T20:10:58.825Z] 1a89e8eeedd5: Verifying Checksum [2022-06-06T20:10:58.825Z] 1a89e8eeedd5: Download complete [2022-06-06T20:10:58.825Z] 3a77bd46dcc9: Verifying Checksum [2022-06-06T20:10:58.825Z] 3a77bd46dcc9: Download complete [2022-06-06T20:10:58.825Z] 355e64cbe906: Verifying Checksum [2022-06-06T20:10:58.825Z] 355e64cbe906: Download complete [2022-06-06T20:10:58.825Z] 9b3977197b4f: Download complete [2022-06-06T20:10:58.825Z] 63ab81a10011: Verifying Checksum [2022-06-06T20:10:58.825Z] 63ab81a10011: Download complete [2022-06-06T20:10:59.837Z] 9b3977197b4f: Pull complete [2022-06-06T20:11:00.117Z] 7d9057610161: Verifying Checksum [2022-06-06T20:11:00.117Z] 7d9057610161: Download complete [2022-06-06T20:11:00.406Z] 1a89e8eeedd5: Pull complete [2022-06-06T20:11:01.019Z] 94645a83ff95: Pull complete [2022-06-06T20:11:01.301Z] 555d1d1c4555: Verifying Checksum [2022-06-06T20:11:01.301Z] 555d1d1c4555: Download complete [2022-06-06T20:11:01.904Z] e6fb740bc735: Verifying Checksum [2022-06-06T20:11:01.904Z] e6fb740bc735: Download complete [2022-06-06T20:11:17.041Z] e6fb740bc735: Pull complete [2022-06-06T20:11:17.041Z] 3a77bd46dcc9: Pull complete [2022-06-06T20:11:17.041Z] 355e64cbe906: Pull complete [2022-06-06T20:11:17.041Z] 63ab81a10011: Pull complete [2022-06-06T20:11:21.377Z] 555d1d1c4555: Pull complete [2022-06-06T20:11:24.020Z] 7d9057610161: Pull complete [2022-06-06T20:11:24.020Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-06T20:11:24.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-06T20:11:24.020Z] ---> 819e984ddca1 [2022-06-06T20:11:24.020Z] Step 3/12 : ARG MAKE='make build' [2022-06-06T20:11:25.494Z] ---> Running in 4b5f2cb75679 [2022-06-06T20:11:26.963Z] Removing intermediate container 4b5f2cb75679 [2022-06-06T20:11:26.963Z] ---> 862499789f66 [2022-06-06T20:11:26.963Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T20:11:26.963Z] ---> Running in 33ad6eacd732 [2022-06-06T20:11:27.242Z] Removing intermediate container 33ad6eacd732 [2022-06-06T20:11:27.242Z] ---> c97389d277df [2022-06-06T20:11:27.242Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T20:11:27.242Z] ---> Running in ff22bd0e1927 [2022-06-06T20:11:27.845Z] Removing intermediate container ff22bd0e1927 [2022-06-06T20:11:27.845Z] ---> 08a5f0bbbb44 [2022-06-06T20:11:27.845Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T20:11:27.845Z] ---> Running in d24de368a9bf [2022-06-06T20:11:29.841Z] Removing intermediate container d24de368a9bf [2022-06-06T20:11:29.841Z] ---> f7cb27d0c4c2 [2022-06-06T20:11:29.841Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T20:11:29.841Z] ---> Running in 9002e647794c [2022-06-06T20:11:30.839Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T20:11:31.824Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T20:11:32.811Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-06T20:11:32.811Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-06T20:11:32.811Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-06T20:11:33.087Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-06T20:11:33.362Z] Executing busybox-1.34.1-r3.trigger [2022-06-06T20:11:33.362Z] OK: 224 MiB in 56 packages [2022-06-06T20:11:34.354Z] Removing intermediate container 9002e647794c [2022-06-06T20:11:34.354Z] ---> 5c33fdb5fdea [2022-06-06T20:11:34.354Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-06T20:11:34.354Z] ---> Running in 7e4085a4016a [2022-06-06T20:11:34.632Z] Removing intermediate container 7e4085a4016a [2022-06-06T20:11:34.632Z] ---> 298c0b4af315 [2022-06-06T20:11:34.632Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-06T20:11:35.235Z] ---> e502a521f505 [2022-06-06T20:11:35.235Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T20:11:35.235Z] ---> Running in 41e2de4e492d [2022-06-06T20:12:22.251Z] Removing intermediate container 41e2de4e492d [2022-06-06T20:12:22.251Z] ---> eb3b5034d535 [2022-06-06T20:12:22.251Z] Step 11/12 : COPY . . [2022-06-06T20:12:22.251Z] ---> 32659713952b [2022-06-06T20:12:22.251Z] Step 12/12 : RUN $MAKE [2022-06-06T20:12:22.251Z] ---> Running in 9ebbbb1e10cb [2022-06-06T20:12:22.251Z] noop [2022-06-06T20:12:22.251Z] Removing intermediate container 9ebbbb1e10cb [2022-06-06T20:12:22.251Z] ---> ce455031a9d4 [2022-06-06T20:12:22.251Z] Successfully built ce455031a9d4 [2022-06-06T20:12:22.251Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:12:22.801Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T20:12:22.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:12:23.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-1543 does not seem to be running inside a container [2022-06-06T20:12:23.220Z] $ 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-06T20:12:24.531Z] $ docker top 04909920430c2327b7f7601227e142a0a7bd8ffbe6e087b5ab9fa7184a8ee924 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T20:12:25.633Z] + go version [2022-06-06T20:12:25.633Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-06T20:12:25.675Z] $ docker stop --time=1 04909920430c2327b7f7601227e142a0a7bd8ffbe6e087b5ab9fa7184a8ee924 [2022-06-06T20:12:27.335Z] $ docker rm -f 04909920430c2327b7f7601227e142a0a7bd8ffbe6e087b5ab9fa7184a8ee924 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:12:28.219Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T20:12:28.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:12:28.523Z] prd-ubuntu20.04-docker-arm64-4c-16g-1543 does not seem to be running inside a container [2022-06-06T20:12:28.611Z] $ 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-06T20:12:29.893Z] $ docker top 14520108c4cf723602881e4038c1cb5a8607b1af8fb894ebbfa6b8fad6b5bf12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T20:12:30.909Z] + make test [2022-06-06T20:12:30.909Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T20:12:32.343Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-06T20:14:09.211Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-06T20:14:09.211Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements [2022-06-06T20:14:09.211Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-06T20:14:09.211Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T20:14:41.638Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T20:14:41.638Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T20:14:41.638Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-06T20:14:41.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-06T20:14:41.715Z] $ docker stop --time=1 14520108c4cf723602881e4038c1cb5a8607b1af8fb894ebbfa6b8fad6b5bf12 [2022-06-06T20:14:43.642Z] $ docker rm -f 14520108c4cf723602881e4038c1cb5a8607b1af8fb894ebbfa6b8fad6b5bf12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T20:14:44.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-06T20:14:44.795Z] Warning: overwriting stash ‘coverage-report’ [2022-06-06T20:14:45.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T20:14:45.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-06T20:14:46.323Z] + ls -al . [2022-06-06T20:14:46.324Z] total 168 [2022-06-06T20:14:46.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 20:14 . [2022-06-06T20:14:46.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 20:10 .. [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 6 20:10 .dockerignore [2022-06-06T20:14:46.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 20:10 .git [2022-06-06T20:14:46.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 20:10 .github [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 6 20:10 .gitignore [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 6 20:10 .golangci.yml [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 6 20:10 Attribution.txt [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 6 20:10 CHANGELOG.md [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 6 20:10 Dockerfile [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 20:10 GOVERNANCE.md [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 6 20:10 Jenkinsfile [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 6 20:10 LICENSE [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 6 20:10 Makefile [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 6 20:10 OWNERS.md [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 6 20:10 README.md [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 20:06 VERSION [2022-06-06T20:14:46.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 20:10 bin [2022-06-06T20:14:46.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 20:10 cmd [2022-06-06T20:14:46.324Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 6 20:14 coverage.out [2022-06-06T20:14:46.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 20:10 driver [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 6 20:10 go.mod [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 6 20:10 go.sum [2022-06-06T20:14:46.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 20:10 snap [2022-06-06T20:14:46.324Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 6 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:14:46.778Z] + 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=75b0ec1075d75c323abccb2b545508219c51619f --label arch=arm64 --label version=0.0.0 . [2022-06-06T20:14:46.778Z] Sending build context to Docker daemon 138.8kB [2022-06-06T20:14:47.061Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T20:14:47.061Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-06T20:14:47.061Z] ---> ce455031a9d4 [2022-06-06T20:14:47.061Z] Step 3/25 : ARG MAKE='make build' [2022-06-06T20:14:47.340Z] ---> Running in 27d5aca268d2 [2022-06-06T20:14:47.631Z] Removing intermediate container 27d5aca268d2 [2022-06-06T20:14:47.631Z] ---> c831a96b7acc [2022-06-06T20:14:47.631Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T20:14:47.631Z] ---> Running in 3bde08181cf0 [2022-06-06T20:14:48.240Z] Removing intermediate container 3bde08181cf0 [2022-06-06T20:14:48.240Z] ---> a8882b37606b [2022-06-06T20:14:48.240Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T20:14:48.240Z] ---> Running in 0fdf1d1ee116 [2022-06-06T20:14:48.533Z] Removing intermediate container 0fdf1d1ee116 [2022-06-06T20:14:48.533Z] ---> 556e4ec6704a [2022-06-06T20:14:48.533Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T20:14:48.533Z] ---> Running in e9d886e3af1a [2022-06-06T20:14:50.548Z] Removing intermediate container e9d886e3af1a [2022-06-06T20:14:50.549Z] ---> 6a0758f4f15e [2022-06-06T20:14:50.549Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T20:14:50.549Z] ---> Running in fbd3e0560e42 [2022-06-06T20:14:52.003Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T20:14:52.613Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T20:14:54.065Z] OK: 224 MiB in 56 packages [2022-06-06T20:14:54.676Z] Removing intermediate container fbd3e0560e42 [2022-06-06T20:14:54.676Z] ---> 52137e624de8 [2022-06-06T20:14:54.676Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-06T20:14:54.951Z] ---> Running in 0a82714d5550 [2022-06-06T20:14:55.228Z] Removing intermediate container 0a82714d5550 [2022-06-06T20:14:55.228Z] ---> 434cef3197f3 [2022-06-06T20:14:55.228Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-06T20:14:55.832Z] ---> e1395a392331 [2022-06-06T20:14:55.832Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T20:14:55.832Z] ---> Running in a2f0fd931aeb [2022-06-06T20:14:58.492Z] Removing intermediate container a2f0fd931aeb [2022-06-06T20:14:58.492Z] ---> 019de4a5c6bc [2022-06-06T20:14:58.492Z] Step 11/25 : COPY . . [2022-06-06T20:14:58.770Z] ---> 2cfdd63c3f46 [2022-06-06T20:14:58.770Z] Step 12/25 : RUN $MAKE [2022-06-06T20:14:58.770Z] ---> Running in 629dbc89cd73 [2022-06-06T20:15:00.218Z] 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-06T20:17:22.180Z] Removing intermediate container 629dbc89cd73 [2022-06-06T20:17:22.180Z] ---> 4d99845b71f0 [2022-06-06T20:17:22.180Z] Step 13/25 : FROM alpine:3.14 [2022-06-06T20:17:22.180Z] 3.14: Pulling from library/alpine [2022-06-06T20:17:22.180Z] 455c02918c45: Pulling fs layer [2022-06-06T20:17:22.452Z] 455c02918c45: Download complete [2022-06-06T20:17:23.050Z] 455c02918c45: Pull complete [2022-06-06T20:17:23.050Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-06T20:17:23.050Z] Status: Downloaded newer image for alpine:3.14 [2022-06-06T20:17:23.050Z] ---> ac73e934f311 [2022-06-06T20:17:23.050Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-06T20:17:23.050Z] ---> Running in e0d8d6905152 [2022-06-06T20:17:23.332Z] Removing intermediate container e0d8d6905152 [2022-06-06T20:17:23.332Z] ---> 4fed8d0c67df [2022-06-06T20:17:23.332Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-06T20:17:23.604Z] ---> Running in 114f7c42827a [2022-06-06T20:17:23.877Z] Removing intermediate container 114f7c42827a [2022-06-06T20:17:23.877Z] ---> 12bc386afc0f [2022-06-06T20:17:23.877Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-06T20:17:23.877Z] ---> Running in f8752af04be0 [2022-06-06T20:17:24.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-06T20:17:25.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-06T20:17:26.104Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-06T20:17:26.104Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-06T20:17:26.104Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-06T20:17:26.104Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-06T20:17:26.104Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-06T20:17:26.104Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-06T20:17:26.104Z] Executing busybox-1.33.1-r7.trigger [2022-06-06T20:17:26.104Z] OK: 8 MiB in 20 packages [2022-06-06T20:17:27.095Z] Removing intermediate container f8752af04be0 [2022-06-06T20:17:27.095Z] ---> d8739afb6f2b [2022-06-06T20:17:27.095Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-06T20:17:28.527Z] ---> c53bdcf84559 [2022-06-06T20:17:28.527Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-06T20:17:29.126Z] ---> 9e849cf92042 [2022-06-06T20:17:29.126Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-06T20:17:29.399Z] ---> 15c078341ef2 [2022-06-06T20:17:29.399Z] Step 20/25 : EXPOSE 59986 [2022-06-06T20:17:29.678Z] ---> Running in 4a135e574743 [2022-06-06T20:17:29.950Z] Removing intermediate container 4a135e574743 [2022-06-06T20:17:29.950Z] ---> 240c6737a09f [2022-06-06T20:17:29.950Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-06T20:17:29.950Z] ---> Running in d7252fa04750 [2022-06-06T20:17:30.222Z] Removing intermediate container d7252fa04750 [2022-06-06T20:17:30.222Z] ---> 11c9aa625113 [2022-06-06T20:17:30.222Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-06T20:17:30.222Z] ---> Running in f25a06826612 [2022-06-06T20:17:30.504Z] Removing intermediate container f25a06826612 [2022-06-06T20:17:30.504Z] ---> da5b8cdbf8b5 [2022-06-06T20:17:30.504Z] Step 23/25 : LABEL arch=arm64 [2022-06-06T20:17:30.781Z] ---> Running in 44427e9b29ff [2022-06-06T20:17:31.056Z] Removing intermediate container 44427e9b29ff [2022-06-06T20:17:31.056Z] ---> 24b6d505aa1d [2022-06-06T20:17:31.056Z] Step 24/25 : LABEL git_sha=75b0ec1075d75c323abccb2b545508219c51619f [2022-06-06T20:17:31.056Z] ---> Running in 6bd68ac318f9 [2022-06-06T20:17:31.332Z] Removing intermediate container 6bd68ac318f9 [2022-06-06T20:17:31.332Z] ---> 1e1a9f67d857 [2022-06-06T20:17:31.332Z] Step 25/25 : LABEL version=0.0.0 [2022-06-06T20:17:31.611Z] ---> Running in 7fb454286efe [2022-06-06T20:17:31.888Z] Removing intermediate container 7fb454286efe [2022-06-06T20:17:31.888Z] ---> 9e8f776d0d01 [2022-06-06T20:17:31.888Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-06T20:17:31.888Z] Successfully built 9e8f776d0d01 [2022-06-06T20:17:31.888Z] 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-06T20:17:32.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T20:17:32.699Z] [2022-06-06T20:17:32.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:17:33.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T20:17:33.396Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-06T20:17:33.396Z] 8998bd30e6a1: Pulling fs layer [2022-06-06T20:17:33.396Z] 04944245beec: Pulling fs layer [2022-06-06T20:17:33.396Z] 699f458cf7ca: Pulling fs layer [2022-06-06T20:17:33.396Z] 765212b225bb: Pulling fs layer [2022-06-06T20:17:33.396Z] f23df028b6ca: Pulling fs layer [2022-06-06T20:17:33.396Z] d65c8cfc05b1: Pulling fs layer [2022-06-06T20:17:33.396Z] 2437ff75d9bd: Pulling fs layer [2022-06-06T20:17:33.396Z] 765212b225bb: Waiting [2022-06-06T20:17:33.396Z] d65c8cfc05b1: Waiting [2022-06-06T20:17:33.396Z] f23df028b6ca: Waiting [2022-06-06T20:17:33.396Z] 2437ff75d9bd: Waiting [2022-06-06T20:17:33.396Z] 04944245beec: Verifying Checksum [2022-06-06T20:17:33.396Z] 04944245beec: Download complete [2022-06-06T20:17:33.396Z] 765212b225bb: Download complete [2022-06-06T20:17:33.674Z] f23df028b6ca: Download complete [2022-06-06T20:17:33.674Z] d65c8cfc05b1: Verifying Checksum [2022-06-06T20:17:33.674Z] d65c8cfc05b1: Download complete [2022-06-06T20:17:33.674Z] 699f458cf7ca: Verifying Checksum [2022-06-06T20:17:33.674Z] 699f458cf7ca: Download complete [2022-06-06T20:17:34.278Z] 8998bd30e6a1: Verifying Checksum [2022-06-06T20:17:34.278Z] 8998bd30e6a1: Download complete [2022-06-06T20:17:36.267Z] 2437ff75d9bd: Verifying Checksum [2022-06-06T20:17:36.267Z] 2437ff75d9bd: Download complete [2022-06-06T20:17:38.908Z] 8998bd30e6a1: Pull complete [2022-06-06T20:17:39.183Z] 04944245beec: Pull complete [2022-06-06T20:17:40.630Z] 699f458cf7ca: Pull complete [2022-06-06T20:17:40.908Z] 765212b225bb: Pull complete [2022-06-06T20:17:41.512Z] f23df028b6ca: Pull complete [2022-06-06T20:17:41.784Z] d65c8cfc05b1: Pull complete [2022-06-06T20:17:56.870Z] 2437ff75d9bd: Pull complete [2022-06-06T20:17:56.870Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-06T20:17:56.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T20:17:56.870Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:17:57.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-1543 does not seem to be running inside a container [2022-06-06T20:17:57.362Z] $ 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-06T20:18:00.328Z] $ docker top c3a13a183dac0a9da527cb12e54d6832184b15632597c62c304d0c160a9c1466 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:01.371Z] ---> job-cost.sh [2022-06-06T20:18:01.371Z] lf-activate-venv: SKIPPING [2022-06-06T20:18:01.371Z] INFO: No Stack... [2022-06-06T20:18:01.972Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-06T20:18:02.570Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T20:18:03.276Z] + + catcut /w/workspace/device-rest-go/1/archives/cost.csv -d, [2022-06-06T20:18:03.276Z] -f6 [Pipeline] lock [2022-06-06T20:18:03.360Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] [2022-06-06T20:18:03.364Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] did not exist. Created. [2022-06-06T20:18:03.365Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T20:18:04.119Z] /w/workspace/device-rest-go/1@tmp/durable-c87b2933/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-06T20:18:04.821Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-06T20:18:04.857Z] Warning: overwriting stash ‘stack-cost’ [2022-06-06T20:18:04.905Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T20:18:04.924Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-195-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T20:18:05.011Z] $ docker stop --time=1 c3a13a183dac0a9da527cb12e54d6832184b15632597c62c304d0c160a9c1466 [2022-06-06T20:18:06.513Z] $ docker rm -f c3a13a183dac0a9da527cb12e54d6832184b15632597c62c304d0c160a9c1466 [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-06T20:18:07.571Z] provisioning config files... [2022-06-06T20:18:07.605Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-195@tmp/config7745950403963756115tmp [Pipeline] { [Pipeline] sh [2022-06-06T20:18:07.928Z] + set +x [2022-06-06T20:18:07.928Z] + curl -s https://codecov.io/bash [2022-06-06T20:18:07.928Z] + bash -s -- [2022-06-06T20:18:07.928Z] [2022-06-06T20:18:07.928Z] _____ _ [2022-06-06T20:18:07.928Z] / ____| | | [2022-06-06T20:18:07.928Z] | | ___ __| | ___ ___ _____ __ [2022-06-06T20:18:07.928Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-06T20:18:07.928Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-06T20:18:07.928Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-06T20:18:07.928Z] Bash-1.0.6 [2022-06-06T20:18:07.928Z] [2022-06-06T20:18:07.928Z] [2022-06-06T20:18:07.928Z] ==> git version 2.25.1 found [2022-06-06T20:18:07.928Z] ==> 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-06T20:18:07.928Z] Release-Date: 2020-01-08 [2022-06-06T20:18:07.928Z] 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-06T20:18:07.928Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-06T20:18:07.928Z] ==> Jenkins CI detected. [2022-06-06T20:18:07.928Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-195 [2022-06-06T20:18:07.928Z] project root: . [2022-06-06T20:18:07.928Z] --> token set from env [2022-06-06T20:18:07.928Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-06T20:18:07.928Z] ==> Running gcov in . (disable via -X gcov) [2022-06-06T20:18:07.928Z] ==> Python coveragepy not found [2022-06-06T20:18:07.928Z] ==> Searching for coverage reports in: [2022-06-06T20:18:07.928Z] + . [2022-06-06T20:18:07.928Z] -> Found 1 reports [2022-06-06T20:18:07.928Z] ==> Detecting git/mercurial file structure [2022-06-06T20:18:07.928Z] ==> Reading reports [2022-06-06T20:18:07.929Z] + ./coverage.out bytes=9355 [2022-06-06T20:18:07.929Z] ==> Appending adjustments [2022-06-06T20:18:07.929Z] https://docs.codecov.io/docs/fixing-reports [2022-06-06T20:18:07.929Z] + Found adjustments [2022-06-06T20:18:07.929Z] ==> Gzipping contents [2022-06-06T20:18:07.929Z] 4.0K /tmp/codecov.S8pBkZ.gz [2022-06-06T20:18:07.929Z] ==> Uploading reports [2022-06-06T20:18:07.929Z] url: https://codecov.io [2022-06-06T20:18:07.929Z] query: branch=PR-195&commit=75b0ec1075d75c323abccb2b545508219c51619f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-195%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=195&job=&cmd_args= [2022-06-06T20:18:08.187Z] -> Pinging Codecov [2022-06-06T20:18:08.187Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-195&commit=75b0ec1075d75c323abccb2b545508219c51619f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-195%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=195&job=&cmd_args= [2022-06-06T20:18:08.446Z] -> Uploading to [2022-06-06T20:18:08.447Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-06/4E5D53B4F1F92C436F7061BF334D961C/75b0ec1075d75c323abccb2b545508219c51619f/655dfcb9-5f7c-4231-8216-6522df20b702.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220606%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220606T201808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f51edae849d305253f9cb4c8a787f2646c87691c97047e7e59152e94b20d9e17 [2022-06-06T20:18:08.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-06T20:18:08.447Z] Dload Upload Total Spent Left Speed [2022-06-06T20:18:08.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8852 --:--:-- --:--:-- --:--:-- 8852 [2022-06-06T20:18:08.707Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/75b0ec1075d75c323abccb2b545508219c51619f [Pipeline] } [2022-06-06T20:18:08.734Z] 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-06T20:18:10.423Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-195/archives ] [2022-06-06T20:18:10.423Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-195/archives [2022-06-06T20:18:10.423Z] total 16 [2022-06-06T20:18:10.423Z] drwxr-xr-x 3 root root 4096 Jun 6 20:07 . [2022-06-06T20:18:10.423Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 20:07 .. [2022-06-06T20:18:10.423Z] drwxr-xr-x 2 root root 4096 Jun 6 20:07 cost [2022-06-06T20:18:10.423Z] -rw-r--r-- 1 root root 85 Jun 6 20:07 cost.csv [2022-06-06T20:18:10.423Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-195/archives [2022-06-06T20:18:10.423Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-195/archives [2022-06-06T20:18:10.423Z] total 16 [2022-06-06T20:18:10.423Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 20:07 . [2022-06-06T20:18:10.423Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 20:07 .. [2022-06-06T20:18:10.423Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 20:07 cost [2022-06-06T20:18:10.423Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 6 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:10.756Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:11.645Z] ---> package-listing.sh [2022-06-06T20:18:11.645Z] ++ facter osfamily [2022-06-06T20:18:11.645Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-06T20:18:11.905Z] + OS_FAMILY=debian [2022-06-06T20:18:11.905Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-195 [2022-06-06T20:18:11.905Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-06T20:18:11.905Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-06T20:18:11.905Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-06T20:18:11.905Z] + PACKAGES=/tmp/packages_start.txt [2022-06-06T20:18:11.905Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-195 ']' [2022-06-06T20:18:11.905Z] + PACKAGES=/tmp/packages_end.txt [2022-06-06T20:18:11.905Z] + case "${OS_FAMILY}" in [2022-06-06T20:18:11.905Z] + dpkg -l [2022-06-06T20:18:11.905Z] + grep '^ii' [2022-06-06T20:18:11.905Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-06T20:18:11.905Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-06T20:18:11.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-06T20:18:11.905Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-195 ']' [2022-06-06T20:18:11.905Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-195/archives/ [2022-06-06T20:18:11.905Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-195/archives/ [Pipeline] echo [2022-06-06T20:18:11.940Z] 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-195/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-06T20:18:12.234Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T20:18:12.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T20:18:12.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T20:18:13.011Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2022-06-06T20:18:13.042Z] $ 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-195/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-195 -v /w/workspace/gexfoundry_device-rest-go_PR-195:/w/workspace/gexfoundry_device-rest-go_PR-195:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-195@tmp:/w/workspace/gexfoundry_device-rest-go_PR-195@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-06T20:18:13.259Z] $ docker top 6f57be0abaa8fa75d2e982c9b1c12e4977b630a322428381b8b40bb0a3f76f59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T20:18:13.657Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-06T20:18:13.972Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-06T20:18:14.276Z] + ls /var/log/sa-host [2022-06-06T20:18:14.276Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T20:18:14.410Z] provisioning config files... [2022-06-06T20:18:14.419Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-195@tmp/config5820738491119140892tmp [Pipeline] { [Pipeline] echo [2022-06-06T20:18:14.461Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:14.780Z] ---> create-netrc.sh [Pipeline] } [2022-06-06T20:18:14.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:15.204Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-06T20:18:15.237Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:15.542Z] ---> sudo-logs.sh [2022-06-06T20:18:15.542Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-06T20:18:15.623Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:15.938Z] ---> job-cost.sh [2022-06-06T20:18:15.938Z] lf-activate-venv: SKIPPING [2022-06-06T20:18:15.938Z] DEBUG: total: 0.2199999988079071 [2022-06-06T20:18:15.938Z] INFO: Retrieving Stack Cost... [2022-06-06T20:18:16.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T20:18:16.775Z] INFO: Archiving Costs [Pipeline] echo [2022-06-06T20:18:16.808Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T20:18:17.120Z] ---> logs-deploy.sh [2022-06-06T20:18:17.120Z] lf-activate-venv: SKIPPING [2022-06-06T20:18:17.120Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-195/1 [2022-06-06T20:18:17.120Z] INFO: archiving workspace using pattern(s): [2022-06-06T20:18:18.060Z] Archives upload complete. [2022-06-06T20:18:18.322Z] INFO: archiving logs to Nexus