Pull request #297 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7cf61063326e8e2a4d7c4cb426cea306f29b9f0+8f28bd2feba64f4e14e7f4e476d7a420beb0434d (ff7ae4248a6eee8675ca768558727d0d092ed136) 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-ssh15949356891967320102.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3685523034008447070.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-297/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-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1314835533383356131.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-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16881552483618213004.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh4347340350833150421.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-297/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-297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh885311969753619254.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-9319 in /w/workspace/gexfoundry_device-rest-go_PR-297 [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-297 # 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 > 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/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 Merge succeeded, producing c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 Checking out Revision c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 (PR-297) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-21T20:57:41.872Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 # 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 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-21T20:57:42.052Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-21T20:57:42.143Z] ========================================================= [2023-04-21T20:57:42.143Z] EdgeX Global Pipelines Version Info [2023-04-21T20:57:42.143Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-21T20:57:42.899Z] ------------------- [2023-04-21T20:57:42.899Z] stable info: [2023-04-21T20:57:42.899Z] ------------------- [2023-04-21T20:57:42.899Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-21T20:57:42.899Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T20:57:42.899Z] Message: update stable to v1.0.248 [2023-04-21T20:57:43.470Z] ------------------- [2023-04-21T20:57:43.470Z] experimental info: [2023-04-21T20:57:43.470Z] ------------------- [2023-04-21T20:57:43.470Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-21T20:57:43.470Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T20:57:43.470Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-21T20:57:43.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-21T20:57:43.804Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-21T20:57:43.844Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-21T20:57:43.902Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-21T20:57:43.940Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-21T20:57:43.979Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-21T20:57:44.023Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-21T20:57:44.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-21T20:57:44.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-21T20:57:44.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-21T20:57:44.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-21T20:57:44.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-21T20:57:44.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-21T20:57:44.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-21T20:57:44.364Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-21T20:57:44.404Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-21T20:57:44.441Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T20:57:44.477Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T20:57:44.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-21T20:57:44.551Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-21T20:57:44.591Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-21T20:57:44.639Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-21T20:57:44.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-21T20:57:44.742Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-21T20:57:44.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-21T20:57:44.827Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-21T20:57:44.873Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-21T20:57:44.917Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-297 [Pipeline] echo [2023-04-21T20:57:44.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-297 [Pipeline] echo [2023-04-21T20:57:45.003Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-297 [Pipeline] echo [2023-04-21T20:57:45.045Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [Pipeline] echo [2023-04-21T20:57:45.086Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7cf610 [Pipeline] echo [2023-04-21T20:57:45.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T20:57:45.257Z] provisioning config files... [2023-04-21T20:57:45.270Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config11410809484793919047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T20:57:45.626Z] ---> docker-login.sh [2023-04-21T20:57:45.627Z] nexus3.edgexfoundry.org:10001 [2023-04-21T20:57:45.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:57:45.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:57:45.887Z] Configure a credential helper to remove this warning. See [2023-04-21T20:57:45.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:57:45.887Z] [2023-04-21T20:57:45.887Z] Login Succeeded [2023-04-21T20:57:45.887Z] nexus3.edgexfoundry.org:10002 [2023-04-21T20:57:45.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:57:46.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:57:46.146Z] Configure a credential helper to remove this warning. See [2023-04-21T20:57:46.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:57:46.146Z] [2023-04-21T20:57:46.146Z] Login Succeeded [2023-04-21T20:57:46.146Z] nexus3.edgexfoundry.org:10003 [2023-04-21T20:57:46.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:57:46.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:57:46.146Z] Configure a credential helper to remove this warning. See [2023-04-21T20:57:46.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:57:46.146Z] [2023-04-21T20:57:46.146Z] Login Succeeded [2023-04-21T20:57:46.146Z] nexus3.edgexfoundry.org:10004 [2023-04-21T20:57:46.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:57:46.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:57:46.146Z] Configure a credential helper to remove this warning. See [2023-04-21T20:57:46.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:57:46.146Z] [2023-04-21T20:57:46.146Z] Login Succeeded [2023-04-21T20:57:46.146Z] docker.io [2023-04-21T20:57:46.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:57:46.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:57:46.407Z] Configure a credential helper to remove this warning. See [2023-04-21T20:57:46.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:57:46.407Z] [2023-04-21T20:57:46.407Z] Login Succeeded [2023-04-21T20:57:46.407Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T20:57:46.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-21T20:57:47.081Z] + git rev-list -1 --merges c7cf61063326e8e2a4d7c4cb426cea306f29b9f0~1..c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [Pipeline] echo [2023-04-21T20:57:47.118Z] -----------> git rev-list -1 --merges c7cf61063326e8e2a4d7c4cb426cea306f29b9f0~1..c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [false] [Pipeline] sh [2023-04-21T20:57:47.431Z] + git log --format=format:%s -1 c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [Pipeline] echo [2023-04-21T20:57:47.471Z] ========================================================= [2023-04-21T20:57:47.471Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-21T20:57:47.471Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T20:57:47.917Z] + git log --format=format:%s -1 c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [Pipeline] echo [2023-04-21T20:57:47.950Z] [semverPrep] GIT_COMMIT: c7cf61063326e8e2a4d7c4cb426cea306f29b9f0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-21T20:57:47.984Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-21T20:57:48.388Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-21T20:57:48.388Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-21T20:57:48.388Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-21T20:57:48.388Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-21T20:57:48.388Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-21T20:57:48.388Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-21T20:57:48.388Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T20:57:48.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T20:57:48.900Z] [2023-04-21T20:57:48.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T20:57:49.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T20:57:49.289Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-21T20:57:49.289Z] b85a868b505f: Pulling fs layer [2023-04-21T20:57:49.289Z] e2be974225ed: Pulling fs layer [2023-04-21T20:57:49.289Z] 339a4e72a1f5: Pulling fs layer [2023-04-21T20:57:49.289Z] 988bab9f4d93: Pulling fs layer [2023-04-21T20:57:49.289Z] 1469e6f7b9e6: Pulling fs layer [2023-04-21T20:57:49.289Z] eaf3925da568: Pulling fs layer [2023-04-21T20:57:49.289Z] bab4dde63d76: Pulling fs layer [2023-04-21T20:57:49.289Z] bde34c3a00c8: Pulling fs layer [2023-04-21T20:57:49.289Z] b352a97aabf1: Pulling fs layer [2023-04-21T20:57:49.289Z] 4872d77fe225: Pulling fs layer [2023-04-21T20:57:49.289Z] 5851b861e8e6: Pulling fs layer [2023-04-21T20:57:49.289Z] 988bab9f4d93: Waiting [2023-04-21T20:57:49.289Z] 1469e6f7b9e6: Waiting [2023-04-21T20:57:49.289Z] eaf3925da568: Waiting [2023-04-21T20:57:49.289Z] bab4dde63d76: Waiting [2023-04-21T20:57:49.289Z] bde34c3a00c8: Waiting [2023-04-21T20:57:49.289Z] b352a97aabf1: Waiting [2023-04-21T20:57:49.289Z] 4872d77fe225: Waiting [2023-04-21T20:57:49.289Z] 5851b861e8e6: Waiting [2023-04-21T20:57:49.289Z] e2be974225ed: Verifying Checksum [2023-04-21T20:57:49.289Z] e2be974225ed: Download complete [2023-04-21T20:57:49.289Z] 988bab9f4d93: Verifying Checksum [2023-04-21T20:57:49.289Z] 988bab9f4d93: Download complete [2023-04-21T20:57:49.289Z] 1469e6f7b9e6: Verifying Checksum [2023-04-21T20:57:49.289Z] 1469e6f7b9e6: Download complete [2023-04-21T20:57:49.289Z] 339a4e72a1f5: Verifying Checksum [2023-04-21T20:57:49.289Z] 339a4e72a1f5: Download complete [2023-04-21T20:57:49.289Z] eaf3925da568: Download complete [2023-04-21T20:57:49.289Z] bde34c3a00c8: Download complete [2023-04-21T20:57:49.548Z] b352a97aabf1: Verifying Checksum [2023-04-21T20:57:49.548Z] b352a97aabf1: Download complete [2023-04-21T20:57:49.548Z] 4872d77fe225: Verifying Checksum [2023-04-21T20:57:49.548Z] 4872d77fe225: Download complete [2023-04-21T20:57:49.548Z] 5851b861e8e6: Verifying Checksum [2023-04-21T20:57:49.548Z] 5851b861e8e6: Download complete [2023-04-21T20:57:49.548Z] b85a868b505f: Verifying Checksum [2023-04-21T20:57:49.548Z] b85a868b505f: Download complete [2023-04-21T20:57:49.806Z] bab4dde63d76: Verifying Checksum [2023-04-21T20:57:49.806Z] bab4dde63d76: Download complete [2023-04-21T20:57:50.748Z] b85a868b505f: Pull complete [2023-04-21T20:57:50.748Z] e2be974225ed: Pull complete [2023-04-21T20:57:51.007Z] 339a4e72a1f5: Pull complete [2023-04-21T20:57:51.007Z] 988bab9f4d93: Pull complete [2023-04-21T20:57:51.264Z] 1469e6f7b9e6: Pull complete [2023-04-21T20:57:51.264Z] eaf3925da568: Pull complete [2023-04-21T20:57:53.169Z] bab4dde63d76: Pull complete [2023-04-21T20:57:53.169Z] bde34c3a00c8: Pull complete [2023-04-21T20:57:53.169Z] b352a97aabf1: Pull complete [2023-04-21T20:57:53.169Z] 4872d77fe225: Pull complete [2023-04-21T20:57:53.169Z] 5851b861e8e6: Pull complete [2023-04-21T20:57:53.169Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-21T20:57:53.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T20:57:53.169Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T20:57:53.403Z] prd-ubuntu20.04-docker-8c-8g-9319 does not seem to be running inside a container [2023-04-21T20:57:53.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-21T20:57:54.855Z] $ docker top 1b06d56ae4c230d75e44918404bab0822a3f641611ac639319cb4293fcd65326 -eo pid,comm [2023-04-21T20:57:54.907Z] 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). [2023-04-21T20:57:54.907Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-21T20:57:55.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T20:57:55.033Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T20:57:55.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T20:57:55.160Z] $ docker exec 1b06d56ae4c230d75e44918404bab0822a3f641611ac639319cb4293fcd65326 ssh-agent [2023-04-21T20:57:55.259Z] SSH_AUTH_SOCK=/tmp/ssh-QBNOlhiiumoI/agent.33 [2023-04-21T20:57:55.259Z] SSH_AGENT_PID=40 [2023-04-21T20:57:55.266Z] Running ssh-add (command line suppressed) [2023-04-21T20:57:55.380Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_7400910291996472481.key (/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_7400910291996472481.key) [2023-04-21T20:57:55.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T20:57:55.737Z] + git tag --points-at HEAD [Pipeline] } [2023-04-21T20:57:55.771Z] $ docker exec --env ******** --env ******** 1b06d56ae4c230d75e44918404bab0822a3f641611ac639319cb4293fcd65326 ssh-agent -k [2023-04-21T20:57:55.864Z] unset SSH_AUTH_SOCK; [2023-04-21T20:57:55.864Z] unset SSH_AGENT_PID; [2023-04-21T20:57:55.864Z] echo Agent pid 40 killed; [2023-04-21T20:57:55.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-21T20:57:55.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T20:57:55.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T20:57:56.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T20:57:56.094Z] $ docker exec 1b06d56ae4c230d75e44918404bab0822a3f641611ac639319cb4293fcd65326 ssh-agent [2023-04-21T20:57:56.204Z] SSH_AUTH_SOCK=/tmp/ssh-BUaQXjbIORmf/agent.72 [2023-04-21T20:57:56.204Z] SSH_AGENT_PID=78 [2023-04-21T20:57:56.209Z] Running ssh-add (command line suppressed) [2023-04-21T20:57:56.318Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_5187629622395889454.key (/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_5187629622395889454.key) [2023-04-21T20:57:56.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T20:57:56.660Z] + git semver init [2023-04-21T20:57:56.921Z] 2023-04-21 20:57:56,851 [run_init] DEBUG init version:0.0.0 force:False [2023-04-21T20:57:56.921Z] 2023-04-21 20:57:56,852 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver [2023-04-21T20:57:56.921Z] 2023-04-21 20:57:56,853 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-297/.semver [2023-04-21T20:57:56.921Z] 2023-04-21 20:57:56,853 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-297/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297, universal_newlines=False, shell=None, istream=None) [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,821 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-297/.git/info/exclude [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,821 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 with force:False [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,821 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,825 [execute] INFO git cat-file --batch-check [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,831 [execute] INFO git cat-file --batch [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T20:57:57.858Z] 2023-04-21 20:57:57,836 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 [2023-04-21T20:57:57.858Z] 0.0.0 [Pipeline] } [2023-04-21T20:57:57.890Z] $ docker exec --env ******** --env ******** 1b06d56ae4c230d75e44918404bab0822a3f641611ac639319cb4293fcd65326 ssh-agent -k [2023-04-21T20:57:57.990Z] unset SSH_AUTH_SOCK; [2023-04-21T20:57:57.990Z] unset SSH_AGENT_PID; [2023-04-21T20:57:57.991Z] echo Agent pid 78 killed; [2023-04-21T20:57:57.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-21T20:57:58.433Z] + git semver [Pipeline] } [2023-04-21T20:57:58.725Z] $ docker stop --time=1 1b06d56ae4c230d75e44918404bab0822a3f641611ac639319cb4293fcd65326 [2023-04-21T20:58:00.009Z] $ docker rm -f --volumes 1b06d56ae4c230d75e44918404bab0822a3f641611ac639319cb4293fcd65326 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T20:58:00.395Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-21T20:58:00.665Z] Stashed 1 file(s) [Pipeline] echo [2023-04-21T20:58:00.684Z] [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 [2023-04-21T20:58:01.350Z] provisioning config files... [2023-04-21T20:58:01.360Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config16161520380004026235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T20:58:01.719Z] ---> docker-login.sh [2023-04-21T20:58:01.719Z] nexus3.edgexfoundry.org:10001 [2023-04-21T20:58:01.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:58:01.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:58:01.719Z] Configure a credential helper to remove this warning. See [2023-04-21T20:58:01.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:58:01.719Z] [2023-04-21T20:58:01.719Z] Login Succeeded [2023-04-21T20:58:01.719Z] nexus3.edgexfoundry.org:10002 [2023-04-21T20:58:01.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:58:01.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:58:01.719Z] Configure a credential helper to remove this warning. See [2023-04-21T20:58:01.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:58:01.719Z] [2023-04-21T20:58:01.719Z] Login Succeeded [2023-04-21T20:58:01.719Z] nexus3.edgexfoundry.org:10003 [2023-04-21T20:58:01.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:58:01.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:58:01.977Z] Configure a credential helper to remove this warning. See [2023-04-21T20:58:01.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:58:01.977Z] [2023-04-21T20:58:01.977Z] Login Succeeded [2023-04-21T20:58:01.977Z] nexus3.edgexfoundry.org:10004 [2023-04-21T20:58:01.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:58:01.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:58:01.978Z] Configure a credential helper to remove this warning. See [2023-04-21T20:58:01.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:58:01.978Z] [2023-04-21T20:58:01.978Z] Login Succeeded [2023-04-21T20:58:01.978Z] docker.io [2023-04-21T20:58:02.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T20:58:02.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T20:58:02.237Z] Configure a credential helper to remove this warning. See [2023-04-21T20:58:02.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T20:58:02.237Z] [2023-04-21T20:58:02.237Z] Login Succeeded [2023-04-21T20:58:02.237Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T20:58:02.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T20:58:02.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T20:58:02.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T20:58:02.545Z] ========================================================= [2023-04-21T20:58:02.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-21T20:58:02.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T20:58:03.060Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-21T20:58:03.060Z] Sending build context to Docker daemon 10.9MB [2023-04-21T20:58:03.060Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T20:58:03.060Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-21T20:58:03.060Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-21T20:58:03.060Z] 63b65145d645: Pulling fs layer [2023-04-21T20:58:03.060Z] a2d21d5440eb: Pulling fs layer [2023-04-21T20:58:03.060Z] 935e6c44a52c: Pulling fs layer [2023-04-21T20:58:03.060Z] 94cc34f8dd06: Pulling fs layer [2023-04-21T20:58:03.060Z] 30dea6a524f1: Pulling fs layer [2023-04-21T20:58:03.060Z] a2aff8979fd8: Pulling fs layer [2023-04-21T20:58:03.060Z] 6808be2612f2: Pulling fs layer [2023-04-21T20:58:03.060Z] f25807f1079a: Pulling fs layer [2023-04-21T20:58:03.060Z] 30dea6a524f1: Waiting [2023-04-21T20:58:03.060Z] 6808be2612f2: Waiting [2023-04-21T20:58:03.060Z] f25807f1079a: Waiting [2023-04-21T20:58:03.060Z] a2aff8979fd8: Waiting [2023-04-21T20:58:03.060Z] 94cc34f8dd06: Waiting [2023-04-21T20:58:03.060Z] a2d21d5440eb: Verifying Checksum [2023-04-21T20:58:03.060Z] a2d21d5440eb: Download complete [2023-04-21T20:58:03.060Z] 94cc34f8dd06: Verifying Checksum [2023-04-21T20:58:03.060Z] 94cc34f8dd06: Download complete [2023-04-21T20:58:03.060Z] 30dea6a524f1: Download complete [2023-04-21T20:58:03.060Z] 63b65145d645: Verifying Checksum [2023-04-21T20:58:03.060Z] 63b65145d645: Download complete [2023-04-21T20:58:03.319Z] a2aff8979fd8: Verifying Checksum [2023-04-21T20:58:03.319Z] a2aff8979fd8: Download complete [2023-04-21T20:58:03.319Z] 63b65145d645: Pull complete [2023-04-21T20:58:03.580Z] a2d21d5440eb: Pull complete [2023-04-21T20:58:03.580Z] f25807f1079a: Verifying Checksum [2023-04-21T20:58:03.580Z] f25807f1079a: Download complete [2023-04-21T20:58:03.841Z] 935e6c44a52c: Verifying Checksum [2023-04-21T20:58:03.841Z] 935e6c44a52c: Download complete [2023-04-21T20:58:03.841Z] 6808be2612f2: Verifying Checksum [2023-04-21T20:58:03.841Z] 6808be2612f2: Download complete [2023-04-21T20:58:07.131Z] 935e6c44a52c: Pull complete [2023-04-21T20:58:07.131Z] 94cc34f8dd06: Pull complete [2023-04-21T20:58:07.131Z] 30dea6a524f1: Pull complete [2023-04-21T20:58:07.131Z] a2aff8979fd8: Pull complete [2023-04-21T20:58:09.765Z] 6808be2612f2: Pull complete [2023-04-21T20:58:10.025Z] f25807f1079a: Pull complete [2023-04-21T20:58:10.285Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-21T20:58:10.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-21T20:58:10.285Z] ---> 3b553350e43f [2023-04-21T20:58:10.285Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-21T20:58:12.194Z] ---> Running in cec007ff568b [2023-04-21T20:58:12.194Z] Removing intermediate container cec007ff568b [2023-04-21T20:58:12.194Z] ---> f1ce0d863672 [2023-04-21T20:58:12.194Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-21T20:58:12.194Z] ---> Running in f7d76fc93cdf [2023-04-21T20:58:12.194Z] Removing intermediate container f7d76fc93cdf [2023-04-21T20:58:12.194Z] ---> 9b457e05042b [2023-04-21T20:58:12.194Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-21T20:58:12.194Z] ---> Running in 94c0913bbfb4 [2023-04-21T20:58:12.454Z] Removing intermediate container 94c0913bbfb4 [2023-04-21T20:58:12.454Z] ---> 4cce25542c99 [2023-04-21T20:58:12.454Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-21T20:58:12.454Z] ---> Running in 39d93edf98ff [2023-04-21T20:58:12.454Z] Removing intermediate container 39d93edf98ff [2023-04-21T20:58:12.454Z] ---> 6d2f588ae8de [2023-04-21T20:58:12.454Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-21T20:58:12.454Z] ---> Running in 1ed5cc9a17ea [2023-04-21T20:58:12.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T20:58:12.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T20:58:12.977Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-21T20:58:12.977Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-21T20:58:12.977Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-21T20:58:12.977Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-21T20:58:12.977Z] Executing busybox-1.35.0-r29.trigger [2023-04-21T20:58:12.977Z] OK: 269 MiB in 57 packages [2023-04-21T20:58:13.549Z] Removing intermediate container 1ed5cc9a17ea [2023-04-21T20:58:13.549Z] ---> 534db3c342df [2023-04-21T20:58:13.549Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-21T20:58:13.549Z] ---> Running in c9c0f5bee7ec [2023-04-21T20:58:13.549Z] Removing intermediate container c9c0f5bee7ec [2023-04-21T20:58:13.549Z] ---> 8fca674fcde1 [2023-04-21T20:58:13.549Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-21T20:58:13.549Z] ---> 167f25b5d141 [2023-04-21T20:58:13.549Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T20:58:13.807Z] ---> Running in 665f40adf055 [2023-04-21T20:58:16.150Z] Still waiting to schedule task [2023-04-21T20:58:16.150Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-21T20:58:52.535Z] Removing intermediate container 665f40adf055 [2023-04-21T20:58:52.535Z] ---> 4c3b0a771ff1 [2023-04-21T20:58:52.535Z] Step 11/12 : COPY . . [2023-04-21T20:58:52.535Z] ---> 5dec189402af [2023-04-21T20:58:52.535Z] Step 12/12 : RUN $MAKE [2023-04-21T20:58:52.535Z] ---> Running in 7b69ef722732 [2023-04-21T20:58:52.535Z] noop [2023-04-21T20:58:52.535Z] Removing intermediate container 7b69ef722732 [2023-04-21T20:58:52.535Z] ---> d27c229e911b [2023-04-21T20:58:52.535Z] Successfully built d27c229e911b [2023-04-21T20:58:52.535Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T20:58:52.971Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T20:58:52.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T20:58:53.124Z] prd-ubuntu20.04-docker-8c-8g-9319 does not seem to be running inside a container [2023-04-21T20:58:53.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-21T20:58:53.482Z] $ docker top 8be6da94a07f36962a2971b8382a62d9fd92efa441da3ae8eef40053f562450d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T20:58:53.864Z] + go version [2023-04-21T20:58:53.864Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-21T20:58:53.904Z] $ docker stop --time=1 8be6da94a07f36962a2971b8382a62d9fd92efa441da3ae8eef40053f562450d [2023-04-21T20:58:55.134Z] $ docker rm -f --volumes 8be6da94a07f36962a2971b8382a62d9fd92efa441da3ae8eef40053f562450d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T20:58:55.870Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T20:58:55.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T20:58:56.031Z] prd-ubuntu20.04-docker-8c-8g-9319 does not seem to be running inside a container [2023-04-21T20:58:56.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-21T20:58:56.388Z] $ docker top 53ccc70315ea69b7dd13897415bbb1716f7a640c7ec23385d721ee4ca1bae343 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T20:58:56.768Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-297 [Pipeline] fileExists [Pipeline] sh [2023-04-21T20:58:57.131Z] + make test [2023-04-21T20:58:57.131Z] go test ./... -coverprofile=coverage.out ./... [2023-04-21T20:59:01.321Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-21T20:59:11.287Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-21T20:59:11.287Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements [2023-04-21T20:59:15.473Z] go vet ./... [2023-04-21T20:59:18.757Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-21T20:59:18.757Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-21T20:59:18.757Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-21T20:59:19.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-21T20:59:19.087Z] $ docker stop --time=1 53ccc70315ea69b7dd13897415bbb1716f7a640c7ec23385d721ee4ca1bae343 [2023-04-21T20:59:21.071Z] $ docker rm -f --volumes 53ccc70315ea69b7dd13897415bbb1716f7a640c7ec23385d721ee4ca1bae343 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T20:59:21.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-21T20:59:21.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-21T20:59:22.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-21T20:59:22.685Z] + ls -al . [2023-04-21T20:59:22.686Z] total 184 [2023-04-21T20:59:22.686Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 20:58 . [2023-04-21T20:59:22.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:57 .. [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 21 20:57 .dockerignore [2023-04-21T20:59:22.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 20:57 .git [2023-04-21T20:59:22.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:57 .github [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 21 20:57 .gitignore [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 20:57 .golangci.yml [2023-04-21T20:59:22.686Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 20:57 .semver [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 21 20:57 Attribution.txt [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 21 20:57 CHANGELOG.md [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 21 20:57 Dockerfile [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 20:57 GOVERNANCE.md [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 21 20:57 Jenkinsfile [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 20:57 LICENSE [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 21 20:57 Makefile [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 21 20:57 OWNERS.md [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 21 20:57 README.md [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 20:58 VERSION [2023-04-21T20:59:22.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:57 bin [2023-04-21T20:59:22.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:57 cmd [2023-04-21T20:59:22.686Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 21 20:59 coverage.out [2023-04-21T20:59:22.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:57 driver [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 21 20:57 go.mod [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 21 20:57 go.sum [2023-04-21T20:59:22.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:57 snap [2023-04-21T20:59:22.686Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 21 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T20:59:23.100Z] + 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=c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 --label arch=amd64 --label version=0.0.0 . [2023-04-21T20:59:23.100Z] Sending build context to Docker daemon 10.92MB [2023-04-21T20:59:23.100Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T20:59:23.100Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-21T20:59:23.100Z] ---> d27c229e911b [2023-04-21T20:59:23.100Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-21T20:59:23.100Z] ---> Running in c8f1c95d83e2 [2023-04-21T20:59:23.100Z] Removing intermediate container c8f1c95d83e2 [2023-04-21T20:59:23.100Z] ---> 314c8caac56a [2023-04-21T20:59:23.100Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-21T20:59:23.360Z] ---> Running in 412aaf49d862 [2023-04-21T20:59:23.360Z] Removing intermediate container 412aaf49d862 [2023-04-21T20:59:23.360Z] ---> cc4773578dc6 [2023-04-21T20:59:23.360Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-21T20:59:23.360Z] ---> Running in b3ec0d1c567f [2023-04-21T20:59:23.360Z] Removing intermediate container b3ec0d1c567f [2023-04-21T20:59:23.360Z] ---> 384c63ce38b3 [2023-04-21T20:59:23.360Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-21T20:59:23.360Z] ---> Running in b1e6bce4a1b3 [2023-04-21T20:59:23.360Z] Removing intermediate container b1e6bce4a1b3 [2023-04-21T20:59:23.360Z] ---> 930ff617a507 [2023-04-21T20:59:23.360Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-21T20:59:23.360Z] ---> Running in c3fbceb446eb [2023-04-21T20:59:23.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T20:59:23.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T20:59:24.138Z] OK: 269 MiB in 57 packages [2023-04-21T20:59:24.397Z] Removing intermediate container c3fbceb446eb [2023-04-21T20:59:24.397Z] ---> cdd0c53a85d1 [2023-04-21T20:59:24.397Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-21T20:59:24.397Z] ---> Running in b1867d659382 [2023-04-21T20:59:24.397Z] Removing intermediate container b1867d659382 [2023-04-21T20:59:24.397Z] ---> c32c4bcc216b [2023-04-21T20:59:24.397Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-21T20:59:24.397Z] ---> 833f7b3dbee4 [2023-04-21T20:59:24.397Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T20:59:24.397Z] ---> Running in fd2f1c47ce2f [2023-04-21T20:59:25.331Z] Removing intermediate container fd2f1c47ce2f [2023-04-21T20:59:25.331Z] ---> 40daaf24ead6 [2023-04-21T20:59:25.331Z] Step 11/25 : COPY . . [2023-04-21T20:59:25.590Z] ---> ec0cb83ca05e [2023-04-21T20:59:25.590Z] Step 12/25 : RUN $MAKE [2023-04-21T20:59:25.590Z] ---> Running in 66b0b4cdf1a9 [2023-04-21T20:59:25.847Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-21T20:59:43.926Z] Removing intermediate container 66b0b4cdf1a9 [2023-04-21T20:59:43.926Z] ---> f80f9d1933ba [2023-04-21T20:59:43.926Z] Step 13/25 : FROM alpine:3.17 [2023-04-21T20:59:43.926Z] 3.17: Pulling from library/alpine [2023-04-21T20:59:43.926Z] f56be85fc22e: Pulling fs layer [2023-04-21T20:59:43.926Z] f56be85fc22e: Verifying Checksum [2023-04-21T20:59:43.926Z] f56be85fc22e: Download complete [2023-04-21T20:59:43.926Z] f56be85fc22e: Pull complete [2023-04-21T20:59:43.926Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-21T20:59:43.926Z] Status: Downloaded newer image for alpine:3.17 [2023-04-21T20:59:43.926Z] ---> 9ed4aefc74f6 [2023-04-21T20:59:43.926Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-21T20:59:43.926Z] ---> Running in bdcac3fa74b7 [2023-04-21T20:59:43.926Z] Removing intermediate container bdcac3fa74b7 [2023-04-21T20:59:43.926Z] ---> ea97f5b3b3a7 [2023-04-21T20:59:43.926Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-21T20:59:43.926Z] ---> Running in f29163cc8066 [2023-04-21T20:59:43.926Z] Removing intermediate container f29163cc8066 [2023-04-21T20:59:43.926Z] ---> fa7612574c86 [2023-04-21T20:59:43.926Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-21T20:59:43.926Z] ---> Running in ce338a3c49f7 [2023-04-21T20:59:43.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T20:59:43.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T20:59:43.926Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-21T20:59:43.926Z] Executing busybox-1.35.0-r29.trigger [2023-04-21T20:59:43.926Z] OK: 7 MiB in 16 packages [2023-04-21T20:59:43.926Z] Removing intermediate container ce338a3c49f7 [2023-04-21T20:59:43.926Z] ---> b555dd3c928e [2023-04-21T20:59:43.926Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-21T20:59:43.926Z] ---> 062fa0e85e41 [2023-04-21T20:59:43.926Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-21T20:59:43.926Z] ---> 08786b64197e [2023-04-21T20:59:43.926Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-21T20:59:43.926Z] ---> fc416c77daf9 [2023-04-21T20:59:43.926Z] Step 20/25 : EXPOSE 59986 [2023-04-21T20:59:43.926Z] ---> Running in 52bb42feafe0 [2023-04-21T20:59:43.926Z] Removing intermediate container 52bb42feafe0 [2023-04-21T20:59:43.926Z] ---> 4fcf6897e2eb [2023-04-21T20:59:43.926Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-21T20:59:43.926Z] ---> Running in 0e5b43ea7cf3 [2023-04-21T20:59:43.926Z] Removing intermediate container 0e5b43ea7cf3 [2023-04-21T20:59:43.926Z] ---> c571d50cd062 [2023-04-21T20:59:43.926Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-21T20:59:43.926Z] ---> Running in c82051929713 [2023-04-21T20:59:44.184Z] Removing intermediate container c82051929713 [2023-04-21T20:59:44.184Z] ---> 79db9dd25523 [2023-04-21T20:59:44.184Z] Step 23/25 : LABEL arch=amd64 [2023-04-21T20:59:44.184Z] ---> Running in c13974c2903a [2023-04-21T20:59:44.184Z] Removing intermediate container c13974c2903a [2023-04-21T20:59:44.184Z] ---> a4af683d6ed7 [2023-04-21T20:59:44.184Z] Step 24/25 : LABEL git_sha=c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [2023-04-21T20:59:44.184Z] ---> Running in 9950ca3d69e4 [2023-04-21T20:59:44.184Z] Removing intermediate container 9950ca3d69e4 [2023-04-21T20:59:44.185Z] ---> 10a1f47c2c4f [2023-04-21T20:59:44.185Z] Step 25/25 : LABEL version=0.0.0 [2023-04-21T20:59:44.185Z] ---> Running in fde91de46fc5 [2023-04-21T20:59:44.444Z] Removing intermediate container fde91de46fc5 [2023-04-21T20:59:44.444Z] ---> 4bc481c81b77 [2023-04-21T20:59:44.444Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-21T20:59:44.444Z] Successfully built 4bc481c81b77 [2023-04-21T20:59:44.444Z] 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 [2023-04-21T20:59:45.205Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9322 in /w/workspace/gexfoundry_device-rest-go_PR-297 [Pipeline] { [Pipeline] ws [2023-04-21T20:59:45.265Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [2023-04-21T20:59:45.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T20:59:45.286Z] [2023-04-21T20:59:45.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] checkout [2023-04-21T20:59:45.369Z] The recommended git tool is: git [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T20:59:45.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T20:59:45.724Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-21T20:59:45.724Z] 5eb5b503b376: Pulling fs layer [2023-04-21T20:59:45.724Z] 5c69ac0246d0: Pulling fs layer [2023-04-21T20:59:45.724Z] ec43610c2a17: Pulling fs layer [2023-04-21T20:59:45.724Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-21T20:59:45.724Z] 33b1e0a273af: Pulling fs layer [2023-04-21T20:59:45.724Z] 5d3b04190fa2: Pulling fs layer [2023-04-21T20:59:45.724Z] 2f39f015ded8: Pulling fs layer [2023-04-21T20:59:45.724Z] 3a2ae6a8a46f: Waiting [2023-04-21T20:59:45.724Z] 33b1e0a273af: Waiting [2023-04-21T20:59:45.724Z] 5d3b04190fa2: Waiting [2023-04-21T20:59:45.724Z] 5c69ac0246d0: Verifying Checksum [2023-04-21T20:59:45.724Z] 5c69ac0246d0: Download complete [2023-04-21T20:59:45.724Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-21T20:59:45.724Z] 3a2ae6a8a46f: Download complete [2023-04-21T20:59:45.724Z] 33b1e0a273af: Verifying Checksum [2023-04-21T20:59:45.724Z] 33b1e0a273af: Download complete [2023-04-21T20:59:45.724Z] 5d3b04190fa2: Verifying Checksum [2023-04-21T20:59:45.724Z] 5d3b04190fa2: Download complete [2023-04-21T20:59:45.724Z] ec43610c2a17: Verifying Checksum [2023-04-21T20:59:45.724Z] ec43610c2a17: Download complete [2023-04-21T20:59:45.983Z] 5eb5b503b376: Verifying Checksum [2023-04-21T20:59:45.983Z] 5eb5b503b376: Download complete [2023-04-21T20:59:46.549Z] 2f39f015ded8: Verifying Checksum [2023-04-21T20:59:46.549Z] 2f39f015ded8: Download complete [2023-04-21T20:59:47.117Z] 5eb5b503b376: Pull complete [2023-04-21T20:59:47.117Z] 5c69ac0246d0: Pull complete [2023-04-21T20:59:47.682Z] ec43610c2a17: Pull complete [2023-04-21T20:59:47.682Z] 3a2ae6a8a46f: Pull complete [2023-04-21T20:59:47.682Z] 33b1e0a273af: Pull complete [2023-04-21T20:59:47.941Z] 5d3b04190fa2: Pull complete [2023-04-21T20:59:50.217Z] using credential edgex-jenkins-ssh [2023-04-21T20:59:50.233Z] Cloning the remote Git repository [2023-04-21T20:59:50.279Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-21T20:59:50.365Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-21T20:59:50.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-21T20:59:50.499Z] > git --version # timeout=10 [2023-04-21T20:59:50.522Z] > git --version # 'git version 2.25.1' [2023-04-21T20:59:50.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T20:59:50.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T20:59:52.131Z] 2f39f015ded8: Pull complete [2023-04-21T20:59:52.132Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-21T20:59:52.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T20:59:52.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T20:59:52.371Z] prd-ubuntu20.04-docker-8c-8g-9319 does not seem to be running inside a container [2023-04-21T20:59:52.403Z] $ 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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-21T20:59:52.498Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-21T20:59:52.528Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T20:59:53.769Z] $ docker top c5dfb5e0c57b02fd4d4d397dd4ce3801cad4455154b473798f92b87219e300d3 -eo pid,comm [Pipeline] { [2023-04-21T20:59:53.866Z] Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [Pipeline] libraryResource [Pipeline] sh [2023-04-21T20:59:53.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-21T20:59:53.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-21T20:59:53.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T20:59:53.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-21T20:59:53.886Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T20:59:53.947Z] > git checkout -f c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 # timeout=10 [2023-04-21T20:59:54.025Z] > git remote # timeout=10 [2023-04-21T20:59:54.120Z] Merge succeeded, producing c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [2023-04-21T20:59:54.121Z] Checking out Revision c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 (PR-297) [2023-04-21T20:59:54.233Z] ---> job-cost.sh [2023-04-21T20:59:54.233Z] lf-activate-venv: SKIPPING [2023-04-21T20:59:54.233Z] INFO: No Stack... [2023-04-21T20:59:54.492Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T20:59:54.574Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-21T20:59:54.620Z] > git --version # timeout=10 [2023-04-21T20:59:54.630Z] > git --version # 'git version 2.25.1' [2023-04-21T20:59:54.648Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T20:59:55.059Z] INFO: Archiving Costs [2023-04-21T20:59:55.078Z] [2023-04-21T20:59:55.078Z] GitHub has been notified of this commit’s build result [2023-04-21T20:59:55.078Z] [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-04-21T20:59:55.381Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-297/archives/cost.csv [2023-04-21T20:59:55.381Z] + cut -d, -f6 [Pipeline] lock [2023-04-21T20:59:55.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] [2023-04-21T20:59:54.049Z] > git config --get remote.origin.url # timeout=10 [2023-04-21T20:59:54.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T20:59:54.079Z] > git merge 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 [2023-04-21T20:59:54.104Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-21T20:59:54.129Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T20:59:54.152Z] > git checkout -f c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 # timeout=10 [2023-04-21T20:59:55.431Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] did not exist. Created. [2023-04-21T20:59:55.431Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2023-04-21T20:59:55.915Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-21T20:59:55.915Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-21T20:59:55.915Z] Dload Upload Total Spent Left Speed [2023-04-21T20:59:55.915Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [2023-04-21T20:59:55.973Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-21T20:59:56.029Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T20:59:56.064Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T20:59:56.154Z] $ docker stop --time=1 c5dfb5e0c57b02fd4d4d397dd4ce3801cad4455154b473798f92b87219e300d3 [2023-04-21T20:59:57.311Z] $ docker rm -f --volumes c5dfb5e0c57b02fd4d4d397dd4ce3801cad4455154b473798f92b87219e300d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-21T20:59:57.746Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-21T20:59:58.092Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-21T20:59:58.092Z] + sudo tee /etc/docker/daemon.new [2023-04-21T20:59:58.361Z] { [2023-04-21T20:59:58.361Z] "registry-mirrors": [ [2023-04-21T20:59:58.361Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-21T20:59:58.361Z] ], [2023-04-21T20:59:58.361Z] "bip": "10.250.0.254/24", [2023-04-21T20:59:58.361Z] "hosts": [ [2023-04-21T20:59:58.361Z] "tcp://0.0.0.0:5555", [2023-04-21T20:59:58.361Z] "unix:///var/run/docker.sock" [2023-04-21T20:59:58.361Z] ], [2023-04-21T20:59:58.361Z] "mtu": 1458, [2023-04-21T20:59:58.361Z] "selinux-enabled": true, [2023-04-21T20:59:58.361Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-21T20:59:58.361Z] } [Pipeline] sh [2023-04-21T20:59:58.708Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-21T20:59:59.062Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T21:00:17.371Z] provisioning config files... [2023-04-21T21:00:17.395Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7626938452133114180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:00:17.790Z] ---> docker-login.sh [2023-04-21T21:00:17.790Z] nexus3.edgexfoundry.org:10001 [2023-04-21T21:00:18.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T21:00:18.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T21:00:18.330Z] Configure a credential helper to remove this warning. See [2023-04-21T21:00:18.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T21:00:18.330Z] [2023-04-21T21:00:18.330Z] Login Succeeded [2023-04-21T21:00:18.330Z] nexus3.edgexfoundry.org:10002 [2023-04-21T21:00:18.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T21:00:18.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T21:00:18.600Z] Configure a credential helper to remove this warning. See [2023-04-21T21:00:18.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T21:00:18.600Z] [2023-04-21T21:00:18.600Z] Login Succeeded [2023-04-21T21:00:18.600Z] nexus3.edgexfoundry.org:10003 [2023-04-21T21:00:18.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T21:00:19.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T21:00:19.140Z] Configure a credential helper to remove this warning. See [2023-04-21T21:00:19.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T21:00:19.140Z] [2023-04-21T21:00:19.140Z] Login Succeeded [2023-04-21T21:00:19.140Z] nexus3.edgexfoundry.org:10004 [2023-04-21T21:00:19.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T21:00:19.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T21:00:19.412Z] Configure a credential helper to remove this warning. See [2023-04-21T21:00:19.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T21:00:19.412Z] [2023-04-21T21:00:19.412Z] Login Succeeded [2023-04-21T21:00:19.412Z] docker.io [2023-04-21T21:00:19.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T21:00:19.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T21:00:19.951Z] Configure a credential helper to remove this warning. See [2023-04-21T21:00:19.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T21:00:19.951Z] [2023-04-21T21:00:19.951Z] Login Succeeded [2023-04-21T21:00:19.951Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T21:00:19.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T21:00:20.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T21:00:20.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T21:00:20.425Z] ========================================================= [2023-04-21T21:00:20.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-21T21:00:20.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T21:00:20.935Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-21T21:00:20.935Z] Sending build context to Docker daemon 138.8kB [2023-04-21T21:00:21.212Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T21:00:21.212Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-21T21:00:21.212Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-21T21:00:21.212Z] af6eaf76a39c: Pulling fs layer [2023-04-21T21:00:21.212Z] 55522c791124: Pulling fs layer [2023-04-21T21:00:21.212Z] ce5c4a1c91eb: Pulling fs layer [2023-04-21T21:00:21.212Z] 169dfbe0d373: Pulling fs layer [2023-04-21T21:00:21.212Z] e1ff8fa3b103: Pulling fs layer [2023-04-21T21:00:21.212Z] 52ebb69f0ebf: Pulling fs layer [2023-04-21T21:00:21.212Z] 5abe8eddf0d5: Pulling fs layer [2023-04-21T21:00:21.212Z] 169dfbe0d373: Waiting [2023-04-21T21:00:21.212Z] e1ff8fa3b103: Waiting [2023-04-21T21:00:21.212Z] 52ebb69f0ebf: Waiting [2023-04-21T21:00:21.212Z] 5abe8eddf0d5: Waiting [2023-04-21T21:00:21.212Z] 55522c791124: Verifying Checksum [2023-04-21T21:00:21.212Z] 55522c791124: Download complete [2023-04-21T21:00:21.492Z] 169dfbe0d373: Verifying Checksum [2023-04-21T21:00:21.492Z] 169dfbe0d373: Download complete [2023-04-21T21:00:21.492Z] e1ff8fa3b103: Verifying Checksum [2023-04-21T21:00:21.492Z] e1ff8fa3b103: Download complete [2023-04-21T21:00:21.492Z] af6eaf76a39c: Verifying Checksum [2023-04-21T21:00:21.492Z] af6eaf76a39c: Download complete [2023-04-21T21:00:22.458Z] 5abe8eddf0d5: Verifying Checksum [2023-04-21T21:00:22.458Z] 5abe8eddf0d5: Download complete [2023-04-21T21:00:23.884Z] ce5c4a1c91eb: Verifying Checksum [2023-04-21T21:00:23.884Z] ce5c4a1c91eb: Download complete [2023-04-21T21:00:23.884Z] 52ebb69f0ebf: Verifying Checksum [2023-04-21T21:00:23.884Z] 52ebb69f0ebf: Download complete [2023-04-21T21:00:23.884Z] af6eaf76a39c: Pull complete [2023-04-21T21:00:24.150Z] 55522c791124: Pull complete [2023-04-21T21:00:34.350Z] ce5c4a1c91eb: Pull complete [2023-04-21T21:00:34.350Z] 169dfbe0d373: Pull complete [2023-04-21T21:00:34.350Z] e1ff8fa3b103: Pull complete [2023-04-21T21:00:40.989Z] 52ebb69f0ebf: Pull complete [2023-04-21T21:00:41.572Z] 5abe8eddf0d5: Pull complete [2023-04-21T21:00:41.572Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-21T21:00:41.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-21T21:00:41.572Z] ---> 6cb57ee374ae [2023-04-21T21:00:41.572Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-21T21:00:42.540Z] ---> Running in 4b441041df9e [2023-04-21T21:00:42.815Z] Removing intermediate container 4b441041df9e [2023-04-21T21:00:42.815Z] ---> e8fd39531556 [2023-04-21T21:00:42.815Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-21T21:00:43.084Z] ---> Running in 69ff65e2dd8e [2023-04-21T21:00:43.353Z] Removing intermediate container 69ff65e2dd8e [2023-04-21T21:00:43.353Z] ---> 6c65ee34414a [2023-04-21T21:00:43.353Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-21T21:00:43.353Z] ---> Running in f51c2dc4d0d5 [2023-04-21T21:00:43.620Z] Removing intermediate container f51c2dc4d0d5 [2023-04-21T21:00:43.620Z] ---> 67c887bf1434 [2023-04-21T21:00:43.620Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-21T21:00:43.620Z] ---> Running in 06b25d03c4a0 [2023-04-21T21:00:43.888Z] Removing intermediate container 06b25d03c4a0 [2023-04-21T21:00:43.888Z] ---> a4b62624d2af [2023-04-21T21:00:43.888Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-21T21:00:44.157Z] ---> Running in 4b6f1ce042e6 [2023-04-21T21:00:45.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T21:00:45.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T21:00:46.669Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-21T21:00:46.669Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-21T21:00:46.669Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-21T21:00:46.669Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-21T21:00:46.669Z] Executing busybox-1.35.0-r29.trigger [2023-04-21T21:00:46.669Z] OK: 268 MiB in 57 packages [2023-04-21T21:00:47.632Z] Removing intermediate container 4b6f1ce042e6 [2023-04-21T21:00:47.632Z] ---> 6b69cfe18b68 [2023-04-21T21:00:47.632Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-21T21:00:47.900Z] ---> Running in 3510e2fea4d4 [2023-04-21T21:00:48.168Z] Removing intermediate container 3510e2fea4d4 [2023-04-21T21:00:48.168Z] ---> eb8958fa6d99 [2023-04-21T21:00:48.168Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-21T21:00:49.589Z] ---> 93a1579602a8 [2023-04-21T21:00:49.589Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T21:00:49.857Z] ---> Running in f14c1a89b85d [2023-04-21T21:02:11.492Z] Removing intermediate container f14c1a89b85d [2023-04-21T21:02:11.492Z] ---> 302fc7d00835 [2023-04-21T21:02:11.492Z] Step 11/12 : COPY . . [2023-04-21T21:02:11.492Z] ---> 03330488b1f2 [2023-04-21T21:02:11.492Z] Step 12/12 : RUN $MAKE [2023-04-21T21:02:11.492Z] ---> Running in 590656c6738b [2023-04-21T21:02:11.492Z] noop [2023-04-21T21:02:11.758Z] Removing intermediate container 590656c6738b [2023-04-21T21:02:11.758Z] ---> 326e8a709ed1 [2023-04-21T21:02:11.758Z] Successfully built 326e8a709ed1 [2023-04-21T21:02:11.758Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T21:02:12.509Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T21:02:12.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T21:02:12.789Z] prd-ubuntu20.04-docker-arm64-4c-16g-9322 does not seem to be running inside a container [2023-04-21T21:02:12.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-21T21:02:14.023Z] $ docker top 9dd3025b3d56b430e3e573fff4a09e351d6241e50383f3ab5afa8b9dcdee69aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T21:02:14.903Z] + go version [2023-04-21T21:02:14.903Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-21T21:02:14.943Z] $ docker stop --time=1 9dd3025b3d56b430e3e573fff4a09e351d6241e50383f3ab5afa8b9dcdee69aa [2023-04-21T21:02:16.546Z] $ docker rm -f --volumes 9dd3025b3d56b430e3e573fff4a09e351d6241e50383f3ab5afa8b9dcdee69aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T21:02:17.437Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T21:02:17.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T21:02:17.668Z] prd-ubuntu20.04-docker-arm64-4c-16g-9322 does not seem to be running inside a container [2023-04-21T21:02:17.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-21T21:02:18.860Z] $ docker top 5ea8504188288369e647d40f671b41e9b352c759254780ba6f9ad9d29b535b60 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T21:02:19.418Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-21T21:02:20.400Z] + make test [2023-04-21T21:02:20.400Z] go test ./... -coverprofile=coverage.out ./... [2023-04-21T21:02:52.671Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-21T21:04:44.355Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-21T21:04:44.355Z] ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 32.2% of statements [2023-04-21T21:04:44.355Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-21T21:04:44.355Z] go vet ./... [2023-04-21T21:05:11.058Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-21T21:05:11.058Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-21T21:05:11.058Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-21T21:05:11.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-21T21:05:11.137Z] $ docker stop --time=1 5ea8504188288369e647d40f671b41e9b352c759254780ba6f9ad9d29b535b60 [2023-04-21T21:05:13.020Z] $ docker rm -f --volumes 5ea8504188288369e647d40f671b41e9b352c759254780ba6f9ad9d29b535b60 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T21:05:14.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-21T21:05:14.278Z] Warning: overwriting stash ‘coverage-report’ [2023-04-21T21:05:14.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T21:05:15.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-21T21:05:15.679Z] + ls -al . [2023-04-21T21:05:15.679Z] total 180 [2023-04-21T21:05:15.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 21:02 . [2023-04-21T21:05:15.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:59 .. [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 21 20:59 .dockerignore [2023-04-21T21:05:15.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 20:59 .git [2023-04-21T21:05:15.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:59 .github [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 21 20:59 .gitignore [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 20:59 .golangci.yml [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 21 20:59 Attribution.txt [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 21 20:59 CHANGELOG.md [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 21 20:59 Dockerfile [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 20:59 GOVERNANCE.md [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 21 20:59 Jenkinsfile [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 20:59 LICENSE [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 21 20:59 Makefile [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 21 20:59 OWNERS.md [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 21 20:59 README.md [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 20:58 VERSION [2023-04-21T21:05:15.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:59 bin [2023-04-21T21:05:15.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:59 cmd [2023-04-21T21:05:15.679Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 21 21:04 coverage.out [2023-04-21T21:05:15.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:59 driver [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 21 20:59 go.mod [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 21 20:59 go.sum [2023-04-21T21:05:15.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:59 snap [2023-04-21T21:05:15.679Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 21 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T21:05:16.100Z] + 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=c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 --label arch=arm64 --label version=0.0.0 . [2023-04-21T21:05:16.100Z] Sending build context to Docker daemon 154.1kB [2023-04-21T21:05:16.368Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T21:05:16.368Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-21T21:05:16.368Z] ---> 326e8a709ed1 [2023-04-21T21:05:16.368Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-21T21:05:16.368Z] ---> Running in 971d77d454b3 [2023-04-21T21:05:16.637Z] Removing intermediate container 971d77d454b3 [2023-04-21T21:05:16.637Z] ---> febacb94d42e [2023-04-21T21:05:16.637Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-21T21:05:16.914Z] ---> Running in 203619efff50 [2023-04-21T21:05:17.181Z] Removing intermediate container 203619efff50 [2023-04-21T21:05:17.181Z] ---> 4f285edcfaa7 [2023-04-21T21:05:17.181Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-21T21:05:17.181Z] ---> Running in e103d05f8c49 [2023-04-21T21:05:17.449Z] Removing intermediate container e103d05f8c49 [2023-04-21T21:05:17.449Z] ---> 20d62ce72a4f [2023-04-21T21:05:17.449Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-21T21:05:17.449Z] ---> Running in c853165a5def [2023-04-21T21:05:17.719Z] Removing intermediate container c853165a5def [2023-04-21T21:05:17.719Z] ---> e844ad753bad [2023-04-21T21:05:17.719Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-21T21:05:17.989Z] ---> Running in dead0a4ea758 [2023-04-21T21:05:18.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T21:05:19.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T21:05:20.500Z] OK: 268 MiB in 57 packages [2023-04-21T21:05:21.469Z] Removing intermediate container dead0a4ea758 [2023-04-21T21:05:21.469Z] ---> 1edef211d6c9 [2023-04-21T21:05:21.469Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-21T21:05:21.469Z] ---> Running in f0fbf8c5e08d [2023-04-21T21:05:21.740Z] Removing intermediate container f0fbf8c5e08d [2023-04-21T21:05:21.740Z] ---> c2bc81bbae21 [2023-04-21T21:05:21.740Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-21T21:05:22.327Z] ---> 8696a330b7a9 [2023-04-21T21:05:22.327Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T21:05:22.594Z] ---> Running in e38684735896 [2023-04-21T21:05:25.189Z] Removing intermediate container e38684735896 [2023-04-21T21:05:25.189Z] ---> 38ef1ab6f5ef [2023-04-21T21:05:25.189Z] Step 11/25 : COPY . . [2023-04-21T21:05:25.775Z] ---> eac2f6929971 [2023-04-21T21:05:25.775Z] Step 12/25 : RUN $MAKE [2023-04-21T21:05:25.775Z] ---> Running in 989d46a75b1b [2023-04-21T21:05:26.749Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-21T21:07:33.462Z] Removing intermediate container 989d46a75b1b [2023-04-21T21:07:33.462Z] ---> 95e851420e12 [2023-04-21T21:07:33.462Z] Step 13/25 : FROM alpine:3.17 [2023-04-21T21:07:33.462Z] 3.17: Pulling from library/alpine [2023-04-21T21:07:33.728Z] c41833b44d91: Pulling fs layer [2023-04-21T21:07:33.728Z] c41833b44d91: Verifying Checksum [2023-04-21T21:07:33.728Z] c41833b44d91: Download complete [2023-04-21T21:07:34.311Z] c41833b44d91: Pull complete [2023-04-21T21:07:34.311Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-21T21:07:34.311Z] Status: Downloaded newer image for alpine:3.17 [2023-04-21T21:07:34.311Z] ---> 51e60588ff2c [2023-04-21T21:07:34.311Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-21T21:07:34.577Z] ---> Running in 19abfa9bb72d [2023-04-21T21:07:34.846Z] Removing intermediate container 19abfa9bb72d [2023-04-21T21:07:34.846Z] ---> b7caab98afdd [2023-04-21T21:07:34.846Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-21T21:07:34.846Z] ---> Running in 021393ea6046 [2023-04-21T21:07:35.115Z] Removing intermediate container 021393ea6046 [2023-04-21T21:07:35.115Z] ---> 878c90a2dba0 [2023-04-21T21:07:35.115Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-21T21:07:35.115Z] ---> Running in fb4e3c59e9a5 [2023-04-21T21:07:36.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T21:07:36.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T21:07:37.624Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-21T21:07:37.624Z] Executing busybox-1.35.0-r29.trigger [2023-04-21T21:07:37.624Z] OK: 8 MiB in 16 packages [2023-04-21T21:07:38.584Z] Removing intermediate container fb4e3c59e9a5 [2023-04-21T21:07:38.584Z] ---> b9c19cf2d161 [2023-04-21T21:07:38.584Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-21T21:07:39.998Z] ---> dbfff8dc844f [2023-04-21T21:07:39.998Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-21T21:07:40.266Z] ---> a1081e192d59 [2023-04-21T21:07:40.266Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-21T21:07:40.534Z] ---> dc2a18c90351 [2023-04-21T21:07:40.534Z] Step 20/25 : EXPOSE 59986 [2023-04-21T21:07:40.802Z] ---> Running in 4b0f60da97c1 [2023-04-21T21:07:41.069Z] Removing intermediate container 4b0f60da97c1 [2023-04-21T21:07:41.069Z] ---> 2a089795cd31 [2023-04-21T21:07:41.069Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-21T21:07:41.069Z] ---> Running in 19fd00daced6 [2023-04-21T21:07:41.339Z] Removing intermediate container 19fd00daced6 [2023-04-21T21:07:41.339Z] ---> 1f83b56bcb05 [2023-04-21T21:07:41.339Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-21T21:07:41.339Z] ---> Running in 4f44b38ffcea [2023-04-21T21:07:41.717Z] Removing intermediate container 4f44b38ffcea [2023-04-21T21:07:41.717Z] ---> 41a0fc5e9488 [2023-04-21T21:07:41.717Z] Step 23/25 : LABEL arch=arm64 [2023-04-21T21:07:41.717Z] ---> Running in 60eaaa53de6e [2023-04-21T21:07:41.999Z] Removing intermediate container 60eaaa53de6e [2023-04-21T21:07:41.999Z] ---> e133b59ac757 [2023-04-21T21:07:41.999Z] Step 24/25 : LABEL git_sha=c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [2023-04-21T21:07:42.276Z] ---> Running in 7f173ceee1d5 [2023-04-21T21:07:42.548Z] Removing intermediate container 7f173ceee1d5 [2023-04-21T21:07:42.548Z] ---> fd54645c5a6a [2023-04-21T21:07:42.548Z] Step 25/25 : LABEL version=0.0.0 [2023-04-21T21:07:42.548Z] ---> Running in bb6d3742df60 [2023-04-21T21:07:42.823Z] Removing intermediate container bb6d3742df60 [2023-04-21T21:07:42.823Z] ---> ed3861f4ff56 [2023-04-21T21:07:42.823Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-21T21:07:42.823Z] Successfully built ed3861f4ff56 [2023-04-21T21:07:42.823Z] 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 [2023-04-21T21:07:43.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T21:07:43.671Z] [2023-04-21T21:07:43.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T21:07:44.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T21:07:44.104Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-21T21:07:44.104Z] 8998bd30e6a1: Pulling fs layer [2023-04-21T21:07:44.104Z] 04944245beec: Pulling fs layer [2023-04-21T21:07:44.104Z] 699f458cf7ca: Pulling fs layer [2023-04-21T21:07:44.104Z] 765212b225bb: Pulling fs layer [2023-04-21T21:07:44.104Z] f23df028b6ca: Pulling fs layer [2023-04-21T21:07:44.104Z] d65c8cfc05b1: Pulling fs layer [2023-04-21T21:07:44.104Z] 2437ff75d9bd: Pulling fs layer [2023-04-21T21:07:44.104Z] d65c8cfc05b1: Waiting [2023-04-21T21:07:44.104Z] 765212b225bb: Waiting [2023-04-21T21:07:44.104Z] 2437ff75d9bd: Waiting [2023-04-21T21:07:44.104Z] f23df028b6ca: Waiting [2023-04-21T21:07:44.387Z] 04944245beec: Verifying Checksum [2023-04-21T21:07:44.387Z] 04944245beec: Download complete [2023-04-21T21:07:44.387Z] 765212b225bb: Verifying Checksum [2023-04-21T21:07:44.387Z] 765212b225bb: Download complete [2023-04-21T21:07:44.387Z] f23df028b6ca: Verifying Checksum [2023-04-21T21:07:44.387Z] f23df028b6ca: Download complete [2023-04-21T21:07:44.387Z] d65c8cfc05b1: Verifying Checksum [2023-04-21T21:07:44.387Z] d65c8cfc05b1: Download complete [2023-04-21T21:07:44.387Z] 699f458cf7ca: Verifying Checksum [2023-04-21T21:07:44.387Z] 699f458cf7ca: Download complete [2023-04-21T21:07:44.975Z] 8998bd30e6a1: Verifying Checksum [2023-04-21T21:07:44.975Z] 8998bd30e6a1: Download complete [2023-04-21T21:07:46.923Z] 2437ff75d9bd: Verifying Checksum [2023-04-21T21:07:46.923Z] 2437ff75d9bd: Download complete [2023-04-21T21:07:48.868Z] 8998bd30e6a1: Pull complete [2023-04-21T21:07:49.455Z] 04944245beec: Pull complete [2023-04-21T21:07:50.879Z] 699f458cf7ca: Pull complete [2023-04-21T21:07:51.148Z] 765212b225bb: Pull complete [2023-04-21T21:07:51.732Z] f23df028b6ca: Pull complete [2023-04-21T21:07:52.003Z] d65c8cfc05b1: Pull complete [2023-04-21T21:08:07.018Z] 2437ff75d9bd: Pull complete [2023-04-21T21:08:07.018Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-21T21:08:07.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T21:08:07.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T21:08:07.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-9322 does not seem to be running inside a container [2023-04-21T21:08:07.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-21T21:08:10.308Z] $ docker top 2a4fb08cf7f1b422070a70589382737b5fcc5b07424e8797db617eb050162a9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:11.236Z] ---> job-cost.sh [2023-04-21T21:08:11.237Z] lf-activate-venv: SKIPPING [2023-04-21T21:08:11.237Z] INFO: No Stack... [2023-04-21T21:08:11.822Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-21T21:08:12.409Z] INFO: Archiving Costs [Pipeline] sh [2023-04-21T21:08:13.355Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-21T21:08:13.356Z] + cut -d, -f6 [Pipeline] lock [2023-04-21T21:08:13.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] [2023-04-21T21:08:13.464Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] did not exist. Created. [2023-04-21T21:08:13.464Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-21T21:08:13.948Z] /w/workspace/device-rest-go/1@tmp/durable-1874abf5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-21T21:08:14.623Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-21T21:08:14.665Z] Warning: overwriting stash ‘stack-cost’ [2023-04-21T21:08:14.714Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T21:08:14.728Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-297-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T21:08:14.815Z] $ docker stop --time=1 2a4fb08cf7f1b422070a70589382737b5fcc5b07424e8797db617eb050162a9e [2023-04-21T21:08:16.298Z] $ docker rm -f --volumes 2a4fb08cf7f1b422070a70589382737b5fcc5b07424e8797db617eb050162a9e [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 [2023-04-21T21:08:17.333Z] provisioning config files... [2023-04-21T21:08:17.340Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config7553684290080704155tmp [Pipeline] { [Pipeline] sh [2023-04-21T21:08:17.680Z] + set +x [2023-04-21T21:08:17.681Z] + curl -s https://codecov.io/bash [2023-04-21T21:08:17.681Z] + bash -s -- [2023-04-21T21:08:17.681Z] [2023-04-21T21:08:17.681Z] _____ _ [2023-04-21T21:08:17.681Z] / ____| | | [2023-04-21T21:08:17.681Z] | | ___ __| | ___ ___ _____ __ [2023-04-21T21:08:17.681Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-21T21:08:17.681Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-21T21:08:17.681Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-21T21:08:17.681Z] Bash-1.0.6 [2023-04-21T21:08:17.681Z] [2023-04-21T21:08:17.681Z] [2023-04-21T21:08:17.681Z] ==> git version 2.25.1 found [2023-04-21T21:08:17.681Z] ==> 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 [2023-04-21T21:08:17.681Z] Release-Date: 2020-01-08 [2023-04-21T21:08:17.681Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-21T21:08:17.681Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-21T21:08:17.681Z] ==> Jenkins CI detected. [2023-04-21T21:08:17.681Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-297 [2023-04-21T21:08:17.681Z] project root: . [2023-04-21T21:08:17.681Z] --> token set from env [2023-04-21T21:08:17.681Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-21T21:08:17.681Z] ==> Running gcov in . (disable via -X gcov) [2023-04-21T21:08:17.681Z] ==> Python coveragepy not found [2023-04-21T21:08:17.681Z] ==> Searching for coverage reports in: [2023-04-21T21:08:17.681Z] + . [2023-04-21T21:08:17.681Z] -> Found 1 reports [2023-04-21T21:08:17.681Z] ==> Detecting git/mercurial file structure [2023-04-21T21:08:17.681Z] ==> Reading reports [2023-04-21T21:08:17.940Z] + ./coverage.out bytes=14663 [2023-04-21T21:08:17.940Z] ==> Appending adjustments [2023-04-21T21:08:17.940Z] https://docs.codecov.io/docs/fixing-reports [2023-04-21T21:08:17.940Z] + Found adjustments [2023-04-21T21:08:17.940Z] ==> Gzipping contents [2023-04-21T21:08:17.940Z] 4.0K /tmp/codecov.BnGR3M.gz [2023-04-21T21:08:17.940Z] ==> Uploading reports [2023-04-21T21:08:17.940Z] url: https://codecov.io [2023-04-21T21:08:17.940Z] query: branch=PR-297&commit=c7cf61063326e8e2a4d7c4cb426cea306f29b9f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=297&job=&cmd_args= [2023-04-21T21:08:17.940Z] -> Pinging Codecov [2023-04-21T21:08:17.940Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-297&commit=c7cf61063326e8e2a4d7c4cb426cea306f29b9f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=297&job=&cmd_args= [2023-04-21T21:08:17.940Z] -> Uploading to [2023-04-21T21:08:17.940Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-21/4E5D53B4F1F92C436F7061BF334D961C/c7cf61063326e8e2a4d7c4cb426cea306f29b9f0/66a2be79-52ce-4b27-a8a7-0fe8417ac6b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230421T210817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b217ac22483cb0edab823fbe95dd5fe948f21b83d20492b230735a5a6cc8c010 [2023-04-21T21:08:17.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-21T21:08:17.940Z] Dload Upload Total Spent Left Speed [2023-04-21T21:08:18.200Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10635 --:--:-- --:--:-- --:--:-- 10635 [2023-04-21T21:08:18.200Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 [Pipeline] } [2023-04-21T21:08:18.264Z] 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 [2023-04-21T21:08:20.172Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-297/archives ] [2023-04-21T21:08:20.172Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-21T21:08:20.172Z] total 16 [2023-04-21T21:08:20.172Z] drwxr-xr-x 3 root root 4096 Apr 21 20:59 . [2023-04-21T21:08:20.172Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 20:59 .. [2023-04-21T21:08:20.172Z] drwxr-xr-x 2 root root 4096 Apr 21 20:59 cost [2023-04-21T21:08:20.172Z] -rw-r--r-- 1 root root 87 Apr 21 20:59 cost.csv [2023-04-21T21:08:20.172Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-21T21:08:20.172Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-21T21:08:20.172Z] total 16 [2023-04-21T21:08:20.172Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 20:59 . [2023-04-21T21:08:20.172Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 20:59 .. [2023-04-21T21:08:20.172Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 20:59 cost [2023-04-21T21:08:20.172Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 21 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:20.503Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:21.393Z] ---> package-listing.sh [2023-04-21T21:08:21.393Z] ++ facter osfamily [2023-04-21T21:08:21.393Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-21T21:08:21.652Z] + OS_FAMILY=debian [2023-04-21T21:08:21.652Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-297 [2023-04-21T21:08:21.652Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-21T21:08:21.652Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-21T21:08:21.652Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-21T21:08:21.652Z] + PACKAGES=/tmp/packages_start.txt [2023-04-21T21:08:21.652Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-297 ']' [2023-04-21T21:08:21.652Z] + PACKAGES=/tmp/packages_end.txt [2023-04-21T21:08:21.652Z] + case "${OS_FAMILY}" in [2023-04-21T21:08:21.652Z] + dpkg -l [2023-04-21T21:08:21.652Z] + grep '^ii' [2023-04-21T21:08:21.652Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-21T21:08:21.652Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-21T21:08:21.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-21T21:08:21.652Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-297 ']' [2023-04-21T21:08:21.652Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-297/archives/ [2023-04-21T21:08:21.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-297/archives/ [Pipeline] echo [2023-04-21T21:08:21.690Z] 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-297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-21T21:08:21.980Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T21:08:22.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T21:08:22.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T21:08:22.770Z] prd-ubuntu20.04-docker-8c-8g-9319 does not seem to be running inside a container [2023-04-21T21:08:22.809Z] $ 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-297/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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-21T21:08:22.997Z] $ docker top 126ebcb438802fd62c80f79d1abe37f13370136900ac0b7791a8cc14a27f1aa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T21:08:23.382Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-21T21:08:23.685Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-21T21:08:23.999Z] + ls /var/log/sa-host [2023-04-21T21:08:23.999Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T21:08:24.235Z] provisioning config files... [2023-04-21T21:08:24.243Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config12961363485442349885tmp [Pipeline] { [Pipeline] echo [2023-04-21T21:08:24.296Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:24.603Z] ---> create-netrc.sh [Pipeline] } [2023-04-21T21:08:24.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:25.057Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-21T21:08:25.092Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:25.401Z] ---> sudo-logs.sh [2023-04-21T21:08:25.401Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-21T21:08:25.491Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:25.802Z] ---> job-cost.sh [2023-04-21T21:08:25.802Z] lf-activate-venv: SKIPPING [2023-04-21T21:08:25.802Z] DEBUG: total: 0.2199999988079071 [2023-04-21T21:08:25.802Z] INFO: Retrieving Stack Cost... [2023-04-21T21:08:26.062Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T21:08:26.322Z] INFO: Archiving Costs [Pipeline] echo [2023-04-21T21:08:26.374Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T21:08:26.689Z] ---> logs-deploy.sh [2023-04-21T21:08:26.689Z] lf-activate-venv: SKIPPING [2023-04-21T21:08:26.689Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-297/1 [2023-04-21T21:08:26.689Z] INFO: archiving workspace using pattern(s): [2023-04-21T21:08:27.626Z] Archives upload complete. [2023-04-21T21:08:27.626Z] INFO: archiving logs to Nexus