Pull request #322 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7a532f10f65a37a16fe5b5df099a14b732e137e+b9b57828cb91c1ed80a64c0f12d73d3d38017d14 (a0f1f3a7d1e21870060fc2d0fa97c1de89c6bdcc) 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-ssh1428904798296177131.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh941966413755531542.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-322/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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16823470763692769632.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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7088128807396650089.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8180941141500591266.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-322/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-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3759376451362840195.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-16134 in /w/workspace/gexfoundry_device-rest-go_PR-322 [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-322 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b9b57828cb91c1ed80a64c0f12d73d3d38017d14 into PR head commit b7a532f10f65a37a16fe5b5df099a14b732e137e Merge succeeded, producing b7a532f10f65a37a16fe5b5df099a14b732e137e Checking out Revision b7a532f10f65a37a16fe5b5df099a14b732e137e (PR-322) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-19T20:58:27.586Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f b7a532f10f65a37a16fe5b5df099a14b732e137e # 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 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7a532f10f65a37a16fe5b5df099a14b732e137e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-19T20:58:27.783Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-19T20:58:27.875Z] ========================================================= [2023-05-19T20:58:27.875Z] EdgeX Global Pipelines Version Info [2023-05-19T20:58:27.875Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-19T20:58:28.622Z] ------------------- [2023-05-19T20:58:28.623Z] stable info: [2023-05-19T20:58:28.623Z] ------------------- [2023-05-19T20:58:28.623Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-19T20:58:28.623Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-19T20:58:28.623Z] Message: update stable to v1.0.249 [2023-05-19T20:58:29.207Z] ------------------- [2023-05-19T20:58:29.207Z] experimental info: [2023-05-19T20:58:29.207Z] ------------------- [2023-05-19T20:58:29.207Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-19T20:58:29.207Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-19T20:58:29.207Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-19T20:58:29.551Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-19T20:58:29.595Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-19T20:58:29.642Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-19T20:58:29.690Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-19T20:58:29.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-19T20:58:29.780Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-19T20:58:29.827Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-19T20:58:29.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-19T20:58:29.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-19T20:58:29.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-19T20:58:30.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-19T20:58:30.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-19T20:58:30.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-19T20:58:30.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-19T20:58:30.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-19T20:58:30.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-19T20:58:30.275Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-19T20:58:30.316Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-19T20:58:30.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-19T20:58:30.401Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-19T20:58:30.442Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-19T20:58:30.486Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-19T20:58:30.529Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-19T20:58:30.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-19T20:58:30.623Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-19T20:58:30.666Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-19T20:58:30.720Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-19T20:58:30.770Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-322 [Pipeline] echo [2023-05-19T20:58:30.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-322 [Pipeline] echo [2023-05-19T20:58:30.852Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-322 [Pipeline] echo [2023-05-19T20:58:30.897Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7a532f10f65a37a16fe5b5df099a14b732e137e [Pipeline] echo [2023-05-19T20:58:30.940Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7a532f [Pipeline] echo [2023-05-19T20:58:30.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T20:58:31.122Z] provisioning config files... [2023-05-19T20:58:31.138Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config15040605792699523449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T20:58:31.489Z] ---> docker-login.sh [2023-05-19T20:58:31.489Z] nexus3.edgexfoundry.org:10001 [2023-05-19T20:58:31.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:32.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:32.018Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:32.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:32.018Z] [2023-05-19T20:58:32.018Z] Login Succeeded [2023-05-19T20:58:32.018Z] nexus3.edgexfoundry.org:10002 [2023-05-19T20:58:32.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:32.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:32.018Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:32.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:32.018Z] [2023-05-19T20:58:32.018Z] Login Succeeded [2023-05-19T20:58:32.018Z] nexus3.edgexfoundry.org:10003 [2023-05-19T20:58:32.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:32.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:32.279Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:32.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:32.279Z] [2023-05-19T20:58:32.279Z] Login Succeeded [2023-05-19T20:58:32.279Z] nexus3.edgexfoundry.org:10004 [2023-05-19T20:58:32.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:32.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:32.279Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:32.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:32.279Z] [2023-05-19T20:58:32.279Z] Login Succeeded [2023-05-19T20:58:32.279Z] docker.io [2023-05-19T20:58:32.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:32.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:32.540Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:32.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:32.540Z] [2023-05-19T20:58:32.540Z] Login Succeeded [2023-05-19T20:58:32.540Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T20:58:32.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-19T20:58:33.210Z] + git rev-list -1 --merges b7a532f10f65a37a16fe5b5df099a14b732e137e~1..b7a532f10f65a37a16fe5b5df099a14b732e137e [Pipeline] echo [2023-05-19T20:58:33.283Z] -----------> git rev-list -1 --merges b7a532f10f65a37a16fe5b5df099a14b732e137e~1..b7a532f10f65a37a16fe5b5df099a14b732e137e b7a532f10f65a37a16fe5b5df099a14b732e137e [false] [Pipeline] sh [2023-05-19T20:58:33.598Z] + git log --format=format:%s -1 b7a532f10f65a37a16fe5b5df099a14b732e137e [Pipeline] echo [2023-05-19T20:58:33.634Z] ========================================================= [2023-05-19T20:58:33.634Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-19T20:58:33.634Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T20:58:34.079Z] + git log --format=format:%s -1 b7a532f10f65a37a16fe5b5df099a14b732e137e [Pipeline] echo [2023-05-19T20:58:34.113Z] [semverPrep] GIT_COMMIT: b7a532f10f65a37a16fe5b5df099a14b732e137e, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo [2023-05-19T20:58:34.146Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-19T20:58:34.568Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-19T20:58:34.569Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-19T20:58:34.569Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-19T20:58:34.569Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-19T20:58:34.569Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-19T20:58:34.569Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-19T20:58:34.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T20:58:34.997Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T20:58:34.997Z] [2023-05-19T20:58:34.997Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T20:58:35.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T20:58:35.382Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-19T20:58:35.382Z] b85a868b505f: Pulling fs layer [2023-05-19T20:58:35.382Z] e2be974225ed: Pulling fs layer [2023-05-19T20:58:35.382Z] 339a4e72a1f5: Pulling fs layer [2023-05-19T20:58:35.382Z] 988bab9f4d93: Pulling fs layer [2023-05-19T20:58:35.382Z] 1469e6f7b9e6: Pulling fs layer [2023-05-19T20:58:35.382Z] eaf3925da568: Pulling fs layer [2023-05-19T20:58:35.382Z] bab4dde63d76: Pulling fs layer [2023-05-19T20:58:35.382Z] bde34c3a00c8: Pulling fs layer [2023-05-19T20:58:35.382Z] b352a97aabf1: Pulling fs layer [2023-05-19T20:58:35.382Z] 4872d77fe225: Pulling fs layer [2023-05-19T20:58:35.382Z] 5851b861e8e6: Pulling fs layer [2023-05-19T20:58:35.382Z] bde34c3a00c8: Waiting [2023-05-19T20:58:35.382Z] eaf3925da568: Waiting [2023-05-19T20:58:35.382Z] b352a97aabf1: Waiting [2023-05-19T20:58:35.382Z] 4872d77fe225: Waiting [2023-05-19T20:58:35.382Z] 988bab9f4d93: Waiting [2023-05-19T20:58:35.382Z] 1469e6f7b9e6: Waiting [2023-05-19T20:58:35.382Z] bab4dde63d76: Waiting [2023-05-19T20:58:35.382Z] e2be974225ed: Verifying Checksum [2023-05-19T20:58:35.382Z] e2be974225ed: Download complete [2023-05-19T20:58:35.382Z] 988bab9f4d93: Verifying Checksum [2023-05-19T20:58:35.382Z] 988bab9f4d93: Download complete [2023-05-19T20:58:35.382Z] 1469e6f7b9e6: Verifying Checksum [2023-05-19T20:58:35.382Z] 1469e6f7b9e6: Download complete [2023-05-19T20:58:35.643Z] eaf3925da568: Verifying Checksum [2023-05-19T20:58:35.643Z] eaf3925da568: Download complete [2023-05-19T20:58:35.643Z] 339a4e72a1f5: Verifying Checksum [2023-05-19T20:58:35.643Z] 339a4e72a1f5: Download complete [2023-05-19T20:58:35.643Z] bde34c3a00c8: Download complete [2023-05-19T20:58:35.643Z] b352a97aabf1: Verifying Checksum [2023-05-19T20:58:35.643Z] b352a97aabf1: Download complete [2023-05-19T20:58:35.643Z] 4872d77fe225: Verifying Checksum [2023-05-19T20:58:35.643Z] 4872d77fe225: Download complete [2023-05-19T20:58:35.643Z] 5851b861e8e6: Verifying Checksum [2023-05-19T20:58:35.643Z] 5851b861e8e6: Download complete [2023-05-19T20:58:35.643Z] b85a868b505f: Verifying Checksum [2023-05-19T20:58:35.643Z] b85a868b505f: Download complete [2023-05-19T20:58:35.904Z] bab4dde63d76: Verifying Checksum [2023-05-19T20:58:35.904Z] bab4dde63d76: Download complete [2023-05-19T20:58:36.847Z] b85a868b505f: Pull complete [2023-05-19T20:58:37.112Z] e2be974225ed: Pull complete [2023-05-19T20:58:37.374Z] 339a4e72a1f5: Pull complete [2023-05-19T20:58:37.635Z] 988bab9f4d93: Pull complete [2023-05-19T20:58:37.896Z] 1469e6f7b9e6: Pull complete [2023-05-19T20:58:37.896Z] eaf3925da568: Pull complete [2023-05-19T20:58:39.835Z] bab4dde63d76: Pull complete [2023-05-19T20:58:39.835Z] bde34c3a00c8: Pull complete [2023-05-19T20:58:39.835Z] b352a97aabf1: Pull complete [2023-05-19T20:58:39.835Z] 4872d77fe225: Pull complete [2023-05-19T20:58:39.835Z] 5851b861e8e6: Pull complete [2023-05-19T20:58:40.098Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-19T20:58:40.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T20:58:40.098Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T20:58:40.339Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2023-05-19T20:58:40.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-19T20:58:41.777Z] $ docker top 9ae5b94f2bde9fb0cee4ed0550f271551cceb6424fa839d25e3c36f321eb63ef -eo pid,comm [2023-05-19T20:58:41.832Z] 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-05-19T20:58:41.832Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-19T20:58:41.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-19T20:58:41.962Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-19T20:58:42.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-19T20:58:42.091Z] $ docker exec 9ae5b94f2bde9fb0cee4ed0550f271551cceb6424fa839d25e3c36f321eb63ef ssh-agent [2023-05-19T20:58:42.215Z] SSH_AUTH_SOCK=/tmp/ssh-ipAHTnLFXAIk/agent.32 [2023-05-19T20:58:42.215Z] SSH_AGENT_PID=38 [2023-05-19T20:58:42.223Z] Running ssh-add (command line suppressed) [2023-05-19T20:58:42.333Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_10535810442686291607.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_10535810442686291607.key) [2023-05-19T20:58:42.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-19T20:58:42.691Z] + git tag --points-at HEAD [Pipeline] } [2023-05-19T20:58:42.722Z] $ docker exec --env ******** --env ******** 9ae5b94f2bde9fb0cee4ed0550f271551cceb6424fa839d25e3c36f321eb63ef ssh-agent -k [2023-05-19T20:58:42.832Z] unset SSH_AUTH_SOCK; [2023-05-19T20:58:42.832Z] unset SSH_AGENT_PID; [2023-05-19T20:58:42.832Z] echo Agent pid 38 killed; [2023-05-19T20:58:42.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-19T20:58:42.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-19T20:58:42.943Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-19T20:58:43.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-19T20:58:43.058Z] $ docker exec 9ae5b94f2bde9fb0cee4ed0550f271551cceb6424fa839d25e3c36f321eb63ef ssh-agent [2023-05-19T20:58:43.159Z] SSH_AUTH_SOCK=/tmp/ssh-J3m2UvoNNduR/agent.71 [2023-05-19T20:58:43.159Z] SSH_AGENT_PID=77 [2023-05-19T20:58:43.164Z] Running ssh-add (command line suppressed) [2023-05-19T20:58:43.277Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_15086133537289483737.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_15086133537289483737.key) [2023-05-19T20:58:43.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-19T20:58:43.625Z] + git semver init [2023-05-19T20:58:43.888Z] 2023-05-19 20:58:43,846 [run_init] DEBUG init version:0.0.0 force:False [2023-05-19T20:58:43.888Z] 2023-05-19 20:58:43,847 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver [2023-05-19T20:58:43.888Z] 2023-05-19 20:58:43,848 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-322/.semver [2023-05-19T20:58:43.888Z] 2023-05-19 20:58:43,848 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-322/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322, universal_newlines=False, shell=None, istream=None) [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,758 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.git/info/exclude [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,759 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 with force:False [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,759 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,763 [execute] INFO git cat-file --batch-check [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,769 [execute] INFO git cat-file --batch [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2023-05-19T20:58:44.829Z] 2023-05-19 20:58:44,774 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 [2023-05-19T20:58:44.829Z] 0.0.0 [Pipeline] } [2023-05-19T20:58:44.859Z] $ docker exec --env ******** --env ******** 9ae5b94f2bde9fb0cee4ed0550f271551cceb6424fa839d25e3c36f321eb63ef ssh-agent -k [2023-05-19T20:58:44.964Z] unset SSH_AUTH_SOCK; [2023-05-19T20:58:44.964Z] unset SSH_AGENT_PID; [2023-05-19T20:58:44.965Z] echo Agent pid 77 killed; [2023-05-19T20:58:44.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-19T20:58:45.406Z] + git semver [Pipeline] } [2023-05-19T20:58:45.695Z] $ docker stop --time=1 9ae5b94f2bde9fb0cee4ed0550f271551cceb6424fa839d25e3c36f321eb63ef [2023-05-19T20:58:46.977Z] $ docker rm -f --volumes 9ae5b94f2bde9fb0cee4ed0550f271551cceb6424fa839d25e3c36f321eb63ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T20:58:47.383Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-19T20:58:47.654Z] Stashed 1 file(s) [Pipeline] echo [2023-05-19T20:58:47.673Z] [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-05-19T20:58:48.274Z] provisioning config files... [2023-05-19T20:58:48.284Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config2029415805681593333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T20:58:48.643Z] ---> docker-login.sh [2023-05-19T20:58:48.643Z] nexus3.edgexfoundry.org:10001 [2023-05-19T20:58:48.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:48.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:48.643Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:48.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:48.643Z] [2023-05-19T20:58:48.643Z] Login Succeeded [2023-05-19T20:58:48.643Z] nexus3.edgexfoundry.org:10002 [2023-05-19T20:58:48.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:48.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:48.643Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:48.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:48.643Z] [2023-05-19T20:58:48.643Z] Login Succeeded [2023-05-19T20:58:48.643Z] nexus3.edgexfoundry.org:10003 [2023-05-19T20:58:48.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:48.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:48.902Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:48.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:48.902Z] [2023-05-19T20:58:48.902Z] Login Succeeded [2023-05-19T20:58:48.902Z] nexus3.edgexfoundry.org:10004 [2023-05-19T20:58:48.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:48.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:48.902Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:48.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:48.902Z] [2023-05-19T20:58:48.902Z] Login Succeeded [2023-05-19T20:58:48.902Z] docker.io [2023-05-19T20:58:48.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T20:58:49.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T20:58:49.162Z] Configure a credential helper to remove this warning. See [2023-05-19T20:58:49.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T20:58:49.162Z] [2023-05-19T20:58:49.162Z] Login Succeeded [2023-05-19T20:58:49.162Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T20:58:49.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-19T20:58:49.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T20:58:49.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T20:58:49.447Z] ========================================================= [2023-05-19T20:58:49.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-19T20:58:49.447Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T20:58:49.928Z] + 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-05-19T20:58:49.929Z] Sending build context to Docker daemon 10.93MB [2023-05-19T20:58:49.929Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T20:58:49.929Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-19T20:58:49.929Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-19T20:58:49.929Z] f56be85fc22e: Pulling fs layer [2023-05-19T20:58:49.929Z] 85791d961cd3: Pulling fs layer [2023-05-19T20:58:49.929Z] d694b5ae8c79: Pulling fs layer [2023-05-19T20:58:49.929Z] 9f32a84ed3da: Pulling fs layer [2023-05-19T20:58:49.929Z] 4d19c01a9841: Pulling fs layer [2023-05-19T20:58:49.929Z] 9325e15d5711: Pulling fs layer [2023-05-19T20:58:49.929Z] 556b6ee489ea: Pulling fs layer [2023-05-19T20:58:49.929Z] c5a4b2cf53e6: Pulling fs layer [2023-05-19T20:58:49.929Z] 556b6ee489ea: Waiting [2023-05-19T20:58:49.929Z] 9f32a84ed3da: Waiting [2023-05-19T20:58:49.929Z] 9325e15d5711: Waiting [2023-05-19T20:58:49.929Z] c5a4b2cf53e6: Waiting [2023-05-19T20:58:49.929Z] 4d19c01a9841: Waiting [2023-05-19T20:58:49.929Z] 85791d961cd3: Download complete [2023-05-19T20:58:49.929Z] 9f32a84ed3da: Verifying Checksum [2023-05-19T20:58:49.929Z] 9f32a84ed3da: Download complete [2023-05-19T20:58:49.929Z] 4d19c01a9841: Verifying Checksum [2023-05-19T20:58:49.929Z] 4d19c01a9841: Download complete [2023-05-19T20:58:50.189Z] f56be85fc22e: Verifying Checksum [2023-05-19T20:58:50.189Z] f56be85fc22e: Download complete [2023-05-19T20:58:50.189Z] 9325e15d5711: Verifying Checksum [2023-05-19T20:58:50.189Z] 9325e15d5711: Download complete [2023-05-19T20:58:50.189Z] f56be85fc22e: Pull complete [2023-05-19T20:58:50.449Z] 85791d961cd3: Pull complete [2023-05-19T20:58:50.707Z] d694b5ae8c79: Verifying Checksum [2023-05-19T20:58:50.707Z] d694b5ae8c79: Download complete [2023-05-19T20:58:50.707Z] c5a4b2cf53e6: Verifying Checksum [2023-05-19T20:58:50.707Z] c5a4b2cf53e6: Download complete [2023-05-19T20:58:50.966Z] 556b6ee489ea: Verifying Checksum [2023-05-19T20:58:50.966Z] 556b6ee489ea: Download complete [2023-05-19T20:58:54.268Z] d694b5ae8c79: Pull complete [2023-05-19T20:58:54.268Z] 9f32a84ed3da: Pull complete [2023-05-19T20:58:54.268Z] 4d19c01a9841: Pull complete [2023-05-19T20:58:54.268Z] 9325e15d5711: Pull complete [2023-05-19T20:58:56.168Z] 556b6ee489ea: Pull complete [2023-05-19T20:58:57.106Z] c5a4b2cf53e6: Pull complete [2023-05-19T20:58:57.106Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-19T20:58:57.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-19T20:58:57.106Z] ---> c4be618373d6 [2023-05-19T20:58:57.106Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-19T20:58:59.013Z] ---> Running in 8e7a4ec209a9 [2023-05-19T20:58:59.013Z] Removing intermediate container 8e7a4ec209a9 [2023-05-19T20:58:59.013Z] ---> 1b64cd3d841d [2023-05-19T20:58:59.013Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T20:58:59.013Z] ---> Running in 5bfd1bb026ea [2023-05-19T20:58:59.013Z] Removing intermediate container 5bfd1bb026ea [2023-05-19T20:58:59.013Z] ---> a0ea7a377bf3 [2023-05-19T20:58:59.013Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-19T20:58:59.274Z] ---> Running in 190233001f6e [2023-05-19T20:58:59.274Z] Removing intermediate container 190233001f6e [2023-05-19T20:58:59.274Z] ---> 57071b552b4d [2023-05-19T20:58:59.274Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T20:58:59.274Z] ---> Running in e5c8fab0eb93 [2023-05-19T20:58:59.274Z] Removing intermediate container e5c8fab0eb93 [2023-05-19T20:58:59.274Z] ---> 7d701c1ca231 [2023-05-19T20:58:59.274Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T20:58:59.534Z] ---> Running in 6645e58875e7 [2023-05-19T20:58:59.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T20:58:59.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T20:59:00.053Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-19T20:59:00.053Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-19T20:59:00.053Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-19T20:59:00.053Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-19T20:59:00.053Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T20:59:00.053Z] OK: 269 MiB in 57 packages [2023-05-19T20:59:00.626Z] Removing intermediate container 6645e58875e7 [2023-05-19T20:59:00.626Z] ---> 6f16a39217b8 [2023-05-19T20:59:00.626Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-19T20:59:00.626Z] ---> Running in 540b6f34bce0 [2023-05-19T20:59:00.626Z] Removing intermediate container 540b6f34bce0 [2023-05-19T20:59:00.626Z] ---> fd1e212b451d [2023-05-19T20:59:00.626Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-19T20:59:00.626Z] ---> 4114b7a7cd51 [2023-05-19T20:59:00.626Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T20:59:00.626Z] ---> Running in 7f2259797b99 [2023-05-19T20:59:03.092Z] Still waiting to schedule task [2023-05-19T20:59:03.092Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-19T20:59:27.197Z] Removing intermediate container 7f2259797b99 [2023-05-19T20:59:27.197Z] ---> c1d2b13ad68b [2023-05-19T20:59:27.197Z] Step 11/12 : COPY . . [2023-05-19T20:59:27.197Z] ---> bc2ac7ec7446 [2023-05-19T20:59:27.197Z] Step 12/12 : RUN $MAKE [2023-05-19T20:59:27.197Z] ---> Running in 86f132613041 [2023-05-19T20:59:27.197Z] noop [2023-05-19T20:59:27.197Z] Removing intermediate container 86f132613041 [2023-05-19T20:59:27.197Z] ---> 98ac6f2018a2 [2023-05-19T20:59:27.197Z] Successfully built 98ac6f2018a2 [2023-05-19T20:59:27.197Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T20:59:27.664Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-19T20:59:27.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T20:59:27.826Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2023-05-19T20:59:27.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-19T20:59:28.251Z] $ docker top a6c33a8cd88c0557fb3f006e79a28a614c6029f1cc411bf0cfb5ed19fc2d8268 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T20:59:28.641Z] + go version [2023-05-19T20:59:28.641Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-19T20:59:28.678Z] $ docker stop --time=1 a6c33a8cd88c0557fb3f006e79a28a614c6029f1cc411bf0cfb5ed19fc2d8268 [2023-05-19T20:59:29.964Z] $ docker rm -f --volumes a6c33a8cd88c0557fb3f006e79a28a614c6029f1cc411bf0cfb5ed19fc2d8268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T20:59:30.708Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-19T20:59:30.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T20:59:30.868Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2023-05-19T20:59:30.897Z] $ 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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-19T20:59:31.233Z] $ docker top 40a9a6da84c97880d9f6bb62d6ce358217481ce6e475a1ddc65eabc76a340af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T20:59:31.621Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] fileExists [Pipeline] sh [2023-05-19T20:59:31.984Z] + make test [2023-05-19T20:59:31.984Z] go test ./... -coverprofile=coverage.out ./... [2023-05-19T20:59:37.255Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-19T20:59:47.224Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-19T20:59:47.224Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 32.2% of statements [2023-05-19T20:59:53.786Z] go vet ./... [2023-05-19T20:59:57.974Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-19T20:59:57.974Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-19T20:59:57.974Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-19T20:59:58.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-19T20:59:58.052Z] $ docker stop --time=1 40a9a6da84c97880d9f6bb62d6ce358217481ce6e475a1ddc65eabc76a340af9 [2023-05-19T21:00:00.448Z] $ docker rm -f --volumes 40a9a6da84c97880d9f6bb62d6ce358217481ce6e475a1ddc65eabc76a340af9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T21:00:00.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-19T21:00:01.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-19T21:00:01.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-19T21:00:02.327Z] + ls -al . [2023-05-19T21:00:02.327Z] total 184 [2023-05-19T21:00:02.327Z] drwxrwxr-x 9 jenkins jenkins 4096 May 19 20:59 . [2023-05-19T21:00:02.327Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 20:58 .. [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 151 May 19 20:58 .dockerignore [2023-05-19T21:00:02.327Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 20:58 .git [2023-05-19T21:00:02.327Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:58 .github [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 329 May 19 20:58 .gitignore [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 41 May 19 20:58 .golangci.yml [2023-05-19T21:00:02.327Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 20:58 .semver [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 19 20:58 Attribution.txt [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 19 20:58 CHANGELOG.md [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 19 20:58 Dockerfile [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 677 May 19 20:58 GOVERNANCE.md [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 680 May 19 20:58 Jenkinsfile [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 19 20:58 LICENSE [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 19 20:58 Makefile [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 620 May 19 20:58 OWNERS.md [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 19 20:58 README.md [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 20:58 VERSION [2023-05-19T21:00:02.327Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 20:58 bin [2023-05-19T21:00:02.327Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 20:58 cmd [2023-05-19T21:00:02.327Z] -rw-r--r-- 1 jenkins jenkins 14663 May 19 20:59 coverage.out [2023-05-19T21:00:02.327Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 20:58 driver [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 19 20:58 go.mod [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 31418 May 19 20:58 go.sum [2023-05-19T21:00:02.327Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 20:58 snap [2023-05-19T21:00:02.327Z] -rw-rw-r-- 1 jenkins jenkins 713 May 19 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:00:02.723Z] + 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=b7a532f10f65a37a16fe5b5df099a14b732e137e --label arch=amd64 --label version=0.0.0 . [2023-05-19T21:00:02.723Z] Sending build context to Docker daemon 10.95MB [2023-05-19T21:00:02.723Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T21:00:02.723Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-19T21:00:02.723Z] ---> 98ac6f2018a2 [2023-05-19T21:00:02.723Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-19T21:00:02.723Z] ---> Running in bae598734605 [2023-05-19T21:00:02.981Z] Removing intermediate container bae598734605 [2023-05-19T21:00:02.981Z] ---> 53e358baf464 [2023-05-19T21:00:02.981Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T21:00:02.981Z] ---> Running in 9dd85d3861a5 [2023-05-19T21:00:02.981Z] Removing intermediate container 9dd85d3861a5 [2023-05-19T21:00:02.981Z] ---> 02353f8b8edb [2023-05-19T21:00:02.981Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-19T21:00:02.981Z] ---> Running in c51558f01f2f [2023-05-19T21:00:02.981Z] Removing intermediate container c51558f01f2f [2023-05-19T21:00:02.981Z] ---> 43d336db29e4 [2023-05-19T21:00:02.981Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T21:00:03.240Z] ---> Running in 0467cc4f5928 [2023-05-19T21:00:03.240Z] Removing intermediate container 0467cc4f5928 [2023-05-19T21:00:03.240Z] ---> 5d095473a477 [2023-05-19T21:00:03.240Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T21:00:03.240Z] ---> Running in c757a25695f0 [2023-05-19T21:00:03.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T21:00:03.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T21:00:03.846Z] OK: 269 MiB in 57 packages [2023-05-19T21:00:04.415Z] Removing intermediate container c757a25695f0 [2023-05-19T21:00:04.415Z] ---> f45de051b259 [2023-05-19T21:00:04.415Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-19T21:00:04.415Z] ---> Running in 231d9090016c [2023-05-19T21:00:04.415Z] Removing intermediate container 231d9090016c [2023-05-19T21:00:04.415Z] ---> 25a181f04af3 [2023-05-19T21:00:04.415Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-19T21:00:04.415Z] ---> 1ac9a6a004bb [2023-05-19T21:00:04.415Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T21:00:04.415Z] ---> Running in 960453dd1cb9 [2023-05-19T21:00:05.355Z] Removing intermediate container 960453dd1cb9 [2023-05-19T21:00:05.355Z] ---> a93a90949c21 [2023-05-19T21:00:05.355Z] Step 11/25 : COPY . . [2023-05-19T21:00:05.616Z] ---> 86caa853c4a7 [2023-05-19T21:00:05.616Z] Step 12/25 : RUN $MAKE [2023-05-19T21:00:05.616Z] ---> Running in 626075bcb5f6 [2023-05-19T21:00:05.876Z] 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-05-19T21:00:23.982Z] Removing intermediate container 626075bcb5f6 [2023-05-19T21:00:23.982Z] ---> 579ddfed3ebb [2023-05-19T21:00:23.982Z] Step 13/25 : FROM alpine:3.17 [2023-05-19T21:00:23.982Z] 3.17: Pulling from library/alpine [2023-05-19T21:00:23.982Z] f56be85fc22e: Already exists [2023-05-19T21:00:24.243Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-19T21:00:24.243Z] Status: Downloaded newer image for alpine:3.17 [2023-05-19T21:00:24.243Z] ---> 9ed4aefc74f6 [2023-05-19T21:00:24.243Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-19T21:00:24.243Z] ---> Running in 49e6f281b979 [2023-05-19T21:00:24.243Z] Removing intermediate container 49e6f281b979 [2023-05-19T21:00:24.243Z] ---> 88b41cd5f7b6 [2023-05-19T21:00:24.243Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-19T21:00:24.243Z] ---> Running in 5f54f8d707c5 [2023-05-19T21:00:24.504Z] Removing intermediate container 5f54f8d707c5 [2023-05-19T21:00:24.504Z] ---> b33cf6921ebe [2023-05-19T21:00:24.504Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-19T21:00:24.504Z] ---> Running in 3307aea63fb4 [2023-05-19T21:00:24.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T21:00:24.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T21:00:25.023Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-19T21:00:25.023Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T21:00:25.023Z] OK: 7 MiB in 16 packages [2023-05-19T21:00:25.282Z] Removing intermediate container 3307aea63fb4 [2023-05-19T21:00:25.282Z] ---> 34b7fd14a8c9 [2023-05-19T21:00:25.282Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-19T21:00:26.218Z] ---> 8716d569ed8d [2023-05-19T21:00:26.218Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-19T21:00:26.218Z] ---> eb3bad22b9b0 [2023-05-19T21:00:26.218Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-19T21:00:26.218Z] ---> 19e42676e00e [2023-05-19T21:00:26.218Z] Step 20/25 : EXPOSE 59986 [2023-05-19T21:00:26.218Z] ---> Running in 6d3b8328b100 [2023-05-19T21:00:26.481Z] Removing intermediate container 6d3b8328b100 [2023-05-19T21:00:26.481Z] ---> c4c6ff470164 [2023-05-19T21:00:26.481Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-19T21:00:26.481Z] ---> Running in ae3489833516 [2023-05-19T21:00:26.481Z] Removing intermediate container ae3489833516 [2023-05-19T21:00:26.481Z] ---> e04db8a2725c [2023-05-19T21:00:26.481Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-19T21:00:26.481Z] ---> Running in 4e097e73c001 [2023-05-19T21:00:26.481Z] Removing intermediate container 4e097e73c001 [2023-05-19T21:00:26.481Z] ---> 4161d5419713 [2023-05-19T21:00:26.481Z] Step 23/25 : LABEL arch=amd64 [2023-05-19T21:00:26.740Z] ---> Running in 5020ee4f742c [2023-05-19T21:00:26.740Z] Removing intermediate container 5020ee4f742c [2023-05-19T21:00:26.740Z] ---> db0441494935 [2023-05-19T21:00:26.740Z] Step 24/25 : LABEL git_sha=b7a532f10f65a37a16fe5b5df099a14b732e137e [2023-05-19T21:00:26.740Z] ---> Running in 5c964ed20667 [2023-05-19T21:00:26.740Z] Removing intermediate container 5c964ed20667 [2023-05-19T21:00:26.740Z] ---> 1baddc447833 [2023-05-19T21:00:26.740Z] Step 25/25 : LABEL version=0.0.0 [2023-05-19T21:00:26.740Z] ---> Running in 98e45ad621ee [2023-05-19T21:00:27.000Z] Removing intermediate container 98e45ad621ee [2023-05-19T21:00:27.000Z] ---> a53be93c9306 [2023-05-19T21:00:27.000Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-19T21:00:27.000Z] Successfully built a53be93c9306 [2023-05-19T21:00:27.000Z] 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-05-19T21:00:27.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T21:00:27.908Z] [2023-05-19T21:00:27.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:00:28.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T21:00:28.283Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-19T21:00:28.283Z] 5eb5b503b376: Pulling fs layer [2023-05-19T21:00:28.283Z] 5c69ac0246d0: Pulling fs layer [2023-05-19T21:00:28.283Z] ec43610c2a17: Pulling fs layer [2023-05-19T21:00:28.283Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-19T21:00:28.283Z] 33b1e0a273af: Pulling fs layer [2023-05-19T21:00:28.283Z] 3a2ae6a8a46f: Waiting [2023-05-19T21:00:28.283Z] 5d3b04190fa2: Pulling fs layer [2023-05-19T21:00:28.283Z] 2f39f015ded8: Pulling fs layer [2023-05-19T21:00:28.283Z] 5d3b04190fa2: Waiting [2023-05-19T21:00:28.283Z] 2f39f015ded8: Waiting [2023-05-19T21:00:28.283Z] 33b1e0a273af: Waiting [2023-05-19T21:00:28.283Z] 5c69ac0246d0: Verifying Checksum [2023-05-19T21:00:28.283Z] 5c69ac0246d0: Download complete [2023-05-19T21:00:28.283Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-19T21:00:28.283Z] 3a2ae6a8a46f: Download complete [2023-05-19T21:00:28.283Z] 33b1e0a273af: Verifying Checksum [2023-05-19T21:00:28.283Z] 33b1e0a273af: Download complete [2023-05-19T21:00:28.283Z] 5d3b04190fa2: Verifying Checksum [2023-05-19T21:00:28.283Z] 5d3b04190fa2: Download complete [2023-05-19T21:00:28.283Z] ec43610c2a17: Verifying Checksum [2023-05-19T21:00:28.283Z] ec43610c2a17: Download complete [2023-05-19T21:00:28.542Z] 5eb5b503b376: Verifying Checksum [2023-05-19T21:00:28.542Z] 5eb5b503b376: Download complete [2023-05-19T21:00:29.109Z] 2f39f015ded8: Verifying Checksum [2023-05-19T21:00:29.109Z] 2f39f015ded8: Download complete [2023-05-19T21:00:29.676Z] 5eb5b503b376: Pull complete [2023-05-19T21:00:29.676Z] 5c69ac0246d0: Pull complete [2023-05-19T21:00:29.938Z] ec43610c2a17: Pull complete [2023-05-19T21:00:30.199Z] 3a2ae6a8a46f: Pull complete [2023-05-19T21:00:30.457Z] 33b1e0a273af: Pull complete [2023-05-19T21:00:30.457Z] 5d3b04190fa2: Pull complete [2023-05-19T21:00:34.642Z] 2f39f015ded8: Pull complete [2023-05-19T21:00:34.642Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-19T21:00:34.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T21:00:34.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T21:00:34.869Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2023-05-19T21:00:34.897Z] $ 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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-19T21:00:37.222Z] $ docker top e05fbb6747470dfd66bed9f8383581ee8ba758756c8c4e32931aa5e2a78d9389 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:00:37.695Z] ---> job-cost.sh [2023-05-19T21:00:37.695Z] lf-activate-venv: SKIPPING [2023-05-19T21:00:37.695Z] INFO: No Stack... [2023-05-19T21:00:37.955Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-19T21:00:38.215Z] INFO: Archiving Costs [Pipeline] sh [2023-05-19T21:00:38.386Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16135 in /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] { [Pipeline] ws [2023-05-19T21:00:38.453Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-19T21:00:38.537Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-322/archives/cost.csv [2023-05-19T21:00:38.537Z] + cut -d, -f6 [2023-05-19T21:00:38.539Z] The recommended git tool is: git [Pipeline] lock [2023-05-19T21:00:38.599Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] [2023-05-19T21:00:38.603Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] did not exist. Created. [2023-05-19T21:00:38.603Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-19T21:00:38.998Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-19T21:00:39.054Z] Stashed 1 file(s) [Pipeline] } [2023-05-19T21:00:39.086Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-19T21:00:39.179Z] $ docker stop --time=1 e05fbb6747470dfd66bed9f8383581ee8ba758756c8c4e32931aa5e2a78d9389 [2023-05-19T21:00:40.319Z] $ docker rm -f --volumes e05fbb6747470dfd66bed9f8383581ee8ba758756c8c4e32931aa5e2a78d9389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-19T21:00:44.911Z] using credential edgex-jenkins-ssh [2023-05-19T21:00:44.927Z] Cloning the remote Git repository [2023-05-19T21:00:44.977Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-19T21:00:45.075Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-19T21:00:45.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-19T21:00:45.218Z] > git --version # timeout=10 [2023-05-19T21:00:45.241Z] > git --version # 'git version 2.25.1' [2023-05-19T21:00:45.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T21:00:45.396Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-19T21:00:47.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-19T21:00:47.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-19T21:00:48.778Z] Merging remotes/origin/main commit b9b57828cb91c1ed80a64c0f12d73d3d38017d14 into PR head commit b7a532f10f65a37a16fe5b5df099a14b732e137e [2023-05-19T21:00:48.230Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-19T21:00:48.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-19T21:00:48.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T21:00:48.293Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-19T21:00:48.799Z] > git config core.sparsecheckout # timeout=10 [2023-05-19T21:00:49.047Z] Merge succeeded, producing b7a532f10f65a37a16fe5b5df099a14b732e137e [2023-05-19T21:00:49.048Z] Checking out Revision b7a532f10f65a37a16fe5b5df099a14b732e137e (PR-322) [2023-05-19T21:00:49.547Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [2023-05-19T21:00:49.600Z] > git --version # timeout=10 [2023-05-19T21:00:49.611Z] > git --version # 'git version 2.25.1' [2023-05-19T21:00:49.644Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-05-19T21:00:48.863Z] > git checkout -f b7a532f10f65a37a16fe5b5df099a14b732e137e # timeout=10 [2023-05-19T21:00:48.945Z] > git remote # timeout=10 [2023-05-19T21:00:48.966Z] > git config --get remote.origin.url # timeout=10 [2023-05-19T21:00:48.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T21:00:49.006Z] > git merge b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 [2023-05-19T21:00:49.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-19T21:00:49.058Z] > git config core.sparsecheckout # timeout=10 [2023-05-19T21:00:49.079Z] > git checkout -f b7a532f10f65a37a16fe5b5df099a14b732e137e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T21:00:50.860Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-19T21:00:50.860Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T21:00:50.860Z] Dload Upload Total Spent Left Speed [2023-05-19T21:00:50.860Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-05-19T21:00:51.481Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-19T21:00:51.832Z] + sudo tee /etc/docker/daemon.new [2023-05-19T21:00:51.832Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-19T21:00:51.832Z] { [2023-05-19T21:00:51.832Z] "registry-mirrors": [ [2023-05-19T21:00:51.832Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-19T21:00:51.832Z] ], [2023-05-19T21:00:51.832Z] "bip": "10.250.0.254/24", [2023-05-19T21:00:51.832Z] "hosts": [ [2023-05-19T21:00:51.832Z] "tcp://0.0.0.0:5555", [2023-05-19T21:00:51.832Z] "unix:///var/run/docker.sock" [2023-05-19T21:00:51.832Z] ], [2023-05-19T21:00:51.832Z] "mtu": 1458, [2023-05-19T21:00:51.832Z] "selinux-enabled": true, [2023-05-19T21:00:51.832Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-19T21:00:51.832Z] } [Pipeline] sh [2023-05-19T21:00:52.187Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-19T21:00:52.538Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T21:01:10.875Z] provisioning config files... [2023-05-19T21:01:10.907Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3907287463098120828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:01:11.319Z] ---> docker-login.sh [2023-05-19T21:01:11.319Z] nexus3.edgexfoundry.org:10001 [2023-05-19T21:01:11.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T21:01:11.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T21:01:11.910Z] Configure a credential helper to remove this warning. See [2023-05-19T21:01:11.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T21:01:11.910Z] [2023-05-19T21:01:11.910Z] Login Succeeded [2023-05-19T21:01:11.910Z] nexus3.edgexfoundry.org:10002 [2023-05-19T21:01:12.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T21:01:12.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T21:01:12.181Z] Configure a credential helper to remove this warning. See [2023-05-19T21:01:12.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T21:01:12.181Z] [2023-05-19T21:01:12.181Z] Login Succeeded [2023-05-19T21:01:12.181Z] nexus3.edgexfoundry.org:10003 [2023-05-19T21:01:12.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T21:01:12.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T21:01:12.739Z] Configure a credential helper to remove this warning. See [2023-05-19T21:01:12.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T21:01:12.739Z] [2023-05-19T21:01:12.739Z] Login Succeeded [2023-05-19T21:01:12.739Z] nexus3.edgexfoundry.org:10004 [2023-05-19T21:01:13.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T21:01:13.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T21:01:13.012Z] Configure a credential helper to remove this warning. See [2023-05-19T21:01:13.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T21:01:13.012Z] [2023-05-19T21:01:13.012Z] Login Succeeded [2023-05-19T21:01:13.012Z] docker.io [2023-05-19T21:01:13.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T21:01:13.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T21:01:13.552Z] Configure a credential helper to remove this warning. See [2023-05-19T21:01:13.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T21:01:13.552Z] [2023-05-19T21:01:13.552Z] Login Succeeded [2023-05-19T21:01:13.552Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T21:01:13.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-19T21:01:13.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T21:01:13.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T21:01:14.008Z] ========================================================= [2023-05-19T21:01:14.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-19T21:01:14.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:01:14.515Z] + 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-05-19T21:01:14.516Z] Sending build context to Docker daemon 139.3kB [2023-05-19T21:01:14.784Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T21:01:14.784Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-19T21:01:14.784Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-19T21:01:14.784Z] c41833b44d91: Pulling fs layer [2023-05-19T21:01:14.784Z] ed15518f5707: Pulling fs layer [2023-05-19T21:01:14.784Z] feae8fd75edb: Pulling fs layer [2023-05-19T21:01:14.784Z] 242c74f7c9fa: Pulling fs layer [2023-05-19T21:01:14.784Z] 3cdef696dda3: Pulling fs layer [2023-05-19T21:01:14.784Z] 2ced38df9373: Pulling fs layer [2023-05-19T21:01:14.784Z] 58f1dce35555: Pulling fs layer [2023-05-19T21:01:14.784Z] 242c74f7c9fa: Waiting [2023-05-19T21:01:14.784Z] 3cdef696dda3: Waiting [2023-05-19T21:01:14.784Z] 2ced38df9373: Waiting [2023-05-19T21:01:15.060Z] ed15518f5707: Verifying Checksum [2023-05-19T21:01:15.060Z] ed15518f5707: Download complete [2023-05-19T21:01:15.060Z] 242c74f7c9fa: Verifying Checksum [2023-05-19T21:01:15.060Z] 242c74f7c9fa: Download complete [2023-05-19T21:01:15.060Z] 3cdef696dda3: Verifying Checksum [2023-05-19T21:01:15.060Z] 3cdef696dda3: Download complete [2023-05-19T21:01:15.060Z] c41833b44d91: Verifying Checksum [2023-05-19T21:01:15.060Z] c41833b44d91: Download complete [2023-05-19T21:01:16.046Z] c41833b44d91: Pull complete [2023-05-19T21:01:16.318Z] 58f1dce35555: Verifying Checksum [2023-05-19T21:01:16.318Z] 58f1dce35555: Download complete [2023-05-19T21:01:16.605Z] ed15518f5707: Pull complete [2023-05-19T21:01:17.572Z] feae8fd75edb: Download complete [2023-05-19T21:01:17.572Z] 2ced38df9373: Verifying Checksum [2023-05-19T21:01:17.572Z] 2ced38df9373: Download complete [2023-05-19T21:01:30.072Z] feae8fd75edb: Pull complete [2023-05-19T21:01:30.073Z] 242c74f7c9fa: Pull complete [2023-05-19T21:01:30.073Z] 3cdef696dda3: Pull complete [2023-05-19T21:01:40.178Z] 2ced38df9373: Pull complete [2023-05-19T21:01:41.150Z] 58f1dce35555: Pull complete [2023-05-19T21:01:41.420Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-19T21:01:41.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-19T21:01:41.420Z] ---> fadd8f120f05 [2023-05-19T21:01:41.420Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-19T21:01:43.368Z] ---> Running in 125dcc540111 [2023-05-19T21:01:43.368Z] Removing intermediate container 125dcc540111 [2023-05-19T21:01:43.368Z] ---> 21447413fe2c [2023-05-19T21:01:43.368Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T21:01:43.368Z] ---> Running in 0cf12fd44b43 [2023-05-19T21:01:43.636Z] Removing intermediate container 0cf12fd44b43 [2023-05-19T21:01:43.636Z] ---> 017ec699101e [2023-05-19T21:01:43.636Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-19T21:01:43.636Z] ---> Running in a32a829d0292 [2023-05-19T21:01:44.222Z] Removing intermediate container a32a829d0292 [2023-05-19T21:01:44.222Z] ---> 8c3189dfbd18 [2023-05-19T21:01:44.222Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T21:01:44.222Z] ---> Running in d3036c993a5c [2023-05-19T21:01:44.494Z] Removing intermediate container d3036c993a5c [2023-05-19T21:01:44.494Z] ---> 81e83b7c3cae [2023-05-19T21:01:44.494Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T21:01:44.494Z] ---> Running in 237c864bdc2d [2023-05-19T21:01:45.465Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T21:01:46.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T21:01:47.390Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-19T21:01:47.390Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-19T21:01:47.390Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-19T21:01:47.390Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-19T21:01:47.390Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T21:01:47.390Z] OK: 268 MiB in 57 packages [2023-05-19T21:01:48.363Z] Removing intermediate container 237c864bdc2d [2023-05-19T21:01:48.363Z] ---> 8a7bd9ce0c0e [2023-05-19T21:01:48.363Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-19T21:01:48.363Z] ---> Running in d633e04a8f43 [2023-05-19T21:01:48.636Z] Removing intermediate container d633e04a8f43 [2023-05-19T21:01:48.636Z] ---> 03fdc1fc7292 [2023-05-19T21:01:48.636Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-19T21:01:49.227Z] ---> f8e638daeab1 [2023-05-19T21:01:49.227Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T21:01:49.227Z] ---> Running in 62c657737115 [2023-05-19T21:02:57.117Z] Removing intermediate container 62c657737115 [2023-05-19T21:02:57.117Z] ---> 37055d57d469 [2023-05-19T21:02:57.117Z] Step 11/12 : COPY . . [2023-05-19T21:02:57.117Z] ---> 83d6ea762ba3 [2023-05-19T21:02:57.117Z] Step 12/12 : RUN $MAKE [2023-05-19T21:02:57.117Z] ---> Running in ba60cc08499c [2023-05-19T21:02:57.117Z] noop [2023-05-19T21:02:57.117Z] Removing intermediate container ba60cc08499c [2023-05-19T21:02:57.117Z] ---> bd6fc7d9e6f2 [2023-05-19T21:02:57.117Z] Successfully built bd6fc7d9e6f2 [2023-05-19T21:02:57.117Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:02:57.602Z] + docker inspect -f . ci-base-image-arm64 [2023-05-19T21:02:57.602Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T21:02:57.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-16135 does not seem to be running inside a container [2023-05-19T21:02:57.949Z] $ 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-05-19T21:02:59.107Z] $ docker top 5b80e54f30d55bf1d4c7dd7e2f4164f7a7a230a13a4382cfd4c7317338736d87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T21:02:59.974Z] + go version [2023-05-19T21:02:59.974Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-19T21:03:00.011Z] $ docker stop --time=1 5b80e54f30d55bf1d4c7dd7e2f4164f7a7a230a13a4382cfd4c7317338736d87 [2023-05-19T21:03:02.290Z] $ docker rm -f --volumes 5b80e54f30d55bf1d4c7dd7e2f4164f7a7a230a13a4382cfd4c7317338736d87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:03:03.131Z] + docker inspect -f . ci-base-image-arm64 [2023-05-19T21:03:03.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T21:03:03.391Z] prd-ubuntu20.04-docker-arm64-4c-16g-16135 does not seem to be running inside a container [2023-05-19T21:03:03.456Z] $ 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-05-19T21:03:04.554Z] $ docker top b0afdd03eaa609cd24b0bee15cf645c93459cad2a3aee99bb4a296045ddf16eb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T21:03:05.097Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-19T21:03:05.485Z] + make test [2023-05-19T21:03:05.485Z] go test ./... -coverprofile=coverage.out ./... [2023-05-19T21:03:37.729Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-19T21:05:44.874Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-19T21:05:44.874Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements [2023-05-19T21:05:44.874Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-19T21:05:44.874Z] go vet ./... [2023-05-19T21:06:11.582Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-19T21:06:11.582Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-19T21:06:11.582Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-19T21:06:11.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-19T21:06:11.658Z] $ docker stop --time=1 b0afdd03eaa609cd24b0bee15cf645c93459cad2a3aee99bb4a296045ddf16eb [2023-05-19T21:06:13.515Z] $ docker rm -f --volumes b0afdd03eaa609cd24b0bee15cf645c93459cad2a3aee99bb4a296045ddf16eb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T21:06:14.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-19T21:06:14.731Z] Warning: overwriting stash ‘coverage-report’ [2023-05-19T21:06:15.182Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T21:06:15.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-19T21:06:16.124Z] + ls -al . [2023-05-19T21:06:16.124Z] total 180 [2023-05-19T21:06:16.124Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 21:03 . [2023-05-19T21:06:16.124Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 21:00 .. [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 151 May 19 21:00 .dockerignore [2023-05-19T21:06:16.124Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 21:00 .git [2023-05-19T21:06:16.124Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 21:00 .github [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 329 May 19 21:00 .gitignore [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 41 May 19 21:00 .golangci.yml [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 19 21:00 Attribution.txt [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 19 21:00 CHANGELOG.md [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 19 21:00 Dockerfile [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 677 May 19 21:00 GOVERNANCE.md [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 680 May 19 21:00 Jenkinsfile [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 19 21:00 LICENSE [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 19 21:00 Makefile [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 620 May 19 21:00 OWNERS.md [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 19 21:00 README.md [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 20:58 VERSION [2023-05-19T21:06:16.124Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 21:00 bin [2023-05-19T21:06:16.124Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 21:00 cmd [2023-05-19T21:06:16.124Z] -rw-r--r-- 1 jenkins jenkins 14663 May 19 21:05 coverage.out [2023-05-19T21:06:16.124Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 21:00 driver [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 19 21:00 go.mod [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 31418 May 19 21:00 go.sum [2023-05-19T21:06:16.124Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 21:00 snap [2023-05-19T21:06:16.124Z] -rw-rw-r-- 1 jenkins jenkins 713 May 19 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:06:16.544Z] + 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=b7a532f10f65a37a16fe5b5df099a14b732e137e --label arch=arm64 --label version=0.0.0 . [2023-05-19T21:06:16.544Z] Sending build context to Docker daemon 154.6kB [2023-05-19T21:06:16.815Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T21:06:16.815Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-19T21:06:16.815Z] ---> bd6fc7d9e6f2 [2023-05-19T21:06:16.815Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-19T21:06:16.815Z] ---> Running in 82438e7cf5ea [2023-05-19T21:06:17.403Z] Removing intermediate container 82438e7cf5ea [2023-05-19T21:06:17.403Z] ---> 51317ae58236 [2023-05-19T21:06:17.403Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T21:06:17.403Z] ---> Running in 8f30b0b19f71 [2023-05-19T21:06:17.671Z] Removing intermediate container 8f30b0b19f71 [2023-05-19T21:06:17.671Z] ---> 8e1904dda3ab [2023-05-19T21:06:17.671Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-19T21:06:17.671Z] ---> Running in 7bd2f38b5bb7 [2023-05-19T21:06:17.943Z] Removing intermediate container 7bd2f38b5bb7 [2023-05-19T21:06:17.943Z] ---> 4da8dba1bf76 [2023-05-19T21:06:17.943Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-19T21:06:18.212Z] ---> Running in 4153426a7021 [2023-05-19T21:06:18.482Z] Removing intermediate container 4153426a7021 [2023-05-19T21:06:18.482Z] ---> 3f149f77313f [2023-05-19T21:06:18.482Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T21:06:18.482Z] ---> Running in 84e7b4dc317f [2023-05-19T21:06:19.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T21:06:20.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T21:06:21.377Z] OK: 268 MiB in 57 packages [2023-05-19T21:06:22.345Z] Removing intermediate container 84e7b4dc317f [2023-05-19T21:06:22.345Z] ---> d27a43ea229e [2023-05-19T21:06:22.345Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-19T21:06:22.345Z] ---> Running in 9cff8079a970 [2023-05-19T21:06:22.612Z] Removing intermediate container 9cff8079a970 [2023-05-19T21:06:22.612Z] ---> f3771f8faf31 [2023-05-19T21:06:22.612Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-19T21:06:26.862Z] ---> ae2ad18a4898 [2023-05-19T21:06:26.862Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T21:06:26.862Z] ---> Running in 5ed9bfc1d9d3 [2023-05-19T21:06:28.810Z] Removing intermediate container 5ed9bfc1d9d3 [2023-05-19T21:06:28.810Z] ---> d71a085dec03 [2023-05-19T21:06:28.810Z] Step 11/25 : COPY . . [2023-05-19T21:06:29.081Z] ---> 8dcecdcc27a6 [2023-05-19T21:06:29.081Z] Step 12/25 : RUN $MAKE [2023-05-19T21:06:29.081Z] ---> Running in 43214a3e1048 [2023-05-19T21:06:30.043Z] 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-05-19T21:08:36.751Z] Removing intermediate container 43214a3e1048 [2023-05-19T21:08:36.751Z] ---> b5c3b90f5013 [2023-05-19T21:08:36.751Z] Step 13/25 : FROM alpine:3.17 [2023-05-19T21:08:36.751Z] 3.17: Pulling from library/alpine [2023-05-19T21:08:36.751Z] c41833b44d91: Already exists [2023-05-19T21:08:36.751Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-19T21:08:36.751Z] Status: Downloaded newer image for alpine:3.17 [2023-05-19T21:08:36.751Z] ---> 51e60588ff2c [2023-05-19T21:08:36.751Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-19T21:08:36.751Z] ---> Running in cb30317c62d5 [2023-05-19T21:08:37.027Z] Removing intermediate container cb30317c62d5 [2023-05-19T21:08:37.027Z] ---> 9459db103ad7 [2023-05-19T21:08:37.027Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-19T21:08:37.027Z] ---> Running in 1a0e14e6e826 [2023-05-19T21:08:37.301Z] Removing intermediate container 1a0e14e6e826 [2023-05-19T21:08:37.301Z] ---> dd77d1ea2825 [2023-05-19T21:08:37.301Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-19T21:08:37.569Z] ---> Running in 72066b2cc41b [2023-05-19T21:08:38.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T21:08:39.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T21:08:40.070Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-19T21:08:40.070Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T21:08:40.070Z] OK: 8 MiB in 16 packages [2023-05-19T21:08:41.031Z] Removing intermediate container 72066b2cc41b [2023-05-19T21:08:41.031Z] ---> 656e83a6b114 [2023-05-19T21:08:41.031Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-19T21:08:42.971Z] ---> c6341f951ec6 [2023-05-19T21:08:42.971Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-19T21:08:43.553Z] ---> 1298e743a587 [2023-05-19T21:08:43.553Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-19T21:08:43.820Z] ---> 13ca66db768c [2023-05-19T21:08:43.820Z] Step 20/25 : EXPOSE 59986 [2023-05-19T21:08:43.820Z] ---> Running in 70e5ba79a1b0 [2023-05-19T21:08:44.098Z] Removing intermediate container 70e5ba79a1b0 [2023-05-19T21:08:44.098Z] ---> dad834a6b1d7 [2023-05-19T21:08:44.098Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-19T21:08:44.098Z] ---> Running in 8fe8053d57b7 [2023-05-19T21:08:44.366Z] Removing intermediate container 8fe8053d57b7 [2023-05-19T21:08:44.366Z] ---> a1a6091ead07 [2023-05-19T21:08:44.366Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-19T21:08:44.638Z] ---> Running in 74bffb892d71 [2023-05-19T21:08:44.905Z] Removing intermediate container 74bffb892d71 [2023-05-19T21:08:44.905Z] ---> fc1a2a7db2a0 [2023-05-19T21:08:44.905Z] Step 23/25 : LABEL arch=arm64 [2023-05-19T21:08:44.905Z] ---> Running in 4b5993bd707d [2023-05-19T21:08:45.172Z] Removing intermediate container 4b5993bd707d [2023-05-19T21:08:45.173Z] ---> 50df5de8638b [2023-05-19T21:08:45.173Z] Step 24/25 : LABEL git_sha=b7a532f10f65a37a16fe5b5df099a14b732e137e [2023-05-19T21:08:45.173Z] ---> Running in 49351b2077d1 [2023-05-19T21:08:45.441Z] Removing intermediate container 49351b2077d1 [2023-05-19T21:08:45.441Z] ---> 6b6d73934e48 [2023-05-19T21:08:45.441Z] Step 25/25 : LABEL version=0.0.0 [2023-05-19T21:08:45.709Z] ---> Running in ac4adea73d07 [2023-05-19T21:08:45.977Z] Removing intermediate container ac4adea73d07 [2023-05-19T21:08:45.977Z] ---> 751deb8cd3d8 [2023-05-19T21:08:45.977Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-19T21:08:45.977Z] Successfully built 751deb8cd3d8 [2023-05-19T21:08:45.977Z] 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-05-19T21:08:46.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T21:08:46.827Z] [2023-05-19T21:08:46.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:08:47.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T21:08:47.231Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-19T21:08:47.231Z] 8998bd30e6a1: Pulling fs layer [2023-05-19T21:08:47.231Z] 04944245beec: Pulling fs layer [2023-05-19T21:08:47.231Z] 699f458cf7ca: Pulling fs layer [2023-05-19T21:08:47.231Z] 765212b225bb: Pulling fs layer [2023-05-19T21:08:47.231Z] f23df028b6ca: Pulling fs layer [2023-05-19T21:08:47.231Z] d65c8cfc05b1: Pulling fs layer [2023-05-19T21:08:47.231Z] 2437ff75d9bd: Pulling fs layer [2023-05-19T21:08:47.231Z] f23df028b6ca: Waiting [2023-05-19T21:08:47.231Z] d65c8cfc05b1: Waiting [2023-05-19T21:08:47.231Z] 2437ff75d9bd: Waiting [2023-05-19T21:08:47.231Z] 765212b225bb: Waiting [2023-05-19T21:08:47.517Z] 04944245beec: Verifying Checksum [2023-05-19T21:08:47.517Z] 04944245beec: Download complete [2023-05-19T21:08:47.517Z] 765212b225bb: Verifying Checksum [2023-05-19T21:08:47.517Z] 765212b225bb: Download complete [2023-05-19T21:08:47.517Z] f23df028b6ca: Verifying Checksum [2023-05-19T21:08:47.517Z] f23df028b6ca: Download complete [2023-05-19T21:08:47.517Z] d65c8cfc05b1: Verifying Checksum [2023-05-19T21:08:47.517Z] d65c8cfc05b1: Download complete [2023-05-19T21:08:47.517Z] 699f458cf7ca: Verifying Checksum [2023-05-19T21:08:47.517Z] 699f458cf7ca: Download complete [2023-05-19T21:08:48.105Z] 8998bd30e6a1: Verifying Checksum [2023-05-19T21:08:48.105Z] 8998bd30e6a1: Download complete [2023-05-19T21:08:50.054Z] 2437ff75d9bd: Download complete [2023-05-19T21:08:52.000Z] 8998bd30e6a1: Pull complete [2023-05-19T21:08:52.661Z] 04944245beec: Pull complete [2023-05-19T21:08:54.112Z] 699f458cf7ca: Pull complete [2023-05-19T21:08:56.725Z] 765212b225bb: Pull complete [2023-05-19T21:08:57.687Z] f23df028b6ca: Pull complete [2023-05-19T21:08:57.687Z] d65c8cfc05b1: Pull complete [2023-05-19T21:09:12.701Z] 2437ff75d9bd: Pull complete [2023-05-19T21:09:12.701Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-19T21:09:12.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T21:09:12.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T21:09:13.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-16135 does not seem to be running inside a container [2023-05-19T21:09:13.093Z] $ 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-05-19T21:09:15.812Z] $ docker top 84d286f9e61f047fafecc7ca90bbf15f6fe929f1cdfcee788c6c81c18e8b9d89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:16.702Z] ---> job-cost.sh [2023-05-19T21:09:16.702Z] lf-activate-venv: SKIPPING [2023-05-19T21:09:16.702Z] INFO: No Stack... [2023-05-19T21:09:16.968Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-19T21:09:17.926Z] INFO: Archiving Costs [Pipeline] sh [2023-05-19T21:09:18.586Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-05-19T21:09:18.586Z] + cut -d, -f6 [Pipeline] lock [2023-05-19T21:09:18.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] [2023-05-19T21:09:18.679Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] did not exist. Created. [2023-05-19T21:09:18.680Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-19T21:09:19.093Z] /w/workspace/device-rest-go/1@tmp/durable-bc7f6386/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-19T21:09:19.445Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-19T21:09:19.482Z] Warning: overwriting stash ‘stack-cost’ [2023-05-19T21:09:19.528Z] Stashed 1 file(s) [Pipeline] } [2023-05-19T21:09:19.542Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-19T21:09:19.617Z] $ docker stop --time=1 84d286f9e61f047fafecc7ca90bbf15f6fe929f1cdfcee788c6c81c18e8b9d89 [2023-05-19T21:09:21.101Z] $ docker rm -f --volumes 84d286f9e61f047fafecc7ca90bbf15f6fe929f1cdfcee788c6c81c18e8b9d89 [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-05-19T21:09:22.129Z] provisioning config files... [2023-05-19T21:09:22.139Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config18271703502057599245tmp [Pipeline] { [Pipeline] sh [2023-05-19T21:09:22.479Z] + set +x [2023-05-19T21:09:22.479Z] + curl -s https://codecov.io/bash [2023-05-19T21:09:22.479Z] + bash -s -- [2023-05-19T21:09:22.479Z] [2023-05-19T21:09:22.479Z] _____ _ [2023-05-19T21:09:22.479Z] / ____| | | [2023-05-19T21:09:22.479Z] | | ___ __| | ___ ___ _____ __ [2023-05-19T21:09:22.479Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-19T21:09:22.479Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-19T21:09:22.479Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-19T21:09:22.479Z] Bash-1.0.6 [2023-05-19T21:09:22.479Z] [2023-05-19T21:09:22.479Z] [2023-05-19T21:09:22.479Z] ==> git version 2.25.1 found [2023-05-19T21:09:22.479Z] ==> 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-05-19T21:09:22.479Z] Release-Date: 2020-01-08 [2023-05-19T21:09:22.479Z] 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-05-19T21:09:22.479Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-19T21:09:22.479Z] ==> Jenkins CI detected. [2023-05-19T21:09:22.479Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-322 [2023-05-19T21:09:22.479Z] project root: . [2023-05-19T21:09:22.479Z] --> token set from env [2023-05-19T21:09:22.479Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-19T21:09:22.479Z] ==> Running gcov in . (disable via -X gcov) [2023-05-19T21:09:22.479Z] ==> Python coveragepy not found [2023-05-19T21:09:22.479Z] ==> Searching for coverage reports in: [2023-05-19T21:09:22.479Z] + . [2023-05-19T21:09:22.479Z] -> Found 1 reports [2023-05-19T21:09:22.479Z] ==> Detecting git/mercurial file structure [2023-05-19T21:09:22.479Z] ==> Reading reports [2023-05-19T21:09:22.739Z] + ./coverage.out bytes=14663 [2023-05-19T21:09:22.740Z] ==> Appending adjustments [2023-05-19T21:09:22.740Z] https://docs.codecov.io/docs/fixing-reports [2023-05-19T21:09:22.740Z] + Found adjustments [2023-05-19T21:09:22.740Z] ==> Gzipping contents [2023-05-19T21:09:22.740Z] 4.0K /tmp/codecov.nU7ev6.gz [2023-05-19T21:09:22.740Z] ==> Uploading reports [2023-05-19T21:09:22.740Z] url: https://codecov.io [2023-05-19T21:09:22.740Z] query: branch=PR-322&commit=b7a532f10f65a37a16fe5b5df099a14b732e137e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= [2023-05-19T21:09:22.740Z] -> Pinging Codecov [2023-05-19T21:09:22.740Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-322&commit=b7a532f10f65a37a16fe5b5df099a14b732e137e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= [2023-05-19T21:09:22.740Z] -> Uploading to [2023-05-19T21:09:22.740Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-19/4E5D53B4F1F92C436F7061BF334D961C/b7a532f10f65a37a16fe5b5df099a14b732e137e/b567a4f6-4c75-4703-bb5a-398b631abe99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230519T210922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3cb82d057265cc561cd8c12f8db0e21c9220cf552b2dfb843ccb5c6839ab53f [2023-05-19T21:09:22.999Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T21:09:22.999Z] Dload Upload Total Spent Left Speed [2023-05-19T21:09:22.999Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10635 --:--:-- --:--:-- --:--:-- 10635 [2023-05-19T21:09:23.000Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b7a532f10f65a37a16fe5b5df099a14b732e137e [Pipeline] } [2023-05-19T21:09:23.029Z] 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-05-19T21:09:24.859Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-322/archives ] [2023-05-19T21:09:24.859Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives [2023-05-19T21:09:24.859Z] total 16 [2023-05-19T21:09:24.859Z] drwxr-xr-x 3 root root 4096 May 19 21:00 . [2023-05-19T21:09:24.859Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 21:00 .. [2023-05-19T21:09:24.859Z] drwxr-xr-x 2 root root 4096 May 19 21:00 cost [2023-05-19T21:09:24.859Z] -rw-r--r-- 1 root root 86 May 19 21:00 cost.csv [2023-05-19T21:09:24.859Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-322/archives [2023-05-19T21:09:24.859Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives [2023-05-19T21:09:24.859Z] total 16 [2023-05-19T21:09:24.859Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 21:00 . [2023-05-19T21:09:24.859Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 21:00 .. [2023-05-19T21:09:24.859Z] drwxr-xr-x 2 jenkins jenkins 4096 May 19 21:00 cost [2023-05-19T21:09:24.859Z] -rw-r--r-- 1 jenkins jenkins 86 May 19 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:25.187Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:26.080Z] ---> package-listing.sh [2023-05-19T21:09:26.080Z] ++ facter osfamily [2023-05-19T21:09:26.080Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-19T21:09:26.080Z] + OS_FAMILY=debian [2023-05-19T21:09:26.080Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-322 [2023-05-19T21:09:26.339Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-19T21:09:26.339Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-19T21:09:26.339Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-19T21:09:26.339Z] + PACKAGES=/tmp/packages_start.txt [2023-05-19T21:09:26.339Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' [2023-05-19T21:09:26.339Z] + PACKAGES=/tmp/packages_end.txt [2023-05-19T21:09:26.339Z] + case "${OS_FAMILY}" in [2023-05-19T21:09:26.339Z] + dpkg -l [2023-05-19T21:09:26.339Z] + grep '^ii' [2023-05-19T21:09:26.339Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-19T21:09:26.339Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-19T21:09:26.339Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-19T21:09:26.339Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' [2023-05-19T21:09:26.339Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ [2023-05-19T21:09:26.339Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ [Pipeline] echo [2023-05-19T21:09:26.378Z] 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-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-19T21:09:26.672Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T21:09:27.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T21:09:27.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T21:09:27.455Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2023-05-19T21:09:27.487Z] $ 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-322/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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@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-05-19T21:09:27.690Z] $ docker top eed7e7c28eeca24adc27bf55c29540f3f7fbfb3764be61e4719e3eef9fcd3b4d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T21:09:28.081Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-19T21:09:28.392Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-19T21:09:28.703Z] + ls /var/log/sa-host [2023-05-19T21:09:28.703Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T21:09:28.923Z] provisioning config files... [2023-05-19T21:09:28.932Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config16395262265338981673tmp [Pipeline] { [Pipeline] echo [2023-05-19T21:09:28.986Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:29.296Z] ---> create-netrc.sh [Pipeline] } [2023-05-19T21:09:29.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:29.739Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-19T21:09:29.770Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:30.084Z] ---> sudo-logs.sh [2023-05-19T21:09:30.084Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-19T21:09:30.172Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:30.482Z] ---> job-cost.sh [2023-05-19T21:09:30.483Z] lf-activate-venv: SKIPPING [2023-05-19T21:09:30.483Z] DEBUG: total: 0.2199999988079071 [2023-05-19T21:09:30.483Z] INFO: Retrieving Stack Cost... [2023-05-19T21:09:30.742Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-19T21:09:31.310Z] INFO: Archiving Costs [Pipeline] echo [2023-05-19T21:09:31.344Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T21:09:31.656Z] ---> logs-deploy.sh [2023-05-19T21:09:31.656Z] lf-activate-venv: SKIPPING [2023-05-19T21:09:31.656Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-322/1 [2023-05-19T21:09:31.656Z] INFO: archiving workspace using pattern(s): [2023-05-19T21:09:32.593Z] Archives upload complete. [2023-05-19T21:09:32.593Z] INFO: archiving logs to Nexus [2023-05-19T21:09:33.163Z] ---> uname -a: [2023-05-19T21:09:33.163Z] Linux prd-ubuntu20-04-docker-8c-8g-16134 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-19T21:09:33.163Z] [2023-05-19T21:09:33.163Z]