Pull request #353 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-rest-go Obtained Jenkinsfile from 311548eee95374f1acb747549a94cfa4ea8b9881+8f56d306fd858ae3d3367190115f2cbc940f5ff8 (6c56ad10c24029b26982616ab6110f8f30b2e4e1) 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-ssh11282156990416238568.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3382454501503960547.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-353/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-353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1107266578858145193.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-353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18394751908666501566.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh17642799450208373826.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-353/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-353/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6014778453775970385.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9943 in /w/workspace/gexfoundry_device-rest-go_PR-353 [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-353 # 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/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f56d306fd858ae3d3367190115f2cbc940f5ff8 into PR head commit 311548eee95374f1acb747549a94cfa4ea8b9881 Merge succeeded, producing 311548eee95374f1acb747549a94cfa4ea8b9881 Checking out Revision 311548eee95374f1acb747549a94cfa4ea8b9881 (PR-353) > git config core.sparsecheckout # timeout=10 > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # 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 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # timeout=10 Commit message: "feat!: Remove snap packaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T15:48:40.383Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T15:48:40.552Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T15:48:40.650Z] ========================================================= [2023-10-24T15:48:40.650Z] EdgeX Global Pipelines Version Info [2023-10-24T15:48:40.650Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:48:41.401Z] ------------------- [2023-10-24T15:48:41.401Z] stable info: [2023-10-24T15:48:41.401Z] ------------------- [2023-10-24T15:48:41.401Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T15:48:41.401Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:48:41.401Z] Message: update stable to v1.0.254 [2023-10-24T15:48:41.972Z] ------------------- [2023-10-24T15:48:41.972Z] experimental info: [2023-10-24T15:48:41.972Z] ------------------- [2023-10-24T15:48:41.972Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T15:48:41.972Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:48:41.972Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T15:48:42.285Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-24T15:48:42.341Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-24T15:48:42.385Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T15:48:42.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T15:48:42.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T15:48:42.513Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T15:48:42.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T15:48:42.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T15:48:42.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T15:48:42.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T15:48:42.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T15:48:42.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-24T15:48:42.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T15:48:42.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T15:48:42.909Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:48:42.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:48:43.001Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:48:43.046Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:48:43.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T15:48:43.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T15:48:43.195Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T15:48:43.238Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T15:48:43.282Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T15:48:43.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T15:48:43.372Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T15:48:43.414Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T15:48:43.455Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T15:48:43.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo [2023-10-24T15:48:43.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo [2023-10-24T15:48:43.585Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo [2023-10-24T15:48:43.630Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo [2023-10-24T15:48:43.678Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 311548e [Pipeline] echo [2023-10-24T15:48:43.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:48:43.845Z] provisioning config files... [2023-10-24T15:48:43.859Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config5486494346747461860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:48:44.208Z] ---> docker-login.sh [2023-10-24T15:48:44.208Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:48:44.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:48:44.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:48:44.469Z] Configure a credential helper to remove this warning. See [2023-10-24T15:48:44.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:48:44.469Z] [2023-10-24T15:48:44.469Z] Login Succeeded [2023-10-24T15:48:44.469Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:48:44.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:48:44.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:48:44.469Z] Configure a credential helper to remove this warning. See [2023-10-24T15:48:44.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:48:44.469Z] [2023-10-24T15:48:44.469Z] Login Succeeded [2023-10-24T15:48:44.469Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:48:44.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:48:44.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:48:44.729Z] Configure a credential helper to remove this warning. See [2023-10-24T15:48:44.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:48:44.729Z] [2023-10-24T15:48:44.729Z] Login Succeeded [2023-10-24T15:48:44.729Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:48:44.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:48:44.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:48:44.729Z] Configure a credential helper to remove this warning. See [2023-10-24T15:48:44.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:48:44.729Z] [2023-10-24T15:48:44.729Z] Login Succeeded [2023-10-24T15:48:44.729Z] docker.io [2023-10-24T15:48:44.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:48:44.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:48:44.993Z] Configure a credential helper to remove this warning. See [2023-10-24T15:48:44.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:48:44.993Z] [2023-10-24T15:48:44.993Z] Login Succeeded [2023-10-24T15:48:44.993Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:48:45.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T15:48:45.715Z] + git rev-list -1 --merges 311548eee95374f1acb747549a94cfa4ea8b9881~1..311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo [2023-10-24T15:48:45.782Z] -----------> git rev-list -1 --merges 311548eee95374f1acb747549a94cfa4ea8b9881~1..311548eee95374f1acb747549a94cfa4ea8b9881 311548eee95374f1acb747549a94cfa4ea8b9881 [false] [Pipeline] sh [2023-10-24T15:48:46.092Z] + git log --format=format:%s -1 311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo [2023-10-24T15:48:46.128Z] ========================================================= [2023-10-24T15:48:46.128Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T15:48:46.128Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:48:46.561Z] + git log --format=format:%s -1 311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo [2023-10-24T15:48:46.591Z] [semverPrep] GIT_COMMIT: 311548eee95374f1acb747549a94cfa4ea8b9881, Commit Message: feat!: Remove snap packaging [Pipeline] echo [2023-10-24T15:48:46.620Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T15:48:46.998Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:48:46.998Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T15:48:46.998Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T15:48:46.998Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T15:48:46.998Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T15:48:46.998Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T15:48:46.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:48:47.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:48:47.459Z] [2023-10-24T15:48:47.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:48:47.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:48:47.854Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T15:48:47.854Z] b85a868b505f: Pulling fs layer [2023-10-24T15:48:47.854Z] e2be974225ed: Pulling fs layer [2023-10-24T15:48:47.854Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T15:48:47.854Z] 988bab9f4d93: Pulling fs layer [2023-10-24T15:48:47.854Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T15:48:47.854Z] eaf3925da568: Pulling fs layer [2023-10-24T15:48:47.854Z] bab4dde63d76: Pulling fs layer [2023-10-24T15:48:47.854Z] bde34c3a00c8: Pulling fs layer [2023-10-24T15:48:47.854Z] b352a97aabf1: Pulling fs layer [2023-10-24T15:48:47.854Z] 4872d77fe225: Pulling fs layer [2023-10-24T15:48:47.854Z] 5851b861e8e6: Pulling fs layer [2023-10-24T15:48:47.854Z] 988bab9f4d93: Waiting [2023-10-24T15:48:47.854Z] 1469e6f7b9e6: Waiting [2023-10-24T15:48:47.854Z] eaf3925da568: Waiting [2023-10-24T15:48:47.854Z] b352a97aabf1: Waiting [2023-10-24T15:48:47.854Z] 5851b861e8e6: Waiting [2023-10-24T15:48:47.854Z] 4872d77fe225: Waiting [2023-10-24T15:48:47.854Z] bab4dde63d76: Waiting [2023-10-24T15:48:47.854Z] bde34c3a00c8: Waiting [2023-10-24T15:48:47.854Z] e2be974225ed: Download complete [2023-10-24T15:48:47.854Z] 988bab9f4d93: Download complete [2023-10-24T15:48:47.854Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T15:48:47.854Z] 1469e6f7b9e6: Download complete [2023-10-24T15:48:47.854Z] eaf3925da568: Verifying Checksum [2023-10-24T15:48:47.854Z] eaf3925da568: Download complete [2023-10-24T15:48:48.113Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T15:48:48.113Z] 339a4e72a1f5: Download complete [2023-10-24T15:48:48.113Z] bde34c3a00c8: Verifying Checksum [2023-10-24T15:48:48.113Z] bde34c3a00c8: Download complete [2023-10-24T15:48:48.113Z] b352a97aabf1: Download complete [2023-10-24T15:48:48.113Z] 4872d77fe225: Verifying Checksum [2023-10-24T15:48:48.113Z] 4872d77fe225: Download complete [2023-10-24T15:48:48.113Z] 5851b861e8e6: Download complete [2023-10-24T15:48:48.113Z] b85a868b505f: Verifying Checksum [2023-10-24T15:48:48.113Z] b85a868b505f: Download complete [2023-10-24T15:48:48.371Z] bab4dde63d76: Verifying Checksum [2023-10-24T15:48:48.371Z] bab4dde63d76: Download complete [2023-10-24T15:48:49.311Z] b85a868b505f: Pull complete [2023-10-24T15:48:49.570Z] e2be974225ed: Pull complete [2023-10-24T15:48:50.147Z] 339a4e72a1f5: Pull complete [2023-10-24T15:48:50.147Z] 988bab9f4d93: Pull complete [2023-10-24T15:48:50.407Z] 1469e6f7b9e6: Pull complete [2023-10-24T15:48:50.407Z] eaf3925da568: Pull complete [2023-10-24T15:48:52.312Z] bab4dde63d76: Pull complete [2023-10-24T15:48:52.312Z] bde34c3a00c8: Pull complete [2023-10-24T15:48:52.572Z] b352a97aabf1: Pull complete [2023-10-24T15:48:52.572Z] 4872d77fe225: Pull complete [2023-10-24T15:48:52.572Z] 5851b861e8e6: Pull complete [2023-10-24T15:48:52.572Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T15:48:52.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:48:52.572Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:48:52.815Z] prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container [2023-10-24T15:48:52.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@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-devops/py-git-semver:0.1.4 cat [2023-10-24T15:48:56.513Z] $ docker top fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd -eo pid,comm [2023-10-24T15:48:56.562Z] 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-10-24T15:48:56.562Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:48:56.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:48:56.684Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:48:56.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:48:56.831Z] $ docker exec fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent [2023-10-24T15:48:56.929Z] SSH_AUTH_SOCK=/tmp/ssh-ltBINIRtIZjP/agent.32 [2023-10-24T15:48:56.929Z] SSH_AGENT_PID=38 [2023-10-24T15:48:56.934Z] Running ssh-add (command line suppressed) [2023-10-24T15:48:57.033Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_12321074065808995449.key (/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_12321074065808995449.key) [2023-10-24T15:48:57.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:48:57.370Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T15:48:57.398Z] $ docker exec --env ******** --env ******** fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent -k [2023-10-24T15:48:57.500Z] unset SSH_AUTH_SOCK; [2023-10-24T15:48:57.501Z] unset SSH_AGENT_PID; [2023-10-24T15:48:57.501Z] echo Agent pid 38 killed; [2023-10-24T15:48:57.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T15:48:57.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:48:57.595Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:48:57.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:48:57.727Z] $ docker exec fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent [2023-10-24T15:48:57.834Z] SSH_AUTH_SOCK=/tmp/ssh-BlfL5a184ZTA/agent.70 [2023-10-24T15:48:57.834Z] SSH_AGENT_PID=76 [2023-10-24T15:48:57.840Z] Running ssh-add (command line suppressed) [2023-10-24T15:48:57.934Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_16661806956573258564.key (/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_16661806956573258564.key) [2023-10-24T15:48:57.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:48:58.281Z] + git semver init [2023-10-24T15:48:58.543Z] 2023-10-24 15:48:58,505 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T15:48:58.543Z] 2023-10-24 15:48:58,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-353/.semver [2023-10-24T15:48:58.543Z] 2023-10-24 15:48:58,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-353/.semver [2023-10-24T15:48:58.543Z] 2023-10-24 15:48:58,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-353/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-353, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,652 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-353/.git/info/exclude [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-353/.semver/PR-353 with force:False [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,653 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-353/.semver/PR-353 [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,657 [execute] INFO git cat-file --batch-check [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-353/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,664 [execute] INFO git cat-file --batch [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-353/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:48:59.921Z] 2023-10-24 15:48:59,670 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-353/.semver/PR-353 [2023-10-24T15:48:59.921Z] 0.0.0 [Pipeline] } [2023-10-24T15:48:59.947Z] $ docker exec --env ******** --env ******** fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent -k [2023-10-24T15:49:00.049Z] unset SSH_AUTH_SOCK; [2023-10-24T15:49:00.049Z] unset SSH_AGENT_PID; [2023-10-24T15:49:00.049Z] echo Agent pid 76 killed; [2023-10-24T15:49:00.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:49:00.488Z] + git semver [Pipeline] } [2023-10-24T15:49:00.774Z] $ docker stop --time=1 fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd [2023-10-24T15:49:02.138Z] $ docker rm -f --volumes fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:49:02.535Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T15:49:02.802Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T15:49:02.822Z] [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-10-24T15:49:03.417Z] provisioning config files... [2023-10-24T15:49:03.427Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config352583538187247449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:49:03.776Z] ---> docker-login.sh [2023-10-24T15:49:03.776Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:49:03.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:03.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:03.776Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:03.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:03.776Z] [2023-10-24T15:49:03.776Z] Login Succeeded [2023-10-24T15:49:03.776Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:49:04.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:04.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:04.035Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:04.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:04.035Z] [2023-10-24T15:49:04.035Z] Login Succeeded [2023-10-24T15:49:04.035Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:49:04.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:04.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:04.035Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:04.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:04.035Z] [2023-10-24T15:49:04.035Z] Login Succeeded [2023-10-24T15:49:04.035Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:49:04.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:04.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:04.295Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:04.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:04.295Z] [2023-10-24T15:49:04.295Z] Login Succeeded [2023-10-24T15:49:04.295Z] docker.io [2023-10-24T15:49:04.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:49:04.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:49:04.554Z] Configure a credential helper to remove this warning. See [2023-10-24T15:49:04.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:49:04.554Z] [2023-10-24T15:49:04.554Z] Login Succeeded [2023-10-24T15:49:04.554Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:49:04.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:49:04.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:49:04.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:49:04.847Z] ========================================================= [2023-10-24T15:49:04.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T15:49:04.847Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:49:05.307Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:49:05.307Z] Sending build context to Docker daemon 10.92MB [2023-10-24T15:49:05.307Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:49:05.307Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T15:49:05.307Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T15:49:05.307Z] 7264a8db6415: Pulling fs layer [2023-10-24T15:49:05.307Z] c4d48a809fc2: Pulling fs layer [2023-10-24T15:49:05.307Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T15:49:05.307Z] ad3a456e5733: Pulling fs layer [2023-10-24T15:49:05.307Z] 33e27b845d1e: Pulling fs layer [2023-10-24T15:49:05.307Z] c68163c4e522: Pulling fs layer [2023-10-24T15:49:05.307Z] 50da416c3ac9: Pulling fs layer [2023-10-24T15:49:05.307Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T15:49:05.307Z] ad3a456e5733: Waiting [2023-10-24T15:49:05.307Z] 33e27b845d1e: Waiting [2023-10-24T15:49:05.307Z] c68163c4e522: Waiting [2023-10-24T15:49:05.307Z] 50da416c3ac9: Waiting [2023-10-24T15:49:05.307Z] 23d2d4c4bb30: Waiting [2023-10-24T15:49:05.572Z] c4d48a809fc2: Verifying Checksum [2023-10-24T15:49:05.572Z] c4d48a809fc2: Download complete [2023-10-24T15:49:05.572Z] ad3a456e5733: Download complete [2023-10-24T15:49:05.572Z] 33e27b845d1e: Verifying Checksum [2023-10-24T15:49:05.572Z] 33e27b845d1e: Download complete [2023-10-24T15:49:05.572Z] 7264a8db6415: Verifying Checksum [2023-10-24T15:49:05.572Z] 7264a8db6415: Download complete [2023-10-24T15:49:05.573Z] c68163c4e522: Verifying Checksum [2023-10-24T15:49:05.573Z] c68163c4e522: Download complete [2023-10-24T15:49:05.573Z] 7264a8db6415: Pull complete [2023-10-24T15:49:05.831Z] c4d48a809fc2: Pull complete [2023-10-24T15:49:05.831Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T15:49:05.831Z] 23d2d4c4bb30: Download complete [2023-10-24T15:49:05.831Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T15:49:05.831Z] 4f1c88b9dad5: Download complete [2023-10-24T15:49:06.397Z] 50da416c3ac9: Verifying Checksum [2023-10-24T15:49:06.397Z] 50da416c3ac9: Download complete [2023-10-24T15:49:09.680Z] 4f1c88b9dad5: Pull complete [2023-10-24T15:49:09.680Z] ad3a456e5733: Pull complete [2023-10-24T15:49:09.680Z] 33e27b845d1e: Pull complete [2023-10-24T15:49:09.680Z] c68163c4e522: Pull complete [2023-10-24T15:49:12.210Z] 50da416c3ac9: Pull complete [2023-10-24T15:49:12.210Z] 23d2d4c4bb30: Pull complete [2023-10-24T15:49:12.210Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T15:49:12.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T15:49:12.210Z] ---> 0786185ac409 [2023-10-24T15:49:12.210Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:49:18.230Z] Still waiting to schedule task [2023-10-24T15:49:18.230Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T15:49:18.773Z] ---> Running in 8fff520d6a53 [2023-10-24T15:49:18.773Z] Removing intermediate container 8fff520d6a53 [2023-10-24T15:49:18.773Z] ---> c389fab8950f [2023-10-24T15:49:18.773Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:49:19.032Z] ---> Running in 4e9c9529f123 [2023-10-24T15:49:19.289Z] Removing intermediate container 4e9c9529f123 [2023-10-24T15:49:19.289Z] ---> 8a096eb37a00 [2023-10-24T15:49:19.289Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:49:19.289Z] ---> Running in 6fbcbe4c597b [2023-10-24T15:49:19.546Z] Removing intermediate container 6fbcbe4c597b [2023-10-24T15:49:19.546Z] ---> 774c12d28bff [2023-10-24T15:49:19.546Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:49:19.546Z] ---> Running in 60e2f9374640 [2023-10-24T15:49:19.546Z] Removing intermediate container 60e2f9374640 [2023-10-24T15:49:19.546Z] ---> c76118610561 [2023-10-24T15:49:19.546Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:49:19.546Z] ---> Running in cb84c5ba75cf [2023-10-24T15:49:19.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:49:20.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:49:20.064Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:49:20.064Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T15:49:20.064Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:49:20.064Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:49:20.064Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:49:20.387Z] OK: 268 MiB in 56 packages [2023-10-24T15:49:20.954Z] Removing intermediate container cb84c5ba75cf [2023-10-24T15:49:20.954Z] ---> 09511a722d42 [2023-10-24T15:49:20.954Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T15:49:20.954Z] ---> Running in 24f5cfec7e20 [2023-10-24T15:49:20.954Z] Removing intermediate container 24f5cfec7e20 [2023-10-24T15:49:20.954Z] ---> c5d9a3873f36 [2023-10-24T15:49:20.954Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T15:49:20.954Z] ---> 5e3c9f88d8bb [2023-10-24T15:49:20.954Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:49:21.218Z] ---> Running in 9828159657d7 [2023-10-24T15:50:17.576Z] Removing intermediate container 9828159657d7 [2023-10-24T15:50:17.576Z] ---> 647f369cfc71 [2023-10-24T15:50:17.576Z] Step 11/12 : COPY . . [2023-10-24T15:50:17.576Z] ---> b9922cb83289 [2023-10-24T15:50:17.576Z] Step 12/12 : RUN $MAKE [2023-10-24T15:50:17.576Z] ---> Running in 9abc957c1e38 [2023-10-24T15:50:17.576Z] noop [2023-10-24T15:50:17.576Z] Removing intermediate container 9abc957c1e38 [2023-10-24T15:50:17.576Z] ---> c652ea92d503 [2023-10-24T15:50:17.576Z] Successfully built c652ea92d503 [2023-10-24T15:50:17.576Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:50:18.057Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:50:18.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:50:18.204Z] prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container [2023-10-24T15:50:18.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:50:18.554Z] $ docker top 3b68099a715d3c069bf6f56829a10a51b9622a8c721ca886d4078ca069f3bc89 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:50:18.939Z] + go version [2023-10-24T15:50:18.939Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T15:50:18.975Z] $ docker stop --time=1 3b68099a715d3c069bf6f56829a10a51b9622a8c721ca886d4078ca069f3bc89 [2023-10-24T15:50:20.283Z] $ docker rm -f --volumes 3b68099a715d3c069bf6f56829a10a51b9622a8c721ca886d4078ca069f3bc89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:50:20.986Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:50:20.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:50:21.118Z] prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container [2023-10-24T15:50:21.143Z] $ 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-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:50:21.448Z] $ docker top d6ebcde2ce95e78ad71be73ce187f57051a9332a93763ba80f767a6914a01741 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:50:21.832Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-353 [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:50:22.187Z] + make test [2023-10-24T15:50:22.187Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T15:50:23.562Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T15:50:33.655Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T15:50:33.655Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-10-24T15:50:41.757Z] go vet ./... [2023-10-24T15:50:44.284Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:50:44.284Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:50:44.284Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:50:44.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:50:44.603Z] $ docker stop --time=1 d6ebcde2ce95e78ad71be73ce187f57051a9332a93763ba80f767a6914a01741 [2023-10-24T15:50:49.029Z] $ docker rm -f --volumes d6ebcde2ce95e78ad71be73ce187f57051a9332a93763ba80f767a6914a01741 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:50:49.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:50:49.642Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T15:50:50.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:50:50.661Z] + ls -al . [2023-10-24T15:50:50.661Z] total 184 [2023-10-24T15:50:50.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:50 . [2023-10-24T15:50:50.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:48 .. [2023-10-24T15:50:50.661Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 15:48 .dockerignore [2023-10-24T15:50:50.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:50 .git [2023-10-24T15:50:50.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:48 .github [2023-10-24T15:50:50.661Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 15:48 .gitignore [2023-10-24T15:50:50.661Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:48 .golangci.yml [2023-10-24T15:50:50.661Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:48 .semver [2023-10-24T15:50:50.661Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 15:48 Attribution.txt [2023-10-24T15:50:50.661Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 15:48 CHANGELOG.md [2023-10-24T15:50:50.661Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 15:48 Dockerfile [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:48 GOVERNANCE.md [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 15:48 Jenkinsfile [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:48 LICENSE [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 15:48 Makefile [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 15:48 OWNERS.md [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 15:48 README.md [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:49 VERSION [2023-10-24T15:50:50.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:48 bin [2023-10-24T15:50:50.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:48 cmd [2023-10-24T15:50:50.662Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 15:50 coverage.out [2023-10-24T15:50:50.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:48 driver [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 15:48 go.mod [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 15:48 go.sum [2023-10-24T15:50:50.662Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:50:51.055Z] + 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=311548eee95374f1acb747549a94cfa4ea8b9881 --label arch=amd64 --label version=0.0.0 . [2023-10-24T15:50:51.055Z] Sending build context to Docker daemon 10.94MB [2023-10-24T15:50:51.055Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:50:51.055Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T15:50:51.055Z] ---> c652ea92d503 [2023-10-24T15:50:51.055Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:50:51.313Z] ---> Running in 1bbf68458620 [2023-10-24T15:50:51.313Z] Removing intermediate container 1bbf68458620 [2023-10-24T15:50:51.313Z] ---> d2b052b05758 [2023-10-24T15:50:51.313Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:50:51.572Z] ---> Running in 0f43d75a9f42 [2023-10-24T15:50:51.572Z] Removing intermediate container 0f43d75a9f42 [2023-10-24T15:50:51.572Z] ---> f6419ed80787 [2023-10-24T15:50:51.572Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:50:51.572Z] ---> Running in 9df6a8500589 [2023-10-24T15:50:51.572Z] Removing intermediate container 9df6a8500589 [2023-10-24T15:50:51.572Z] ---> c0e653b4afd8 [2023-10-24T15:50:51.572Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:50:51.572Z] ---> Running in 0ad65dc558ac [2023-10-24T15:50:51.831Z] Removing intermediate container 0ad65dc558ac [2023-10-24T15:50:51.831Z] ---> b3e952524887 [2023-10-24T15:50:51.831Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:50:51.831Z] ---> Running in a3a0ee77b625 [2023-10-24T15:50:52.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:50:52.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:50:52.656Z] OK: 268 MiB in 56 packages [2023-10-24T15:50:52.656Z] Removing intermediate container a3a0ee77b625 [2023-10-24T15:50:52.656Z] ---> cebb1b239a12 [2023-10-24T15:50:52.656Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T15:50:52.915Z] ---> Running in 3df2a2794f40 [2023-10-24T15:50:52.915Z] Removing intermediate container 3df2a2794f40 [2023-10-24T15:50:52.915Z] ---> 1fb1f101eab5 [2023-10-24T15:50:52.915Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T15:50:52.915Z] ---> 76a6216095df [2023-10-24T15:50:52.915Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:50:52.915Z] ---> Running in 1dc7e2b62c65 [2023-10-24T15:50:53.851Z] Removing intermediate container 1dc7e2b62c65 [2023-10-24T15:50:53.851Z] ---> 947582269bd5 [2023-10-24T15:50:53.851Z] Step 11/25 : COPY . . [2023-10-24T15:50:54.110Z] ---> 492141068c56 [2023-10-24T15:50:54.110Z] Step 12/25 : RUN $MAKE [2023-10-24T15:50:54.110Z] ---> Running in ca79f46a97da [2023-10-24T15:50:54.369Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T15:51:16.297Z] Removing intermediate container ca79f46a97da [2023-10-24T15:51:16.297Z] ---> 7453fdfc158c [2023-10-24T15:51:16.297Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T15:51:16.297Z] 3.18: Pulling from library/alpine [2023-10-24T15:51:16.864Z] 96526aa774ef: Pulling fs layer [2023-10-24T15:51:17.123Z] 96526aa774ef: Verifying Checksum [2023-10-24T15:51:17.123Z] 96526aa774ef: Download complete [2023-10-24T15:51:17.382Z] 96526aa774ef: Pull complete [2023-10-24T15:51:17.382Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:51:17.382Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:51:17.382Z] ---> 8ca4688f4f35 [2023-10-24T15:51:17.382Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T15:51:17.382Z] ---> Running in 41ab8ca7fa14 [2023-10-24T15:51:17.382Z] Removing intermediate container 41ab8ca7fa14 [2023-10-24T15:51:17.382Z] ---> 306a63f8f86a [2023-10-24T15:51:17.382Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T15:51:17.382Z] ---> Running in f19f5cfc1385 [2023-10-24T15:51:17.642Z] Removing intermediate container f19f5cfc1385 [2023-10-24T15:51:17.642Z] ---> 3bd047004d9f [2023-10-24T15:51:17.642Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T15:51:17.642Z] ---> Running in 515d8fa6a9ce [2023-10-24T15:51:17.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:51:18.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:51:18.416Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T15:51:18.416Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:51:18.416Z] OK: 7 MiB in 16 packages [2023-10-24T15:51:18.675Z] Removing intermediate container 515d8fa6a9ce [2023-10-24T15:51:18.675Z] ---> 07151b9b369b [2023-10-24T15:51:18.675Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T15:51:19.743Z] ---> 4befb7c3728d [2023-10-24T15:51:19.743Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T15:51:19.743Z] ---> b98b3c2e14e8 [2023-10-24T15:51:19.743Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T15:51:19.743Z] ---> dfd551493529 [2023-10-24T15:51:19.743Z] Step 20/25 : EXPOSE 59986 [2023-10-24T15:51:19.743Z] ---> Running in 871f79c65a3e [2023-10-24T15:51:20.001Z] Removing intermediate container 871f79c65a3e [2023-10-24T15:51:20.001Z] ---> 731fb90ea5bf [2023-10-24T15:51:20.001Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T15:51:20.001Z] ---> Running in ddc2157879c0 [2023-10-24T15:51:20.001Z] Removing intermediate container ddc2157879c0 [2023-10-24T15:51:20.001Z] ---> 880af0061447 [2023-10-24T15:51:20.001Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T15:51:20.001Z] ---> Running in 9c6bfc7bf7de [2023-10-24T15:51:20.001Z] Removing intermediate container 9c6bfc7bf7de [2023-10-24T15:51:20.001Z] ---> 33cbc2082fc4 [2023-10-24T15:51:20.001Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T15:51:20.001Z] ---> Running in c626618d873f [2023-10-24T15:51:20.259Z] Removing intermediate container c626618d873f [2023-10-24T15:51:20.259Z] ---> 3f18a45bcf11 [2023-10-24T15:51:20.259Z] Step 24/25 : LABEL git_sha=311548eee95374f1acb747549a94cfa4ea8b9881 [2023-10-24T15:51:20.259Z] ---> Running in fdbd4393ec5d [2023-10-24T15:51:20.259Z] Removing intermediate container fdbd4393ec5d [2023-10-24T15:51:20.259Z] ---> e7221cf84bd4 [2023-10-24T15:51:20.259Z] Step 25/25 : LABEL version=0.0.0 [2023-10-24T15:51:20.259Z] ---> Running in dc545d0f53ac [2023-10-24T15:51:20.259Z] Removing intermediate container dc545d0f53ac [2023-10-24T15:51:20.259Z] ---> 578c0e47c5ba [2023-10-24T15:51:20.259Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:51:20.259Z] Successfully built 578c0e47c5ba [2023-10-24T15:51:20.259Z] 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-10-24T15:51:21.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:51:21.145Z] [2023-10-24T15:51:21.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:51:21.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:51:21.515Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T15:51:21.515Z] 5eb5b503b376: Pulling fs layer [2023-10-24T15:51:21.515Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T15:51:21.515Z] ec43610c2a17: Pulling fs layer [2023-10-24T15:51:21.515Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T15:51:21.515Z] 33b1e0a273af: Pulling fs layer [2023-10-24T15:51:21.515Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T15:51:21.515Z] 2f39f015ded8: Pulling fs layer [2023-10-24T15:51:21.515Z] 33b1e0a273af: Waiting [2023-10-24T15:51:21.515Z] 3a2ae6a8a46f: Waiting [2023-10-24T15:51:21.515Z] 5d3b04190fa2: Waiting [2023-10-24T15:51:21.515Z] 5c69ac0246d0: Download complete [2023-10-24T15:51:21.515Z] 3a2ae6a8a46f: Download complete [2023-10-24T15:51:21.515Z] 33b1e0a273af: Verifying Checksum [2023-10-24T15:51:21.515Z] 33b1e0a273af: Download complete [2023-10-24T15:51:21.515Z] ec43610c2a17: Verifying Checksum [2023-10-24T15:51:21.515Z] ec43610c2a17: Download complete [2023-10-24T15:51:21.515Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T15:51:21.515Z] 5d3b04190fa2: Download complete [2023-10-24T15:51:21.775Z] 5eb5b503b376: Verifying Checksum [2023-10-24T15:51:21.776Z] 5eb5b503b376: Download complete [2023-10-24T15:51:22.342Z] 2f39f015ded8: Verifying Checksum [2023-10-24T15:51:22.907Z] 5eb5b503b376: Pull complete [2023-10-24T15:51:23.164Z] 5c69ac0246d0: Pull complete [2023-10-24T15:51:23.421Z] ec43610c2a17: Pull complete [2023-10-24T15:51:23.421Z] 3a2ae6a8a46f: Pull complete [2023-10-24T15:51:23.680Z] 33b1e0a273af: Pull complete [2023-10-24T15:51:23.937Z] 5d3b04190fa2: Pull complete [2023-10-24T15:51:28.109Z] 2f39f015ded8: Pull complete [2023-10-24T15:51:28.109Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T15:51:28.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:51:28.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:51:28.331Z] prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container [2023-10-24T15:51:28.365Z] $ 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-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T15:51:34.161Z] $ docker top 32182f6ddabc077686c25b3b3c18869054349fdfed252a21257d5616f6fa23dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:51:34.608Z] ---> job-cost.sh [2023-10-24T15:51:34.608Z] lf-activate-venv: SKIPPING [2023-10-24T15:51:34.608Z] INFO: No Stack... [2023-10-24T15:51:34.866Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:51:35.125Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:51:35.446Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-353/archives/cost.csv [2023-10-24T15:51:35.446Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T15:51:35.487Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [2023-10-24T15:51:35.491Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] did not exist. Created. [2023-10-24T15:51:35.492Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:51:35.880Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T15:51:35.932Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:51:35.957Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:51:36.093Z] $ docker stop --time=1 32182f6ddabc077686c25b3b3c18869054349fdfed252a21257d5616f6fa23dd [2023-10-24T15:51:37.262Z] $ docker rm -f --volumes 32182f6ddabc077686c25b3b3c18869054349fdfed252a21257d5616f6fa23dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T15:52:07.133Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9946 in /w/workspace/gexfoundry_device-rest-go_PR-353 [Pipeline] { [Pipeline] ws [2023-10-24T15:52:07.193Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-10-24T15:52:07.274Z] The recommended git tool is: git [2023-10-24T15:52:13.460Z] using credential edgex-jenkins-ssh [2023-10-24T15:52:13.481Z] Cloning the remote Git repository [2023-10-24T15:52:13.512Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T15:52:13.629Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-10-24T15:52:13.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T15:52:13.808Z] > git --version # timeout=10 [2023-10-24T15:52:13.832Z] > git --version # 'git version 2.25.1' [2023-10-24T15:52:13.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:52:14.013Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:52:25.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-24T15:52:25.593Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:52:26.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-24T15:52:26.620Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T15:52:26.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:52:26.651Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T15:52:27.884Z] Merging remotes/origin/main commit 8f56d306fd858ae3d3367190115f2cbc940f5ff8 into PR head commit 311548eee95374f1acb747549a94cfa4ea8b9881 [2023-10-24T15:52:28.283Z] Merge succeeded, producing 311548eee95374f1acb747549a94cfa4ea8b9881 [2023-10-24T15:52:28.284Z] Checking out Revision 311548eee95374f1acb747549a94cfa4ea8b9881 (PR-353) [2023-10-24T15:52:27.887Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T15:52:28.011Z] > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # timeout=10 [2023-10-24T15:52:28.113Z] > git remote # timeout=10 [2023-10-24T15:52:28.138Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T15:52:28.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:52:28.186Z] > git merge 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 [2023-10-24T15:52:28.221Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T15:52:28.252Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T15:52:28.271Z] > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # timeout=10 [2023-10-24T15:52:31.891Z] Commit message: "feat!: Remove snap packaging" [2023-10-24T15:52:31.900Z] > git --version # timeout=10 [2023-10-24T15:52:31.909Z] > git --version # 'git version 2.25.1' [2023-10-24T15:52:31.921Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:52:33.153Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T15:52:33.153Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:52:33.153Z] Dload Upload Total Spent Left Speed [2023-10-24T15:52:33.153Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68553 0 --:--:-- --:--:-- --:--:-- 68924 [Pipeline] sh [2023-10-24T15:52:33.879Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T15:52:34.226Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-10-24T15:52:34.226Z] [2023-10-24T15:52:34.226Z] { [2023-10-24T15:52:34.226Z] "registry-mirrors": [ [2023-10-24T15:52:34.226Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T15:52:34.226Z] ], [2023-10-24T15:52:34.226Z] "bip": "10.250.0.254/24", [2023-10-24T15:52:34.226Z] "hosts": [ [2023-10-24T15:52:34.226Z] "tcp://0.0.0.0:5555", [2023-10-24T15:52:34.226Z] "unix:///var/run/docker.sock" [2023-10-24T15:52:34.226Z] ], [2023-10-24T15:52:34.226Z] "mtu": 1458, [2023-10-24T15:52:34.226Z] "selinux-enabled": true, [2023-10-24T15:52:34.226Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T15:52:34.226Z] } [Pipeline] sh [2023-10-24T15:52:34.569Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T15:52:34.916Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:52:53.286Z] provisioning config files... [2023-10-24T15:52:53.317Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10767432547899090119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:52:53.719Z] ---> docker-login.sh [2023-10-24T15:52:53.719Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:52:54.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:54.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:54.583Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:54.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:54.583Z] [2023-10-24T15:52:54.583Z] Login Succeeded [2023-10-24T15:52:54.583Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:52:54.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:54.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:54.856Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:54.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:54.856Z] [2023-10-24T15:52:54.856Z] Login Succeeded [2023-10-24T15:52:54.856Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:52:55.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:55.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:55.403Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:55.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:55.403Z] [2023-10-24T15:52:55.403Z] Login Succeeded [2023-10-24T15:52:55.403Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:52:55.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:55.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:55.673Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:55.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:55.673Z] [2023-10-24T15:52:55.673Z] Login Succeeded [2023-10-24T15:52:55.673Z] docker.io [2023-10-24T15:52:55.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:52:56.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:52:56.536Z] Configure a credential helper to remove this warning. See [2023-10-24T15:52:56.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:52:56.536Z] [2023-10-24T15:52:56.536Z] Login Succeeded [2023-10-24T15:52:56.536Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:52:56.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:52:57.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:52:57.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:52:57.101Z] ========================================================= [2023-10-24T15:52:57.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T15:52:57.101Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:52:57.605Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:52:57.606Z] Sending build context to Docker daemon 122.4kB [2023-10-24T15:52:57.891Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:52:57.891Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T15:52:58.162Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T15:52:58.162Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T15:52:58.162Z] 5d54e960e981: Pulling fs layer [2023-10-24T15:52:58.162Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T15:52:58.162Z] f0e02332f6b5: Pulling fs layer [2023-10-24T15:52:58.162Z] cefa15bbcfad: Pulling fs layer [2023-10-24T15:52:58.162Z] 17808c966233: Pulling fs layer [2023-10-24T15:52:58.162Z] f4c1fc716caa: Pulling fs layer [2023-10-24T15:52:58.162Z] f0e02332f6b5: Waiting [2023-10-24T15:52:58.162Z] cefa15bbcfad: Waiting [2023-10-24T15:52:58.162Z] 17808c966233: Waiting [2023-10-24T15:52:58.162Z] 5d54e960e981: Verifying Checksum [2023-10-24T15:52:58.162Z] 5d54e960e981: Download complete [2023-10-24T15:52:58.162Z] f0e02332f6b5: Download complete [2023-10-24T15:52:58.162Z] cefa15bbcfad: Verifying Checksum [2023-10-24T15:52:58.162Z] cefa15bbcfad: Download complete [2023-10-24T15:52:58.162Z] 9fda8d8052c6: Download complete [2023-10-24T15:52:58.759Z] f4c1fc716caa: Verifying Checksum [2023-10-24T15:52:58.759Z] f4c1fc716caa: Download complete [2023-10-24T15:52:59.353Z] 9fda8d8052c6: Pull complete [2023-10-24T15:52:59.952Z] 5d54e960e981: Pull complete [2023-10-24T15:53:00.223Z] c4a7e357bf2a: Download complete [2023-10-24T15:53:01.202Z] 17808c966233: Verifying Checksum [2023-10-24T15:53:01.202Z] 17808c966233: Download complete [2023-10-24T15:53:13.553Z] c4a7e357bf2a: Pull complete [2023-10-24T15:53:13.553Z] f0e02332f6b5: Pull complete [2023-10-24T15:53:13.834Z] cefa15bbcfad: Pull complete [2023-10-24T15:53:22.095Z] 17808c966233: Pull complete [2023-10-24T15:53:25.446Z] f4c1fc716caa: Pull complete [2023-10-24T15:53:25.446Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T15:53:25.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T15:53:25.446Z] ---> ea914061e18c [2023-10-24T15:53:25.446Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:53:26.874Z] ---> Running in ea07f0292347 [2023-10-24T15:53:27.479Z] Removing intermediate container ea07f0292347 [2023-10-24T15:53:27.479Z] ---> 4c230899a3d6 [2023-10-24T15:53:27.479Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:53:27.479Z] ---> Running in 3ad1790bc0cf [2023-10-24T15:53:27.751Z] Removing intermediate container 3ad1790bc0cf [2023-10-24T15:53:27.751Z] ---> e9af3d107ae9 [2023-10-24T15:53:27.751Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:53:28.022Z] ---> Running in 7d3aa8854477 [2023-10-24T15:53:28.293Z] Removing intermediate container 7d3aa8854477 [2023-10-24T15:53:28.293Z] ---> 782561916605 [2023-10-24T15:53:28.293Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:53:28.293Z] ---> Running in da3d05609f6f [2023-10-24T15:53:28.894Z] Removing intermediate container da3d05609f6f [2023-10-24T15:53:28.894Z] ---> e387733dbd9c [2023-10-24T15:53:28.894Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:53:28.894Z] ---> Running in b37f34a1593e [2023-10-24T15:53:30.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:53:30.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:53:31.908Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:53:31.908Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T15:53:31.908Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:53:32.181Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:53:32.181Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:53:32.181Z] OK: 270 MiB in 56 packages [2023-10-24T15:53:33.653Z] Removing intermediate container b37f34a1593e [2023-10-24T15:53:33.653Z] ---> 6c05025bf95d [2023-10-24T15:53:33.653Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T15:53:33.653Z] ---> Running in c30c49e9bde6 [2023-10-24T15:53:33.922Z] Removing intermediate container c30c49e9bde6 [2023-10-24T15:53:33.922Z] ---> a5a5fcbfdbc0 [2023-10-24T15:53:33.922Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T15:53:34.513Z] ---> 4745de465aad [2023-10-24T15:53:34.513Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:53:34.513Z] ---> Running in 390a7a0aa9e0 [2023-10-24T15:55:11.227Z] Removing intermediate container 390a7a0aa9e0 [2023-10-24T15:55:11.227Z] ---> 79cc8e463efb [2023-10-24T15:55:11.227Z] Step 11/12 : COPY . . [2023-10-24T15:55:11.227Z] ---> b79010032c62 [2023-10-24T15:55:11.227Z] Step 12/12 : RUN $MAKE [2023-10-24T15:55:11.227Z] ---> Running in e90222128e19 [2023-10-24T15:55:11.496Z] noop [2023-10-24T15:55:12.470Z] Removing intermediate container e90222128e19 [2023-10-24T15:55:12.470Z] ---> f83274d27e14 [2023-10-24T15:55:12.470Z] Successfully built f83274d27e14 [2023-10-24T15:55:12.470Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:55:12.952Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:55:12.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:55:13.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-9946 does not seem to be running inside a container [2023-10-24T15:55:13.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T15:55:14.645Z] $ docker top a2bc540efab2303052a4a215d886e106bda39fa41bc6e3182a2f1f0ac89d7b46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:55:15.567Z] + go version [2023-10-24T15:55:15.567Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T15:55:15.620Z] $ docker stop --time=1 a2bc540efab2303052a4a215d886e106bda39fa41bc6e3182a2f1f0ac89d7b46 [2023-10-24T15:55:17.268Z] $ docker rm -f --volumes a2bc540efab2303052a4a215d886e106bda39fa41bc6e3182a2f1f0ac89d7b46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:55:18.172Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:55:18.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:55:18.436Z] prd-ubuntu20.04-docker-arm64-4c-16g-9946 does not seem to be running inside a container [2023-10-24T15:55:18.522Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T15:55:19.730Z] $ docker top 6ad7085a5a36f82123386d2b91c58f7dc1b30af483f34f7658fb546356a5d146 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:55:20.613Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:55:21.335Z] + make test [2023-10-24T15:55:21.335Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T15:55:25.602Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T15:57:17.285Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T15:57:17.551Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements [2023-10-24T15:57:21.813Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T15:57:21.813Z] go vet ./... [2023-10-24T15:57:48.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:57:48.513Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:57:48.513Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:57:48.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:57:48.601Z] $ docker stop --time=1 6ad7085a5a36f82123386d2b91c58f7dc1b30af483f34f7658fb546356a5d146 [2023-10-24T15:57:50.706Z] $ docker rm -f --volumes 6ad7085a5a36f82123386d2b91c58f7dc1b30af483f34f7658fb546356a5d146 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:57:52.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:57:52.066Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T15:57:52.621Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:57:53.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:57:53.669Z] + ls -al . [2023-10-24T15:57:53.669Z] total 180 [2023-10-24T15:57:53.669Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 15:55 . [2023-10-24T15:57:53.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:52 .. [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 15:52 .dockerignore [2023-10-24T15:57:53.669Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:52 .git [2023-10-24T15:57:53.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:52 .github [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 15:52 .gitignore [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:52 .golangci.yml [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 15:52 Attribution.txt [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 15:52 CHANGELOG.md [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 15:52 Dockerfile [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:52 GOVERNANCE.md [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 15:52 Jenkinsfile [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:52 LICENSE [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 15:52 Makefile [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 15:52 OWNERS.md [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 15:52 README.md [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:49 VERSION [2023-10-24T15:57:53.669Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:52 bin [2023-10-24T15:57:53.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:52 cmd [2023-10-24T15:57:53.669Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 15:57 coverage.out [2023-10-24T15:57:53.669Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:52 driver [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 15:52 go.mod [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 15:52 go.sum [2023-10-24T15:57:53.669Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:57:54.103Z] + 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=311548eee95374f1acb747549a94cfa4ea8b9881 --label arch=arm64 --label version=0.0.0 . [2023-10-24T15:57:54.103Z] Sending build context to Docker daemon 137.7kB [2023-10-24T15:57:54.395Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:57:54.395Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T15:57:54.395Z] ---> f83274d27e14 [2023-10-24T15:57:54.395Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:57:54.395Z] ---> Running in 9cacc62fbe86 [2023-10-24T15:57:55.011Z] Removing intermediate container 9cacc62fbe86 [2023-10-24T15:57:55.011Z] ---> ea88e7c10798 [2023-10-24T15:57:55.011Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:57:55.011Z] ---> Running in 5b383852a891 [2023-10-24T15:57:55.285Z] Removing intermediate container 5b383852a891 [2023-10-24T15:57:55.285Z] ---> 8b269b985595 [2023-10-24T15:57:55.285Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T15:57:55.285Z] ---> Running in 1acd39eb5da0 [2023-10-24T15:57:55.575Z] Removing intermediate container 1acd39eb5da0 [2023-10-24T15:57:55.575Z] ---> deaece7c4985 [2023-10-24T15:57:55.575Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T15:57:55.856Z] ---> Running in f1ef68dc42c3 [2023-10-24T15:57:56.135Z] Removing intermediate container f1ef68dc42c3 [2023-10-24T15:57:56.135Z] ---> c019146d2bbf [2023-10-24T15:57:56.135Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T15:57:56.135Z] ---> Running in 11bc7c2ccf73 [2023-10-24T15:57:57.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:57:57.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:57:59.257Z] OK: 270 MiB in 56 packages [2023-10-24T15:57:59.845Z] Removing intermediate container 11bc7c2ccf73 [2023-10-24T15:57:59.845Z] ---> d27902e6821b [2023-10-24T15:57:59.845Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T15:58:00.118Z] ---> Running in dd5d91d0e77c [2023-10-24T15:58:00.391Z] Removing intermediate container dd5d91d0e77c [2023-10-24T15:58:00.391Z] ---> 75c0dde3bb6e [2023-10-24T15:58:00.391Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T15:58:03.738Z] ---> e09c88dd20fb [2023-10-24T15:58:03.738Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:58:03.738Z] ---> Running in faf321211e3c [2023-10-24T15:58:05.708Z] Removing intermediate container faf321211e3c [2023-10-24T15:58:05.708Z] ---> 1075d2763bbf [2023-10-24T15:58:05.708Z] Step 11/25 : COPY . . [2023-10-24T15:58:06.296Z] ---> d21be0416b1a [2023-10-24T15:58:06.296Z] Step 12/25 : RUN $MAKE [2023-10-24T15:58:06.564Z] ---> Running in b0fff34515d4 [2023-10-24T15:58:07.534Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T16:00:14.218Z] Removing intermediate container b0fff34515d4 [2023-10-24T16:00:14.218Z] ---> 331866529f51 [2023-10-24T16:00:14.218Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T16:00:14.218Z] 3.18: Pulling from library/alpine [2023-10-24T16:00:14.218Z] 579b34f0a95b: Pulling fs layer [2023-10-24T16:00:14.218Z] 579b34f0a95b: Verifying Checksum [2023-10-24T16:00:14.218Z] 579b34f0a95b: Download complete [2023-10-24T16:00:14.218Z] 579b34f0a95b: Pull complete [2023-10-24T16:00:14.218Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:00:14.218Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:00:14.218Z] ---> 3cc203321400 [2023-10-24T16:00:14.218Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T16:00:14.218Z] ---> Running in c6494d9621d4 [2023-10-24T16:00:14.218Z] Removing intermediate container c6494d9621d4 [2023-10-24T16:00:14.218Z] ---> 805f92dad4be [2023-10-24T16:00:14.218Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T16:00:14.218Z] ---> Running in 0321e84504d3 [2023-10-24T16:00:14.218Z] Removing intermediate container 0321e84504d3 [2023-10-24T16:00:14.218Z] ---> 404c6379a8e0 [2023-10-24T16:00:14.218Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:00:14.218Z] ---> Running in ca3741b45f44 [2023-10-24T16:00:14.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:00:14.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:00:14.218Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:00:14.218Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:00:14.218Z] OK: 8 MiB in 16 packages [2023-10-24T16:00:14.218Z] Removing intermediate container ca3741b45f44 [2023-10-24T16:00:14.218Z] ---> 58ea18cf55e4 [2023-10-24T16:00:14.218Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T16:00:14.218Z] ---> 6db4d328cdb3 [2023-10-24T16:00:14.218Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T16:00:14.218Z] ---> 6dd5659e717d [2023-10-24T16:00:14.218Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T16:00:14.218Z] ---> 890fc6e05aaf [2023-10-24T16:00:14.218Z] Step 20/25 : EXPOSE 59986 [2023-10-24T16:00:14.218Z] ---> Running in 6782f46e7605 [2023-10-24T16:00:14.218Z] Removing intermediate container 6782f46e7605 [2023-10-24T16:00:14.218Z] ---> 741eff281ac6 [2023-10-24T16:00:14.218Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T16:00:14.218Z] ---> Running in cc7ecd6e57da [2023-10-24T16:00:14.218Z] Removing intermediate container cc7ecd6e57da [2023-10-24T16:00:14.218Z] ---> 524eae078055 [2023-10-24T16:00:14.218Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:00:14.218Z] ---> Running in ad4df7e7efd7 [2023-10-24T16:00:14.218Z] Removing intermediate container ad4df7e7efd7 [2023-10-24T16:00:14.218Z] ---> e3da9e0b021c [2023-10-24T16:00:14.218Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T16:00:14.486Z] ---> Running in c8457aa6f6fb [2023-10-24T16:00:14.755Z] Removing intermediate container c8457aa6f6fb [2023-10-24T16:00:14.755Z] ---> 6ab6fd02d838 [2023-10-24T16:00:14.755Z] Step 24/25 : LABEL git_sha=311548eee95374f1acb747549a94cfa4ea8b9881 [2023-10-24T16:00:14.755Z] ---> Running in 4d96a1ab7c3b [2023-10-24T16:00:15.027Z] Removing intermediate container 4d96a1ab7c3b [2023-10-24T16:00:15.027Z] ---> cd9d3e28f75a [2023-10-24T16:00:15.027Z] Step 25/25 : LABEL version=0.0.0 [2023-10-24T16:00:15.027Z] ---> Running in e3753d8ddfba [2023-10-24T16:00:15.297Z] Removing intermediate container e3753d8ddfba [2023-10-24T16:00:15.297Z] ---> 2a02e5c01b17 [2023-10-24T16:00:15.297Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:00:15.297Z] Successfully built 2a02e5c01b17 [2023-10-24T16:00:15.297Z] 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-10-24T16:00:16.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:00:16.394Z] [2023-10-24T16:00:16.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:00:16.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:00:19.476Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T16:00:19.477Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T16:00:19.477Z] 04944245beec: Pulling fs layer [2023-10-24T16:00:19.477Z] 699f458cf7ca: Pulling fs layer [2023-10-24T16:00:19.477Z] 765212b225bb: Pulling fs layer [2023-10-24T16:00:19.477Z] f23df028b6ca: Pulling fs layer [2023-10-24T16:00:19.477Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T16:00:19.477Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T16:00:19.477Z] 765212b225bb: Waiting [2023-10-24T16:00:19.477Z] f23df028b6ca: Waiting [2023-10-24T16:00:19.477Z] 2437ff75d9bd: Waiting [2023-10-24T16:00:19.477Z] d65c8cfc05b1: Waiting [2023-10-24T16:00:19.477Z] 04944245beec: Verifying Checksum [2023-10-24T16:00:19.477Z] 04944245beec: Download complete [2023-10-24T16:00:19.477Z] 765212b225bb: Verifying Checksum [2023-10-24T16:00:19.477Z] 765212b225bb: Download complete [2023-10-24T16:00:19.477Z] f23df028b6ca: Verifying Checksum [2023-10-24T16:00:19.477Z] f23df028b6ca: Download complete [2023-10-24T16:00:19.477Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T16:00:19.477Z] d65c8cfc05b1: Download complete [2023-10-24T16:00:19.747Z] 699f458cf7ca: Verifying Checksum [2023-10-24T16:00:19.747Z] 699f458cf7ca: Download complete [2023-10-24T16:00:20.015Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T16:00:22.603Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T16:00:22.603Z] 2437ff75d9bd: Download complete [2023-10-24T16:00:24.557Z] 8998bd30e6a1: Pull complete [2023-10-24T16:00:24.825Z] 04944245beec: Pull complete [2023-10-24T16:00:26.235Z] 699f458cf7ca: Pull complete [2023-10-24T16:00:26.504Z] 765212b225bb: Pull complete [2023-10-24T16:00:27.477Z] f23df028b6ca: Pull complete [2023-10-24T16:00:27.477Z] d65c8cfc05b1: Pull complete [2023-10-24T16:00:45.667Z] 2437ff75d9bd: Pull complete [2023-10-24T16:00:45.667Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T16:00:45.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:00:45.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:00:45.998Z] prd-ubuntu20.04-docker-arm64-4c-16g-9946 does not seem to be running inside a container [2023-10-24T16:00:46.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T16:00:48.765Z] $ docker top 08889f238e622079e32717403df14f5ca0d23b5980b8513b939d3807e52f5421 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:00:49.712Z] ---> job-cost.sh [2023-10-24T16:00:49.712Z] lf-activate-venv: SKIPPING [2023-10-24T16:00:49.712Z] INFO: No Stack... [2023-10-24T16:00:50.295Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T16:00:51.256Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:00:51.918Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-10-24T16:00:51.918Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T16:00:52.016Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [2023-10-24T16:00:52.021Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] did not exist. Created. [2023-10-24T16:00:52.021Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:00:52.763Z] /w/workspace/device-rest-go/1@tmp/durable-9c2fa22b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T16:00:53.452Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T16:00:53.491Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T16:00:53.539Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:00:53.561Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:00:53.682Z] $ docker stop --time=1 08889f238e622079e32717403df14f5ca0d23b5980b8513b939d3807e52f5421 [2023-10-24T16:00:55.213Z] $ docker rm -f --volumes 08889f238e622079e32717403df14f5ca0d23b5980b8513b939d3807e52f5421 [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-10-24T16:00:56.384Z] provisioning config files... [2023-10-24T16:00:56.394Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config9843464802606711166tmp [Pipeline] { [Pipeline] sh [2023-10-24T16:00:56.737Z] + set +x [2023-10-24T16:00:56.737Z] + curl -s https://codecov.io/bash [2023-10-24T16:00:56.737Z] + bash -s -- [2023-10-24T16:00:56.737Z] [2023-10-24T16:00:56.737Z] _____ _ [2023-10-24T16:00:56.737Z] / ____| | | [2023-10-24T16:00:56.737Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T16:00:56.737Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T16:00:56.737Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T16:00:56.737Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T16:00:56.737Z] Bash-1.0.6 [2023-10-24T16:00:56.737Z] [2023-10-24T16:00:56.737Z] [2023-10-24T16:00:56.737Z] ==> git version 2.25.1 found [2023-10-24T16:00:56.737Z] ==> 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-10-24T16:00:56.737Z] Release-Date: 2020-01-08 [2023-10-24T16:00:56.737Z] 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-10-24T16:00:56.737Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T16:00:56.737Z] ==> Jenkins CI detected. [2023-10-24T16:00:56.737Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-353 [2023-10-24T16:00:56.737Z] project root: . [2023-10-24T16:00:56.737Z] --> token set from env [2023-10-24T16:00:56.737Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T16:00:56.737Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T16:00:56.737Z] ==> Python coveragepy not found [2023-10-24T16:00:56.737Z] ==> Searching for coverage reports in: [2023-10-24T16:00:56.737Z] + . [2023-10-24T16:00:56.997Z] -> Found 1 reports [2023-10-24T16:00:56.997Z] ==> Detecting git/mercurial file structure [2023-10-24T16:00:56.997Z] ==> Reading reports [2023-10-24T16:00:56.997Z] + ./coverage.out bytes=14499 [2023-10-24T16:00:56.997Z] ==> Appending adjustments [2023-10-24T16:00:56.997Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T16:00:56.997Z] + Found adjustments [2023-10-24T16:00:56.997Z] ==> Gzipping contents [2023-10-24T16:00:56.997Z] 4.0K /tmp/codecov.MygkPH.gz [2023-10-24T16:00:56.997Z] ==> Uploading reports [2023-10-24T16:00:56.997Z] url: https://codecov.io [2023-10-24T16:00:56.997Z] query: branch=PR-353&commit=311548eee95374f1acb747549a94cfa4ea8b9881&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-353%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2023-10-24T16:00:56.997Z] -> Pinging Codecov [2023-10-24T16:00:56.997Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-353&commit=311548eee95374f1acb747549a94cfa4ea8b9881&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-353%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2023-10-24T16:00:56.997Z] -> Uploading to [2023-10-24T16:00:56.997Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/311548eee95374f1acb747549a94cfa4ea8b9881/6acce3cf-9b73-4419-abd6-2ab40e153978.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T160056Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4582954f147b1e8852cc55c9c4248e81b31fd402e61b7e1994851d90f784406 [2023-10-24T16:00:56.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:00:56.997Z] Dload Upload Total Spent Left Speed [2023-10-24T16:00:57.518Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 7685 --:--:-- --:--:-- --:--:-- 7660 [2023-10-24T16:00:57.518Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] } [2023-10-24T16:00:57.548Z] 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-10-24T16:00:59.494Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-353/archives ] [2023-10-24T16:00:59.494Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-353/archives [2023-10-24T16:00:59.494Z] total 16 [2023-10-24T16:00:59.494Z] drwxr-xr-x 3 root root 4096 Oct 24 15:51 . [2023-10-24T16:00:59.494Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:51 .. [2023-10-24T16:00:59.494Z] drwxr-xr-x 2 root root 4096 Oct 24 15:51 cost [2023-10-24T16:00:59.494Z] -rw-r--r-- 1 root root 86 Oct 24 15:51 cost.csv [2023-10-24T16:00:59.494Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-353/archives [2023-10-24T16:00:59.494Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-353/archives [2023-10-24T16:00:59.494Z] total 16 [2023-10-24T16:00:59.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:51 . [2023-10-24T16:00:59.494Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:51 .. [2023-10-24T16:00:59.494Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:51 cost [2023-10-24T16:00:59.494Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 15:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:00:59.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:00.707Z] ---> package-listing.sh [2023-10-24T16:01:00.707Z] ++ facter osfamily [2023-10-24T16:01:00.707Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T16:01:00.707Z] + OS_FAMILY=debian [2023-10-24T16:01:00.707Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-353 [2023-10-24T16:01:00.707Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T16:01:00.707Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T16:01:00.707Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T16:01:00.707Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T16:01:00.707Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-353 ']' [2023-10-24T16:01:00.707Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T16:01:00.707Z] + case "${OS_FAMILY}" in [2023-10-24T16:01:00.707Z] + dpkg -l [2023-10-24T16:01:00.707Z] + grep '^ii' [2023-10-24T16:01:00.968Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T16:01:00.968Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T16:01:00.968Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T16:01:00.968Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-353 ']' [2023-10-24T16:01:00.968Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-353/archives/ [2023-10-24T16:01:00.968Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-353/archives/ [Pipeline] echo [2023-10-24T16:01:01.006Z] 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T16:01:01.327Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:01:01.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:01:01.956Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:01:02.101Z] prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container [2023-10-24T16:01:02.133Z] $ 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-353/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-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T16:01:02.396Z] $ docker top dd3d2b6cf224568b3db76b6be4a3de2863720d93c4e81bf0bc453467b979801a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:01:02.781Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T16:01:03.087Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T16:01:03.395Z] + ls /var/log/sa-host [2023-10-24T16:01:03.395Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:01:03.538Z] provisioning config files... [2023-10-24T16:01:03.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config5607580255122385654tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:01:03.601Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:03.982Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T16:01:04.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:04.402Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T16:01:04.437Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:04.745Z] ---> sudo-logs.sh [2023-10-24T16:01:04.746Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T16:01:04.835Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:05.144Z] ---> job-cost.sh [2023-10-24T16:01:05.144Z] lf-activate-venv: SKIPPING [2023-10-24T16:01:05.144Z] DEBUG: total: 0.2199999988079071 [2023-10-24T16:01:05.144Z] INFO: Retrieving Stack Cost... [2023-10-24T16:01:05.403Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:01:05.970Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T16:01:06.006Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:01:06.314Z] ---> logs-deploy.sh [2023-10-24T16:01:06.314Z] lf-activate-venv: SKIPPING [2023-10-24T16:01:06.314Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-353/1 [2023-10-24T16:01:06.314Z] INFO: archiving workspace using pattern(s):