Pull request #188 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 4edc8d2690683859fe7dd7f6313ce2addb447006 rather than 6592639535dbfe2f23e78a29db4d492bfcdc0f26 Obtained Jenkinsfile from 4edc8d2690683859fe7dd7f6313ce2addb447006 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-ssh2629917461675013223.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh9833514687432289900.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-188/workspace@libs/edgex-global-pipelines # 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-188/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15561171785320335962.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-188/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5408130094218556909.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2837860677217380369.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-188/workspace@libs/lf-pipelines # 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-188/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13507350565266882029.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-46737 in /w/workspace/gexfoundry_device-rest-go_PR-188 [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-188 # 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 4edc8d2690683859fe7dd7f6313ce2addb447006 into PR head commit 6592639535dbfe2f23e78a29db4d492bfcdc0f26 Merge succeeded, producing 6592639535dbfe2f23e78a29db4d492bfcdc0f26 Checking out Revision 6592639535dbfe2f23e78a29db4d492bfcdc0f26 (PR-188) > 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/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6592639535dbfe2f23e78a29db4d492bfcdc0f26 # 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 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6592639535dbfe2f23e78a29db4d492bfcdc0f26 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks " First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T09:13:53.068Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T09:13:53.243Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T09:13:53.346Z] ========================================================= [2022-05-10T09:13:53.346Z] EdgeX Global Pipelines Version Info [2022-05-10T09:13:53.346Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:13:54.231Z] ------------------- [2022-05-10T09:13:54.231Z] stable info: [2022-05-10T09:13:54.231Z] ------------------- [2022-05-10T09:13:54.231Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T09:13:54.231Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T09:13:54.231Z] Message: update stable to v1.0.227 [2022-05-10T09:13:54.805Z] ------------------- [2022-05-10T09:13:54.805Z] experimental info: [2022-05-10T09:13:54.805Z] ------------------- [2022-05-10T09:13:54.805Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T09:13:54.805Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T09:13:54.805Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T09:13:55.204Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-10T09:13:55.243Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-10T09:13:55.285Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T09:13:55.327Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T09:13:55.484Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T09:13:55.528Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T09:13:55.618Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T09:13:55.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T09:13:55.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T09:13:55.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T09:13:55.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T09:13:55.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-10T09:13:55.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T09:13:55.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T09:13:55.932Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T09:13:55.976Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T09:13:56.017Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T09:13:56.056Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T09:13:56.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T09:13:56.137Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T09:13:56.176Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T09:13:56.218Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T09:13:56.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T09:13:56.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T09:13:56.327Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T09:13:56.366Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T09:13:56.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo [2022-05-10T09:13:56.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo [2022-05-10T09:13:56.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo [2022-05-10T09:13:56.517Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6592639535dbfe2f23e78a29db4d492bfcdc0f26 [Pipeline] echo [2022-05-10T09:13:56.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6592639 [Pipeline] echo [2022-05-10T09:13:56.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T09:13:56.701Z] provisioning config files... [2022-05-10T09:13:56.719Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config216476673415063580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:13:57.068Z] ---> docker-login.sh [2022-05-10T09:13:57.068Z] nexus3.edgexfoundry.org:10001 [2022-05-10T09:13:57.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:13:57.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:13:57.331Z] Configure a credential helper to remove this warning. See [2022-05-10T09:13:57.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:13:57.331Z] [2022-05-10T09:13:57.331Z] Login Succeeded [2022-05-10T09:13:57.331Z] nexus3.edgexfoundry.org:10002 [2022-05-10T09:13:57.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:13:57.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:13:57.592Z] Configure a credential helper to remove this warning. See [2022-05-10T09:13:57.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:13:57.592Z] [2022-05-10T09:13:57.592Z] Login Succeeded [2022-05-10T09:13:57.592Z] nexus3.edgexfoundry.org:10003 [2022-05-10T09:13:57.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:13:57.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:13:57.854Z] Configure a credential helper to remove this warning. See [2022-05-10T09:13:57.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:13:57.854Z] [2022-05-10T09:13:57.854Z] Login Succeeded [2022-05-10T09:13:57.854Z] nexus3.edgexfoundry.org:10004 [2022-05-10T09:13:57.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:13:57.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:13:57.854Z] Configure a credential helper to remove this warning. See [2022-05-10T09:13:57.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:13:57.854Z] [2022-05-10T09:13:57.854Z] Login Succeeded [2022-05-10T09:13:57.854Z] docker.io [2022-05-10T09:13:58.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:13:58.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:13:58.386Z] Configure a credential helper to remove this warning. See [2022-05-10T09:13:58.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:13:58.386Z] [2022-05-10T09:13:58.386Z] Login Succeeded [2022-05-10T09:13:58.386Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T09:13:58.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T09:13:59.038Z] + git rev-list -1 --merges 6592639535dbfe2f23e78a29db4d492bfcdc0f26~1..6592639535dbfe2f23e78a29db4d492bfcdc0f26 [Pipeline] echo [2022-05-10T09:13:59.085Z] -----------> git rev-list -1 --merges 6592639535dbfe2f23e78a29db4d492bfcdc0f26~1..6592639535dbfe2f23e78a29db4d492bfcdc0f26 6592639535dbfe2f23e78a29db4d492bfcdc0f26 [false] [Pipeline] sh [2022-05-10T09:13:59.395Z] + git log --format=format:%s -1 6592639535dbfe2f23e78a29db4d492bfcdc0f26 [Pipeline] echo [2022-05-10T09:13:59.432Z] ========================================================= [2022-05-10T09:13:59.432Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T09:13:59.432Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T09:13:59.853Z] + git log --format=format:%s -1 6592639535dbfe2f23e78a29db4d492bfcdc0f26 [Pipeline] echo [2022-05-10T09:13:59.887Z] [semverPrep] GIT_COMMIT: 6592639535dbfe2f23e78a29db4d492bfcdc0f26, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo [2022-05-10T09:13:59.920Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T09:14:00.390Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T09:14:00.390Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T09:14:00.390Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T09:14:00.390Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T09:14:00.390Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T09:14:00.390Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T09:14:00.390Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:14:00.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T09:14:00.986Z] [2022-05-10T09:14:00.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:14:01.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T09:14:01.341Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T09:14:01.341Z] 1fe172e4850f: Pulling fs layer [2022-05-10T09:14:01.341Z] caf521ccaac6: Pulling fs layer [2022-05-10T09:14:01.341Z] 3ead6fa29328: Pulling fs layer [2022-05-10T09:14:01.341Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T09:14:01.341Z] a8d5f1318db7: Pulling fs layer [2022-05-10T09:14:01.341Z] c427282e49a2: Pulling fs layer [2022-05-10T09:14:01.341Z] 1827001aaf11: Pulling fs layer [2022-05-10T09:14:01.341Z] 0714d37db230: Pulling fs layer [2022-05-10T09:14:01.341Z] ac28cf19c067: Pulling fs layer [2022-05-10T09:14:01.341Z] ca983d60f3e2: Pulling fs layer [2022-05-10T09:14:01.341Z] 9f894cec8388: Pulling fs layer [2022-05-10T09:14:01.341Z] 0714d37db230: Waiting [2022-05-10T09:14:01.341Z] 9f894cec8388: Waiting [2022-05-10T09:14:01.341Z] ca983d60f3e2: Waiting [2022-05-10T09:14:01.341Z] c427282e49a2: Waiting [2022-05-10T09:14:01.341Z] ac28cf19c067: Waiting [2022-05-10T09:14:01.341Z] 5c2a1cbceb83: Waiting [2022-05-10T09:14:01.341Z] a8d5f1318db7: Waiting [2022-05-10T09:14:01.341Z] 1827001aaf11: Waiting [2022-05-10T09:14:01.341Z] caf521ccaac6: Verifying Checksum [2022-05-10T09:14:01.341Z] caf521ccaac6: Download complete [2022-05-10T09:14:01.341Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T09:14:01.341Z] 5c2a1cbceb83: Download complete [2022-05-10T09:14:01.601Z] a8d5f1318db7: Verifying Checksum [2022-05-10T09:14:01.601Z] a8d5f1318db7: Download complete [2022-05-10T09:14:01.602Z] 3ead6fa29328: Verifying Checksum [2022-05-10T09:14:01.602Z] 3ead6fa29328: Download complete [2022-05-10T09:14:01.602Z] c427282e49a2: Verifying Checksum [2022-05-10T09:14:01.602Z] c427282e49a2: Download complete [2022-05-10T09:14:01.602Z] 0714d37db230: Download complete [2022-05-10T09:14:01.602Z] ac28cf19c067: Verifying Checksum [2022-05-10T09:14:01.602Z] ac28cf19c067: Download complete [2022-05-10T09:14:01.602Z] ca983d60f3e2: Verifying Checksum [2022-05-10T09:14:01.602Z] ca983d60f3e2: Download complete [2022-05-10T09:14:01.602Z] 9f894cec8388: Verifying Checksum [2022-05-10T09:14:01.602Z] 9f894cec8388: Download complete [2022-05-10T09:14:01.602Z] 1fe172e4850f: Verifying Checksum [2022-05-10T09:14:01.602Z] 1fe172e4850f: Download complete [2022-05-10T09:14:01.862Z] 1827001aaf11: Verifying Checksum [2022-05-10T09:14:01.862Z] 1827001aaf11: Download complete [2022-05-10T09:14:03.251Z] 1fe172e4850f: Pull complete [2022-05-10T09:14:03.251Z] caf521ccaac6: Pull complete [2022-05-10T09:14:03.823Z] 3ead6fa29328: Pull complete [2022-05-10T09:14:03.823Z] 5c2a1cbceb83: Pull complete [2022-05-10T09:14:04.085Z] a8d5f1318db7: Pull complete [2022-05-10T09:14:04.348Z] c427282e49a2: Pull complete [2022-05-10T09:14:06.268Z] 1827001aaf11: Pull complete [2022-05-10T09:14:06.530Z] 0714d37db230: Pull complete [2022-05-10T09:14:06.530Z] ac28cf19c067: Pull complete [2022-05-10T09:14:06.530Z] ca983d60f3e2: Pull complete [2022-05-10T09:14:06.792Z] 9f894cec8388: Pull complete [2022-05-10T09:14:06.792Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T09:14:06.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T09:14:06.792Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T09:14:06.890Z] prd-ubuntu20.04-docker-8c-8g-46737 does not seem to be running inside a container [2022-05-10T09:14:06.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@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-devops/py-git-semver:latest cat [2022-05-10T09:14:08.518Z] $ docker top 4dd6696d76be0b761f0e1553dc1b27d2cb63b5ffc15c726ad150f85f57eef3e6 -eo pid,comm [2022-05-10T09:14:08.577Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T09:14:08.577Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T09:14:08.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T09:14:08.700Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T09:14:08.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T09:14:08.852Z] $ docker exec 4dd6696d76be0b761f0e1553dc1b27d2cb63b5ffc15c726ad150f85f57eef3e6 ssh-agent [2022-05-10T09:14:08.977Z] SSH_AUTH_SOCK=/tmp/ssh-ZbAWBRtjt5ao/agent.33 [2022-05-10T09:14:08.977Z] SSH_AGENT_PID=40 [2022-05-10T09:14:08.984Z] Running ssh-add (command line suppressed) [2022-05-10T09:14:09.117Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_624759398142296535.key (/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_624759398142296535.key) [2022-05-10T09:14:09.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T09:14:09.468Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T09:14:09.498Z] $ docker exec --env ******** --env ******** 4dd6696d76be0b761f0e1553dc1b27d2cb63b5ffc15c726ad150f85f57eef3e6 ssh-agent -k [2022-05-10T09:14:09.610Z] unset SSH_AUTH_SOCK; [2022-05-10T09:14:09.615Z] unset SSH_AGENT_PID; [2022-05-10T09:14:09.615Z] echo Agent pid 40 killed; [2022-05-10T09:14:09.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T09:14:09.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T09:14:09.700Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T09:14:09.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T09:14:09.845Z] $ docker exec 4dd6696d76be0b761f0e1553dc1b27d2cb63b5ffc15c726ad150f85f57eef3e6 ssh-agent [2022-05-10T09:14:09.967Z] SSH_AUTH_SOCK=/tmp/ssh-jVeFFoonvTNt/agent.75 [2022-05-10T09:14:09.967Z] SSH_AGENT_PID=81 [2022-05-10T09:14:09.973Z] Running ssh-add (command line suppressed) [2022-05-10T09:14:10.109Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_1850694003421622777.key (/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_1850694003421622777.key) [2022-05-10T09:14:10.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T09:14:10.451Z] + git semver init [2022-05-10T09:14:10.711Z] 2022-05-10 09:14:10,696 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T09:14:10.711Z] 2022-05-10 09:14:10,697 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-188/.semver [2022-05-10T09:14:10.711Z] 2022-05-10 09:14:10,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-188/.semver [2022-05-10T09:14:10.711Z] 2022-05-10 09:14:10,697 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-188/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-188, universal_newlines=False, shell=None, istream=None) [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,731 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-188/.git/info/exclude [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,732 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-188/.semver/PR-188 with force:False [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,732 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-188/.semver/PR-188 [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,736 [execute] INFO git cat-file --batch-check [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-188/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,744 [execute] INFO git cat-file --batch [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-188/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T09:14:12.098Z] 2022-05-10 09:14:11,750 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-188/.semver/PR-188 [2022-05-10T09:14:12.098Z] 0.0.0 [Pipeline] } [2022-05-10T09:14:12.129Z] $ docker exec --env ******** --env ******** 4dd6696d76be0b761f0e1553dc1b27d2cb63b5ffc15c726ad150f85f57eef3e6 ssh-agent -k [2022-05-10T09:14:12.258Z] unset SSH_AUTH_SOCK; [2022-05-10T09:14:12.259Z] unset SSH_AGENT_PID; [2022-05-10T09:14:12.259Z] echo Agent pid 81 killed; [2022-05-10T09:14:12.265Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T09:14:12.767Z] + git semver [Pipeline] } [2022-05-10T09:14:13.064Z] $ docker stop --time=1 4dd6696d76be0b761f0e1553dc1b27d2cb63b5ffc15c726ad150f85f57eef3e6 [2022-05-10T09:14:14.455Z] $ docker rm -f 4dd6696d76be0b761f0e1553dc1b27d2cb63b5ffc15c726ad150f85f57eef3e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T09:14:14.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T09:14:15.188Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T09:14:15.207Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T09:14:15.840Z] provisioning config files... [2022-05-10T09:14:15.850Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config3027106727510604328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:14:16.202Z] ---> docker-login.sh [2022-05-10T09:14:16.202Z] nexus3.edgexfoundry.org:10001 [2022-05-10T09:14:16.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:14:16.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:14:16.202Z] Configure a credential helper to remove this warning. See [2022-05-10T09:14:16.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:14:16.202Z] [2022-05-10T09:14:16.202Z] Login Succeeded [2022-05-10T09:14:16.202Z] nexus3.edgexfoundry.org:10002 [2022-05-10T09:14:16.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:14:16.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:14:16.467Z] Configure a credential helper to remove this warning. See [2022-05-10T09:14:16.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:14:16.467Z] [2022-05-10T09:14:16.467Z] Login Succeeded [2022-05-10T09:14:16.467Z] nexus3.edgexfoundry.org:10003 [2022-05-10T09:14:16.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:14:16.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:14:16.467Z] Configure a credential helper to remove this warning. See [2022-05-10T09:14:16.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:14:16.467Z] [2022-05-10T09:14:16.467Z] Login Succeeded [2022-05-10T09:14:16.467Z] nexus3.edgexfoundry.org:10004 [2022-05-10T09:14:16.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:14:16.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:14:16.728Z] Configure a credential helper to remove this warning. See [2022-05-10T09:14:16.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:14:16.728Z] [2022-05-10T09:14:16.728Z] Login Succeeded [2022-05-10T09:14:16.728Z] docker.io [2022-05-10T09:14:16.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:14:16.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:14:16.990Z] Configure a credential helper to remove this warning. See [2022-05-10T09:14:16.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:14:16.990Z] [2022-05-10T09:14:16.990Z] Login Succeeded [2022-05-10T09:14:16.990Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T09:14:17.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T09:14:17.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T09:14:17.244Z] ========================================================= [2022-05-10T09:14:17.244Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T09:14:17.244Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:14:17.639Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T09:14:17.639Z] Sending build context to Docker daemon 10.63MB [2022-05-10T09:14:17.639Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:14:17.639Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T09:14:17.639Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T09:14:17.639Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T09:14:17.639Z] 666ba61612fd: Pulling fs layer [2022-05-10T09:14:17.639Z] 8ed8ca486205: Pulling fs layer [2022-05-10T09:14:17.639Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T09:14:17.639Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T09:14:17.639Z] ca2b28591e48: Pulling fs layer [2022-05-10T09:14:17.639Z] 22a0e8bec74d: Waiting [2022-05-10T09:14:17.639Z] 4fe6c5a15a65: Waiting [2022-05-10T09:14:17.639Z] a51346096db8: Pulling fs layer [2022-05-10T09:14:17.639Z] ca2b28591e48: Waiting [2022-05-10T09:14:17.639Z] a51346096db8: Waiting [2022-05-10T09:14:17.639Z] daebc70d1ce1: Pulling fs layer [2022-05-10T09:14:17.639Z] 0e18a0eac166: Pulling fs layer [2022-05-10T09:14:17.639Z] 0e18a0eac166: Waiting [2022-05-10T09:14:17.639Z] daebc70d1ce1: Waiting [2022-05-10T09:14:17.639Z] 8ed8ca486205: Verifying Checksum [2022-05-10T09:14:17.639Z] 8ed8ca486205: Download complete [2022-05-10T09:14:17.904Z] 666ba61612fd: Download complete [2022-05-10T09:14:17.904Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T09:14:17.904Z] 22a0e8bec74d: Download complete [2022-05-10T09:14:17.904Z] ca2b28591e48: Verifying Checksum [2022-05-10T09:14:17.904Z] ca2b28591e48: Download complete [2022-05-10T09:14:17.904Z] a51346096db8: Verifying Checksum [2022-05-10T09:14:17.904Z] a51346096db8: Download complete [2022-05-10T09:14:17.904Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T09:14:17.904Z] 59bf1c3509f3: Download complete [2022-05-10T09:14:17.904Z] daebc70d1ce1: Verifying Checksum [2022-05-10T09:14:17.904Z] daebc70d1ce1: Download complete [2022-05-10T09:14:17.904Z] 59bf1c3509f3: Pull complete [2022-05-10T09:14:18.166Z] 666ba61612fd: Pull complete [2022-05-10T09:14:18.166Z] 8ed8ca486205: Pull complete [2022-05-10T09:14:18.426Z] 0e18a0eac166: Verifying Checksum [2022-05-10T09:14:18.427Z] 0e18a0eac166: Download complete [2022-05-10T09:14:18.687Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T09:14:18.687Z] 4fe6c5a15a65: Download complete [2022-05-10T09:14:22.886Z] 4fe6c5a15a65: Pull complete [2022-05-10T09:14:22.886Z] 22a0e8bec74d: Pull complete [2022-05-10T09:14:22.886Z] ca2b28591e48: Pull complete [2022-05-10T09:14:22.886Z] a51346096db8: Pull complete [2022-05-10T09:14:23.147Z] daebc70d1ce1: Pull complete [2022-05-10T09:14:25.685Z] 0e18a0eac166: Pull complete [2022-05-10T09:14:25.685Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T09:14:25.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T09:14:25.685Z] ---> f018257e8ee9 [2022-05-10T09:14:25.685Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T09:14:27.602Z] ---> Running in 312731211bb3 [2022-05-10T09:14:27.602Z] Removing intermediate container 312731211bb3 [2022-05-10T09:14:27.602Z] ---> 0cd5f53bb803 [2022-05-10T09:14:27.602Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T09:14:27.602Z] ---> Running in f37a0a38be15 [2022-05-10T09:14:27.602Z] Removing intermediate container f37a0a38be15 [2022-05-10T09:14:27.602Z] ---> ebad222d56d3 [2022-05-10T09:14:27.602Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T09:14:27.602Z] ---> Running in a4fa8ffa648c [2022-05-10T09:14:27.602Z] Removing intermediate container a4fa8ffa648c [2022-05-10T09:14:27.602Z] ---> f157a9756655 [2022-05-10T09:14:27.602Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:14:27.864Z] ---> Running in 361893ef8ee9 [2022-05-10T09:14:28.436Z] Removing intermediate container 361893ef8ee9 [2022-05-10T09:14:28.436Z] ---> 81079497a190 [2022-05-10T09:14:28.436Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T09:14:28.436Z] ---> Running in 68ed5dfedcc3 [2022-05-10T09:14:28.697Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T09:14:29.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T09:14:29.899Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T09:14:29.899Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T09:14:30.160Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T09:14:30.160Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T09:14:30.160Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T09:14:30.160Z] OK: 224 MiB in 56 packages [2022-05-10T09:14:30.597Z] Still waiting to schedule task [2022-05-10T09:14:30.597Z] ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T09:14:30.597Z] ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T09:14:30.597Z] ‘prd-ubuntu20.04-docker-8c-8g-46209’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T09:14:30.597Z] ‘prd-ubuntu20.04-docker-8c-8g-46211’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T09:14:30.597Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-46614’ is offline [2022-05-10T09:14:30.597Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-46739’ is offline [2022-05-10T09:14:30.735Z] Removing intermediate container 68ed5dfedcc3 [2022-05-10T09:14:30.735Z] ---> 62921e3fa830 [2022-05-10T09:14:30.735Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T09:14:30.735Z] ---> Running in 42c4e8bea9e6 [2022-05-10T09:14:30.735Z] Removing intermediate container 42c4e8bea9e6 [2022-05-10T09:14:30.735Z] ---> df1a56633cb6 [2022-05-10T09:14:30.735Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T09:14:31.039Z] ---> 243760a771e8 [2022-05-10T09:14:31.039Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:14:31.039Z] ---> Running in bd1fc3d75985 [2022-05-10T09:14:45.969Z] Removing intermediate container bd1fc3d75985 [2022-05-10T09:14:45.969Z] ---> 3fccb0acb3a1 [2022-05-10T09:14:45.969Z] Step 11/12 : COPY . . [2022-05-10T09:14:45.969Z] ---> ccd6e8f1e04b [2022-05-10T09:14:45.969Z] Step 12/12 : RUN $MAKE [2022-05-10T09:14:45.969Z] ---> Running in 9ee261fc7f53 [2022-05-10T09:14:45.969Z] noop [2022-05-10T09:14:45.969Z] Removing intermediate container 9ee261fc7f53 [2022-05-10T09:14:45.969Z] ---> 969acb99ece5 [2022-05-10T09:14:45.969Z] Successfully built 969acb99ece5 [2022-05-10T09:14:45.969Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:14:46.302Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T09:14:46.302Z] . [Pipeline] withDockerContainer [2022-05-10T09:14:46.401Z] prd-ubuntu20.04-docker-8c-8g-46737 does not seem to be running inside a container [2022-05-10T09:14:46.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T09:14:46.858Z] $ docker top 9722b30176eb79a405081eeab9cbfe7158e9fa11d6c030ecb4a0ac6b8725d2f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T09:14:47.257Z] + go version [2022-05-10T09:14:47.258Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T09:14:47.305Z] $ docker stop --time=1 9722b30176eb79a405081eeab9cbfe7158e9fa11d6c030ecb4a0ac6b8725d2f5 [2022-05-10T09:14:48.633Z] $ docker rm -f 9722b30176eb79a405081eeab9cbfe7158e9fa11d6c030ecb4a0ac6b8725d2f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:14:49.367Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T09:14:49.367Z] . [Pipeline] withDockerContainer [2022-05-10T09:14:49.469Z] prd-ubuntu20.04-docker-8c-8g-46737 does not seem to be running inside a container [2022-05-10T09:14:49.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T09:14:49.904Z] $ docker top a3c3627c6a8dc53f452b59682e1f1988690589f080ec28465cea0cd4fd9935c3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T09:14:50.347Z] + make test [2022-05-10T09:14:50.348Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T09:14:50.607Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T09:15:00.583Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T09:15:00.583Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-10T09:15:07.156Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T09:15:11.352Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T09:15:11.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T09:15:11.352Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T09:15:11.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T09:15:11.673Z] $ docker stop --time=1 a3c3627c6a8dc53f452b59682e1f1988690589f080ec28465cea0cd4fd9935c3 [2022-05-10T09:15:13.511Z] $ docker rm -f a3c3627c6a8dc53f452b59682e1f1988690589f080ec28465cea0cd4fd9935c3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T09:15:14.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T09:15:14.103Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T09:15:14.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T09:15:15.279Z] + ls -al . [2022-05-10T09:15:15.279Z] total 172 [2022-05-10T09:15:15.279Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 09:15 . [2022-05-10T09:15:15.279Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:13 .. [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 09:13 .dockerignore [2022-05-10T09:15:15.279Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:14 .git [2022-05-10T09:15:15.279Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:13 .github [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 09:13 .gitignore [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:13 .golangci.yml [2022-05-10T09:15:15.279Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:14 .semver [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 09:13 Attribution.txt [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 09:13 CHANGELOG.md [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 09:13 Dockerfile [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:13 GOVERNANCE.md [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 09:13 Jenkinsfile [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:13 LICENSE [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 09:13 Makefile [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 09:13 OWNERS.md [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 09:13 README.md [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:14 VERSION [2022-05-10T09:15:15.279Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:13 bin [2022-05-10T09:15:15.279Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:13 cmd [2022-05-10T09:15:15.279Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 09:14 coverage.out [2022-05-10T09:15:15.279Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:13 driver [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 09:13 go.mod [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 09:13 go.sum [2022-05-10T09:15:15.279Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:13 snap [2022-05-10T09:15:15.279Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 09:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:15:15.617Z] + 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=6592639535dbfe2f23e78a29db4d492bfcdc0f26 --label arch=amd64 --label version=0.0.0 . [2022-05-10T09:15:15.617Z] Sending build context to Docker daemon 10.64MB [2022-05-10T09:15:15.617Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:15:15.617Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T09:15:15.617Z] ---> 969acb99ece5 [2022-05-10T09:15:15.617Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T09:15:15.878Z] ---> Running in 5e077954f18f [2022-05-10T09:15:15.878Z] Removing intermediate container 5e077954f18f [2022-05-10T09:15:15.878Z] ---> 8d849e122600 [2022-05-10T09:15:15.878Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T09:15:16.139Z] ---> Running in 70de7eef44cd [2022-05-10T09:15:16.139Z] Removing intermediate container 70de7eef44cd [2022-05-10T09:15:16.139Z] ---> 1d293ce4a9ca [2022-05-10T09:15:16.139Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T09:15:16.139Z] ---> Running in 25c3c5a1a932 [2022-05-10T09:15:16.399Z] Removing intermediate container 25c3c5a1a932 [2022-05-10T09:15:16.399Z] ---> 42cc04b9ec88 [2022-05-10T09:15:16.399Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:15:16.399Z] ---> Running in dfee355717ca [2022-05-10T09:15:16.970Z] Removing intermediate container dfee355717ca [2022-05-10T09:15:16.970Z] ---> 3f4fde4f8af0 [2022-05-10T09:15:16.970Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T09:15:16.970Z] ---> Running in c2b4e3a5c258 [2022-05-10T09:15:17.231Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T09:15:18.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T09:15:18.433Z] OK: 224 MiB in 56 packages [2022-05-10T09:15:18.695Z] Removing intermediate container c2b4e3a5c258 [2022-05-10T09:15:18.695Z] ---> 739d0c72506f [2022-05-10T09:15:18.695Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T09:15:18.695Z] ---> Running in 7831885f2e9e [2022-05-10T09:15:18.955Z] Removing intermediate container 7831885f2e9e [2022-05-10T09:15:18.955Z] ---> 2659537c6546 [2022-05-10T09:15:18.955Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T09:15:18.955Z] ---> e0aedf1dcffe [2022-05-10T09:15:18.955Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:15:18.956Z] ---> Running in 2b8670b0f72f [2022-05-10T09:15:19.898Z] Removing intermediate container 2b8670b0f72f [2022-05-10T09:15:19.898Z] ---> a1862d04f943 [2022-05-10T09:15:19.898Z] Step 11/25 : COPY . . [2022-05-10T09:15:19.898Z] ---> f7e837e336a5 [2022-05-10T09:15:19.898Z] Step 12/25 : RUN $MAKE [2022-05-10T09:15:19.898Z] ---> Running in d625b978732b [2022-05-10T09:15:20.157Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-10T09:15:42.110Z] Removing intermediate container d625b978732b [2022-05-10T09:15:42.110Z] ---> c7458d09d328 [2022-05-10T09:15:42.110Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T09:15:42.110Z] 3.14: Pulling from library/alpine [2022-05-10T09:15:42.110Z] 8663204ce13b: Pulling fs layer [2022-05-10T09:15:42.110Z] 8663204ce13b: Verifying Checksum [2022-05-10T09:15:42.110Z] 8663204ce13b: Download complete [2022-05-10T09:15:42.110Z] 8663204ce13b: Pull complete [2022-05-10T09:15:42.110Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T09:15:42.110Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T09:15:42.110Z] ---> e04c818066af [2022-05-10T09:15:42.110Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T09:15:42.110Z] ---> Running in b77fb6e14287 [2022-05-10T09:15:42.110Z] Removing intermediate container b77fb6e14287 [2022-05-10T09:15:42.110Z] ---> 9711be171a73 [2022-05-10T09:15:42.110Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T09:15:42.110Z] ---> Running in ab6046a63f2d [2022-05-10T09:15:42.110Z] Removing intermediate container ab6046a63f2d [2022-05-10T09:15:42.110Z] ---> c4aa1cf123a9 [2022-05-10T09:15:42.110Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T09:15:42.110Z] ---> Running in 2c6dde568151 [2022-05-10T09:15:42.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T09:15:42.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T09:15:42.110Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T09:15:42.110Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T09:15:42.110Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T09:15:42.110Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T09:15:42.110Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T09:15:42.110Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T09:15:42.110Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T09:15:42.110Z] OK: 8 MiB in 20 packages [2022-05-10T09:15:42.110Z] Removing intermediate container 2c6dde568151 [2022-05-10T09:15:42.110Z] ---> 15bb295ad5d8 [2022-05-10T09:15:42.110Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T09:15:42.682Z] ---> d675b39e1d1b [2022-05-10T09:15:42.682Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T09:15:42.682Z] ---> c000c7cc0546 [2022-05-10T09:15:42.682Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T09:15:42.945Z] ---> 6bc9648fa0e3 [2022-05-10T09:15:42.945Z] Step 20/25 : EXPOSE 59986 [2022-05-10T09:15:42.945Z] ---> Running in 313461ef83ab [2022-05-10T09:15:42.945Z] Removing intermediate container 313461ef83ab [2022-05-10T09:15:42.945Z] ---> 34c1fbe2e3fb [2022-05-10T09:15:42.945Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T09:15:43.205Z] ---> Running in bf612972d631 [2022-05-10T09:15:43.205Z] Removing intermediate container bf612972d631 [2022-05-10T09:15:43.205Z] ---> 3e2280dccd0f [2022-05-10T09:15:43.205Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T09:15:43.205Z] ---> Running in d947dc60bebe [2022-05-10T09:15:43.205Z] Removing intermediate container d947dc60bebe [2022-05-10T09:15:43.205Z] ---> 38c0e727a42b [2022-05-10T09:15:43.205Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T09:15:43.471Z] ---> Running in 4422fed43a55 [2022-05-10T09:15:43.471Z] Removing intermediate container 4422fed43a55 [2022-05-10T09:15:43.471Z] ---> da345845f92a [2022-05-10T09:15:43.471Z] Step 24/25 : LABEL git_sha=6592639535dbfe2f23e78a29db4d492bfcdc0f26 [2022-05-10T09:15:43.471Z] ---> Running in 10bdc9c40146 [2022-05-10T09:15:43.471Z] Removing intermediate container 10bdc9c40146 [2022-05-10T09:15:43.471Z] ---> ec08090265c9 [2022-05-10T09:15:43.471Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T09:15:43.732Z] ---> Running in 2446ec51cdaa [2022-05-10T09:15:43.732Z] Removing intermediate container 2446ec51cdaa [2022-05-10T09:15:43.732Z] ---> 4beb7b200724 [2022-05-10T09:15:43.732Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T09:15:43.732Z] Successfully built 4beb7b200724 [2022-05-10T09:15:43.732Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:15:44.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:15:44.461Z] [2022-05-10T09:15:44.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:15:44.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:15:44.802Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T09:15:44.802Z] 5eb5b503b376: Pulling fs layer [2022-05-10T09:15:44.802Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T09:15:44.802Z] ec43610c2a17: Pulling fs layer [2022-05-10T09:15:44.802Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T09:15:44.802Z] 33b1e0a273af: Pulling fs layer [2022-05-10T09:15:44.802Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T09:15:44.802Z] 2f39f015ded8: Pulling fs layer [2022-05-10T09:15:44.802Z] 3a2ae6a8a46f: Waiting [2022-05-10T09:15:44.802Z] 33b1e0a273af: Waiting [2022-05-10T09:15:44.802Z] 5d3b04190fa2: Waiting [2022-05-10T09:15:44.802Z] 2f39f015ded8: Waiting [2022-05-10T09:15:44.802Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T09:15:44.802Z] 5c69ac0246d0: Download complete [2022-05-10T09:15:44.802Z] 3a2ae6a8a46f: Download complete [2022-05-10T09:15:44.802Z] 33b1e0a273af: Verifying Checksum [2022-05-10T09:15:44.802Z] 33b1e0a273af: Download complete [2022-05-10T09:15:44.802Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T09:15:44.802Z] 5d3b04190fa2: Download complete [2022-05-10T09:15:45.065Z] ec43610c2a17: Verifying Checksum [2022-05-10T09:15:45.065Z] ec43610c2a17: Download complete [2022-05-10T09:15:45.065Z] 5eb5b503b376: Verifying Checksum [2022-05-10T09:15:45.065Z] 5eb5b503b376: Download complete [2022-05-10T09:15:45.634Z] 2f39f015ded8: Download complete [2022-05-10T09:15:46.574Z] 5eb5b503b376: Pull complete [2022-05-10T09:15:46.574Z] 5c69ac0246d0: Pull complete [2022-05-10T09:15:46.832Z] ec43610c2a17: Pull complete [2022-05-10T09:15:47.092Z] 3a2ae6a8a46f: Pull complete [2022-05-10T09:15:47.352Z] 33b1e0a273af: Pull complete [2022-05-10T09:15:47.352Z] 5d3b04190fa2: Pull complete [2022-05-10T09:15:52.632Z] 2f39f015ded8: Pull complete [2022-05-10T09:15:52.632Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T09:15:52.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:15:52.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T09:15:52.731Z] prd-ubuntu20.04-docker-8c-8g-46737 does not seem to be running inside a container [2022-05-10T09:15:52.774Z] $ 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-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T09:15:54.468Z] $ docker top 3d17f44fe2e42f4ec4e28ddd720021bea40525744f28a361cf8ff17b0e544d6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:15:55.054Z] ---> job-cost.sh [2022-05-10T09:15:55.054Z] lf-activate-venv: SKIPPING [2022-05-10T09:15:55.054Z] INFO: No Stack... [2022-05-10T09:15:55.344Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T09:15:55.604Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T09:15:55.923Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-188/archives/cost.csv [2022-05-10T09:15:55.923Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T09:15:55.964Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] [2022-05-10T09:15:55.968Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] did not exist. Created. [2022-05-10T09:15:55.968Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T09:15:56.393Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T09:15:56.441Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T09:15:56.466Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T09:15:56.550Z] $ docker stop --time=1 3d17f44fe2e42f4ec4e28ddd720021bea40525744f28a361cf8ff17b0e544d6d [2022-05-10T09:15:57.739Z] $ docker rm -f 3d17f44fe2e42f4ec4e28ddd720021bea40525744f28a361cf8ff17b0e544d6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T09:17:27.940Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-46767 in /w/workspace/gexfoundry_device-rest-go_PR-188 [Pipeline] { [Pipeline] ws [2022-05-10T09:17:27.979Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-10T09:17:28.310Z] The recommended git tool is: git [2022-05-10T09:17:35.940Z] using credential edgex-jenkins-ssh [2022-05-10T09:17:35.963Z] Cloning the remote Git repository [2022-05-10T09:17:36.037Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T09:17:36.131Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-10T09:17:36.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T09:17:36.375Z] > git --version # timeout=10 [2022-05-10T09:17:36.429Z] > git --version # 'git version 2.25.1' [2022-05-10T09:17:36.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T09:17:36.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T09:17:38.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T09:17:38.552Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T09:17:38.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T09:17:38.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T09:17:38.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T09:17:38.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T09:17:39.227Z] Merging remotes/origin/main commit 4edc8d2690683859fe7dd7f6313ce2addb447006 into PR head commit 6592639535dbfe2f23e78a29db4d492bfcdc0f26 [2022-05-10T09:17:39.488Z] Merge succeeded, producing 6592639535dbfe2f23e78a29db4d492bfcdc0f26 [2022-05-10T09:17:39.488Z] Checking out Revision 6592639535dbfe2f23e78a29db4d492bfcdc0f26 (PR-188) [2022-05-10T09:17:39.254Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T09:17:39.280Z] > git checkout -f 6592639535dbfe2f23e78a29db4d492bfcdc0f26 # timeout=10 [2022-05-10T09:17:39.375Z] > git remote # timeout=10 [2022-05-10T09:17:39.398Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T09:17:39.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T09:17:39.438Z] > git merge 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 [2022-05-10T09:17:39.470Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T09:17:39.503Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T09:17:39.525Z] > git checkout -f 6592639535dbfe2f23e78a29db4d492bfcdc0f26 # timeout=10 [2022-05-10T09:17:43.986Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks " [2022-05-10T09:17:44.076Z] > git --version # timeout=10 [2022-05-10T09:17:44.088Z] > git --version # 'git version 2.25.1' [2022-05-10T09:17:44.102Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T09:17:45.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T09:17:45.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T09:17:45.172Z] Dload Upload Total Spent Left Speed [2022-05-10T09:17:45.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-05-10T09:17:45.744Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T09:17:46.114Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T09:17:46.114Z] + sudo tee /etc/docker/daemon.new [2022-05-10T09:17:46.114Z] { [2022-05-10T09:17:46.114Z] "registry-mirrors": [ [2022-05-10T09:17:46.114Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T09:17:46.114Z] ], [2022-05-10T09:17:46.114Z] "bip": "10.250.0.254/24", [2022-05-10T09:17:46.114Z] "hosts": [ [2022-05-10T09:17:46.114Z] "tcp://0.0.0.0:5555", [2022-05-10T09:17:46.114Z] "unix:///var/run/docker.sock" [2022-05-10T09:17:46.114Z] ], [2022-05-10T09:17:46.114Z] "mtu": 1458, [2022-05-10T09:17:46.114Z] "selinux-enabled": true, [2022-05-10T09:17:46.114Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T09:17:46.114Z] } [Pipeline] sh [2022-05-10T09:17:46.565Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T09:17:46.932Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T09:18:05.374Z] provisioning config files... [2022-05-10T09:18:05.405Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5488815836929380282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:18:06.036Z] ---> docker-login.sh [2022-05-10T09:18:06.036Z] nexus3.edgexfoundry.org:10001 [2022-05-10T09:18:06.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:18:07.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:18:07.240Z] Configure a credential helper to remove this warning. See [2022-05-10T09:18:07.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:18:07.240Z] [2022-05-10T09:18:07.240Z] Login Succeeded [2022-05-10T09:18:07.240Z] nexus3.edgexfoundry.org:10002 [2022-05-10T09:18:07.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:18:07.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:18:07.517Z] Configure a credential helper to remove this warning. See [2022-05-10T09:18:07.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:18:07.517Z] [2022-05-10T09:18:07.517Z] Login Succeeded [2022-05-10T09:18:07.517Z] nexus3.edgexfoundry.org:10003 [2022-05-10T09:18:08.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:18:08.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:18:08.124Z] Configure a credential helper to remove this warning. See [2022-05-10T09:18:08.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:18:08.124Z] [2022-05-10T09:18:08.124Z] Login Succeeded [2022-05-10T09:18:08.124Z] nexus3.edgexfoundry.org:10004 [2022-05-10T09:18:08.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:18:08.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:18:08.671Z] Configure a credential helper to remove this warning. See [2022-05-10T09:18:08.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:18:08.671Z] [2022-05-10T09:18:08.671Z] Login Succeeded [2022-05-10T09:18:08.671Z] docker.io [2022-05-10T09:18:08.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:18:09.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:18:09.542Z] Configure a credential helper to remove this warning. See [2022-05-10T09:18:09.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:18:09.542Z] [2022-05-10T09:18:09.543Z] Login Succeeded [2022-05-10T09:18:09.543Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T09:18:09.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T09:18:09.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T09:18:10.016Z] ========================================================= [2022-05-10T09:18:10.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T09:18:10.016Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:18:10.535Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T09:18:10.535Z] Sending build context to Docker daemon 129.5kB [2022-05-10T09:18:10.811Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:18:10.811Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T09:18:11.085Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T09:18:11.085Z] 9b3977197b4f: Pulling fs layer [2022-05-10T09:18:11.085Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T09:18:11.085Z] 94645a83ff95: Pulling fs layer [2022-05-10T09:18:11.085Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T09:18:11.085Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T09:18:11.085Z] 3096ccb668a1: Pulling fs layer [2022-05-10T09:18:11.085Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T09:18:11.085Z] a4caa8a26152: Pulling fs layer [2022-05-10T09:18:11.085Z] 3f3a8bcf1eab: Waiting [2022-05-10T09:18:11.085Z] e8cf19c19ddd: Waiting [2022-05-10T09:18:11.085Z] 0c92f367c5e7: Waiting [2022-05-10T09:18:11.085Z] a4caa8a26152: Waiting [2022-05-10T09:18:11.085Z] 3096ccb668a1: Waiting [2022-05-10T09:18:11.085Z] 94645a83ff95: Verifying Checksum [2022-05-10T09:18:11.085Z] 94645a83ff95: Download complete [2022-05-10T09:18:11.085Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T09:18:11.085Z] 1a89e8eeedd5: Download complete [2022-05-10T09:18:11.085Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T09:18:11.085Z] 0c92f367c5e7: Download complete [2022-05-10T09:18:11.085Z] 9b3977197b4f: Verifying Checksum [2022-05-10T09:18:11.085Z] 9b3977197b4f: Download complete [2022-05-10T09:18:11.085Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T09:18:11.085Z] e8cf19c19ddd: Download complete [2022-05-10T09:18:12.080Z] 9b3977197b4f: Pull complete [2022-05-10T09:18:12.355Z] 1a89e8eeedd5: Pull complete [2022-05-10T09:18:12.964Z] 94645a83ff95: Pull complete [2022-05-10T09:18:13.242Z] a4caa8a26152: Verifying Checksum [2022-05-10T09:18:13.242Z] a4caa8a26152: Download complete [2022-05-10T09:18:13.836Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T09:18:13.836Z] 3f3a8bcf1eab: Download complete [2022-05-10T09:18:26.229Z] 3f3a8bcf1eab: Pull complete [2022-05-10T09:18:26.229Z] 0c92f367c5e7: Pull complete [2022-05-10T09:18:26.229Z] 3096ccb668a1: Pull complete [2022-05-10T09:18:26.503Z] e8cf19c19ddd: Pull complete [2022-05-10T09:18:33.251Z] a4caa8a26152: Pull complete [2022-05-10T09:18:33.251Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T09:18:33.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T09:18:33.251Z] ---> 725f1c02e7f9 [2022-05-10T09:18:33.251Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T09:18:34.245Z] ---> Running in 8bdcf21cb244 [2022-05-10T09:18:34.245Z] Removing intermediate container 8bdcf21cb244 [2022-05-10T09:18:34.245Z] ---> 11bfccf386d0 [2022-05-10T09:18:34.246Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T09:18:34.532Z] ---> Running in 08b98003c36f [2022-05-10T09:18:34.810Z] Removing intermediate container 08b98003c36f [2022-05-10T09:18:34.810Z] ---> 101a0f4e495e [2022-05-10T09:18:34.810Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T09:18:34.810Z] ---> Running in 97de83756937 [2022-05-10T09:18:35.412Z] Removing intermediate container 97de83756937 [2022-05-10T09:18:35.412Z] ---> 12c3b51a5561 [2022-05-10T09:18:35.412Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:18:35.412Z] ---> Running in b8eb196e3aac [2022-05-10T09:18:38.052Z] Removing intermediate container b8eb196e3aac [2022-05-10T09:18:38.052Z] ---> f6c75280217a [2022-05-10T09:18:38.052Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T09:18:38.052Z] ---> Running in fefd0696756c [2022-05-10T09:18:39.034Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T09:18:40.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T09:18:41.011Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T09:18:41.289Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T09:18:41.289Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T09:18:41.565Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T09:18:41.565Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T09:18:41.565Z] OK: 224 MiB in 56 packages [2022-05-10T09:18:42.563Z] Removing intermediate container fefd0696756c [2022-05-10T09:18:42.563Z] ---> 3caae2247662 [2022-05-10T09:18:42.563Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T09:18:42.563Z] ---> Running in 19b99a07f774 [2022-05-10T09:18:43.163Z] Removing intermediate container 19b99a07f774 [2022-05-10T09:18:43.163Z] ---> e2a93041731f [2022-05-10T09:18:43.163Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T09:18:43.445Z] ---> f77bf2489f18 [2022-05-10T09:18:43.445Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:18:43.726Z] ---> Running in 8c27c062057b [2022-05-10T09:19:30.735Z] Removing intermediate container 8c27c062057b [2022-05-10T09:19:30.735Z] ---> 36a8d1cc2b8a [2022-05-10T09:19:30.735Z] Step 11/12 : COPY . . [2022-05-10T09:19:31.013Z] ---> 6e5ffe1c9b6e [2022-05-10T09:19:31.013Z] Step 12/12 : RUN $MAKE [2022-05-10T09:19:31.314Z] ---> Running in 950fa7fc968e [2022-05-10T09:19:32.310Z] noop [2022-05-10T09:19:32.910Z] Removing intermediate container 950fa7fc968e [2022-05-10T09:19:32.910Z] ---> f52e8d7246da [2022-05-10T09:19:32.910Z] Successfully built f52e8d7246da [2022-05-10T09:19:33.185Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:19:33.564Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T09:19:33.564Z] . [Pipeline] withDockerContainer [2022-05-10T09:19:33.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-46767 does not seem to be running inside a container [2022-05-10T09:19:33.952Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T09:19:35.414Z] $ docker top 46461aeb90d915df7f693e262a23007ba40aa4db1f9a6dfa68b4ace59acae51f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T09:19:36.396Z] + go version [2022-05-10T09:19:36.397Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T09:19:36.447Z] $ docker stop --time=1 46461aeb90d915df7f693e262a23007ba40aa4db1f9a6dfa68b4ace59acae51f [2022-05-10T09:19:38.153Z] $ docker rm -f 46461aeb90d915df7f693e262a23007ba40aa4db1f9a6dfa68b4ace59acae51f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:19:39.049Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T09:19:39.049Z] . [Pipeline] withDockerContainer [2022-05-10T09:19:39.315Z] prd-ubuntu20.04-docker-arm64-4c-16g-46767 does not seem to be running inside a container [2022-05-10T09:19:39.419Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T09:19:40.807Z] $ docker top 48f84138f52ea2ac1568439dd4319e9369901feb1ae2bc020b9997eccc1ff4dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T09:19:41.833Z] + make test [2022-05-10T09:19:41.833Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T09:19:43.826Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T09:21:20.759Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T09:21:20.759Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-05-10T09:21:20.759Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T09:21:20.759Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T09:21:43.044Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T09:21:43.044Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T09:21:43.044Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T09:21:46.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T09:21:46.518Z] $ docker stop --time=1 48f84138f52ea2ac1568439dd4319e9369901feb1ae2bc020b9997eccc1ff4dc [2022-05-10T09:21:48.379Z] $ docker rm -f 48f84138f52ea2ac1568439dd4319e9369901feb1ae2bc020b9997eccc1ff4dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T09:21:49.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T09:21:49.522Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T09:21:50.063Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T09:21:50.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T09:21:51.007Z] + ls -al . [2022-05-10T09:21:51.007Z] total 168 [2022-05-10T09:21:51.007Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:21 . [2022-05-10T09:21:51.007Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:17 .. [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 09:17 .dockerignore [2022-05-10T09:21:51.007Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:17 .git [2022-05-10T09:21:51.007Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:17 .github [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 09:17 .gitignore [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:17 .golangci.yml [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 09:17 Attribution.txt [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 09:17 CHANGELOG.md [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 09:17 Dockerfile [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:17 GOVERNANCE.md [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 09:17 Jenkinsfile [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:17 LICENSE [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 09:17 Makefile [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 09:17 OWNERS.md [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 09:17 README.md [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:14 VERSION [2022-05-10T09:21:51.007Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:17 bin [2022-05-10T09:21:51.007Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:17 cmd [2022-05-10T09:21:51.007Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 09:21 coverage.out [2022-05-10T09:21:51.007Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:17 driver [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 09:17 go.mod [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 09:17 go.sum [2022-05-10T09:21:51.007Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:17 snap [2022-05-10T09:21:51.007Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 09:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:21:51.377Z] + 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=6592639535dbfe2f23e78a29db4d492bfcdc0f26 --label arch=arm64 --label version=0.0.0 . [2022-05-10T09:21:51.377Z] Sending build context to Docker daemon 139.8kB [2022-05-10T09:21:51.651Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:21:51.651Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T09:21:51.651Z] ---> f52e8d7246da [2022-05-10T09:21:51.651Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T09:21:51.923Z] ---> Running in cca46502c20f [2022-05-10T09:21:52.218Z] Removing intermediate container cca46502c20f [2022-05-10T09:21:52.218Z] ---> 2508429bd252 [2022-05-10T09:21:52.218Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T09:21:52.218Z] ---> Running in 42f080ba63a0 [2022-05-10T09:21:52.817Z] Removing intermediate container 42f080ba63a0 [2022-05-10T09:21:52.817Z] ---> c45be0e62505 [2022-05-10T09:21:52.817Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T09:21:52.817Z] ---> Running in c767673167bf [2022-05-10T09:21:53.098Z] Removing intermediate container c767673167bf [2022-05-10T09:21:53.098Z] ---> ce9a7d83c380 [2022-05-10T09:21:53.098Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:21:53.098Z] ---> Running in ce08d7d5e569 [2022-05-10T09:21:55.081Z] Removing intermediate container ce08d7d5e569 [2022-05-10T09:21:55.081Z] ---> 66fc651dbb9a [2022-05-10T09:21:55.081Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T09:21:55.081Z] ---> Running in fe1b4ae1beff [2022-05-10T09:21:56.080Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T09:21:57.064Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T09:21:58.049Z] OK: 224 MiB in 56 packages [2022-05-10T09:21:59.080Z] Removing intermediate container fe1b4ae1beff [2022-05-10T09:21:59.080Z] ---> 1194be9a1869 [2022-05-10T09:21:59.080Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T09:21:59.080Z] ---> Running in f2b8a001b973 [2022-05-10T09:21:59.359Z] Removing intermediate container f2b8a001b973 [2022-05-10T09:21:59.359Z] ---> 5d3573ba7770 [2022-05-10T09:21:59.359Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T09:21:59.966Z] ---> 4f54f26c1b4b [2022-05-10T09:21:59.966Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:22:00.247Z] ---> Running in e8213915a523 [2022-05-10T09:22:02.236Z] Removing intermediate container e8213915a523 [2022-05-10T09:22:02.236Z] ---> f49f029a39aa [2022-05-10T09:22:02.236Z] Step 11/25 : COPY . . [2022-05-10T09:22:02.834Z] ---> f4dadc50d600 [2022-05-10T09:22:02.834Z] Step 12/25 : RUN $MAKE [2022-05-10T09:22:03.115Z] ---> Running in 1bfbe5239aaa [2022-05-10T09:22:04.105Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-10T09:24:26.041Z] Removing intermediate container 1bfbe5239aaa [2022-05-10T09:24:26.041Z] ---> 71c834e68ad8 [2022-05-10T09:24:26.041Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T09:24:26.041Z] 3.14: Pulling from library/alpine [2022-05-10T09:24:26.041Z] 455c02918c45: Pulling fs layer [2022-05-10T09:24:26.041Z] 455c02918c45: Verifying Checksum [2022-05-10T09:24:26.041Z] 455c02918c45: Download complete [2022-05-10T09:24:26.041Z] 455c02918c45: Pull complete [2022-05-10T09:24:26.041Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T09:24:26.041Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T09:24:26.041Z] ---> ac73e934f311 [2022-05-10T09:24:26.041Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T09:24:26.041Z] ---> Running in b21c4850e054 [2022-05-10T09:24:26.041Z] Removing intermediate container b21c4850e054 [2022-05-10T09:24:26.041Z] ---> cb2c1ce1b5d0 [2022-05-10T09:24:26.041Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T09:24:26.041Z] ---> Running in ccb61db3c099 [2022-05-10T09:24:26.041Z] Removing intermediate container ccb61db3c099 [2022-05-10T09:24:26.041Z] ---> c106cdd5b446 [2022-05-10T09:24:26.041Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T09:24:26.041Z] ---> Running in 38a34e1536d5 [2022-05-10T09:24:26.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T09:24:26.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T09:24:26.041Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T09:24:26.041Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T09:24:26.041Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T09:24:26.041Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T09:24:26.041Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T09:24:26.041Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T09:24:26.041Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T09:24:26.041Z] OK: 8 MiB in 20 packages [2022-05-10T09:24:26.041Z] Removing intermediate container 38a34e1536d5 [2022-05-10T09:24:26.041Z] ---> c7a2942bbb34 [2022-05-10T09:24:26.041Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T09:24:26.041Z] ---> 03111fcb435f [2022-05-10T09:24:26.041Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T09:24:26.041Z] ---> ed57a39b96c0 [2022-05-10T09:24:26.041Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T09:24:26.041Z] ---> 63b6a78043dc [2022-05-10T09:24:26.041Z] Step 20/25 : EXPOSE 59986 [2022-05-10T09:24:26.041Z] ---> Running in 074874e6fd21 [2022-05-10T09:24:26.041Z] Removing intermediate container 074874e6fd21 [2022-05-10T09:24:26.041Z] ---> e76e63f0ae62 [2022-05-10T09:24:26.041Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T09:24:26.041Z] ---> Running in 7d4a6df73a10 [2022-05-10T09:24:26.041Z] Removing intermediate container 7d4a6df73a10 [2022-05-10T09:24:26.041Z] ---> da5b5417bad3 [2022-05-10T09:24:26.041Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T09:24:26.041Z] ---> Running in a4db995c8feb [2022-05-10T09:24:26.041Z] Removing intermediate container a4db995c8feb [2022-05-10T09:24:26.041Z] ---> 8dd3840670e1 [2022-05-10T09:24:26.041Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T09:24:26.041Z] ---> Running in da8c09f043a0 [2022-05-10T09:24:26.317Z] Removing intermediate container da8c09f043a0 [2022-05-10T09:24:26.317Z] ---> 0029a02f24cb [2022-05-10T09:24:26.317Z] Step 24/25 : LABEL git_sha=6592639535dbfe2f23e78a29db4d492bfcdc0f26 [2022-05-10T09:24:26.317Z] ---> Running in 9992abe10fc8 [2022-05-10T09:24:26.595Z] Removing intermediate container 9992abe10fc8 [2022-05-10T09:24:26.595Z] ---> 0e2eaf180076 [2022-05-10T09:24:26.595Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T09:24:26.873Z] ---> Running in e56ac4cfe54d [2022-05-10T09:24:27.148Z] Removing intermediate container e56ac4cfe54d [2022-05-10T09:24:27.148Z] ---> 15d729a262f4 [2022-05-10T09:24:27.149Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T09:24:27.149Z] Successfully built 15d729a262f4 [2022-05-10T09:24:27.149Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:24:27.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T09:24:27.885Z] [2022-05-10T09:24:27.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:24:28.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T09:24:28.553Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T09:24:28.553Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T09:24:28.553Z] 04944245beec: Pulling fs layer [2022-05-10T09:24:28.553Z] 699f458cf7ca: Pulling fs layer [2022-05-10T09:24:28.553Z] 765212b225bb: Pulling fs layer [2022-05-10T09:24:28.553Z] f23df028b6ca: Pulling fs layer [2022-05-10T09:24:28.553Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T09:24:28.553Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T09:24:28.553Z] 765212b225bb: Waiting [2022-05-10T09:24:28.553Z] f23df028b6ca: Waiting [2022-05-10T09:24:28.553Z] d65c8cfc05b1: Waiting [2022-05-10T09:24:28.553Z] 2437ff75d9bd: Waiting [2022-05-10T09:24:28.553Z] 04944245beec: Verifying Checksum [2022-05-10T09:24:28.553Z] 04944245beec: Download complete [2022-05-10T09:24:28.553Z] 765212b225bb: Verifying Checksum [2022-05-10T09:24:28.553Z] 765212b225bb: Download complete [2022-05-10T09:24:28.553Z] f23df028b6ca: Verifying Checksum [2022-05-10T09:24:28.553Z] f23df028b6ca: Download complete [2022-05-10T09:24:28.553Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T09:24:28.553Z] d65c8cfc05b1: Download complete [2022-05-10T09:24:28.829Z] 699f458cf7ca: Verifying Checksum [2022-05-10T09:24:29.105Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T09:24:29.105Z] 8998bd30e6a1: Download complete [2022-05-10T09:24:31.743Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T09:24:31.743Z] 2437ff75d9bd: Download complete [2022-05-10T09:24:33.730Z] 8998bd30e6a1: Pull complete [2022-05-10T09:24:34.009Z] 04944245beec: Pull complete [2022-05-10T09:24:35.995Z] 699f458cf7ca: Pull complete [2022-05-10T09:24:35.995Z] 765212b225bb: Pull complete [2022-05-10T09:24:36.595Z] f23df028b6ca: Pull complete [2022-05-10T09:24:36.872Z] d65c8cfc05b1: Pull complete [2022-05-10T09:24:51.987Z] 2437ff75d9bd: Pull complete [2022-05-10T09:24:51.987Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T09:24:51.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T09:24:51.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T09:24:52.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-46767 does not seem to be running inside a container [2022-05-10T09:24:52.380Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T09:24:55.135Z] $ docker top b68d59814fc18689b2c53f4fe2525f8c0b36dd9ccb008f1351244bf3ff2851df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:24:56.126Z] ---> job-cost.sh [2022-05-10T09:24:56.126Z] lf-activate-venv: SKIPPING [2022-05-10T09:24:56.126Z] INFO: No Stack... [2022-05-10T09:24:56.724Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T09:24:57.706Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T09:24:58.400Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-05-10T09:24:58.400Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T09:24:58.493Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] [2022-05-10T09:24:58.497Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] did not exist. Created. [2022-05-10T09:24:58.497Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T09:24:59.259Z] /w/workspace/device-rest-go/1@tmp/durable-7bff9774/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T09:24:59.973Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T09:25:00.010Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T09:25:00.055Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T09:25:00.070Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-188-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T09:25:00.167Z] $ docker stop --time=1 b68d59814fc18689b2c53f4fe2525f8c0b36dd9ccb008f1351244bf3ff2851df [2022-05-10T09:25:01.677Z] $ docker rm -f b68d59814fc18689b2c53f4fe2525f8c0b36dd9ccb008f1351244bf3ff2851df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-10T09:25:02.802Z] provisioning config files... [2022-05-10T09:25:02.810Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config4953143478304650890tmp [Pipeline] { [Pipeline] sh [2022-05-10T09:25:03.141Z] + set +x [2022-05-10T09:25:03.141Z] + + curlbash -s -s -- https://codecov.io/bash [2022-05-10T09:25:03.141Z] [2022-05-10T09:25:03.141Z] [2022-05-10T09:25:03.141Z] _____ _ [2022-05-10T09:25:03.141Z] / ____| | | [2022-05-10T09:25:03.141Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T09:25:03.141Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T09:25:03.141Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T09:25:03.141Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T09:25:03.141Z] Bash-1.0.6 [2022-05-10T09:25:03.141Z] [2022-05-10T09:25:03.141Z] [2022-05-10T09:25:03.141Z] ==> git version 2.25.1 found [2022-05-10T09:25:03.141Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-10T09:25:03.141Z] Release-Date: 2020-01-08 [2022-05-10T09:25:03.141Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-10T09:25:03.141Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T09:25:03.141Z] ==> Jenkins CI detected. [2022-05-10T09:25:03.141Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-188 [2022-05-10T09:25:03.141Z] project root: . [2022-05-10T09:25:03.141Z] --> token set from env [2022-05-10T09:25:03.141Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T09:25:03.141Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T09:25:03.141Z] ==> Python coveragepy not found [2022-05-10T09:25:03.141Z] ==> Searching for coverage reports in: [2022-05-10T09:25:03.141Z] + . [2022-05-10T09:25:03.141Z] -> Found 1 reports [2022-05-10T09:25:03.141Z] ==> Detecting git/mercurial file structure [2022-05-10T09:25:03.141Z] ==> Reading reports [2022-05-10T09:25:03.141Z] + ./coverage.out bytes=9355 [2022-05-10T09:25:03.141Z] ==> Appending adjustments [2022-05-10T09:25:03.141Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T09:25:03.141Z] + Found adjustments [2022-05-10T09:25:03.141Z] ==> Gzipping contents [2022-05-10T09:25:03.141Z] 4.0K /tmp/codecov.njKnHW.gz [2022-05-10T09:25:03.141Z] ==> Uploading reports [2022-05-10T09:25:03.141Z] url: https://codecov.io [2022-05-10T09:25:03.141Z] query: branch=PR-188&commit=6592639535dbfe2f23e78a29db4d492bfcdc0f26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2022-05-10T09:25:03.141Z] -> Pinging Codecov [2022-05-10T09:25:03.141Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-188&commit=6592639535dbfe2f23e78a29db4d492bfcdc0f26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2022-05-10T09:25:03.710Z] -> Uploading to [2022-05-10T09:25:03.710Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/6592639535dbfe2f23e78a29db4d492bfcdc0f26/8b681166-76c7-42c4-8de0-14c67d608bfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T092503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=942b421bb25c23bb6f062ec97f565fe79a1c217eebe68f3848d66896140b9169 [2022-05-10T09:25:03.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T09:25:03.710Z] Dload Upload Total Spent Left Speed [2022-05-10T09:25:03.710Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8896 --:--:-- --:--:-- --:--:-- 8852 100 1806 0 0 100 1806 0 8284 --:--:-- --:--:-- --:--:-- 8246 [2022-05-10T09:25:03.710Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6592639535dbfe2f23e78a29db4d492bfcdc0f26 [Pipeline] } [2022-05-10T09:25:03.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-10T09:25:05.520Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-188/archives ] [2022-05-10T09:25:05.521Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-188/archives [2022-05-10T09:25:05.521Z] total 16 [2022-05-10T09:25:05.521Z] drwxr-xr-x 3 root root 4096 May 10 09:15 . [2022-05-10T09:25:05.521Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:15 .. [2022-05-10T09:25:05.521Z] drwxr-xr-x 2 root root 4096 May 10 09:15 cost [2022-05-10T09:25:05.521Z] -rw-r--r-- 1 root root 85 May 10 09:15 cost.csv [2022-05-10T09:25:05.521Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-188/archives [2022-05-10T09:25:05.521Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-188/archives [2022-05-10T09:25:05.521Z] total 16 [2022-05-10T09:25:05.521Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:15 . [2022-05-10T09:25:05.521Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:15 .. [2022-05-10T09:25:05.521Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 09:15 cost [2022-05-10T09:25:05.521Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 09:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:25:05.854Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:25:06.748Z] ---> package-listing.sh [2022-05-10T09:25:06.749Z] ++ facter osfamily [2022-05-10T09:25:06.749Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T09:25:07.009Z] + OS_FAMILY=debian [2022-05-10T09:25:07.009Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-188 [2022-05-10T09:25:07.009Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T09:25:07.009Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T09:25:07.009Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T09:25:07.009Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T09:25:07.009Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-188 ']' [2022-05-10T09:25:07.009Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T09:25:07.009Z] + case "${OS_FAMILY}" in [2022-05-10T09:25:07.009Z] + dpkg -l [2022-05-10T09:25:07.009Z] + grep '^ii' [2022-05-10T09:25:07.009Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T09:25:07.009Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T09:25:07.009Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T09:25:07.009Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-188 ']' [2022-05-10T09:25:07.009Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-188/archives/ [2022-05-10T09:25:07.009Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-188/archives/ [Pipeline] echo [2022-05-10T09:25:07.042Z] 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-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T09:25:07.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:25:07.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:25:07.921Z] . [Pipeline] withDockerContainer [2022-05-10T09:25:08.011Z] prd-ubuntu20.04-docker-8c-8g-46737 does not seem to be running inside a container [2022-05-10T09:25:08.052Z] $ 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-188/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-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T09:25:08.282Z] $ docker top a93b0774e29f2f3a298f8c805c98c65ed63f82790b785f45e7442e7000533350 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T09:25:08.675Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T09:25:08.982Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T09:25:09.296Z] + ls /var/log/sa-host [2022-05-10T09:25:09.296Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T09:25:09.579Z] provisioning config files... [2022-05-10T09:25:09.589Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config6493994280457319941tmp [Pipeline] { [Pipeline] echo [2022-05-10T09:25:09.641Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:25:09.952Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T09:25:09.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:25:10.411Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T09:25:10.442Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:25:10.756Z] ---> sudo-logs.sh [2022-05-10T09:25:10.756Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T09:25:10.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:25:11.152Z] ---> job-cost.sh [2022-05-10T09:25:11.152Z] lf-activate-venv: SKIPPING [2022-05-10T09:25:11.152Z] DEBUG: total: 0.2199999988079071 [2022-05-10T09:25:11.152Z] INFO: Retrieving Stack Cost... [2022-05-10T09:25:11.724Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T09:25:11.985Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T09:25:12.019Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:25:12.335Z] ---> logs-deploy.sh [2022-05-10T09:25:12.335Z] lf-activate-venv: SKIPPING [2022-05-10T09:25:12.335Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-188/1 [2022-05-10T09:25:12.335Z] INFO: archiving workspace using pattern(s): [2022-05-10T09:25:13.275Z] Archives upload complete. [2022-05-10T09:25:13.275Z] INFO: archiving logs to Nexus