Pull request #295 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92d05831d62a2154c95b99d6e2e608bd8957c8d9+8f28bd2feba64f4e14e7f4e476d7a420beb0434d (42017ed930a4fefded6bdd81fc278b167e4e9cd8) 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-ssh10404250144651802722.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-ssh5530276276399922039.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-295/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-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13819188608370505056.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-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8877534425025984749.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-ssh1450929443867024075.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-295/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-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3615356191956256568.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9103 in /w/workspace/gexfoundry_device-rest-go_PR-295 [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-295 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 92d05831d62a2154c95b99d6e2e608bd8957c8d9 Merge succeeded, producing 92d05831d62a2154c95b99d6e2e608bd8957c8d9 Checking out Revision 92d05831d62a2154c95b99d6e2e608bd8957c8d9 (PR-295) 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 > 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/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # 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 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-19T21:01:40.969Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-19T21:01:41.141Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-19T21:01:41.234Z] ========================================================= [2023-04-19T21:01:41.234Z] EdgeX Global Pipelines Version Info [2023-04-19T21:01:41.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:01:41.975Z] ------------------- [2023-04-19T21:01:41.975Z] stable info: [2023-04-19T21:01:41.975Z] ------------------- [2023-04-19T21:01:41.975Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-19T21:01:41.975Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T21:01:41.975Z] Message: update stable to v1.0.248 [2023-04-19T21:01:42.546Z] ------------------- [2023-04-19T21:01:42.546Z] experimental info: [2023-04-19T21:01:42.546Z] ------------------- [2023-04-19T21:01:42.547Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-19T21:01:42.547Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T21:01:42.547Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-19T21:01:42.830Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-19T21:01:42.864Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-19T21:01:42.905Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-19T21:01:42.947Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-19T21:01:42.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-19T21:01:43.015Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-19T21:01:43.050Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-19T21:01:43.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-19T21:01:43.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-19T21:01:43.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-19T21:01:43.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-19T21:01:43.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-19T21:01:43.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-19T21:01:43.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-19T21:01:43.340Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T21:01:43.378Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T21:01:43.416Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T21:01:43.457Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T21:01:43.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-19T21:01:43.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-19T21:01:43.591Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-19T21:01:43.635Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-19T21:01:43.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-19T21:01:43.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-19T21:01:43.747Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-19T21:01:43.790Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-19T21:01:43.828Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-19T21:01:43.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-295 [Pipeline] echo [2023-04-19T21:01:43.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-295 [Pipeline] echo [2023-04-19T21:01:43.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-295 [Pipeline] echo [2023-04-19T21:01:43.999Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo [2023-04-19T21:01:44.039Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92d0583 [Pipeline] echo [2023-04-19T21:01:44.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T21:01:44.207Z] provisioning config files... [2023-04-19T21:01:44.221Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config8306393497368233937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:01:44.567Z] ---> docker-login.sh [2023-04-19T21:01:44.567Z] nexus3.edgexfoundry.org:10001 [2023-04-19T21:01:44.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:01:44.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:01:44.827Z] Configure a credential helper to remove this warning. See [2023-04-19T21:01:44.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:01:44.827Z] [2023-04-19T21:01:44.827Z] Login Succeeded [2023-04-19T21:01:44.827Z] nexus3.edgexfoundry.org:10002 [2023-04-19T21:01:45.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:01:45.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:01:45.090Z] Configure a credential helper to remove this warning. See [2023-04-19T21:01:45.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:01:45.090Z] [2023-04-19T21:01:45.090Z] Login Succeeded [2023-04-19T21:01:45.090Z] nexus3.edgexfoundry.org:10003 [2023-04-19T21:01:45.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:01:45.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:01:45.091Z] Configure a credential helper to remove this warning. See [2023-04-19T21:01:45.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:01:45.091Z] [2023-04-19T21:01:45.091Z] Login Succeeded [2023-04-19T21:01:45.091Z] nexus3.edgexfoundry.org:10004 [2023-04-19T21:01:45.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:01:45.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:01:45.351Z] Configure a credential helper to remove this warning. See [2023-04-19T21:01:45.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:01:45.351Z] [2023-04-19T21:01:45.351Z] Login Succeeded [2023-04-19T21:01:45.351Z] docker.io [2023-04-19T21:01:45.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:01:45.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:01:45.612Z] Configure a credential helper to remove this warning. See [2023-04-19T21:01:45.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:01:45.612Z] [2023-04-19T21:01:45.612Z] Login Succeeded [2023-04-19T21:01:45.612Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T21:01:45.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-19T21:01:46.283Z] + git rev-list -1 --merges 92d05831d62a2154c95b99d6e2e608bd8957c8d9~1..92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo [2023-04-19T21:01:46.343Z] -----------> git rev-list -1 --merges 92d05831d62a2154c95b99d6e2e608bd8957c8d9~1..92d05831d62a2154c95b99d6e2e608bd8957c8d9 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [false] [Pipeline] sh [2023-04-19T21:01:46.657Z] + git log --format=format:%s -1 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo [2023-04-19T21:01:46.690Z] ========================================================= [2023-04-19T21:01:46.690Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-19T21:01:46.690Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T21:01:47.125Z] + git log --format=format:%s -1 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo [2023-04-19T21:01:47.158Z] [semverPrep] GIT_COMMIT: 92d05831d62a2154c95b99d6e2e608bd8957c8d9, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-19T21:01:47.186Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-19T21:01:47.583Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T21:01:47.584Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-19T21:01:47.584Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-19T21:01:47.584Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-19T21:01:47.584Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-19T21:01:47.584Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-19T21:01:47.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:01:48.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T21:01:48.079Z] [2023-04-19T21:01:48.079Z] 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-19T21:01:48.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T21:01:48.455Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-19T21:01:48.455Z] b85a868b505f: Pulling fs layer [2023-04-19T21:01:48.455Z] e2be974225ed: Pulling fs layer [2023-04-19T21:01:48.455Z] 339a4e72a1f5: Pulling fs layer [2023-04-19T21:01:48.455Z] 988bab9f4d93: Pulling fs layer [2023-04-19T21:01:48.455Z] 1469e6f7b9e6: Pulling fs layer [2023-04-19T21:01:48.455Z] eaf3925da568: Pulling fs layer [2023-04-19T21:01:48.455Z] bab4dde63d76: Pulling fs layer [2023-04-19T21:01:48.455Z] bde34c3a00c8: Pulling fs layer [2023-04-19T21:01:48.455Z] b352a97aabf1: Pulling fs layer [2023-04-19T21:01:48.455Z] 4872d77fe225: Pulling fs layer [2023-04-19T21:01:48.455Z] 5851b861e8e6: Pulling fs layer [2023-04-19T21:01:48.455Z] bab4dde63d76: Waiting [2023-04-19T21:01:48.455Z] 4872d77fe225: Waiting [2023-04-19T21:01:48.455Z] bde34c3a00c8: Waiting [2023-04-19T21:01:48.455Z] 5851b861e8e6: Waiting [2023-04-19T21:01:48.455Z] b352a97aabf1: Waiting [2023-04-19T21:01:48.455Z] 988bab9f4d93: Waiting [2023-04-19T21:01:48.455Z] 1469e6f7b9e6: Waiting [2023-04-19T21:01:48.455Z] eaf3925da568: Waiting [2023-04-19T21:01:48.455Z] e2be974225ed: Verifying Checksum [2023-04-19T21:01:48.455Z] e2be974225ed: Download complete [2023-04-19T21:01:48.455Z] 988bab9f4d93: Verifying Checksum [2023-04-19T21:01:48.455Z] 988bab9f4d93: Download complete [2023-04-19T21:01:48.455Z] 1469e6f7b9e6: Verifying Checksum [2023-04-19T21:01:48.455Z] 1469e6f7b9e6: Download complete [2023-04-19T21:01:48.716Z] 339a4e72a1f5: Verifying Checksum [2023-04-19T21:01:48.716Z] 339a4e72a1f5: Download complete [2023-04-19T21:01:48.716Z] eaf3925da568: Verifying Checksum [2023-04-19T21:01:48.716Z] eaf3925da568: Download complete [2023-04-19T21:01:48.716Z] bde34c3a00c8: Download complete [2023-04-19T21:01:48.716Z] b352a97aabf1: Download complete [2023-04-19T21:01:48.716Z] 4872d77fe225: Download complete [2023-04-19T21:01:48.716Z] 5851b861e8e6: Verifying Checksum [2023-04-19T21:01:48.716Z] 5851b861e8e6: Download complete [2023-04-19T21:01:48.716Z] b85a868b505f: Verifying Checksum [2023-04-19T21:01:48.716Z] b85a868b505f: Download complete [2023-04-19T21:01:48.975Z] bab4dde63d76: Verifying Checksum [2023-04-19T21:01:48.975Z] bab4dde63d76: Download complete [2023-04-19T21:01:49.911Z] b85a868b505f: Pull complete [2023-04-19T21:01:49.911Z] e2be974225ed: Pull complete [2023-04-19T21:01:50.477Z] 339a4e72a1f5: Pull complete [2023-04-19T21:01:50.478Z] 988bab9f4d93: Pull complete [2023-04-19T21:01:50.738Z] 1469e6f7b9e6: Pull complete [2023-04-19T21:01:50.738Z] eaf3925da568: Pull complete [2023-04-19T21:01:52.645Z] bab4dde63d76: Pull complete [2023-04-19T21:01:52.645Z] bde34c3a00c8: Pull complete [2023-04-19T21:01:52.645Z] b352a97aabf1: Pull complete [2023-04-19T21:01:52.645Z] 4872d77fe225: Pull complete [2023-04-19T21:01:52.645Z] 5851b861e8e6: Pull complete [2023-04-19T21:01:52.645Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-19T21:01:52.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T21:01:52.645Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:01:52.874Z] prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container [2023-04-19T21:01:52.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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-19T21:01:54.381Z] $ docker top 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda -eo pid,comm [2023-04-19T21:01:54.432Z] 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-19T21:01:54.432Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T21:01:54.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T21:01:54.554Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T21:01:54.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T21:01:54.684Z] $ docker exec 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent [2023-04-19T21:01:54.777Z] SSH_AUTH_SOCK=/tmp/ssh-xG7oMSao6cXI/agent.32 [2023-04-19T21:01:54.777Z] SSH_AGENT_PID=38 [2023-04-19T21:01:54.783Z] Running ssh-add (command line suppressed) [2023-04-19T21:01:54.887Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_12997122396496724177.key (/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_12997122396496724177.key) [2023-04-19T21:01:54.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T21:01:55.229Z] + git tag --points-at HEAD [Pipeline] } [2023-04-19T21:01:55.256Z] $ docker exec --env ******** --env ******** 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent -k [2023-04-19T21:01:55.349Z] unset SSH_AUTH_SOCK; [2023-04-19T21:01:55.349Z] unset SSH_AGENT_PID; [2023-04-19T21:01:55.349Z] echo Agent pid 38 killed; [2023-04-19T21:01:55.356Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-19T21:01:55.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T21:01:55.443Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T21:01:55.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T21:01:55.555Z] $ docker exec 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent [2023-04-19T21:01:55.659Z] SSH_AUTH_SOCK=/tmp/ssh-8aTipXwh0CyL/agent.70 [2023-04-19T21:01:55.659Z] SSH_AGENT_PID=76 [2023-04-19T21:01:55.663Z] Running ssh-add (command line suppressed) [2023-04-19T21:01:55.758Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_3694760907958195758.key (/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_3694760907958195758.key) [2023-04-19T21:01:55.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T21:01:56.097Z] + git semver init [2023-04-19T21:01:56.356Z] 2023-04-19 21:01:56,281 [run_init] DEBUG init version:0.0.0 force:False [2023-04-19T21:01:56.356Z] 2023-04-19 21:01:56,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-295/.semver [2023-04-19T21:01:56.356Z] 2023-04-19 21:01:56,283 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-295/.semver [2023-04-19T21:01:56.356Z] 2023-04-19 21:01:56,283 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-295/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-295, universal_newlines=False, shell=None, istream=None) [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,245 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-295/.git/info/exclude [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,245 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-295/.semver/PR-295 with force:False [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,246 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-295/.semver/PR-295 [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,250 [execute] INFO git cat-file --batch-check [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-295/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,255 [execute] INFO git cat-file --batch [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-295/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T21:01:57.295Z] 2023-04-19 21:01:57,258 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-295/.semver/PR-295 [2023-04-19T21:01:57.295Z] 0.0.0 [Pipeline] } [2023-04-19T21:01:57.324Z] $ docker exec --env ******** --env ******** 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent -k [2023-04-19T21:01:57.413Z] unset SSH_AUTH_SOCK; [2023-04-19T21:01:57.414Z] unset SSH_AGENT_PID; [2023-04-19T21:01:57.414Z] echo Agent pid 76 killed; [2023-04-19T21:01:57.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T21:01:57.847Z] + git semver [Pipeline] } [2023-04-19T21:01:58.134Z] $ docker stop --time=1 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda [2023-04-19T21:01:59.440Z] $ docker rm -f --volumes 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T21:01:59.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-19T21:02:00.085Z] Stashed 1 file(s) [Pipeline] echo [2023-04-19T21:02:00.102Z] [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-19T21:02:00.680Z] provisioning config files... [2023-04-19T21:02:00.689Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config8781800439980861702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:02:01.042Z] ---> docker-login.sh [2023-04-19T21:02:01.042Z] nexus3.edgexfoundry.org:10001 [2023-04-19T21:02:01.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:02:01.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:02:01.042Z] Configure a credential helper to remove this warning. See [2023-04-19T21:02:01.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:02:01.042Z] [2023-04-19T21:02:01.042Z] Login Succeeded [2023-04-19T21:02:01.042Z] nexus3.edgexfoundry.org:10002 [2023-04-19T21:02:01.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:02:01.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:02:01.042Z] Configure a credential helper to remove this warning. See [2023-04-19T21:02:01.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:02:01.042Z] [2023-04-19T21:02:01.042Z] Login Succeeded [2023-04-19T21:02:01.042Z] nexus3.edgexfoundry.org:10003 [2023-04-19T21:02:01.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:02:01.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:02:01.301Z] Configure a credential helper to remove this warning. See [2023-04-19T21:02:01.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:02:01.301Z] [2023-04-19T21:02:01.301Z] Login Succeeded [2023-04-19T21:02:01.301Z] nexus3.edgexfoundry.org:10004 [2023-04-19T21:02:01.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:02:01.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:02:01.301Z] Configure a credential helper to remove this warning. See [2023-04-19T21:02:01.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:02:01.301Z] [2023-04-19T21:02:01.301Z] Login Succeeded [2023-04-19T21:02:01.301Z] docker.io [2023-04-19T21:02:01.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:02:01.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:02:01.561Z] Configure a credential helper to remove this warning. See [2023-04-19T21:02:01.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:02:01.561Z] [2023-04-19T21:02:01.561Z] Login Succeeded [2023-04-19T21:02:01.561Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T21:02:01.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T21:02:01.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T21:02:01.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T21:02:01.840Z] ========================================================= [2023-04-19T21:02:01.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-19T21:02:01.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:02:02.314Z] + 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-19T21:02:02.315Z] Sending build context to Docker daemon 10.9MB [2023-04-19T21:02:02.315Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T21:02:02.315Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T21:02:02.315Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-19T21:02:02.315Z] 63b65145d645: Pulling fs layer [2023-04-19T21:02:02.315Z] a2d21d5440eb: Pulling fs layer [2023-04-19T21:02:02.315Z] 935e6c44a52c: Pulling fs layer [2023-04-19T21:02:02.315Z] 94cc34f8dd06: Pulling fs layer [2023-04-19T21:02:02.315Z] 30dea6a524f1: Pulling fs layer [2023-04-19T21:02:02.315Z] a2aff8979fd8: Pulling fs layer [2023-04-19T21:02:02.315Z] 6808be2612f2: Pulling fs layer [2023-04-19T21:02:02.315Z] f25807f1079a: Pulling fs layer [2023-04-19T21:02:02.315Z] 30dea6a524f1: Waiting [2023-04-19T21:02:02.315Z] a2aff8979fd8: Waiting [2023-04-19T21:02:02.315Z] 6808be2612f2: Waiting [2023-04-19T21:02:02.315Z] f25807f1079a: Waiting [2023-04-19T21:02:02.315Z] 94cc34f8dd06: Waiting [2023-04-19T21:02:02.315Z] a2d21d5440eb: Download complete [2023-04-19T21:02:02.315Z] 94cc34f8dd06: Verifying Checksum [2023-04-19T21:02:02.315Z] 94cc34f8dd06: Download complete [2023-04-19T21:02:02.315Z] 30dea6a524f1: Download complete [2023-04-19T21:02:02.574Z] 63b65145d645: Verifying Checksum [2023-04-19T21:02:02.574Z] 63b65145d645: Download complete [2023-04-19T21:02:02.574Z] a2aff8979fd8: Verifying Checksum [2023-04-19T21:02:02.574Z] a2aff8979fd8: Download complete [2023-04-19T21:02:02.574Z] 63b65145d645: Pull complete [2023-04-19T21:02:02.834Z] a2d21d5440eb: Pull complete [2023-04-19T21:02:02.834Z] f25807f1079a: Verifying Checksum [2023-04-19T21:02:02.834Z] f25807f1079a: Download complete [2023-04-19T21:02:03.094Z] 935e6c44a52c: Download complete [2023-04-19T21:02:03.354Z] 6808be2612f2: Verifying Checksum [2023-04-19T21:02:03.354Z] 6808be2612f2: Download complete [2023-04-19T21:02:06.677Z] 935e6c44a52c: Pull complete [2023-04-19T21:02:06.677Z] 94cc34f8dd06: Pull complete [2023-04-19T21:02:06.677Z] 30dea6a524f1: Pull complete [2023-04-19T21:02:06.677Z] a2aff8979fd8: Pull complete [2023-04-19T21:02:08.579Z] 6808be2612f2: Pull complete [2023-04-19T21:02:09.514Z] f25807f1079a: Pull complete [2023-04-19T21:02:09.514Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-19T21:02:09.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T21:02:09.514Z] ---> 3b553350e43f [2023-04-19T21:02:09.514Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T21:02:10.898Z] ---> Running in e564bdd1e839 [2023-04-19T21:02:10.898Z] Removing intermediate container e564bdd1e839 [2023-04-19T21:02:10.898Z] ---> 314ad99a983b [2023-04-19T21:02:10.898Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T21:02:10.898Z] ---> Running in 2de64eee2e97 [2023-04-19T21:02:10.898Z] Removing intermediate container 2de64eee2e97 [2023-04-19T21:02:10.898Z] ---> 8c1b9e998313 [2023-04-19T21:02:10.898Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T21:02:10.898Z] ---> Running in d173ac7b63f0 [2023-04-19T21:02:11.157Z] Removing intermediate container d173ac7b63f0 [2023-04-19T21:02:11.157Z] ---> b0ba0bfca806 [2023-04-19T21:02:11.157Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T21:02:11.157Z] ---> Running in 8349cbaca1eb [2023-04-19T21:02:11.157Z] Removing intermediate container 8349cbaca1eb [2023-04-19T21:02:11.157Z] ---> 56efd6eea962 [2023-04-19T21:02:11.157Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T21:02:11.157Z] ---> Running in f2eab62e22f7 [2023-04-19T21:02:11.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T21:02:11.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T21:02:11.677Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T21:02:11.677Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T21:02:11.677Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T21:02:11.936Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T21:02:11.936Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T21:02:11.937Z] OK: 269 MiB in 57 packages [2023-04-19T21:02:12.196Z] Removing intermediate container f2eab62e22f7 [2023-04-19T21:02:12.196Z] ---> 7a3e01446090 [2023-04-19T21:02:12.196Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-19T21:02:12.196Z] ---> Running in 502407fc0199 [2023-04-19T21:02:12.196Z] Removing intermediate container 502407fc0199 [2023-04-19T21:02:12.196Z] ---> fedcbf44f7f7 [2023-04-19T21:02:12.196Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T21:02:12.453Z] ---> 5b416842cb48 [2023-04-19T21:02:12.454Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T21:02:12.454Z] ---> Running in 8f4a97ca8f91 [2023-04-19T21:02:15.490Z] Still waiting to schedule task [2023-04-19T21:02:15.491Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-19T21:02:44.541Z] Removing intermediate container 8f4a97ca8f91 [2023-04-19T21:02:44.541Z] ---> bc74a57132b6 [2023-04-19T21:02:44.541Z] Step 11/12 : COPY . . [2023-04-19T21:02:44.541Z] ---> 2d61930aad11 [2023-04-19T21:02:44.541Z] Step 12/12 : RUN $MAKE [2023-04-19T21:02:44.541Z] ---> Running in cae0328fd2e8 [2023-04-19T21:02:44.804Z] noop [2023-04-19T21:02:45.065Z] Removing intermediate container cae0328fd2e8 [2023-04-19T21:02:45.065Z] ---> 61574c4778b9 [2023-04-19T21:02:45.065Z] Successfully built 61574c4778b9 [2023-04-19T21:02:45.065Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:02:45.505Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T21:02:45.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:02:45.649Z] prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container [2023-04-19T21:02:45.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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-19T21:02:46.038Z] $ docker top 85f2f5bf8c4fa131db8984b21e146cd45e3a036e0e92c95d70d14a22e17c67a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T21:02:46.424Z] + go version [2023-04-19T21:02:46.424Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-19T21:02:46.462Z] $ docker stop --time=1 85f2f5bf8c4fa131db8984b21e146cd45e3a036e0e92c95d70d14a22e17c67a6 [2023-04-19T21:02:47.726Z] $ docker rm -f --volumes 85f2f5bf8c4fa131db8984b21e146cd45e3a036e0e92c95d70d14a22e17c67a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:02:48.425Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T21:02:48.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:02:48.570Z] prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container [2023-04-19T21:02:48.604Z] $ 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-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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-19T21:02:48.930Z] $ docker top f0b0ff15e9169e2056ebafdb1d1c2ef1061dc7cbd215bcbe4702a57e56e83102 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T21:02:49.313Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-295 [Pipeline] fileExists [Pipeline] sh [2023-04-19T21:02:49.667Z] + make test [2023-04-19T21:02:49.667Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T21:02:54.937Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-19T21:03:04.900Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-19T21:03:04.900Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-04-19T21:03:11.450Z] go vet ./... [2023-04-19T21:03:13.979Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T21:03:13.979Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T21:03:13.979Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T21:03:14.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T21:03:14.047Z] $ docker stop --time=1 f0b0ff15e9169e2056ebafdb1d1c2ef1061dc7cbd215bcbe4702a57e56e83102 [2023-04-19T21:03:16.111Z] $ docker rm -f --volumes f0b0ff15e9169e2056ebafdb1d1c2ef1061dc7cbd215bcbe4702a57e56e83102 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T21:03:16.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T21:03:16.779Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-19T21:03:17.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T21:03:17.786Z] + ls -al . [2023-04-19T21:03:17.786Z] total 184 [2023-04-19T21:03:17.786Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:02 . [2023-04-19T21:03:17.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:01 .. [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 21:01 .dockerignore [2023-04-19T21:03:17.786Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:01 .git [2023-04-19T21:03:17.786Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:01 .github [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 21:01 .gitignore [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:01 .golangci.yml [2023-04-19T21:03:17.786Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:01 .semver [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 19 21:01 Attribution.txt [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 19 21:01 CHANGELOG.md [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 19 21:01 Dockerfile [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:01 GOVERNANCE.md [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 21:01 Jenkinsfile [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:01 LICENSE [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 19 21:01 Makefile [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 21:01 OWNERS.md [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 19 21:01 README.md [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:01 VERSION [2023-04-19T21:03:17.786Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:01 bin [2023-04-19T21:03:17.786Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:01 cmd [2023-04-19T21:03:17.786Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 19 21:03 coverage.out [2023-04-19T21:03:17.786Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:01 driver [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 19 21:01 go.mod [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 21:01 go.sum [2023-04-19T21:03:17.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:01 snap [2023-04-19T21:03:17.786Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:03:18.184Z] + 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=92d05831d62a2154c95b99d6e2e608bd8957c8d9 --label arch=amd64 --label version=0.0.0 . [2023-04-19T21:03:18.185Z] Sending build context to Docker daemon 10.92MB [2023-04-19T21:03:18.185Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T21:03:18.185Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-19T21:03:18.185Z] ---> 61574c4778b9 [2023-04-19T21:03:18.185Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-19T21:03:18.185Z] ---> Running in a8c63b77b2c1 [2023-04-19T21:03:18.445Z] Removing intermediate container a8c63b77b2c1 [2023-04-19T21:03:18.445Z] ---> a3d313a970fc [2023-04-19T21:03:18.445Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T21:03:18.445Z] ---> Running in 67ad3d049ffd [2023-04-19T21:03:18.445Z] Removing intermediate container 67ad3d049ffd [2023-04-19T21:03:18.445Z] ---> fe4d50d80c46 [2023-04-19T21:03:18.445Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T21:03:18.445Z] ---> Running in 3d772acc7b07 [2023-04-19T21:03:18.445Z] Removing intermediate container 3d772acc7b07 [2023-04-19T21:03:18.445Z] ---> 3b26dac1ac42 [2023-04-19T21:03:18.445Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T21:03:18.445Z] ---> Running in 59a7ff816847 [2023-04-19T21:03:18.705Z] Removing intermediate container 59a7ff816847 [2023-04-19T21:03:18.705Z] ---> 596c0196a928 [2023-04-19T21:03:18.705Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T21:03:18.705Z] ---> Running in 3f202fdbb4bd [2023-04-19T21:03:18.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T21:03:18.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T21:03:19.225Z] OK: 269 MiB in 57 packages [2023-04-19T21:03:19.485Z] Removing intermediate container 3f202fdbb4bd [2023-04-19T21:03:19.485Z] ---> c16d0ade2da0 [2023-04-19T21:03:19.485Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-19T21:03:19.485Z] ---> Running in 3057130dae3a [2023-04-19T21:03:19.744Z] Removing intermediate container 3057130dae3a [2023-04-19T21:03:19.745Z] ---> 9c5169532e92 [2023-04-19T21:03:19.745Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-19T21:03:19.745Z] ---> f03f92dc83d0 [2023-04-19T21:03:19.745Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T21:03:19.745Z] ---> Running in e2f975fc3953 [2023-04-19T21:03:20.679Z] Removing intermediate container e2f975fc3953 [2023-04-19T21:03:20.679Z] ---> 950b675968c6 [2023-04-19T21:03:20.679Z] Step 11/25 : COPY . . [2023-04-19T21:03:20.679Z] ---> f138aa9a884d [2023-04-19T21:03:20.679Z] Step 12/25 : RUN $MAKE [2023-04-19T21:03:20.679Z] ---> Running in 964785e4090c [2023-04-19T21:03:20.936Z] 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-19T21:03:39.008Z] Removing intermediate container 964785e4090c [2023-04-19T21:03:39.008Z] ---> efa912734c59 [2023-04-19T21:03:39.009Z] Step 13/25 : FROM alpine:3.17 [2023-04-19T21:03:39.009Z] 3.17: Pulling from library/alpine [2023-04-19T21:03:39.009Z] f56be85fc22e: Pulling fs layer [2023-04-19T21:03:39.009Z] f56be85fc22e: Verifying Checksum [2023-04-19T21:03:39.009Z] f56be85fc22e: Download complete [2023-04-19T21:03:39.009Z] f56be85fc22e: Pull complete [2023-04-19T21:03:39.009Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T21:03:39.009Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T21:03:39.009Z] ---> 9ed4aefc74f6 [2023-04-19T21:03:39.009Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-19T21:03:39.009Z] ---> Running in 312e52f2b748 [2023-04-19T21:03:39.009Z] Removing intermediate container 312e52f2b748 [2023-04-19T21:03:39.009Z] ---> d0f2da6c94d2 [2023-04-19T21:03:39.009Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-19T21:03:39.009Z] ---> Running in 183d0547d455 [2023-04-19T21:03:39.009Z] Removing intermediate container 183d0547d455 [2023-04-19T21:03:39.009Z] ---> 7ba63969ca53 [2023-04-19T21:03:39.009Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-19T21:03:39.009Z] ---> Running in 3630387f29ed [2023-04-19T21:03:39.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T21:03:39.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T21:03:39.009Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T21:03:39.009Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T21:03:39.009Z] OK: 7 MiB in 16 packages [2023-04-19T21:03:39.009Z] Removing intermediate container 3630387f29ed [2023-04-19T21:03:39.009Z] ---> dfdf68254e3b [2023-04-19T21:03:39.009Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-19T21:03:39.576Z] ---> 0e859b478b41 [2023-04-19T21:03:39.576Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-19T21:03:39.576Z] ---> 7e37bdd8abc4 [2023-04-19T21:03:39.576Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-19T21:03:39.834Z] ---> 718ac0d8a83e [2023-04-19T21:03:39.834Z] Step 20/25 : EXPOSE 59986 [2023-04-19T21:03:39.834Z] ---> Running in dab54e7a9f29 [2023-04-19T21:03:39.834Z] Removing intermediate container dab54e7a9f29 [2023-04-19T21:03:39.834Z] ---> 571f60745b84 [2023-04-19T21:03:39.834Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-19T21:03:39.834Z] ---> Running in dabdaa0f2024 [2023-04-19T21:03:39.834Z] Removing intermediate container dabdaa0f2024 [2023-04-19T21:03:39.834Z] ---> 69cab582e4e2 [2023-04-19T21:03:39.834Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-19T21:03:39.834Z] ---> Running in 1f99d0af07c5 [2023-04-19T21:03:40.093Z] Removing intermediate container 1f99d0af07c5 [2023-04-19T21:03:40.093Z] ---> a2ed9dc21840 [2023-04-19T21:03:40.093Z] Step 23/25 : LABEL arch=amd64 [2023-04-19T21:03:40.093Z] ---> Running in ce1ab91ee345 [2023-04-19T21:03:40.093Z] Removing intermediate container ce1ab91ee345 [2023-04-19T21:03:40.093Z] ---> 820c00d4ef4c [2023-04-19T21:03:40.093Z] Step 24/25 : LABEL git_sha=92d05831d62a2154c95b99d6e2e608bd8957c8d9 [2023-04-19T21:03:40.093Z] ---> Running in 337d131f77d9 [2023-04-19T21:03:40.093Z] Removing intermediate container 337d131f77d9 [2023-04-19T21:03:40.093Z] ---> 40d6460f4411 [2023-04-19T21:03:40.093Z] Step 25/25 : LABEL version=0.0.0 [2023-04-19T21:03:40.093Z] ---> Running in 77472a1676df [2023-04-19T21:03:40.352Z] Removing intermediate container 77472a1676df [2023-04-19T21:03:40.352Z] ---> 36fdd9489c4a [2023-04-19T21:03:40.352Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T21:03:40.352Z] Successfully built 36fdd9489c4a [2023-04-19T21:03:40.352Z] 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-19T21:03:41.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T21:03:41.201Z] [2023-04-19T21:03:41.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:03:41.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T21:03:41.570Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-19T21:03:41.570Z] 5eb5b503b376: Pulling fs layer [2023-04-19T21:03:41.570Z] 5c69ac0246d0: Pulling fs layer [2023-04-19T21:03:41.570Z] ec43610c2a17: Pulling fs layer [2023-04-19T21:03:41.570Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-19T21:03:41.570Z] 33b1e0a273af: Pulling fs layer [2023-04-19T21:03:41.570Z] 5d3b04190fa2: Pulling fs layer [2023-04-19T21:03:41.570Z] 2f39f015ded8: Pulling fs layer [2023-04-19T21:03:41.570Z] 3a2ae6a8a46f: Waiting [2023-04-19T21:03:41.570Z] 33b1e0a273af: Waiting [2023-04-19T21:03:41.570Z] 5d3b04190fa2: Waiting [2023-04-19T21:03:41.570Z] 2f39f015ded8: Waiting [2023-04-19T21:03:41.570Z] 5c69ac0246d0: Verifying Checksum [2023-04-19T21:03:41.570Z] 5c69ac0246d0: Download complete [2023-04-19T21:03:41.570Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-19T21:03:41.570Z] 3a2ae6a8a46f: Download complete [2023-04-19T21:03:41.570Z] 33b1e0a273af: Verifying Checksum [2023-04-19T21:03:41.570Z] 33b1e0a273af: Download complete [2023-04-19T21:03:41.570Z] 5d3b04190fa2: Verifying Checksum [2023-04-19T21:03:41.570Z] 5d3b04190fa2: Download complete [2023-04-19T21:03:41.570Z] ec43610c2a17: Verifying Checksum [2023-04-19T21:03:41.570Z] ec43610c2a17: Download complete [2023-04-19T21:03:41.831Z] 5eb5b503b376: Download complete [2023-04-19T21:03:42.397Z] 2f39f015ded8: Download complete [2023-04-19T21:03:42.963Z] 5eb5b503b376: Pull complete [2023-04-19T21:03:42.963Z] 5c69ac0246d0: Pull complete [2023-04-19T21:03:43.528Z] ec43610c2a17: Pull complete [2023-04-19T21:03:43.528Z] 3a2ae6a8a46f: Pull complete [2023-04-19T21:03:43.786Z] 33b1e0a273af: Pull complete [2023-04-19T21:03:43.786Z] 5d3b04190fa2: Pull complete [2023-04-19T21:03:47.561Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9104 in /w/workspace/gexfoundry_device-rest-go_PR-295 [Pipeline] { [Pipeline] ws [2023-04-19T21:03:47.619Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-19T21:03:47.693Z] The recommended git tool is: git [2023-04-19T21:03:47.968Z] 2f39f015ded8: Pull complete [2023-04-19T21:03:47.968Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-19T21:03:47.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T21:03:47.968Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:03:48.194Z] prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container [2023-04-19T21:03:48.227Z] $ 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-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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-19T21:03:49.396Z] $ docker top 2f8684f667480d4d4d3109daa03532938f6f8f7afbe082000b84232ae3c129b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:03:49.866Z] ---> job-cost.sh [2023-04-19T21:03:49.866Z] lf-activate-venv: SKIPPING [2023-04-19T21:03:49.866Z] INFO: No Stack... [2023-04-19T21:03:50.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T21:03:50.388Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T21:03:50.710Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-295/archives/cost.csv [2023-04-19T21:03:50.710Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T21:03:50.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [2023-04-19T21:03:50.755Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] did not exist. Created. [2023-04-19T21:03:50.755Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T21:03:51.160Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-19T21:03:51.209Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T21:03:51.237Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T21:03:51.321Z] $ docker stop --time=1 2f8684f667480d4d4d3109daa03532938f6f8f7afbe082000b84232ae3c129b2 [2023-04-19T21:03:52.470Z] $ docker rm -f --volumes 2f8684f667480d4d4d3109daa03532938f6f8f7afbe082000b84232ae3c129b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-19T21:03:53.044Z] using credential edgex-jenkins-ssh [2023-04-19T21:03:53.063Z] Cloning the remote Git repository [2023-04-19T21:03:53.107Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-19T21:03:53.197Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-19T21:03:53.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-19T21:03:53.350Z] > git --version # timeout=10 [2023-04-19T21:03:53.370Z] > git --version # 'git version 2.25.1' [2023-04-19T21:03:53.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T21:03:53.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T21:03:56.549Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-19T21:03:56.575Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T21:03:57.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-19T21:03:57.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-19T21:03:57.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T21:03:57.504Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-19T21:03:57.983Z] Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [2023-04-19T21:03:58.264Z] Merge succeeded, producing 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [2023-04-19T21:03:58.264Z] Checking out Revision 92d05831d62a2154c95b99d6e2e608bd8957c8d9 (PR-295) [2023-04-19T21:03:58.691Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-19T21:03:58.738Z] > git --version # timeout=10 [2023-04-19T21:03:58.754Z] > git --version # 'git version 2.25.1' [2023-04-19T21:03:58.770Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-04-19T21:03:58.003Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T21:03:58.070Z] > git checkout -f 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # timeout=10 [2023-04-19T21:03:58.150Z] > git remote # timeout=10 [2023-04-19T21:03:58.172Z] > git config --get remote.origin.url # timeout=10 [2023-04-19T21:03:58.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T21:03:58.218Z] > git merge 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 [2023-04-19T21:03:58.242Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-19T21:03:58.273Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T21:03:58.288Z] > git checkout -f 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T21:03:59.857Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-19T21:03:59.857Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T21:03:59.857Z] Dload Upload Total Spent Left Speed [2023-04-19T21:03:59.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-04-19T21:04:00.445Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-19T21:04:00.805Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-19T21:04:00.805Z] + sudo tee /etc/docker/daemon.new [2023-04-19T21:04:00.805Z] { [2023-04-19T21:04:00.806Z] "registry-mirrors": [ [2023-04-19T21:04:00.806Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-19T21:04:00.806Z] ], [2023-04-19T21:04:00.806Z] "bip": "10.250.0.254/24", [2023-04-19T21:04:00.806Z] "hosts": [ [2023-04-19T21:04:00.806Z] "tcp://0.0.0.0:5555", [2023-04-19T21:04:00.806Z] "unix:///var/run/docker.sock" [2023-04-19T21:04:00.806Z] ], [2023-04-19T21:04:00.806Z] "mtu": 1458, [2023-04-19T21:04:00.806Z] "selinux-enabled": true, [2023-04-19T21:04:00.806Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-19T21:04:00.806Z] } [Pipeline] sh [2023-04-19T21:04:01.149Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-19T21:04:01.502Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T21:04:19.827Z] provisioning config files... [2023-04-19T21:04:19.857Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config14339657628130252104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:04:20.245Z] ---> docker-login.sh [2023-04-19T21:04:20.245Z] nexus3.edgexfoundry.org:10001 [2023-04-19T21:04:20.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:04:20.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:04:20.848Z] Configure a credential helper to remove this warning. See [2023-04-19T21:04:20.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:04:20.848Z] [2023-04-19T21:04:20.848Z] Login Succeeded [2023-04-19T21:04:20.848Z] nexus3.edgexfoundry.org:10002 [2023-04-19T21:04:21.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:04:21.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:04:21.127Z] Configure a credential helper to remove this warning. See [2023-04-19T21:04:21.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:04:21.127Z] [2023-04-19T21:04:21.127Z] Login Succeeded [2023-04-19T21:04:21.127Z] nexus3.edgexfoundry.org:10003 [2023-04-19T21:04:21.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:04:21.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:04:21.674Z] Configure a credential helper to remove this warning. See [2023-04-19T21:04:21.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:04:21.674Z] [2023-04-19T21:04:21.674Z] Login Succeeded [2023-04-19T21:04:21.674Z] nexus3.edgexfoundry.org:10004 [2023-04-19T21:04:21.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:04:21.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:04:21.949Z] Configure a credential helper to remove this warning. See [2023-04-19T21:04:21.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:04:21.949Z] [2023-04-19T21:04:21.949Z] Login Succeeded [2023-04-19T21:04:21.949Z] docker.io [2023-04-19T21:04:22.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T21:04:22.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T21:04:22.496Z] Configure a credential helper to remove this warning. See [2023-04-19T21:04:22.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T21:04:22.496Z] [2023-04-19T21:04:22.496Z] Login Succeeded [2023-04-19T21:04:22.496Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T21:04:22.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T21:04:22.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T21:04:22.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T21:04:22.943Z] ========================================================= [2023-04-19T21:04:22.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-19T21:04:22.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:04:23.459Z] + 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-19T21:04:23.459Z] Sending build context to Docker daemon 138.8kB [2023-04-19T21:04:23.738Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T21:04:23.738Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T21:04:23.738Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-19T21:04:23.738Z] af6eaf76a39c: Pulling fs layer [2023-04-19T21:04:23.738Z] 55522c791124: Pulling fs layer [2023-04-19T21:04:23.738Z] ce5c4a1c91eb: Pulling fs layer [2023-04-19T21:04:23.738Z] 169dfbe0d373: Pulling fs layer [2023-04-19T21:04:23.738Z] e1ff8fa3b103: Pulling fs layer [2023-04-19T21:04:23.738Z] 52ebb69f0ebf: Pulling fs layer [2023-04-19T21:04:23.738Z] 5abe8eddf0d5: Pulling fs layer [2023-04-19T21:04:23.738Z] 169dfbe0d373: Waiting [2023-04-19T21:04:23.738Z] e1ff8fa3b103: Waiting [2023-04-19T21:04:23.738Z] 52ebb69f0ebf: Waiting [2023-04-19T21:04:23.738Z] 5abe8eddf0d5: Waiting [2023-04-19T21:04:23.738Z] 55522c791124: Verifying Checksum [2023-04-19T21:04:23.738Z] 55522c791124: Download complete [2023-04-19T21:04:24.015Z] 169dfbe0d373: Verifying Checksum [2023-04-19T21:04:24.015Z] 169dfbe0d373: Download complete [2023-04-19T21:04:24.015Z] e1ff8fa3b103: Verifying Checksum [2023-04-19T21:04:24.015Z] e1ff8fa3b103: Download complete [2023-04-19T21:04:24.015Z] af6eaf76a39c: Verifying Checksum [2023-04-19T21:04:24.015Z] af6eaf76a39c: Download complete [2023-04-19T21:04:25.450Z] af6eaf76a39c: Pull complete [2023-04-19T21:04:25.450Z] 5abe8eddf0d5: Verifying Checksum [2023-04-19T21:04:25.450Z] 5abe8eddf0d5: Download complete [2023-04-19T21:04:25.719Z] 55522c791124: Pull complete [2023-04-19T21:04:26.689Z] 52ebb69f0ebf: Verifying Checksum [2023-04-19T21:04:26.689Z] 52ebb69f0ebf: Download complete [2023-04-19T21:04:26.689Z] ce5c4a1c91eb: Verifying Checksum [2023-04-19T21:04:26.689Z] ce5c4a1c91eb: Download complete [2023-04-19T21:04:39.036Z] ce5c4a1c91eb: Pull complete [2023-04-19T21:04:39.036Z] 169dfbe0d373: Pull complete [2023-04-19T21:04:39.036Z] e1ff8fa3b103: Pull complete [2023-04-19T21:04:44.567Z] 52ebb69f0ebf: Pull complete [2023-04-19T21:04:45.991Z] 5abe8eddf0d5: Pull complete [2023-04-19T21:04:45.991Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-19T21:04:45.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T21:04:45.991Z] ---> 6cb57ee374ae [2023-04-19T21:04:45.991Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T21:04:47.952Z] ---> Running in 78bb708e0f79 [2023-04-19T21:04:47.952Z] Removing intermediate container 78bb708e0f79 [2023-04-19T21:04:47.952Z] ---> 4f04d2ab0ca9 [2023-04-19T21:04:47.952Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T21:04:47.952Z] ---> Running in 1726d9729403 [2023-04-19T21:04:48.223Z] Removing intermediate container 1726d9729403 [2023-04-19T21:04:48.223Z] ---> 0456bfd9892b [2023-04-19T21:04:48.223Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T21:04:48.223Z] ---> Running in 09922194e0a7 [2023-04-19T21:04:48.495Z] Removing intermediate container 09922194e0a7 [2023-04-19T21:04:48.495Z] ---> fb2fa9f09d64 [2023-04-19T21:04:48.495Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T21:04:48.763Z] ---> Running in 3bbf4b6c47c4 [2023-04-19T21:04:49.034Z] Removing intermediate container 3bbf4b6c47c4 [2023-04-19T21:04:49.034Z] ---> cf2e13c7bede [2023-04-19T21:04:49.034Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T21:04:49.034Z] ---> Running in 6244327a3e11 [2023-04-19T21:04:50.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T21:04:50.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T21:04:52.030Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T21:04:52.296Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T21:04:52.296Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T21:04:52.296Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T21:04:52.296Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T21:04:52.296Z] OK: 268 MiB in 57 packages [2023-04-19T21:04:53.262Z] Removing intermediate container 6244327a3e11 [2023-04-19T21:04:53.262Z] ---> 20ee3ef6b5b4 [2023-04-19T21:04:53.262Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-19T21:04:53.262Z] ---> Running in 3880f7ca6ea9 [2023-04-19T21:04:53.528Z] Removing intermediate container 3880f7ca6ea9 [2023-04-19T21:04:53.528Z] ---> 9ee75518830f [2023-04-19T21:04:53.528Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T21:04:54.112Z] ---> fb8f5f060ce7 [2023-04-19T21:04:54.112Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T21:04:54.112Z] ---> Running in aa95035d044c [2023-04-19T21:06:15.769Z] Removing intermediate container aa95035d044c [2023-04-19T21:06:15.769Z] ---> 05be38cd2026 [2023-04-19T21:06:15.769Z] Step 11/12 : COPY . . [2023-04-19T21:06:15.769Z] ---> 7e40a62a5179 [2023-04-19T21:06:15.769Z] Step 12/12 : RUN $MAKE [2023-04-19T21:06:15.769Z] ---> Running in 16c037d4a052 [2023-04-19T21:06:15.769Z] noop [2023-04-19T21:06:15.769Z] Removing intermediate container 16c037d4a052 [2023-04-19T21:06:15.769Z] ---> bc526e6733e5 [2023-04-19T21:06:15.769Z] Successfully built bc526e6733e5 [2023-04-19T21:06:15.769Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:06:16.260Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T21:06:16.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:06:16.546Z] prd-ubuntu20.04-docker-arm64-4c-16g-9104 does not seem to be running inside a container [2023-04-19T21:06:16.623Z] $ 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-19T21:06:17.862Z] $ docker top 473f333c560744e283bb1f51e150e283e405b1a7cf301b4828a75bf4c8e78d4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T21:06:18.745Z] + go version [2023-04-19T21:06:18.745Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-19T21:06:18.782Z] $ docker stop --time=1 473f333c560744e283bb1f51e150e283e405b1a7cf301b4828a75bf4c8e78d4a [2023-04-19T21:06:20.371Z] $ docker rm -f --volumes 473f333c560744e283bb1f51e150e283e405b1a7cf301b4828a75bf4c8e78d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:06:21.217Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T21:06:21.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:06:21.456Z] prd-ubuntu20.04-docker-arm64-4c-16g-9104 does not seem to be running inside a container [2023-04-19T21:06:21.526Z] $ 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-19T21:06:24.819Z] $ docker top c96b50898255afb916ab4de8bd44300ebacf5bb41da6279b6935b0026726600c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T21:06:25.815Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-19T21:06:26.217Z] + make test [2023-04-19T21:06:26.217Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T21:06:58.450Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-19T21:08:50.114Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-19T21:08:50.114Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements [2023-04-19T21:08:50.114Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-19T21:08:50.114Z] go vet ./... [2023-04-19T21:09:16.836Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T21:09:16.836Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T21:09:16.836Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T21:09:16.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T21:09:16.913Z] $ docker stop --time=1 c96b50898255afb916ab4de8bd44300ebacf5bb41da6279b6935b0026726600c [2023-04-19T21:09:18.684Z] $ docker rm -f --volumes c96b50898255afb916ab4de8bd44300ebacf5bb41da6279b6935b0026726600c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T21:09:19.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T21:09:19.851Z] Warning: overwriting stash ‘coverage-report’ [2023-04-19T21:09:20.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T21:09:20.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T21:09:21.177Z] + ls -al . [2023-04-19T21:09:21.177Z] total 180 [2023-04-19T21:09:21.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:06 . [2023-04-19T21:09:21.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:03 .. [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 21:03 .dockerignore [2023-04-19T21:09:21.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:03 .git [2023-04-19T21:09:21.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:03 .github [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 21:03 .gitignore [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:03 .golangci.yml [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 19 21:03 Attribution.txt [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 19 21:03 CHANGELOG.md [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 19 21:03 Dockerfile [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:03 GOVERNANCE.md [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 21:03 Jenkinsfile [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:03 LICENSE [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 19 21:03 Makefile [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 21:03 OWNERS.md [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 19 21:03 README.md [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:01 VERSION [2023-04-19T21:09:21.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:03 bin [2023-04-19T21:09:21.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:03 cmd [2023-04-19T21:09:21.177Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 19 21:08 coverage.out [2023-04-19T21:09:21.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:03 driver [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 19 21:03 go.mod [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 21:03 go.sum [2023-04-19T21:09:21.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:03 snap [2023-04-19T21:09:21.177Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:09:21.564Z] + 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=92d05831d62a2154c95b99d6e2e608bd8957c8d9 --label arch=arm64 --label version=0.0.0 . [2023-04-19T21:09:21.565Z] Sending build context to Docker daemon 154.1kB [2023-04-19T21:09:21.831Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T21:09:21.831Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-19T21:09:21.831Z] ---> bc526e6733e5 [2023-04-19T21:09:21.831Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-19T21:09:21.831Z] ---> Running in 8174890ad6ff [2023-04-19T21:09:22.098Z] Removing intermediate container 8174890ad6ff [2023-04-19T21:09:22.098Z] ---> 8f75c8fb40ff [2023-04-19T21:09:22.098Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T21:09:22.098Z] ---> Running in 8bdb217c9e0f [2023-04-19T21:09:22.366Z] Removing intermediate container 8bdb217c9e0f [2023-04-19T21:09:22.366Z] ---> c04bfaf1bff8 [2023-04-19T21:09:22.366Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T21:09:22.632Z] ---> Running in e638e90e27c3 [2023-04-19T21:09:22.898Z] Removing intermediate container e638e90e27c3 [2023-04-19T21:09:22.898Z] ---> 04fc5e228530 [2023-04-19T21:09:22.898Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T21:09:22.898Z] ---> Running in e4ed6c65d2e3 [2023-04-19T21:09:23.164Z] Removing intermediate container e4ed6c65d2e3 [2023-04-19T21:09:23.164Z] ---> 5a039d6cc8c3 [2023-04-19T21:09:23.164Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T21:09:23.164Z] ---> Running in 1df2617fbde4 [2023-04-19T21:09:24.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T21:09:24.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T21:09:25.669Z] OK: 268 MiB in 57 packages [2023-04-19T21:09:28.243Z] Removing intermediate container 1df2617fbde4 [2023-04-19T21:09:28.243Z] ---> 2365ff39f3d5 [2023-04-19T21:09:28.243Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-19T21:09:28.243Z] ---> Running in 444524d8b397 [2023-04-19T21:09:28.510Z] Removing intermediate container 444524d8b397 [2023-04-19T21:09:28.510Z] ---> 13d40d18a452 [2023-04-19T21:09:28.510Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-19T21:09:28.777Z] ---> c952185f26c9 [2023-04-19T21:09:28.777Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T21:09:29.046Z] ---> Running in 4677d160df92 [2023-04-19T21:09:31.628Z] Removing intermediate container 4677d160df92 [2023-04-19T21:09:31.628Z] ---> 2b8aaa0f4edf [2023-04-19T21:09:31.628Z] Step 11/25 : COPY . . [2023-04-19T21:09:31.897Z] ---> eb9518a95612 [2023-04-19T21:09:31.897Z] Step 12/25 : RUN $MAKE [2023-04-19T21:09:31.897Z] ---> Running in 5387bd0fab03 [2023-04-19T21:09:32.860Z] 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-19T21:11:39.552Z] Removing intermediate container 5387bd0fab03 [2023-04-19T21:11:39.552Z] ---> e484558058ad [2023-04-19T21:11:39.552Z] Step 13/25 : FROM alpine:3.17 [2023-04-19T21:11:39.552Z] 3.17: Pulling from library/alpine [2023-04-19T21:11:39.553Z] c41833b44d91: Pulling fs layer [2023-04-19T21:11:39.553Z] c41833b44d91: Verifying Checksum [2023-04-19T21:11:39.553Z] c41833b44d91: Download complete [2023-04-19T21:11:39.553Z] c41833b44d91: Pull complete [2023-04-19T21:11:39.553Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T21:11:39.553Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T21:11:39.553Z] ---> 51e60588ff2c [2023-04-19T21:11:39.553Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-19T21:11:39.553Z] ---> Running in eb4a3f942fff [2023-04-19T21:11:39.553Z] Removing intermediate container eb4a3f942fff [2023-04-19T21:11:39.553Z] ---> 2d2397c52b4d [2023-04-19T21:11:39.553Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-19T21:11:39.553Z] ---> Running in ff119159f63a [2023-04-19T21:11:39.553Z] Removing intermediate container ff119159f63a [2023-04-19T21:11:39.553Z] ---> 2340a650596b [2023-04-19T21:11:39.553Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-19T21:11:39.553Z] ---> Running in 18614e954a09 [2023-04-19T21:11:39.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T21:11:39.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T21:11:40.140Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T21:11:40.140Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T21:11:40.140Z] OK: 8 MiB in 16 packages [2023-04-19T21:11:41.106Z] Removing intermediate container 18614e954a09 [2023-04-19T21:11:41.106Z] ---> a2e373a51c9a [2023-04-19T21:11:41.106Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-19T21:11:42.518Z] ---> f2f7d52d6526 [2023-04-19T21:11:42.518Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-19T21:11:42.788Z] ---> 23e9280549b9 [2023-04-19T21:11:42.788Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-19T21:11:43.377Z] ---> fd11db19f89f [2023-04-19T21:11:43.377Z] Step 20/25 : EXPOSE 59986 [2023-04-19T21:11:43.377Z] ---> Running in b5aeac7844fa [2023-04-19T21:11:43.643Z] Removing intermediate container b5aeac7844fa [2023-04-19T21:11:43.643Z] ---> 318fe63837fd [2023-04-19T21:11:43.643Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-19T21:11:43.643Z] ---> Running in aa2798c542e4 [2023-04-19T21:11:43.914Z] Removing intermediate container aa2798c542e4 [2023-04-19T21:11:43.914Z] ---> decd66125dcc [2023-04-19T21:11:43.914Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-19T21:11:43.914Z] ---> Running in 1c79b4fe706b [2023-04-19T21:11:44.185Z] Removing intermediate container 1c79b4fe706b [2023-04-19T21:11:44.185Z] ---> 89eb56ced09d [2023-04-19T21:11:44.185Z] Step 23/25 : LABEL arch=arm64 [2023-04-19T21:11:44.185Z] ---> Running in 5341318e9023 [2023-04-19T21:11:44.457Z] Removing intermediate container 5341318e9023 [2023-04-19T21:11:44.457Z] ---> 8446c170e0b2 [2023-04-19T21:11:44.457Z] Step 24/25 : LABEL git_sha=92d05831d62a2154c95b99d6e2e608bd8957c8d9 [2023-04-19T21:11:44.722Z] ---> Running in 7e52e1fce4ed [2023-04-19T21:11:44.988Z] Removing intermediate container 7e52e1fce4ed [2023-04-19T21:11:44.988Z] ---> f603af1e73c9 [2023-04-19T21:11:44.988Z] Step 25/25 : LABEL version=0.0.0 [2023-04-19T21:11:44.988Z] ---> Running in 29c607c51b03 [2023-04-19T21:11:45.258Z] Removing intermediate container 29c607c51b03 [2023-04-19T21:11:45.258Z] ---> 916ea0f19b3c [2023-04-19T21:11:45.258Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T21:11:45.258Z] Successfully built 916ea0f19b3c [2023-04-19T21:11:45.258Z] 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-19T21:11:46.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T21:11:46.052Z] [2023-04-19T21:11:46.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:11:46.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T21:11:46.454Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-19T21:11:46.454Z] 8998bd30e6a1: Pulling fs layer [2023-04-19T21:11:46.454Z] 04944245beec: Pulling fs layer [2023-04-19T21:11:46.454Z] 699f458cf7ca: Pulling fs layer [2023-04-19T21:11:46.454Z] 765212b225bb: Pulling fs layer [2023-04-19T21:11:46.454Z] f23df028b6ca: Pulling fs layer [2023-04-19T21:11:46.454Z] d65c8cfc05b1: Pulling fs layer [2023-04-19T21:11:46.454Z] 2437ff75d9bd: Pulling fs layer [2023-04-19T21:11:46.454Z] d65c8cfc05b1: Waiting [2023-04-19T21:11:46.454Z] 765212b225bb: Waiting [2023-04-19T21:11:46.454Z] f23df028b6ca: Waiting [2023-04-19T21:11:46.454Z] 2437ff75d9bd: Waiting [2023-04-19T21:11:46.720Z] 04944245beec: Verifying Checksum [2023-04-19T21:11:46.720Z] 04944245beec: Download complete [2023-04-19T21:11:46.720Z] 765212b225bb: Verifying Checksum [2023-04-19T21:11:46.720Z] 765212b225bb: Download complete [2023-04-19T21:11:46.720Z] f23df028b6ca: Verifying Checksum [2023-04-19T21:11:46.720Z] f23df028b6ca: Download complete [2023-04-19T21:11:46.720Z] d65c8cfc05b1: Verifying Checksum [2023-04-19T21:11:46.720Z] d65c8cfc05b1: Download complete [2023-04-19T21:11:46.986Z] 699f458cf7ca: Verifying Checksum [2023-04-19T21:11:46.986Z] 699f458cf7ca: Download complete [2023-04-19T21:11:47.268Z] 8998bd30e6a1: Verifying Checksum [2023-04-19T21:11:47.268Z] 8998bd30e6a1: Download complete [2023-04-19T21:11:49.207Z] 2437ff75d9bd: Verifying Checksum [2023-04-19T21:11:49.208Z] 2437ff75d9bd: Download complete [2023-04-19T21:11:51.259Z] 8998bd30e6a1: Pull complete [2023-04-19T21:11:51.538Z] 04944245beec: Pull complete [2023-04-19T21:11:53.003Z] 699f458cf7ca: Pull complete [2023-04-19T21:11:53.003Z] 765212b225bb: Pull complete [2023-04-19T21:11:53.987Z] f23df028b6ca: Pull complete [2023-04-19T21:11:53.987Z] d65c8cfc05b1: Pull complete [2023-04-19T21:12:09.003Z] 2437ff75d9bd: Pull complete [2023-04-19T21:12:09.003Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-19T21:12:09.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T21:12:09.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:12:09.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-9104 does not seem to be running inside a container [2023-04-19T21:12:09.400Z] $ 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-19T21:12:11.831Z] $ docker top a8eadb3d2ecd521cc34f6b6b5a199db1c418e85d119ac485dfe57296fef48c4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:12.707Z] ---> job-cost.sh [2023-04-19T21:12:12.708Z] lf-activate-venv: SKIPPING [2023-04-19T21:12:12.708Z] INFO: No Stack... [2023-04-19T21:12:13.292Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-19T21:12:13.876Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T21:12:14.214Z] + cut -d, -f6 [2023-04-19T21:12:14.214Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-04-19T21:12:14.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [2023-04-19T21:12:14.313Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] did not exist. Created. [2023-04-19T21:12:14.313Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T21:12:14.721Z] /w/workspace/device-rest-go/1@tmp/durable-4ad927f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-19T21:12:15.083Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-19T21:12:15.118Z] Warning: overwriting stash ‘stack-cost’ [2023-04-19T21:12:15.157Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T21:12:15.172Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T21:12:15.254Z] $ docker stop --time=1 a8eadb3d2ecd521cc34f6b6b5a199db1c418e85d119ac485dfe57296fef48c4d [2023-04-19T21:12:16.713Z] $ docker rm -f --volumes a8eadb3d2ecd521cc34f6b6b5a199db1c418e85d119ac485dfe57296fef48c4d [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-19T21:12:17.713Z] provisioning config files... [2023-04-19T21:12:17.720Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config15391864703960580236tmp [Pipeline] { [Pipeline] sh [2023-04-19T21:12:18.167Z] + set +x [2023-04-19T21:12:18.167Z] + curl -s https://codecov.io/bash [2023-04-19T21:12:18.167Z] + bash -s -- [2023-04-19T21:12:18.167Z] [2023-04-19T21:12:18.167Z] _____ _ [2023-04-19T21:12:18.167Z] / ____| | | [2023-04-19T21:12:18.167Z] | | ___ __| | ___ ___ _____ __ [2023-04-19T21:12:18.167Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-19T21:12:18.167Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-19T21:12:18.167Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-19T21:12:18.167Z] Bash-1.0.6 [2023-04-19T21:12:18.167Z] [2023-04-19T21:12:18.167Z] [2023-04-19T21:12:18.167Z] ==> git version 2.25.1 found [2023-04-19T21:12:18.167Z] ==> 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-19T21:12:18.167Z] Release-Date: 2020-01-08 [2023-04-19T21:12:18.167Z] 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-19T21:12:18.167Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-19T21:12:18.167Z] ==> Jenkins CI detected. [2023-04-19T21:12:18.167Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-295 [2023-04-19T21:12:18.167Z] project root: . [2023-04-19T21:12:18.167Z] --> token set from env [2023-04-19T21:12:18.167Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-19T21:12:18.167Z] ==> Running gcov in . (disable via -X gcov) [2023-04-19T21:12:18.167Z] ==> Python coveragepy not found [2023-04-19T21:12:18.167Z] ==> Searching for coverage reports in: [2023-04-19T21:12:18.167Z] + . [2023-04-19T21:12:18.427Z] -> Found 1 reports [2023-04-19T21:12:18.427Z] ==> Detecting git/mercurial file structure [2023-04-19T21:12:18.427Z] ==> Reading reports [2023-04-19T21:12:18.427Z] + ./coverage.out bytes=14663 [2023-04-19T21:12:18.427Z] ==> Appending adjustments [2023-04-19T21:12:18.427Z] https://docs.codecov.io/docs/fixing-reports [2023-04-19T21:12:18.427Z] + Found adjustments [2023-04-19T21:12:18.427Z] ==> Gzipping contents [2023-04-19T21:12:18.427Z] 4.0K /tmp/codecov.07xFfv.gz [2023-04-19T21:12:18.427Z] ==> Uploading reports [2023-04-19T21:12:18.427Z] url: https://codecov.io [2023-04-19T21:12:18.427Z] query: branch=PR-295&commit=92d05831d62a2154c95b99d6e2e608bd8957c8d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=295&job=&cmd_args= [2023-04-19T21:12:18.427Z] -> Pinging Codecov [2023-04-19T21:12:18.427Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-295&commit=92d05831d62a2154c95b99d6e2e608bd8957c8d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=295&job=&cmd_args= [2023-04-19T21:12:18.688Z] -> Uploading to [2023-04-19T21:12:18.688Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-19/4E5D53B4F1F92C436F7061BF334D961C/92d05831d62a2154c95b99d6e2e608bd8957c8d9/6e24d807-46e2-48a2-9bbd-a8e008f6885f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T211218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efed142b758d519f8f8a5a2ab976e4dd1d01fd32c0e2047215a5580370d0fdd8 [2023-04-19T21:12:18.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T21:12:18.688Z] Dload Upload Total Spent Left Speed [2023-04-19T21:12:18.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10865 --:--:-- --:--:-- --:--:-- 10865 [2023-04-19T21:12:18.953Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] } [2023-04-19T21:12:18.981Z] 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-19T21:12:20.667Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-295/archives ] [2023-04-19T21:12:20.667Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-295/archives [2023-04-19T21:12:20.667Z] total 16 [2023-04-19T21:12:20.667Z] drwxr-xr-x 3 root root 4096 Apr 19 21:03 . [2023-04-19T21:12:20.667Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 21:03 .. [2023-04-19T21:12:20.667Z] drwxr-xr-x 2 root root 4096 Apr 19 21:03 cost [2023-04-19T21:12:20.668Z] -rw-r--r-- 1 root root 86 Apr 19 21:03 cost.csv [2023-04-19T21:12:20.668Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-295/archives [2023-04-19T21:12:20.668Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-295/archives [2023-04-19T21:12:20.668Z] total 16 [2023-04-19T21:12:20.668Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:03 . [2023-04-19T21:12:20.668Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 21:03 .. [2023-04-19T21:12:20.668Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 21:03 cost [2023-04-19T21:12:20.668Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 19 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:20.997Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:21.885Z] ---> package-listing.sh [2023-04-19T21:12:21.885Z] ++ facter osfamily [2023-04-19T21:12:21.885Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-19T21:12:22.145Z] + OS_FAMILY=debian [2023-04-19T21:12:22.145Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-295 [2023-04-19T21:12:22.145Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-19T21:12:22.145Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-19T21:12:22.145Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-19T21:12:22.145Z] + PACKAGES=/tmp/packages_start.txt [2023-04-19T21:12:22.145Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-295 ']' [2023-04-19T21:12:22.145Z] + PACKAGES=/tmp/packages_end.txt [2023-04-19T21:12:22.145Z] + case "${OS_FAMILY}" in [2023-04-19T21:12:22.145Z] + dpkg -l [2023-04-19T21:12:22.145Z] + grep '^ii' [2023-04-19T21:12:22.145Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-19T21:12:22.145Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-19T21:12:22.145Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-19T21:12:22.145Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-295 ']' [2023-04-19T21:12:22.145Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-295/archives/ [2023-04-19T21:12:22.145Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-295/archives/ [Pipeline] echo [2023-04-19T21:12:22.176Z] 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-295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-19T21:12:22.470Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T21:12:23.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T21:12:23.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T21:12:23.236Z] prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container [2023-04-19T21:12:23.267Z] $ 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-295/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-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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-19T21:12:23.457Z] $ docker top 8418b6b601640c21db96747d7dc9b530c06c7c8df0d32bbe53df9e6a65c80a43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T21:12:23.849Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-19T21:12:24.159Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-19T21:12:24.470Z] + ls /var/log/sa-host [2023-04-19T21:12:24.470Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T21:12:24.697Z] provisioning config files... [2023-04-19T21:12:24.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config7482180171820804613tmp [Pipeline] { [Pipeline] echo [2023-04-19T21:12:24.761Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:25.070Z] ---> create-netrc.sh [Pipeline] } [2023-04-19T21:12:25.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:25.500Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-19T21:12:25.533Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:25.844Z] ---> sudo-logs.sh [2023-04-19T21:12:25.844Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-19T21:12:25.922Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:26.233Z] ---> job-cost.sh [2023-04-19T21:12:26.233Z] lf-activate-venv: SKIPPING [2023-04-19T21:12:26.233Z] DEBUG: total: 0.2199999988079071 [2023-04-19T21:12:26.233Z] INFO: Retrieving Stack Cost... [2023-04-19T21:12:26.801Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T21:12:27.060Z] INFO: Archiving Costs [Pipeline] echo [2023-04-19T21:12:27.096Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T21:12:27.406Z] ---> logs-deploy.sh [2023-04-19T21:12:27.406Z] lf-activate-venv: SKIPPING [2023-04-19T21:12:27.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-295/1 [2023-04-19T21:12:27.406Z] INFO: archiving workspace using pattern(s): [2023-04-19T21:12:28.342Z] Archives upload complete. [2023-04-19T21:12:28.342Z] INFO: archiving logs to Nexus