Pull request #192 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 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f rather than 540f16df46da8476d8402a3eb49782cfc5634d13 Obtained Jenkinsfile from 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 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-ssh3542361300957980085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh786577470232336245.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh 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-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15244063612893315253.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-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7835445662638742629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5741786403206010012.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1043355133372495960.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-543 in /w/workspace/gexfoundry_device-rest-go_PR-192 [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-192 # 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 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f into PR head commit 540f16df46da8476d8402a3eb49782cfc5634d13 Merge succeeded, producing 540f16df46da8476d8402a3eb49782cfc5634d13 Checking out Revision 540f16df46da8476d8402a3eb49782cfc5634d13 (PR-192) > 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/192/head:refs/remotes/origin/PR-192 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 540f16df46da8476d8402a3eb49782cfc5634d13 # 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 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 540f16df46da8476d8402a3eb49782cfc5634d13 # timeout=10 Commit message: "fix(snap): typo in install hook error log" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T13:28:52.788Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T13:28:52.963Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T13:28:53.060Z] ========================================================= [2022-06-01T13:28:53.060Z] EdgeX Global Pipelines Version Info [2022-06-01T13:28:53.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:28:53.882Z] ------------------- [2022-06-01T13:28:53.882Z] stable info: [2022-06-01T13:28:53.882Z] ------------------- [2022-06-01T13:28:53.883Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T13:28:53.883Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T13:28:53.883Z] Message: update stable to v1.0.230 [2022-06-01T13:28:54.452Z] ------------------- [2022-06-01T13:28:54.452Z] experimental info: [2022-06-01T13:28:54.452Z] ------------------- [2022-06-01T13:28:54.452Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T13:28:54.452Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T13:28:54.452Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T13:28:54.739Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-01T13:28:54.778Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-01T13:28:54.813Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T13:28:54.851Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T13:28:54.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T13:28:54.934Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T13:28:55.011Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T13:28:55.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T13:28:55.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T13:28:55.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T13:28:55.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T13:28:55.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-01T13:28:55.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T13:28:55.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T13:28:55.356Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T13:28:55.405Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T13:28:55.444Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T13:28:55.482Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T13:28:55.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T13:28:55.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-01T13:28:55.597Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T13:28:55.634Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T13:28:55.674Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T13:28:55.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T13:28:55.746Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T13:28:55.782Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T13:28:55.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-192 [Pipeline] echo [2022-06-01T13:28:55.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-192 [Pipeline] echo [2022-06-01T13:28:55.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-192 [Pipeline] echo [2022-06-01T13:28:55.940Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 540f16df46da8476d8402a3eb49782cfc5634d13 [Pipeline] echo [2022-06-01T13:28:55.980Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 540f16d [Pipeline] echo [2022-06-01T13:28:56.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T13:28:56.133Z] provisioning config files... [2022-06-01T13:28:56.147Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp/config5525506637499151905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:28:56.554Z] ---> docker-login.sh [2022-06-01T13:28:56.554Z] nexus3.edgexfoundry.org:10001 [2022-06-01T13:28:56.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:28:56.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:28:56.824Z] Configure a credential helper to remove this warning. See [2022-06-01T13:28:56.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:28:56.824Z] [2022-06-01T13:28:56.824Z] Login Succeeded [2022-06-01T13:28:56.824Z] nexus3.edgexfoundry.org:10002 [2022-06-01T13:28:56.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:28:57.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:28:57.086Z] Configure a credential helper to remove this warning. See [2022-06-01T13:28:57.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:28:57.086Z] [2022-06-01T13:28:57.086Z] Login Succeeded [2022-06-01T13:28:57.086Z] nexus3.edgexfoundry.org:10003 [2022-06-01T13:28:57.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:28:57.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:28:57.086Z] Configure a credential helper to remove this warning. See [2022-06-01T13:28:57.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:28:57.086Z] [2022-06-01T13:28:57.086Z] Login Succeeded [2022-06-01T13:28:57.086Z] nexus3.edgexfoundry.org:10004 [2022-06-01T13:28:57.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:28:57.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:28:57.347Z] Configure a credential helper to remove this warning. See [2022-06-01T13:28:57.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:28:57.347Z] [2022-06-01T13:28:57.347Z] Login Succeeded [2022-06-01T13:28:57.347Z] docker.io [2022-06-01T13:28:57.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:28:57.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:28:57.609Z] Configure a credential helper to remove this warning. See [2022-06-01T13:28:57.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:28:57.609Z] [2022-06-01T13:28:57.609Z] Login Succeeded [2022-06-01T13:28:57.609Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T13:28:57.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T13:28:58.266Z] + git rev-list -1 --merges 540f16df46da8476d8402a3eb49782cfc5634d13~1..540f16df46da8476d8402a3eb49782cfc5634d13 [Pipeline] echo [2022-06-01T13:28:58.316Z] -----------> git rev-list -1 --merges 540f16df46da8476d8402a3eb49782cfc5634d13~1..540f16df46da8476d8402a3eb49782cfc5634d13 540f16df46da8476d8402a3eb49782cfc5634d13 [false] [Pipeline] sh [2022-06-01T13:28:58.629Z] + git log --format=format:%s -1 540f16df46da8476d8402a3eb49782cfc5634d13 [Pipeline] echo [2022-06-01T13:28:58.668Z] ========================================================= [2022-06-01T13:28:58.668Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T13:28:58.668Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T13:28:59.123Z] + git log --format=format:%s -1 540f16df46da8476d8402a3eb49782cfc5634d13 [Pipeline] echo [2022-06-01T13:28:59.154Z] [semverPrep] GIT_COMMIT: 540f16df46da8476d8402a3eb49782cfc5634d13, Commit Message: fix(snap): typo in install hook error log [Pipeline] echo [2022-06-01T13:28:59.184Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T13:28:59.580Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T13:28:59.581Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T13:28:59.581Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T13:28:59.581Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T13:28:59.581Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T13:28:59.581Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T13:28:59.581Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:29:00.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T13:29:00.015Z] [2022-06-01T13:29:00.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:29:00.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T13:29:00.394Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T13:29:00.394Z] 1fe172e4850f: Pulling fs layer [2022-06-01T13:29:00.394Z] caf521ccaac6: Pulling fs layer [2022-06-01T13:29:00.394Z] 3ead6fa29328: Pulling fs layer [2022-06-01T13:29:00.394Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T13:29:00.394Z] a8d5f1318db7: Pulling fs layer [2022-06-01T13:29:00.394Z] c427282e49a2: Pulling fs layer [2022-06-01T13:29:00.394Z] 1827001aaf11: Pulling fs layer [2022-06-01T13:29:00.394Z] 0714d37db230: Pulling fs layer [2022-06-01T13:29:00.394Z] ac28cf19c067: Pulling fs layer [2022-06-01T13:29:00.394Z] ca983d60f3e2: Pulling fs layer [2022-06-01T13:29:00.394Z] 9f894cec8388: Pulling fs layer [2022-06-01T13:29:00.394Z] 5c2a1cbceb83: Waiting [2022-06-01T13:29:00.394Z] c427282e49a2: Waiting [2022-06-01T13:29:00.394Z] 1827001aaf11: Waiting [2022-06-01T13:29:00.394Z] ca983d60f3e2: Waiting [2022-06-01T13:29:00.394Z] 0714d37db230: Waiting [2022-06-01T13:29:00.394Z] 9f894cec8388: Waiting [2022-06-01T13:29:00.394Z] a8d5f1318db7: Waiting [2022-06-01T13:29:00.394Z] ac28cf19c067: Waiting [2022-06-01T13:29:00.394Z] caf521ccaac6: Download complete [2022-06-01T13:29:00.394Z] 5c2a1cbceb83: Verifying Checksum [2022-06-01T13:29:00.394Z] 5c2a1cbceb83: Download complete [2022-06-01T13:29:00.394Z] a8d5f1318db7: Verifying Checksum [2022-06-01T13:29:00.394Z] a8d5f1318db7: Download complete [2022-06-01T13:29:00.394Z] c427282e49a2: Download complete [2022-06-01T13:29:00.653Z] 3ead6fa29328: Verifying Checksum [2022-06-01T13:29:00.653Z] 3ead6fa29328: Download complete [2022-06-01T13:29:00.653Z] 0714d37db230: Download complete [2022-06-01T13:29:00.653Z] ac28cf19c067: Download complete [2022-06-01T13:29:00.653Z] ca983d60f3e2: Verifying Checksum [2022-06-01T13:29:00.653Z] ca983d60f3e2: Download complete [2022-06-01T13:29:00.653Z] 9f894cec8388: Verifying Checksum [2022-06-01T13:29:00.653Z] 9f894cec8388: Download complete [2022-06-01T13:29:00.653Z] 1fe172e4850f: Verifying Checksum [2022-06-01T13:29:00.653Z] 1fe172e4850f: Download complete [2022-06-01T13:29:00.913Z] 1827001aaf11: Verifying Checksum [2022-06-01T13:29:00.913Z] 1827001aaf11: Download complete [2022-06-01T13:29:01.853Z] 1fe172e4850f: Pull complete [2022-06-01T13:29:02.113Z] caf521ccaac6: Pull complete [2022-06-01T13:29:02.682Z] 3ead6fa29328: Pull complete [2022-06-01T13:29:02.682Z] 5c2a1cbceb83: Pull complete [2022-06-01T13:29:02.940Z] a8d5f1318db7: Pull complete [2022-06-01T13:29:02.940Z] c427282e49a2: Pull complete [2022-06-01T13:29:04.850Z] 1827001aaf11: Pull complete [2022-06-01T13:29:04.850Z] 0714d37db230: Pull complete [2022-06-01T13:29:05.109Z] ac28cf19c067: Pull complete [2022-06-01T13:29:05.109Z] ca983d60f3e2: Pull complete [2022-06-01T13:29:05.109Z] 9f894cec8388: Pull complete [2022-06-01T13:29:05.109Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T13:29:05.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T13:29:05.109Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:29:05.331Z] prd-ubuntu20.04-docker-8c-8g-543 does not seem to be running inside a container [2022-06-01T13:29:05.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-192 -v /w/workspace/gexfoundry_device-rest-go_PR-192:/w/workspace/gexfoundry_device-rest-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-192@tmp:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T13:29:07.274Z] $ docker top b3c5743d0332207c387f08062bdd61e1ceadad7966ccb4be7969c699ce037115 -eo pid,comm [2022-06-01T13:29:07.332Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-01T13:29:07.332Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T13:29:07.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T13:29:07.453Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T13:29:07.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T13:29:07.581Z] $ docker exec b3c5743d0332207c387f08062bdd61e1ceadad7966ccb4be7969c699ce037115 ssh-agent [2022-06-01T13:29:07.703Z] SSH_AUTH_SOCK=/tmp/ssh-8mw67RZ1oNOO/agent.33 [2022-06-01T13:29:07.703Z] SSH_AGENT_PID=40 [2022-06-01T13:29:07.711Z] Running ssh-add (command line suppressed) [2022-06-01T13:29:07.825Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-192@tmp/private_key_2788831845799455655.key (/w/workspace/gexfoundry_device-rest-go_PR-192@tmp/private_key_2788831845799455655.key) [2022-06-01T13:29:07.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T13:29:08.167Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T13:29:08.196Z] $ docker exec --env ******** --env ******** b3c5743d0332207c387f08062bdd61e1ceadad7966ccb4be7969c699ce037115 ssh-agent -k [2022-06-01T13:29:08.305Z] unset SSH_AUTH_SOCK; [2022-06-01T13:29:08.306Z] unset SSH_AGENT_PID; [2022-06-01T13:29:08.306Z] echo Agent pid 40 killed; [2022-06-01T13:29:08.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T13:29:08.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T13:29:08.400Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T13:29:08.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T13:29:08.524Z] $ docker exec b3c5743d0332207c387f08062bdd61e1ceadad7966ccb4be7969c699ce037115 ssh-agent [2022-06-01T13:29:08.656Z] SSH_AUTH_SOCK=/tmp/ssh-UslrFRYbue7o/agent.72 [2022-06-01T13:29:08.656Z] SSH_AGENT_PID=78 [2022-06-01T13:29:08.662Z] Running ssh-add (command line suppressed) [2022-06-01T13:29:08.790Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-192@tmp/private_key_163280964022984397.key (/w/workspace/gexfoundry_device-rest-go_PR-192@tmp/private_key_163280964022984397.key) [2022-06-01T13:29:08.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T13:29:09.141Z] + git semver init [2022-06-01T13:29:09.401Z] 2022-06-01 13:29:09,335 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T13:29:09.401Z] 2022-06-01 13:29:09,335 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-192/.semver [2022-06-01T13:29:09.401Z] 2022-06-01 13:29:09,336 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-192/.semver [2022-06-01T13:29:09.401Z] 2022-06-01 13:29:09,336 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-192/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-192, universal_newlines=False, shell=None, istream=None) [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,272 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-192/.git/info/exclude [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,273 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-192/.semver/PR-192 with force:False [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,273 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-192/.semver/PR-192 [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,278 [execute] INFO git cat-file --batch-check [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-192/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,285 [execute] INFO git cat-file --batch [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-192/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T13:29:10.342Z] 2022-06-01 13:29:10,291 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-192/.semver/PR-192 [2022-06-01T13:29:10.342Z] 0.0.0 [Pipeline] } [2022-06-01T13:29:10.369Z] $ docker exec --env ******** --env ******** b3c5743d0332207c387f08062bdd61e1ceadad7966ccb4be7969c699ce037115 ssh-agent -k [2022-06-01T13:29:10.478Z] unset SSH_AUTH_SOCK; [2022-06-01T13:29:10.478Z] unset SSH_AGENT_PID; [2022-06-01T13:29:10.479Z] echo Agent pid 78 killed; [2022-06-01T13:29:10.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T13:29:10.899Z] + git semver [Pipeline] } [2022-06-01T13:29:11.188Z] $ docker stop --time=1 b3c5743d0332207c387f08062bdd61e1ceadad7966ccb4be7969c699ce037115 [2022-06-01T13:29:12.549Z] $ docker rm -f b3c5743d0332207c387f08062bdd61e1ceadad7966ccb4be7969c699ce037115 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T13:29:12.959Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T13:29:13.277Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T13:29:13.292Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T13:29:13.829Z] provisioning config files... [2022-06-01T13:29:13.837Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp/config342816364529566659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:29:14.189Z] ---> docker-login.sh [2022-06-01T13:29:14.189Z] nexus3.edgexfoundry.org:10001 [2022-06-01T13:29:14.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:29:14.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:29:14.189Z] Configure a credential helper to remove this warning. See [2022-06-01T13:29:14.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:29:14.189Z] [2022-06-01T13:29:14.189Z] Login Succeeded [2022-06-01T13:29:14.189Z] nexus3.edgexfoundry.org:10002 [2022-06-01T13:29:14.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:29:14.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:29:14.189Z] Configure a credential helper to remove this warning. See [2022-06-01T13:29:14.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:29:14.189Z] [2022-06-01T13:29:14.189Z] Login Succeeded [2022-06-01T13:29:14.449Z] nexus3.edgexfoundry.org:10003 [2022-06-01T13:29:14.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:29:14.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:29:14.449Z] Configure a credential helper to remove this warning. See [2022-06-01T13:29:14.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:29:14.449Z] [2022-06-01T13:29:14.449Z] Login Succeeded [2022-06-01T13:29:14.449Z] nexus3.edgexfoundry.org:10004 [2022-06-01T13:29:14.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:29:14.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:29:14.710Z] Configure a credential helper to remove this warning. See [2022-06-01T13:29:14.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:29:14.710Z] [2022-06-01T13:29:14.710Z] Login Succeeded [2022-06-01T13:29:14.710Z] docker.io [2022-06-01T13:29:14.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:29:14.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:29:14.972Z] Configure a credential helper to remove this warning. See [2022-06-01T13:29:14.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:29:14.972Z] [2022-06-01T13:29:14.972Z] Login Succeeded [2022-06-01T13:29:14.972Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T13:29:14.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T13:29:15.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T13:29:15.226Z] ========================================================= [2022-06-01T13:29:15.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-01T13:29:15.226Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:29:15.682Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-01T13:29:15.682Z] Sending build context to Docker daemon 10.61MB [2022-06-01T13:29:15.682Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T13:29:15.682Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T13:29:15.682Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-01T13:29:15.682Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T13:29:15.682Z] 666ba61612fd: Pulling fs layer [2022-06-01T13:29:15.682Z] 8ed8ca486205: Pulling fs layer [2022-06-01T13:29:15.682Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T13:29:15.682Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T13:29:15.682Z] ca2b28591e48: Pulling fs layer [2022-06-01T13:29:15.682Z] a51346096db8: Pulling fs layer [2022-06-01T13:29:15.682Z] daebc70d1ce1: Pulling fs layer [2022-06-01T13:29:15.682Z] 0e18a0eac166: Pulling fs layer [2022-06-01T13:29:15.682Z] daebc70d1ce1: Waiting [2022-06-01T13:29:15.682Z] a51346096db8: Waiting [2022-06-01T13:29:15.682Z] 0e18a0eac166: Waiting [2022-06-01T13:29:15.682Z] ca2b28591e48: Waiting [2022-06-01T13:29:15.682Z] 4fe6c5a15a65: Waiting [2022-06-01T13:29:15.682Z] 22a0e8bec74d: Waiting [2022-06-01T13:29:15.947Z] 8ed8ca486205: Verifying Checksum [2022-06-01T13:29:15.947Z] 8ed8ca486205: Download complete [2022-06-01T13:29:15.947Z] 22a0e8bec74d: Verifying Checksum [2022-06-01T13:29:15.947Z] 22a0e8bec74d: Download complete [2022-06-01T13:29:15.947Z] ca2b28591e48: Verifying Checksum [2022-06-01T13:29:15.947Z] ca2b28591e48: Download complete [2022-06-01T13:29:15.947Z] 59bf1c3509f3: Verifying Checksum [2022-06-01T13:29:15.947Z] 59bf1c3509f3: Download complete [2022-06-01T13:29:15.947Z] a51346096db8: Verifying Checksum [2022-06-01T13:29:15.947Z] a51346096db8: Download complete [2022-06-01T13:29:15.947Z] daebc70d1ce1: Verifying Checksum [2022-06-01T13:29:15.947Z] daebc70d1ce1: Download complete [2022-06-01T13:29:15.947Z] 59bf1c3509f3: Pull complete [2022-06-01T13:29:16.208Z] 666ba61612fd: Pull complete [2022-06-01T13:29:16.208Z] 8ed8ca486205: Pull complete [2022-06-01T13:29:16.471Z] 0e18a0eac166: Verifying Checksum [2022-06-01T13:29:16.471Z] 0e18a0eac166: Download complete [2022-06-01T13:29:16.734Z] 4fe6c5a15a65: Verifying Checksum [2022-06-01T13:29:16.734Z] 4fe6c5a15a65: Download complete [2022-06-01T13:29:20.936Z] 4fe6c5a15a65: Pull complete [2022-06-01T13:29:20.936Z] 22a0e8bec74d: Pull complete [2022-06-01T13:29:20.936Z] ca2b28591e48: Pull complete [2022-06-01T13:29:20.936Z] a51346096db8: Pull complete [2022-06-01T13:29:20.936Z] daebc70d1ce1: Pull complete [2022-06-01T13:29:22.850Z] 0e18a0eac166: Pull complete [2022-06-01T13:29:22.850Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-01T13:29:22.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-01T13:29:22.850Z] ---> f018257e8ee9 [2022-06-01T13:29:22.850Z] Step 3/12 : ARG MAKE='make build' [2022-06-01T13:29:24.764Z] ---> Running in 5b811a2f7df5 [2022-06-01T13:29:24.764Z] Removing intermediate container 5b811a2f7df5 [2022-06-01T13:29:24.764Z] ---> e3e1696a1497 [2022-06-01T13:29:24.764Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T13:29:24.764Z] ---> Running in 20699f3835fa [2022-06-01T13:29:24.764Z] Removing intermediate container 20699f3835fa [2022-06-01T13:29:24.764Z] ---> 86924a453412 [2022-06-01T13:29:24.764Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T13:29:24.764Z] ---> Running in 6647d95e14af [2022-06-01T13:29:25.024Z] Removing intermediate container 6647d95e14af [2022-06-01T13:29:25.024Z] ---> 37a4a5aa322f [2022-06-01T13:29:25.024Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T13:29:25.024Z] ---> Running in 1f7a89f1415c [2022-06-01T13:29:25.592Z] Removing intermediate container 1f7a89f1415c [2022-06-01T13:29:25.592Z] ---> dd5aa1044bdc [2022-06-01T13:29:25.592Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T13:29:25.592Z] ---> Running in ab9bcc074b5a [2022-06-01T13:29:25.851Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T13:29:26.793Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T13:29:27.055Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T13:29:27.055Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T13:29:27.315Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T13:29:27.315Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T13:29:27.585Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T13:29:27.585Z] OK: 224 MiB in 56 packages [2022-06-01T13:29:28.155Z] Removing intermediate container ab9bcc074b5a [2022-06-01T13:29:28.155Z] ---> 13e505d7ada9 [2022-06-01T13:29:28.155Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-01T13:29:28.155Z] ---> Running in 6bbdf243cad3 [2022-06-01T13:29:28.155Z] Removing intermediate container 6bbdf243cad3 [2022-06-01T13:29:28.155Z] ---> 060e565e928c [2022-06-01T13:29:28.155Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-01T13:29:28.417Z] ---> cbf80e1903d8 [2022-06-01T13:29:28.417Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T13:29:28.417Z] ---> Running in c8243d71c98e [2022-06-01T13:29:28.658Z] Still waiting to schedule task [2022-06-01T13:29:28.658Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-01T13:29:46.541Z] Removing intermediate container c8243d71c98e [2022-06-01T13:29:46.546Z] ---> febb521e0578 [2022-06-01T13:29:46.546Z] Step 11/12 : COPY . . [2022-06-01T13:29:46.546Z] ---> 5d4e20ce192e [2022-06-01T13:29:46.546Z] Step 12/12 : RUN $MAKE [2022-06-01T13:29:46.546Z] ---> Running in 1e7f4f3f11a5 [2022-06-01T13:29:46.546Z] noop [2022-06-01T13:29:46.806Z] Removing intermediate container 1e7f4f3f11a5 [2022-06-01T13:29:46.806Z] ---> b87ed2011e87 [2022-06-01T13:29:46.806Z] Successfully built b87ed2011e87 [2022-06-01T13:29:46.806Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:29:47.239Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T13:29:47.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:29:47.387Z] prd-ubuntu20.04-docker-8c-8g-543 does not seem to be running inside a container [2022-06-01T13:29:47.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-192 -v /w/workspace/gexfoundry_device-rest-go_PR-192:/w/workspace/gexfoundry_device-rest-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-192@tmp:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-01T13:29:47.829Z] $ docker top df43b1c7f3d8887570053fcf33d65225d30aeb21f21bb6dcda1b6571d1bc2b98 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T13:29:48.227Z] + go version [2022-06-01T13:29:48.227Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T13:29:48.263Z] $ docker stop --time=1 df43b1c7f3d8887570053fcf33d65225d30aeb21f21bb6dcda1b6571d1bc2b98 [2022-06-01T13:29:49.579Z] $ docker rm -f df43b1c7f3d8887570053fcf33d65225d30aeb21f21bb6dcda1b6571d1bc2b98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:29:50.286Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T13:29:50.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:29:50.453Z] prd-ubuntu20.04-docker-8c-8g-543 does not seem to be running inside a container [2022-06-01T13:29:50.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-192 -v /w/workspace/gexfoundry_device-rest-go_PR-192:/w/workspace/gexfoundry_device-rest-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-192@tmp:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-01T13:29:50.939Z] $ docker top 29ef0bd756cf4befb11cefc848f5998028c7af61a1dbc87eb246eae752482391 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T13:29:51.435Z] + make test [2022-06-01T13:29:51.435Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-01T13:29:51.695Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T13:30:01.684Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T13:30:01.684Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 55.2% of statements [2022-06-01T13:30:08.251Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T13:30:11.536Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T13:30:11.536Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T13:30:11.536Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-01T13:30:12.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-01T13:30:12.164Z] $ docker stop --time=1 29ef0bd756cf4befb11cefc848f5998028c7af61a1dbc87eb246eae752482391 [2022-06-01T13:30:14.040Z] $ docker rm -f 29ef0bd756cf4befb11cefc848f5998028c7af61a1dbc87eb246eae752482391 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T13:30:14.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T13:30:14.634Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-01T13:30:15.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T13:30:15.609Z] + ls -al . [2022-06-01T13:30:15.609Z] total 172 [2022-06-01T13:30:15.609Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 13:30 . [2022-06-01T13:30:15.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 13:28 .. [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 13:28 .dockerignore [2022-06-01T13:30:15.609Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 13:29 .git [2022-06-01T13:30:15.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 13:28 .github [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 1 13:28 .gitignore [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 1 13:28 .golangci.yml [2022-06-01T13:30:15.609Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 13:29 .semver [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 1 13:28 Attribution.txt [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 1 13:28 CHANGELOG.md [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 1 13:28 Dockerfile [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 13:28 GOVERNANCE.md [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 13:28 Jenkinsfile [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 13:28 LICENSE [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 1 13:28 Makefile [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 13:28 OWNERS.md [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 1 13:28 README.md [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 13:29 VERSION [2022-06-01T13:30:15.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 13:28 bin [2022-06-01T13:30:15.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 13:28 cmd [2022-06-01T13:30:15.609Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 1 13:30 coverage.out [2022-06-01T13:30:15.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 13:28 driver [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 1 13:28 go.mod [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 34802 Jun 1 13:28 go.sum [2022-06-01T13:30:15.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 13:28 snap [2022-06-01T13:30:15.609Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 13:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:30:15.998Z] + 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=540f16df46da8476d8402a3eb49782cfc5634d13 --label arch=amd64 --label version=0.0.0 . [2022-06-01T13:30:15.998Z] Sending build context to Docker daemon 10.62MB [2022-06-01T13:30:15.998Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T13:30:15.998Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-01T13:30:15.998Z] ---> b87ed2011e87 [2022-06-01T13:30:15.998Z] Step 3/25 : ARG MAKE='make build' [2022-06-01T13:30:16.259Z] ---> Running in 73843a493e2f [2022-06-01T13:30:16.259Z] Removing intermediate container 73843a493e2f [2022-06-01T13:30:16.259Z] ---> faab4bc5854b [2022-06-01T13:30:16.259Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T13:30:16.259Z] ---> Running in d652a509898b [2022-06-01T13:30:16.259Z] Removing intermediate container d652a509898b [2022-06-01T13:30:16.259Z] ---> 85f747a5edbe [2022-06-01T13:30:16.259Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T13:30:16.518Z] ---> Running in 25bd8066820c [2022-06-01T13:30:16.518Z] Removing intermediate container 25bd8066820c [2022-06-01T13:30:16.518Z] ---> d8de8ff040e8 [2022-06-01T13:30:16.518Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T13:30:16.519Z] ---> Running in f787038456f3 [2022-06-01T13:30:17.088Z] Removing intermediate container f787038456f3 [2022-06-01T13:30:17.088Z] ---> 6b082a8e40ee [2022-06-01T13:30:17.088Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T13:30:17.088Z] ---> Running in 36fe8363b9f5 [2022-06-01T13:30:17.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T13:30:18.290Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T13:30:18.551Z] OK: 224 MiB in 56 packages [2022-06-01T13:30:19.121Z] Removing intermediate container 36fe8363b9f5 [2022-06-01T13:30:19.121Z] ---> c23797e30d22 [2022-06-01T13:30:19.121Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-01T13:30:19.121Z] ---> Running in eaa658ddee30 [2022-06-01T13:30:19.121Z] Removing intermediate container eaa658ddee30 [2022-06-01T13:30:19.121Z] ---> 723434db0253 [2022-06-01T13:30:19.121Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-01T13:30:19.381Z] ---> 619a8db0487c [2022-06-01T13:30:19.381Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T13:30:19.381Z] ---> Running in d32d247a8942 [2022-06-01T13:30:19.950Z] Removing intermediate container d32d247a8942 [2022-06-01T13:30:19.950Z] ---> 358af548618e [2022-06-01T13:30:19.950Z] Step 11/25 : COPY . . [2022-06-01T13:30:20.520Z] ---> af3cfb2798d3 [2022-06-01T13:30:20.520Z] Step 12/25 : RUN $MAKE [2022-06-01T13:30:20.520Z] ---> Running in f6ce2724db49 [2022-06-01T13:30:20.779Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-01T13:30:42.737Z] Removing intermediate container f6ce2724db49 [2022-06-01T13:30:42.737Z] ---> e26e339142c5 [2022-06-01T13:30:42.737Z] Step 13/25 : FROM alpine:3.14 [2022-06-01T13:30:42.737Z] 3.14: Pulling from library/alpine [2022-06-01T13:30:42.737Z] 8663204ce13b: Pulling fs layer [2022-06-01T13:30:42.737Z] 8663204ce13b: Verifying Checksum [2022-06-01T13:30:42.737Z] 8663204ce13b: Download complete [2022-06-01T13:30:42.737Z] 8663204ce13b: Pull complete [2022-06-01T13:30:42.737Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T13:30:42.737Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T13:30:42.737Z] ---> e04c818066af [2022-06-01T13:30:42.737Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T13:30:42.737Z] ---> Running in 8a737968acd9 [2022-06-01T13:30:42.737Z] Removing intermediate container 8a737968acd9 [2022-06-01T13:30:42.737Z] ---> b58a87d322dd [2022-06-01T13:30:42.737Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T13:30:42.737Z] ---> Running in 448afbb1b326 [2022-06-01T13:30:42.737Z] Removing intermediate container 448afbb1b326 [2022-06-01T13:30:42.737Z] ---> d892b469dbd6 [2022-06-01T13:30:42.737Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T13:30:42.737Z] ---> Running in 6ccf74109657 [2022-06-01T13:30:42.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-01T13:30:42.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-01T13:30:42.737Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T13:30:42.737Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T13:30:42.737Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T13:30:42.737Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T13:30:42.737Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T13:30:42.737Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T13:30:42.737Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T13:30:42.738Z] OK: 8 MiB in 20 packages [2022-06-01T13:30:42.738Z] Removing intermediate container 6ccf74109657 [2022-06-01T13:30:42.738Z] ---> 9259e730e8f5 [2022-06-01T13:30:42.738Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T13:30:43.310Z] ---> 5fb3279a7bd1 [2022-06-01T13:30:43.310Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T13:30:43.310Z] ---> b9c2b5590317 [2022-06-01T13:30:43.310Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T13:30:43.569Z] ---> 8bce9f64adbf [2022-06-01T13:30:43.569Z] Step 20/25 : EXPOSE 59986 [2022-06-01T13:30:43.569Z] ---> Running in 8d269f6d636f [2022-06-01T13:30:43.829Z] Removing intermediate container 8d269f6d636f [2022-06-01T13:30:43.829Z] ---> 929b86c0edb4 [2022-06-01T13:30:43.829Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-01T13:30:43.829Z] ---> Running in fca7276003c8 [2022-06-01T13:30:43.829Z] Removing intermediate container fca7276003c8 [2022-06-01T13:30:43.829Z] ---> 3907aa0e22cd [2022-06-01T13:30:43.829Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T13:30:43.829Z] ---> Running in 1b2445c5fabd [2022-06-01T13:30:44.089Z] Removing intermediate container 1b2445c5fabd [2022-06-01T13:30:44.089Z] ---> ce27d48d8d64 [2022-06-01T13:30:44.089Z] Step 23/25 : LABEL arch=amd64 [2022-06-01T13:30:44.089Z] ---> Running in b1bf5b12b995 [2022-06-01T13:30:44.089Z] Removing intermediate container b1bf5b12b995 [2022-06-01T13:30:44.089Z] ---> ff3a5845e564 [2022-06-01T13:30:44.089Z] Step 24/25 : LABEL git_sha=540f16df46da8476d8402a3eb49782cfc5634d13 [2022-06-01T13:30:44.089Z] ---> Running in 5bbf276fbe5d [2022-06-01T13:30:44.349Z] Removing intermediate container 5bbf276fbe5d [2022-06-01T13:30:44.349Z] ---> 1806b5f03def [2022-06-01T13:30:44.349Z] Step 25/25 : LABEL version=0.0.0 [2022-06-01T13:30:44.349Z] ---> Running in ceb70bc28f99 [2022-06-01T13:30:44.349Z] Removing intermediate container ceb70bc28f99 [2022-06-01T13:30:44.349Z] ---> 240a9d1cbdcc [2022-06-01T13:30:44.349Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T13:30:44.349Z] Successfully built 240a9d1cbdcc [2022-06-01T13:30:44.349Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:30:45.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T13:30:45.183Z] [2022-06-01T13:30:45.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:30:45.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T13:30:45.601Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T13:30:45.601Z] 5eb5b503b376: Pulling fs layer [2022-06-01T13:30:45.601Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T13:30:45.601Z] ec43610c2a17: Pulling fs layer [2022-06-01T13:30:45.601Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T13:30:45.601Z] 33b1e0a273af: Pulling fs layer [2022-06-01T13:30:45.601Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T13:30:45.601Z] 2f39f015ded8: Pulling fs layer [2022-06-01T13:30:45.601Z] 33b1e0a273af: Waiting [2022-06-01T13:30:45.601Z] 2f39f015ded8: Waiting [2022-06-01T13:30:45.601Z] 5d3b04190fa2: Waiting [2022-06-01T13:30:45.602Z] 3a2ae6a8a46f: Waiting [2022-06-01T13:30:45.602Z] 5c69ac0246d0: Verifying Checksum [2022-06-01T13:30:45.602Z] 5c69ac0246d0: Download complete [2022-06-01T13:30:45.602Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-01T13:30:45.602Z] 3a2ae6a8a46f: Download complete [2022-06-01T13:30:45.602Z] 33b1e0a273af: Verifying Checksum [2022-06-01T13:30:45.602Z] 33b1e0a273af: Download complete [2022-06-01T13:30:45.602Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T13:30:45.602Z] 5d3b04190fa2: Download complete [2022-06-01T13:30:45.862Z] ec43610c2a17: Verifying Checksum [2022-06-01T13:30:45.862Z] 5eb5b503b376: Verifying Checksum [2022-06-01T13:30:45.862Z] 5eb5b503b376: Download complete [2022-06-01T13:30:46.429Z] 2f39f015ded8: Verifying Checksum [2022-06-01T13:30:46.429Z] 2f39f015ded8: Download complete [2022-06-01T13:30:47.000Z] 5eb5b503b376: Pull complete [2022-06-01T13:30:47.258Z] 5c69ac0246d0: Pull complete [2022-06-01T13:30:47.832Z] ec43610c2a17: Pull complete [2022-06-01T13:30:47.832Z] 3a2ae6a8a46f: Pull complete [2022-06-01T13:30:48.092Z] 33b1e0a273af: Pull complete [2022-06-01T13:30:48.092Z] 5d3b04190fa2: Pull complete [2022-06-01T13:30:52.285Z] 2f39f015ded8: Pull complete [2022-06-01T13:30:52.285Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T13:30:52.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T13:30:52.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:30:52.507Z] prd-ubuntu20.04-docker-8c-8g-543 does not seem to be running inside a container [2022-06-01T13:30:52.546Z] $ 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-192 -v /w/workspace/gexfoundry_device-rest-go_PR-192:/w/workspace/gexfoundry_device-rest-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-192@tmp:/w/workspace/gexfoundry_device-rest-go_PR-192@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-06-01T13:30:54.479Z] $ docker top d3c41de4ba7e5c020e757813f0cb2ee0eb0c8ce0602042b09980ca58cec12e03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:30:54.923Z] ---> job-cost.sh [2022-06-01T13:30:54.923Z] lf-activate-venv: SKIPPING [2022-06-01T13:30:54.923Z] INFO: No Stack... [2022-06-01T13:30:55.184Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T13:30:55.753Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T13:30:56.065Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-192/archives/cost.csv [2022-06-01T13:30:56.065Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T13:30:56.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] [2022-06-01T13:30:56.105Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] did not exist. Created. [2022-06-01T13:30:56.105Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T13:30:56.478Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T13:30:56.522Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T13:30:56.551Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T13:30:56.632Z] $ docker stop --time=1 d3c41de4ba7e5c020e757813f0cb2ee0eb0c8ce0602042b09980ca58cec12e03 [2022-06-01T13:30:57.792Z] $ docker rm -f d3c41de4ba7e5c020e757813f0cb2ee0eb0c8ce0602042b09980ca58cec12e03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T13:31:05.555Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-544 in /w/workspace/gexfoundry_device-rest-go_PR-192 [Pipeline] { [Pipeline] ws [2022-06-01T13:31:05.597Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-01T13:31:05.676Z] The recommended git tool is: git [2022-06-01T13:31:12.753Z] using credential edgex-jenkins-ssh [2022-06-01T13:31:12.777Z] Cloning the remote Git repository [2022-06-01T13:31:12.850Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T13:31:12.946Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-01T13:31:13.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T13:31:13.078Z] > git --version # timeout=10 [2022-06-01T13:31:13.111Z] > git --version # 'git version 2.25.1' [2022-06-01T13:31:13.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T13:31:13.279Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T13:31:15.666Z] Merging remotes/origin/main commit 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f into PR head commit 540f16df46da8476d8402a3eb49782cfc5634d13 [2022-06-01T13:31:15.896Z] Merge succeeded, producing 540f16df46da8476d8402a3eb49782cfc5634d13 [2022-06-01T13:31:15.896Z] Checking out Revision 540f16df46da8476d8402a3eb49782cfc5634d13 (PR-192) [2022-06-01T13:31:15.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-01T13:31:15.108Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T13:31:15.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-01T13:31:15.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T13:31:15.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T13:31:15.189Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-01T13:31:15.688Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T13:31:15.714Z] > git checkout -f 540f16df46da8476d8402a3eb49782cfc5634d13 # timeout=10 [2022-06-01T13:31:15.799Z] > git remote # timeout=10 [2022-06-01T13:31:15.815Z] > git config --get remote.origin.url # timeout=10 [2022-06-01T13:31:15.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T13:31:15.847Z] > git merge 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 [2022-06-01T13:31:15.874Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-01T13:31:15.907Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T13:31:15.920Z] > git checkout -f 540f16df46da8476d8402a3eb49782cfc5634d13 # timeout=10 [2022-06-01T13:31:20.054Z] Commit message: "fix(snap): typo in install hook error log" [2022-06-01T13:31:20.117Z] > git --version # timeout=10 [2022-06-01T13:31:20.128Z] > git --version # 'git version 2.25.1' [2022-06-01T13:31:20.149Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T13:31:21.171Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T13:31:21.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T13:31:21.171Z] Dload Upload Total Spent Left Speed [2022-06-01T13:31:21.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 44075 0 --:--:-- --:--:-- --:--:-- 43917 [Pipeline] sh [2022-06-01T13:31:22.156Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T13:31:22.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-01T13:31:22.516Z] + sudo tee /etc/docker/daemon.new [2022-06-01T13:31:22.516Z] { [2022-06-01T13:31:22.516Z] "registry-mirrors": [ [2022-06-01T13:31:22.516Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T13:31:22.516Z] ], [2022-06-01T13:31:22.516Z] "bip": "10.250.0.254/24", [2022-06-01T13:31:22.516Z] "hosts": [ [2022-06-01T13:31:22.516Z] "tcp://0.0.0.0:5555", [2022-06-01T13:31:22.516Z] "unix:///var/run/docker.sock" [2022-06-01T13:31:22.516Z] ], [2022-06-01T13:31:22.516Z] "mtu": 1458, [2022-06-01T13:31:22.516Z] "selinux-enabled": true, [2022-06-01T13:31:22.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T13:31:22.516Z] } [Pipeline] sh [2022-06-01T13:31:22.870Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T13:31:23.227Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T13:31:41.621Z] provisioning config files... [2022-06-01T13:31:41.647Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8258518645852226144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:31:42.043Z] ---> docker-login.sh [2022-06-01T13:31:42.043Z] nexus3.edgexfoundry.org:10001 [2022-06-01T13:31:42.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:31:42.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:31:42.920Z] Configure a credential helper to remove this warning. See [2022-06-01T13:31:42.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:31:42.920Z] [2022-06-01T13:31:42.920Z] Login Succeeded [2022-06-01T13:31:42.920Z] nexus3.edgexfoundry.org:10002 [2022-06-01T13:31:43.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:31:43.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:31:43.471Z] Configure a credential helper to remove this warning. See [2022-06-01T13:31:43.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:31:43.471Z] [2022-06-01T13:31:43.471Z] Login Succeeded [2022-06-01T13:31:43.471Z] nexus3.edgexfoundry.org:10003 [2022-06-01T13:31:43.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:31:43.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:31:43.747Z] Configure a credential helper to remove this warning. See [2022-06-01T13:31:43.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:31:43.747Z] [2022-06-01T13:31:43.747Z] Login Succeeded [2022-06-01T13:31:43.747Z] nexus3.edgexfoundry.org:10004 [2022-06-01T13:31:44.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:31:44.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:31:44.347Z] Configure a credential helper to remove this warning. See [2022-06-01T13:31:44.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:31:44.347Z] [2022-06-01T13:31:44.347Z] Login Succeeded [2022-06-01T13:31:44.347Z] docker.io [2022-06-01T13:31:44.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T13:31:45.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T13:31:45.218Z] Configure a credential helper to remove this warning. See [2022-06-01T13:31:45.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T13:31:45.218Z] [2022-06-01T13:31:45.218Z] Login Succeeded [2022-06-01T13:31:45.218Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T13:31:45.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T13:31:45.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T13:31:45.666Z] ========================================================= [2022-06-01T13:31:45.666Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-01T13:31:45.666Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:31:46.198Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-01T13:31:46.198Z] Sending build context to Docker daemon 128.5kB [2022-06-01T13:31:46.470Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T13:31:46.470Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T13:31:46.748Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T13:31:46.748Z] 9b3977197b4f: Pulling fs layer [2022-06-01T13:31:46.748Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T13:31:46.748Z] 94645a83ff95: Pulling fs layer [2022-06-01T13:31:46.748Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T13:31:46.748Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T13:31:46.748Z] 3096ccb668a1: Pulling fs layer [2022-06-01T13:31:46.748Z] e8cf19c19ddd: Pulling fs layer [2022-06-01T13:31:46.748Z] a4caa8a26152: Pulling fs layer [2022-06-01T13:31:46.748Z] 0c92f367c5e7: Waiting [2022-06-01T13:31:46.748Z] 3096ccb668a1: Waiting [2022-06-01T13:31:46.748Z] e8cf19c19ddd: Waiting [2022-06-01T13:31:46.748Z] a4caa8a26152: Waiting [2022-06-01T13:31:46.748Z] 3f3a8bcf1eab: Waiting [2022-06-01T13:31:46.748Z] 94645a83ff95: Verifying Checksum [2022-06-01T13:31:46.748Z] 94645a83ff95: Download complete [2022-06-01T13:31:46.748Z] 1a89e8eeedd5: Download complete [2022-06-01T13:31:46.748Z] 0c92f367c5e7: Verifying Checksum [2022-06-01T13:31:46.748Z] 0c92f367c5e7: Download complete [2022-06-01T13:31:46.748Z] 3096ccb668a1: Download complete [2022-06-01T13:31:46.748Z] 9b3977197b4f: Verifying Checksum [2022-06-01T13:31:46.748Z] 9b3977197b4f: Download complete [2022-06-01T13:31:46.748Z] e8cf19c19ddd: Verifying Checksum [2022-06-01T13:31:46.748Z] e8cf19c19ddd: Download complete [2022-06-01T13:31:47.353Z] 9b3977197b4f: Pull complete [2022-06-01T13:31:47.959Z] 1a89e8eeedd5: Pull complete [2022-06-01T13:31:48.561Z] 94645a83ff95: Pull complete [2022-06-01T13:31:48.836Z] a4caa8a26152: Verifying Checksum [2022-06-01T13:31:48.836Z] a4caa8a26152: Download complete [2022-06-01T13:31:49.434Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T13:31:49.434Z] 3f3a8bcf1eab: Download complete [2022-06-01T13:32:01.845Z] 3f3a8bcf1eab: Pull complete [2022-06-01T13:32:01.845Z] 0c92f367c5e7: Pull complete [2022-06-01T13:32:01.845Z] 3096ccb668a1: Pull complete [2022-06-01T13:32:01.845Z] e8cf19c19ddd: Pull complete [2022-06-01T13:32:08.598Z] a4caa8a26152: Pull complete [2022-06-01T13:32:08.598Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-01T13:32:08.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-01T13:32:08.598Z] ---> 725f1c02e7f9 [2022-06-01T13:32:08.598Z] Step 3/12 : ARG MAKE='make build' [2022-06-01T13:32:08.934Z] ---> Running in 7c44242b9df9 [2022-06-01T13:32:09.209Z] Removing intermediate container 7c44242b9df9 [2022-06-01T13:32:09.209Z] ---> a6c4e4a42452 [2022-06-01T13:32:09.209Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T13:32:09.209Z] ---> Running in 62315196ecfd [2022-06-01T13:32:09.493Z] Removing intermediate container 62315196ecfd [2022-06-01T13:32:09.493Z] ---> 3eac8182bcf4 [2022-06-01T13:32:09.493Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T13:32:09.493Z] ---> Running in bc1ccd0afc35 [2022-06-01T13:32:09.771Z] Removing intermediate container bc1ccd0afc35 [2022-06-01T13:32:09.771Z] ---> c3d1f81ceee5 [2022-06-01T13:32:09.771Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T13:32:10.047Z] ---> Running in 0a268d051d12 [2022-06-01T13:32:12.031Z] Removing intermediate container 0a268d051d12 [2022-06-01T13:32:12.031Z] ---> 4c5c5ea9f0ca [2022-06-01T13:32:12.031Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T13:32:12.031Z] ---> Running in 1f06e09c9008 [2022-06-01T13:32:12.628Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T13:32:13.607Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T13:32:14.616Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T13:32:14.616Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T13:32:14.616Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T13:32:14.897Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T13:32:14.897Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T13:32:14.897Z] OK: 224 MiB in 56 packages [2022-06-01T13:32:16.359Z] Removing intermediate container 1f06e09c9008 [2022-06-01T13:32:16.359Z] ---> 834af7c4add9 [2022-06-01T13:32:16.359Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-01T13:32:16.359Z] ---> Running in 1e1f6db2fbc2 [2022-06-01T13:32:16.634Z] Removing intermediate container 1e1f6db2fbc2 [2022-06-01T13:32:16.634Z] ---> c6cee1133c0c [2022-06-01T13:32:16.634Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-01T13:32:17.232Z] ---> 25cbf03745d7 [2022-06-01T13:32:17.232Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T13:32:17.232Z] ---> Running in 4e6f892a6c06 [2022-06-01T13:33:04.245Z] Removing intermediate container 4e6f892a6c06 [2022-06-01T13:33:04.245Z] ---> 9619d57e885b [2022-06-01T13:33:04.245Z] Step 11/12 : COPY . . [2022-06-01T13:33:04.245Z] ---> 85c633caaad6 [2022-06-01T13:33:04.245Z] Step 12/12 : RUN $MAKE [2022-06-01T13:33:04.245Z] ---> Running in 2b2a4835234e [2022-06-01T13:33:04.245Z] noop [2022-06-01T13:33:04.245Z] Removing intermediate container 2b2a4835234e [2022-06-01T13:33:04.245Z] ---> f39cde419ab8 [2022-06-01T13:33:04.245Z] Successfully built f39cde419ab8 [2022-06-01T13:33:04.245Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:33:04.718Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T13:33:04.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:33:05.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-544 does not seem to be running inside a container [2022-06-01T13:33:05.116Z] $ 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-06-01T13:33:06.437Z] $ docker top 9ee6ec507cfbb690a54859d642c2a4fe21296018630cd0b0281f1321ff75afa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T13:33:07.396Z] + go version [2022-06-01T13:33:07.396Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T13:33:07.441Z] $ docker stop --time=1 9ee6ec507cfbb690a54859d642c2a4fe21296018630cd0b0281f1321ff75afa3 [2022-06-01T13:33:09.090Z] $ docker rm -f 9ee6ec507cfbb690a54859d642c2a4fe21296018630cd0b0281f1321ff75afa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:33:09.974Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T13:33:09.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:33:10.280Z] prd-ubuntu20.04-docker-arm64-4c-16g-544 does not seem to be running inside a container [2022-06-01T13:33:10.367Z] $ 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-06-01T13:33:11.681Z] $ docker top e18846350a4eb2851140db4b63149d1a427b141ba89b92a4d984042cd5a57b23 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T13:33:12.671Z] + make test [2022-06-01T13:33:12.671Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-01T13:33:14.113Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T13:34:35.957Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T13:34:35.957Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-06-01T13:34:35.957Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-01T13:34:35.957Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T13:34:58.157Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T13:34:58.157Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T13:34:58.157Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-01T13:35:00.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-01T13:35:00.850Z] $ docker stop --time=1 e18846350a4eb2851140db4b63149d1a427b141ba89b92a4d984042cd5a57b23 [2022-06-01T13:35:02.606Z] $ docker rm -f e18846350a4eb2851140db4b63149d1a427b141ba89b92a4d984042cd5a57b23 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T13:35:03.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T13:35:03.595Z] Warning: overwriting stash ‘coverage-report’ [2022-06-01T13:35:04.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T13:35:04.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T13:35:04.963Z] + ls -al . [2022-06-01T13:35:04.963Z] total 168 [2022-06-01T13:35:04.963Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 13:35 . [2022-06-01T13:35:04.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 13:31 .. [2022-06-01T13:35:04.963Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 13:31 .dockerignore [2022-06-01T13:35:04.963Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 13:31 .git [2022-06-01T13:35:04.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 13:31 .github [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 1 13:31 .gitignore [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 1 13:31 .golangci.yml [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 1 13:31 Attribution.txt [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 1 13:31 CHANGELOG.md [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 1 13:31 Dockerfile [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 13:31 GOVERNANCE.md [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 13:31 Jenkinsfile [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 13:31 LICENSE [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 1 13:31 Makefile [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 13:31 OWNERS.md [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 1 13:31 README.md [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 13:29 VERSION [2022-06-01T13:35:04.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 13:31 bin [2022-06-01T13:35:04.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 13:31 cmd [2022-06-01T13:35:04.964Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 1 13:34 coverage.out [2022-06-01T13:35:04.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 13:31 driver [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 1 13:31 go.mod [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 34802 Jun 1 13:31 go.sum [2022-06-01T13:35:04.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 13:31 snap [2022-06-01T13:35:04.964Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 13:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:35:05.391Z] + 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=540f16df46da8476d8402a3eb49782cfc5634d13 --label arch=arm64 --label version=0.0.0 . [2022-06-01T13:35:05.391Z] Sending build context to Docker daemon 138.8kB [2022-06-01T13:35:05.666Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T13:35:05.666Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-01T13:35:05.666Z] ---> f39cde419ab8 [2022-06-01T13:35:05.666Z] Step 3/25 : ARG MAKE='make build' [2022-06-01T13:35:05.666Z] ---> Running in a829ba7dd15e [2022-06-01T13:35:06.260Z] Removing intermediate container a829ba7dd15e [2022-06-01T13:35:06.260Z] ---> 66425959a08b [2022-06-01T13:35:06.260Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T13:35:06.260Z] ---> Running in d1021f87e49f [2022-06-01T13:35:06.534Z] Removing intermediate container d1021f87e49f [2022-06-01T13:35:06.534Z] ---> 20bb93ed9527 [2022-06-01T13:35:06.534Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T13:35:06.534Z] ---> Running in 37d2f44f3c37 [2022-06-01T13:35:06.813Z] Removing intermediate container 37d2f44f3c37 [2022-06-01T13:35:06.813Z] ---> 2b579b65e34f [2022-06-01T13:35:06.813Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T13:35:06.813Z] ---> Running in ad86a9639c2a [2022-06-01T13:35:08.785Z] Removing intermediate container ad86a9639c2a [2022-06-01T13:35:08.785Z] ---> ee35027e64fd [2022-06-01T13:35:08.785Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T13:35:08.785Z] ---> Running in f76963c0b0da [2022-06-01T13:35:09.378Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T13:35:10.352Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T13:35:11.332Z] OK: 224 MiB in 56 packages [2022-06-01T13:35:11.931Z] Removing intermediate container f76963c0b0da [2022-06-01T13:35:11.931Z] ---> cbb71c585402 [2022-06-01T13:35:11.931Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-01T13:35:11.931Z] ---> Running in f516be593a74 [2022-06-01T13:35:12.207Z] Removing intermediate container f516be593a74 [2022-06-01T13:35:12.207Z] ---> cc786b127a38 [2022-06-01T13:35:12.207Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-01T13:35:12.803Z] ---> 0b3d6a3b1a73 [2022-06-01T13:35:12.803Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T13:35:12.803Z] ---> Running in 947f957add89 [2022-06-01T13:35:14.783Z] Removing intermediate container 947f957add89 [2022-06-01T13:35:14.783Z] ---> 09fd7146e013 [2022-06-01T13:35:14.783Z] Step 11/25 : COPY . . [2022-06-01T13:35:15.389Z] ---> 231cf8b52c88 [2022-06-01T13:35:15.389Z] Step 12/25 : RUN $MAKE [2022-06-01T13:35:15.389Z] ---> Running in 4c37d8ba9b4b [2022-06-01T13:35:16.382Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-01T13:37:23.248Z] Removing intermediate container 4c37d8ba9b4b [2022-06-01T13:37:23.248Z] ---> ba0201589ba8 [2022-06-01T13:37:23.248Z] Step 13/25 : FROM alpine:3.14 [2022-06-01T13:37:23.248Z] 3.14: Pulling from library/alpine [2022-06-01T13:37:23.248Z] 455c02918c45: Pulling fs layer [2022-06-01T13:37:23.248Z] 455c02918c45: Verifying Checksum [2022-06-01T13:37:23.248Z] 455c02918c45: Download complete [2022-06-01T13:37:23.248Z] 455c02918c45: Pull complete [2022-06-01T13:37:23.248Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T13:37:23.248Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T13:37:23.248Z] ---> ac73e934f311 [2022-06-01T13:37:23.248Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T13:37:23.248Z] ---> Running in e57e00dec810 [2022-06-01T13:37:23.248Z] Removing intermediate container e57e00dec810 [2022-06-01T13:37:23.248Z] ---> eadfbbe5087a [2022-06-01T13:37:23.248Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T13:37:23.248Z] ---> Running in 65a06a6467bc [2022-06-01T13:37:23.248Z] Removing intermediate container 65a06a6467bc [2022-06-01T13:37:23.248Z] ---> 0def9ecbaf21 [2022-06-01T13:37:23.248Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T13:37:23.248Z] ---> Running in fc8eca922a14 [2022-06-01T13:37:23.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-01T13:37:23.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-01T13:37:23.248Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T13:37:23.248Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T13:37:23.248Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T13:37:23.248Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T13:37:23.248Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T13:37:23.248Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T13:37:23.248Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T13:37:23.248Z] OK: 8 MiB in 20 packages [2022-06-01T13:37:23.248Z] Removing intermediate container fc8eca922a14 [2022-06-01T13:37:23.248Z] ---> aa3f490fb0f7 [2022-06-01T13:37:23.248Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T13:37:23.248Z] ---> d547a842f2b7 [2022-06-01T13:37:23.248Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T13:37:23.248Z] ---> 8a39b35ef7c5 [2022-06-01T13:37:23.248Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T13:37:23.248Z] ---> 0ee55c6109b3 [2022-06-01T13:37:23.248Z] Step 20/25 : EXPOSE 59986 [2022-06-01T13:37:23.248Z] ---> Running in 245b8fb132f4 [2022-06-01T13:37:23.248Z] Removing intermediate container 245b8fb132f4 [2022-06-01T13:37:23.248Z] ---> 93ec5e9ea676 [2022-06-01T13:37:23.248Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-01T13:37:23.248Z] ---> Running in 4d42089c7a10 [2022-06-01T13:37:23.248Z] Removing intermediate container 4d42089c7a10 [2022-06-01T13:37:23.248Z] ---> 41639d0e9826 [2022-06-01T13:37:23.248Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T13:37:23.248Z] ---> Running in 5111a0b77ed4 [2022-06-01T13:37:23.248Z] Removing intermediate container 5111a0b77ed4 [2022-06-01T13:37:23.248Z] ---> 6536e928718e [2022-06-01T13:37:23.248Z] Step 23/25 : LABEL arch=arm64 [2022-06-01T13:37:23.248Z] ---> Running in 70486a6c22ac [2022-06-01T13:37:23.248Z] Removing intermediate container 70486a6c22ac [2022-06-01T13:37:23.248Z] ---> f346b836e60d [2022-06-01T13:37:23.248Z] Step 24/25 : LABEL git_sha=540f16df46da8476d8402a3eb49782cfc5634d13 [2022-06-01T13:37:23.248Z] ---> Running in 695f275cf734 [2022-06-01T13:37:23.248Z] Removing intermediate container 695f275cf734 [2022-06-01T13:37:23.248Z] ---> f8d54429addf [2022-06-01T13:37:23.248Z] Step 25/25 : LABEL version=0.0.0 [2022-06-01T13:37:23.248Z] ---> Running in ffff45da6109 [2022-06-01T13:37:23.248Z] Removing intermediate container ffff45da6109 [2022-06-01T13:37:23.248Z] ---> c8626495cadc [2022-06-01T13:37:23.248Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T13:37:23.248Z] Successfully built c8626495cadc [2022-06-01T13:37:23.248Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:37:24.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T13:37:24.030Z] [2022-06-01T13:37:24.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:37:24.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T13:37:24.725Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T13:37:24.725Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T13:37:24.725Z] 04944245beec: Pulling fs layer [2022-06-01T13:37:24.725Z] 699f458cf7ca: Pulling fs layer [2022-06-01T13:37:24.725Z] 765212b225bb: Pulling fs layer [2022-06-01T13:37:24.725Z] f23df028b6ca: Pulling fs layer [2022-06-01T13:37:24.725Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T13:37:24.725Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T13:37:24.725Z] f23df028b6ca: Waiting [2022-06-01T13:37:24.725Z] 2437ff75d9bd: Waiting [2022-06-01T13:37:24.725Z] d65c8cfc05b1: Waiting [2022-06-01T13:37:24.725Z] 765212b225bb: Waiting [2022-06-01T13:37:24.725Z] 04944245beec: Verifying Checksum [2022-06-01T13:37:24.725Z] 04944245beec: Download complete [2022-06-01T13:37:24.725Z] 765212b225bb: Verifying Checksum [2022-06-01T13:37:24.725Z] 765212b225bb: Download complete [2022-06-01T13:37:24.725Z] f23df028b6ca: Verifying Checksum [2022-06-01T13:37:24.725Z] f23df028b6ca: Download complete [2022-06-01T13:37:24.725Z] d65c8cfc05b1: Verifying Checksum [2022-06-01T13:37:24.725Z] d65c8cfc05b1: Download complete [2022-06-01T13:37:25.001Z] 699f458cf7ca: Verifying Checksum [2022-06-01T13:37:25.001Z] 699f458cf7ca: Download complete [2022-06-01T13:37:25.276Z] 8998bd30e6a1: Verifying Checksum [2022-06-01T13:37:25.276Z] 8998bd30e6a1: Download complete [2022-06-01T13:37:27.912Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T13:37:27.912Z] 2437ff75d9bd: Download complete [2022-06-01T13:37:29.902Z] 8998bd30e6a1: Pull complete [2022-06-01T13:37:30.178Z] 04944245beec: Pull complete [2022-06-01T13:37:31.617Z] 699f458cf7ca: Pull complete [2022-06-01T13:37:31.898Z] 765212b225bb: Pull complete [2022-06-01T13:37:32.882Z] f23df028b6ca: Pull complete [2022-06-01T13:37:32.882Z] d65c8cfc05b1: Pull complete [2022-06-01T13:37:47.996Z] 2437ff75d9bd: Pull complete [2022-06-01T13:37:47.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T13:37:47.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T13:37:47.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:37:48.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-544 does not seem to be running inside a container [2022-06-01T13:37:48.458Z] $ 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-06-01T13:37:51.004Z] $ docker top 80a0c1b87639f06d6b77c55d2e0d9ad42dcc231e96e68f3d9fcd3f71384de456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:37:51.993Z] ---> job-cost.sh [2022-06-01T13:37:51.993Z] lf-activate-venv: SKIPPING [2022-06-01T13:37:51.993Z] INFO: No Stack... [2022-06-01T13:37:52.591Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T13:37:53.571Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T13:37:54.254Z] + + catcut /w/workspace/device-rest-go/1/archives/cost.csv -d, [2022-06-01T13:37:54.254Z] -f6 [Pipeline] lock [2022-06-01T13:37:54.337Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] [2022-06-01T13:37:54.342Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] did not exist. Created. [2022-06-01T13:37:54.342Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T13:37:54.944Z] /w/workspace/device-rest-go/1@tmp/durable-abdab6c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T13:37:55.661Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T13:37:55.701Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T13:37:55.746Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T13:37:55.762Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-192-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T13:37:55.846Z] $ docker stop --time=1 80a0c1b87639f06d6b77c55d2e0d9ad42dcc231e96e68f3d9fcd3f71384de456 [2022-06-01T13:37:57.342Z] $ docker rm -f 80a0c1b87639f06d6b77c55d2e0d9ad42dcc231e96e68f3d9fcd3f71384de456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-01T13:37:58.294Z] provisioning config files... [2022-06-01T13:37:58.309Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp/config2694024930532532104tmp [Pipeline] { [Pipeline] sh [2022-06-01T13:37:58.644Z] + set +x [2022-06-01T13:37:58.644Z] + + bash -s --curl [2022-06-01T13:37:58.644Z] -s https://codecov.io/bash [2022-06-01T13:37:58.644Z] [2022-06-01T13:37:58.644Z] _____ _ [2022-06-01T13:37:58.644Z] / ____| | | [2022-06-01T13:37:58.644Z] | | ___ __| | ___ ___ _____ __ [2022-06-01T13:37:58.644Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-01T13:37:58.644Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-01T13:37:58.644Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-01T13:37:58.644Z] Bash-1.0.6 [2022-06-01T13:37:58.644Z] [2022-06-01T13:37:58.644Z] [2022-06-01T13:37:58.644Z] ==> git version 2.25.1 found [2022-06-01T13:37:58.644Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-01T13:37:58.644Z] Release-Date: 2020-01-08 [2022-06-01T13:37:58.644Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-01T13:37:58.644Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-01T13:37:58.644Z] ==> Jenkins CI detected. [2022-06-01T13:37:58.644Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-192 [2022-06-01T13:37:58.644Z] project root: . [2022-06-01T13:37:58.644Z] --> token set from env [2022-06-01T13:37:58.644Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-01T13:37:58.644Z] ==> Running gcov in . (disable via -X gcov) [2022-06-01T13:37:58.644Z] ==> Python coveragepy not found [2022-06-01T13:37:58.644Z] ==> Searching for coverage reports in: [2022-06-01T13:37:58.644Z] + . [2022-06-01T13:37:58.644Z] -> Found 1 reports [2022-06-01T13:37:58.644Z] ==> Detecting git/mercurial file structure [2022-06-01T13:37:58.644Z] ==> Reading reports [2022-06-01T13:37:58.644Z] + ./coverage.out bytes=9355 [2022-06-01T13:37:58.644Z] ==> Appending adjustments [2022-06-01T13:37:58.645Z] https://docs.codecov.io/docs/fixing-reports [2022-06-01T13:37:58.905Z] + Found adjustments [2022-06-01T13:37:58.905Z] ==> Gzipping contents [2022-06-01T13:37:58.905Z] 4.0K /tmp/codecov.OcULf9.gz [2022-06-01T13:37:58.905Z] ==> Uploading reports [2022-06-01T13:37:58.905Z] url: https://codecov.io [2022-06-01T13:37:58.905Z] query: branch=PR-192&commit=540f16df46da8476d8402a3eb49782cfc5634d13&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=192&job=&cmd_args= [2022-06-01T13:37:58.905Z] -> Pinging Codecov [2022-06-01T13:37:58.905Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-192&commit=540f16df46da8476d8402a3eb49782cfc5634d13&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=192&job=&cmd_args= [2022-06-01T13:37:59.164Z] -> Uploading to [2022-06-01T13:37:59.164Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-01/4E5D53B4F1F92C436F7061BF334D961C/540f16df46da8476d8402a3eb49782cfc5634d13/b9c5c29d-03c4-420a-9ff7-8c67c4c88746.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T133758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0c021c81514ce2910a25180c4034e945135fb38e26dbebd86c4e19699be7665 [2022-06-01T13:37:59.164Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T13:37:59.164Z] Dload Upload Total Spent Left Speed [2022-06-01T13:37:59.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7401 --:--:-- --:--:-- --:--:-- 7401 [2022-06-01T13:37:59.425Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/540f16df46da8476d8402a3eb49782cfc5634d13 [Pipeline] } [2022-06-01T13:37:59.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-01T13:38:01.017Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-192/archives ] [2022-06-01T13:38:01.017Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-192/archives [2022-06-01T13:38:01.017Z] total 16 [2022-06-01T13:38:01.017Z] drwxr-xr-x 3 root root 4096 Jun 1 13:30 . [2022-06-01T13:38:01.017Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 13:30 .. [2022-06-01T13:38:01.017Z] drwxr-xr-x 2 root root 4096 Jun 1 13:30 cost [2022-06-01T13:38:01.017Z] -rw-r--r-- 1 root root 85 Jun 1 13:30 cost.csv [2022-06-01T13:38:01.017Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-192/archives [2022-06-01T13:38:01.017Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-192/archives [2022-06-01T13:38:01.017Z] total 16 [2022-06-01T13:38:01.017Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 13:30 . [2022-06-01T13:38:01.017Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 13:30 .. [2022-06-01T13:38:01.017Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 13:30 cost [2022-06-01T13:38:01.017Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 1 13:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:38:01.346Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:38:02.237Z] ---> package-listing.sh [2022-06-01T13:38:02.237Z] ++ facter osfamily [2022-06-01T13:38:02.237Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T13:38:02.501Z] + OS_FAMILY=debian [2022-06-01T13:38:02.501Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-192 [2022-06-01T13:38:02.501Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T13:38:02.501Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T13:38:02.501Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T13:38:02.501Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T13:38:02.501Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-192 ']' [2022-06-01T13:38:02.501Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T13:38:02.501Z] + case "${OS_FAMILY}" in [2022-06-01T13:38:02.501Z] + dpkg -l [2022-06-01T13:38:02.501Z] + grep '^ii' [2022-06-01T13:38:02.501Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T13:38:02.501Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T13:38:02.501Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T13:38:02.501Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-192 ']' [2022-06-01T13:38:02.501Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-192/archives/ [2022-06-01T13:38:02.501Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-192/archives/ [Pipeline] echo [2022-06-01T13:38:02.533Z] 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-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-01T13:38:02.824Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T13:38:03.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T13:38:03.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T13:38:03.594Z] prd-ubuntu20.04-docker-8c-8g-543 does not seem to be running inside a container [2022-06-01T13:38:03.628Z] $ 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-192/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-192 -v /w/workspace/gexfoundry_device-rest-go_PR-192:/w/workspace/gexfoundry_device-rest-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-192@tmp:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T13:38:03.842Z] $ docker top 84e1ea5e93b092e7e0c1bde1c996c71706536936ce114f7abf3d43939073fbcd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T13:38:04.221Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T13:38:04.534Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T13:38:04.842Z] + ls /var/log/sa-host [2022-06-01T13:38:04.842Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T13:38:04.971Z] provisioning config files... [2022-06-01T13:38:04.981Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-192@tmp/config8132105131326665221tmp [Pipeline] { [Pipeline] echo [2022-06-01T13:38:05.028Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:38:05.338Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T13:38:05.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:38:05.782Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T13:38:05.816Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:38:06.133Z] ---> sudo-logs.sh [2022-06-01T13:38:06.134Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T13:38:06.220Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:38:06.534Z] ---> job-cost.sh [2022-06-01T13:38:06.534Z] lf-activate-venv: SKIPPING [2022-06-01T13:38:06.534Z] DEBUG: total: 0.2199999988079071 [2022-06-01T13:38:06.534Z] INFO: Retrieving Stack Cost... [2022-06-01T13:38:07.105Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T13:38:07.365Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T13:38:07.405Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T13:38:07.719Z] ---> logs-deploy.sh [2022-06-01T13:38:07.719Z] lf-activate-venv: SKIPPING [2022-06-01T13:38:07.719Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-192/1 [2022-06-01T13:38:07.719Z] INFO: archiving workspace using pattern(s): [2022-06-01T13:38:08.659Z] Archives upload complete. [2022-06-01T13:38:08.921Z] INFO: archiving logs to Nexus