Pull request #349 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30e900135b4fda310d3da32f43ad86fb4c0924c0+7254ae82036954a30da847ceb4fb6fc335c14613 (cb8ee4dd2789ce7379cac2be8b3450629720d14a) 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-ssh3768624058294204770.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-ssh6392560430554897157.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-349/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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6745435962105280265.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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7700091617378232378.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-ssh3773642269909155196.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-349/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-349/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3401424464724060393.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8871 in /w/workspace/gexfoundry_device-rest-go_PR-349 [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-349 # 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/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit 30e900135b4fda310d3da32f43ad86fb4c0924c0 Merge succeeded, producing 30e900135b4fda310d3da32f43ad86fb4c0924c0 Checking out Revision 30e900135b4fda310d3da32f43ad86fb4c0924c0 (PR-349) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2" 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 20:10:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:10:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # 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 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # timeout=10 [Pipeline] echo 20:10:57 ========================================================= 20:10:57 EdgeX Global Pipelines Version Info 20:10:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:10:58 ------------------- 20:10:58 stable info: 20:10:58 ------------------- 20:10:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:10:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:10:58 Message: update stable to v1.0.254 20:10:59 ------------------- 20:10:59 experimental info: 20:10:59 ------------------- 20:10:59 Commited By: **** collab-it+edgex@linuxfoundation.org 20:10:59 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:10:59 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-349 [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-349 [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-349 [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30e9001 [Pipeline] echo 20:11:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:00 provisioning config files... 20:11:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config17532449543498615425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:01 ---> docker-login.sh 20:11:01 nexus3.edgexfoundry.org:10001 20:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:01 Configure a credential helper to remove this warning. See 20:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:01 20:11:01 Login Succeeded 20:11:01 nexus3.edgexfoundry.org:10002 20:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:01 Configure a credential helper to remove this warning. See 20:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:01 20:11:01 Login Succeeded 20:11:01 nexus3.edgexfoundry.org:10003 20:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:01 Configure a credential helper to remove this warning. See 20:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:01 20:11:01 Login Succeeded 20:11:01 nexus3.edgexfoundry.org:10004 20:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:01 Configure a credential helper to remove this warning. See 20:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:01 20:11:01 Login Succeeded 20:11:01 docker.io 20:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:02 Configure a credential helper to remove this warning. See 20:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:02 20:11:02 Login Succeeded 20:11:02 ---> docker-login.sh ends [Pipeline] } 20:11:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:11:02 + git rev-list -1 --merges 30e900135b4fda310d3da32f43ad86fb4c0924c0~1..30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo 20:11:02 -----------> git rev-list -1 --merges 30e900135b4fda310d3da32f43ad86fb4c0924c0~1..30e900135b4fda310d3da32f43ad86fb4c0924c0 30e900135b4fda310d3da32f43ad86fb4c0924c0 [false] [Pipeline] sh 20:11:03 + git log --format=format:%s -1 30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo 20:11:03 ========================================================= 20:11:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:11:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:03 + git log --format=format:%s -1 30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo 20:11:03 [semverPrep] GIT_COMMIT: 30e900135b4fda310d3da32f43ad86fb4c0924c0, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2 [Pipeline] echo 20:11:03 [semverPrep] This is not a build commit. [Pipeline] sh 20:11:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:11:04 + grep -v github /etc/ssh/ssh_known_hosts 20:11:04 + [ -e /tmp/ssh_known_hosts ] 20:11:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:11:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:11:04 + sudo tee -a /etc/ssh/ssh_known_hosts 20:11:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:04 20:11:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:05 0.1.4: Pulling from edgex-devops/py-git-semver 20:11:05 b85a868b505f: Pulling fs layer 20:11:05 e2be974225ed: Pulling fs layer 20:11:05 339a4e72a1f5: Pulling fs layer 20:11:05 988bab9f4d93: Pulling fs layer 20:11:05 1469e6f7b9e6: Pulling fs layer 20:11:05 eaf3925da568: Pulling fs layer 20:11:05 bab4dde63d76: Pulling fs layer 20:11:05 bde34c3a00c8: Pulling fs layer 20:11:05 b352a97aabf1: Pulling fs layer 20:11:05 4872d77fe225: Pulling fs layer 20:11:05 5851b861e8e6: Pulling fs layer 20:11:05 bab4dde63d76: Waiting 20:11:05 bde34c3a00c8: Waiting 20:11:05 1469e6f7b9e6: Waiting 20:11:05 eaf3925da568: Waiting 20:11:05 b352a97aabf1: Waiting 20:11:05 5851b861e8e6: Waiting 20:11:05 988bab9f4d93: Waiting 20:11:05 e2be974225ed: Download complete 20:11:05 988bab9f4d93: Verifying Checksum 20:11:05 988bab9f4d93: Download complete 20:11:05 1469e6f7b9e6: Verifying Checksum 20:11:05 1469e6f7b9e6: Download complete 20:11:05 eaf3925da568: Verifying Checksum 20:11:05 eaf3925da568: Download complete 20:11:05 339a4e72a1f5: Verifying Checksum 20:11:05 339a4e72a1f5: Download complete 20:11:05 bde34c3a00c8: Verifying Checksum 20:11:05 bde34c3a00c8: Download complete 20:11:05 b352a97aabf1: Download complete 20:11:05 4872d77fe225: Verifying Checksum 20:11:05 4872d77fe225: Download complete 20:11:05 5851b861e8e6: Verifying Checksum 20:11:05 b85a868b505f: Verifying Checksum 20:11:05 b85a868b505f: Download complete 20:11:05 bab4dde63d76: Verifying Checksum 20:11:05 bab4dde63d76: Download complete 20:11:06 b85a868b505f: Pull complete 20:11:06 e2be974225ed: Pull complete 20:11:06 339a4e72a1f5: Pull complete 20:11:07 988bab9f4d93: Pull complete 20:11:07 1469e6f7b9e6: Pull complete 20:11:07 eaf3925da568: Pull complete 20:11:08 bab4dde63d76: Pull complete 20:11:09 bde34c3a00c8: Pull complete 20:11:09 b352a97aabf1: Pull complete 20:11:09 4872d77fe225: Pull complete 20:11:09 5851b861e8e6: Pull complete 20:11:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:11:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:09 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 20:11:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:11:11 $ docker top de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 -eo pid,comm 20:11:11 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). 20:11:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:11:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:11:11 [ssh-agent] Looking for ssh-agent implementation... 20:11:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:11:11 $ docker exec de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent 20:11:11 SSH_AUTH_SOCK=/tmp/ssh-wRCGMZ9N9Bu8/agent.32 20:11:11 SSH_AGENT_PID=38 20:11:11 Running ssh-add (command line suppressed) 20:11:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_880933503052980037.key (/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_880933503052980037.key) 20:11:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:11:12 + git tag --points-at HEAD [Pipeline] } 20:11:12 $ docker exec --env ******** --env ******** de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent -k 20:11:12 unset SSH_AUTH_SOCK; 20:11:12 unset SSH_AGENT_PID; 20:11:12 echo Agent pid 38 killed; 20:11:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:11:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:11:12 [ssh-agent] Looking for ssh-agent implementation... 20:11:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:11:12 $ docker exec de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent 20:11:12 SSH_AUTH_SOCK=/tmp/ssh-froX3wqPWmUE/agent.72 20:11:12 SSH_AGENT_PID=78 20:11:12 Running ssh-add (command line suppressed) 20:11:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_9268196528055731223.key (/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_9268196528055731223.key) 20:11:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:11:13 + git semver init 20:11:13 2023-10-11 20:11:13,371 [run_init] DEBUG init version:0.0.0 force:False 20:11:13 2023-10-11 20:11:13,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-349/.semver 20:11:13 2023-10-11 20:11:13,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-349/.semver 20:11:13 2023-10-11 20:11:13,372 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-349/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-349, universal_newlines=False, shell=None, istream=None) 20:11:14 2023-10-11 20:11:14,406 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-349/.git/info/exclude 20:11:14 2023-10-11 20:11:14,406 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-349/.semver/PR-349 with force:False 20:11:14 2023-10-11 20:11:14,406 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-349/.semver/PR-349 20:11:14 2023-10-11 20:11:14,410 [execute] INFO git cat-file --batch-check 20:11:14 2023-10-11 20:11:14,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) 20:11:14 2023-10-11 20:11:14,417 [execute] INFO git cat-file --batch 20:11:14 2023-10-11 20:11:14,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) 20:11:14 2023-10-11 20:11:14,422 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-349/.semver/PR-349 20:11:14 0.0.0 [Pipeline] } 20:11:14 $ docker exec --env ******** --env ******** de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent -k 20:11:14 unset SSH_AUTH_SOCK; 20:11:14 unset SSH_AGENT_PID; 20:11:14 echo Agent pid 78 killed; 20:11:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:11:15 + git semver [Pipeline] } 20:11:15 $ docker stop --time=1 de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 20:11:16 $ docker rm -f --volumes de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 [Pipeline] // withDockerContainer [Pipeline] sh 20:11:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:11:17 Stashed 1 file(s) [Pipeline] echo 20:11:17 [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 20:11:18 provisioning config files... 20:11:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config18243035035959726905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:18 ---> docker-login.sh 20:11:18 nexus3.edgexfoundry.org:10001 20:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:18 Configure a credential helper to remove this warning. See 20:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:18 20:11:18 Login Succeeded 20:11:18 nexus3.edgexfoundry.org:10002 20:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:18 Configure a credential helper to remove this warning. See 20:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:18 20:11:18 Login Succeeded 20:11:18 nexus3.edgexfoundry.org:10003 20:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:18 Configure a credential helper to remove this warning. See 20:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:18 20:11:18 Login Succeeded 20:11:18 nexus3.edgexfoundry.org:10004 20:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:18 Configure a credential helper to remove this warning. See 20:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:18 20:11:18 Login Succeeded 20:11:18 docker.io 20:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:19 Configure a credential helper to remove this warning. See 20:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:19 20:11:19 Login Succeeded 20:11:19 ---> docker-login.sh ends [Pipeline] } 20:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:11:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:19 ========================================================= 20:11:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:11:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:19 + 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 . 20:11:19 Sending build context to Docker daemon 10.94MB 20:11:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:11:19 Step 2/12 : FROM ${BASE} AS builder 20:11:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:11:19 7264a8db6415: Pulling fs layer 20:11:19 c4d48a809fc2: Pulling fs layer 20:11:19 4f1c88b9dad5: Pulling fs layer 20:11:19 ad3a456e5733: Pulling fs layer 20:11:19 33e27b845d1e: Pulling fs layer 20:11:19 c68163c4e522: Pulling fs layer 20:11:19 50da416c3ac9: Pulling fs layer 20:11:19 23d2d4c4bb30: Pulling fs layer 20:11:19 33e27b845d1e: Waiting 20:11:19 c68163c4e522: Waiting 20:11:19 50da416c3ac9: Waiting 20:11:19 ad3a456e5733: Waiting 20:11:19 23d2d4c4bb30: Waiting 20:11:20 c4d48a809fc2: Verifying Checksum 20:11:20 c4d48a809fc2: Download complete 20:11:20 ad3a456e5733: Download complete 20:11:20 33e27b845d1e: Verifying Checksum 20:11:20 33e27b845d1e: Download complete 20:11:20 7264a8db6415: Verifying Checksum 20:11:20 7264a8db6415: Download complete 20:11:20 c68163c4e522: Verifying Checksum 20:11:20 c68163c4e522: Download complete 20:11:20 7264a8db6415: Pull complete 20:11:20 23d2d4c4bb30: Verifying Checksum 20:11:20 23d2d4c4bb30: Download complete 20:11:20 c4d48a809fc2: Pull complete 20:11:20 4f1c88b9dad5: Verifying Checksum 20:11:20 4f1c88b9dad5: Download complete 20:11:20 50da416c3ac9: Verifying Checksum 20:11:20 50da416c3ac9: Download complete 20:11:23 4f1c88b9dad5: Pull complete 20:11:23 ad3a456e5733: Pull complete 20:11:23 33e27b845d1e: Pull complete 20:11:23 c68163c4e522: Pull complete 20:11:25 50da416c3ac9: Pull complete 20:11:25 23d2d4c4bb30: Pull complete 20:11:25 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:11:25 ---> 0786185ac409 20:11:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:11:28 ---> Running in 8cab6aee8656 20:11:28 Removing intermediate container 8cab6aee8656 20:11:28 ---> 0f1f2c239447 20:11:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:11:28 ---> Running in 9862d3b6cc15 20:11:28 Removing intermediate container 9862d3b6cc15 20:11:28 ---> 6fb24e72c32f 20:11:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:11:28 ---> Running in d3c110f9f569 20:11:28 Removing intermediate container d3c110f9f569 20:11:28 ---> d51a11816721 20:11:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:11:28 ---> Running in b998be572d81 20:11:28 Removing intermediate container b998be572d81 20:11:28 ---> 099b1387c206 20:11:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:28 ---> Running in bc53c7853e8c 20:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:11:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:11:29 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:11:29 (2/4) Installing libedit (20221030.3.1-r1) 20:11:29 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:11:29 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:11:29 Executing busybox-1.36.1-r2.trigger 20:11:29 OK: 268 MiB in 56 packages 20:11:29 Removing intermediate container bc53c7853e8c 20:11:29 ---> 04a23a9d4cb4 20:11:29 Step 8/12 : WORKDIR /device-rest-go 20:11:29 ---> Running in c902c12a23fb 20:11:29 Removing intermediate container c902c12a23fb 20:11:29 ---> 36ddea3f64b7 20:11:29 Step 9/12 : COPY go.mod vendor* ./ 20:11:29 ---> 9e757ef8265e 20:11:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:29 ---> Running in 90066e4b79bc 20:11:33 Still waiting to schedule task 20:11:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:12:32 Removing intermediate container 90066e4b79bc 20:12:32 ---> 798f946d5e76 20:12:32 Step 11/12 : COPY . . 20:12:32 ---> 1f50bead910a 20:12:32 Step 12/12 : RUN $MAKE 20:12:32 ---> Running in 4f8f727a47e9 20:12:33 noop 20:12:33 Removing intermediate container 4f8f727a47e9 20:12:33 ---> 1651f44db569 20:12:33 Successfully built 1651f44db569 20:12:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:33 + docker inspect -f . ci-base-image-x86_64 20:12:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:34 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 20:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:34 $ docker top 9e4d338db42537b9fc579f77cc0563a62491e78bae67975f2fd6ba3c9dd0d160 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:34 + go version 20:12:34 go version go1.21.0 linux/amd64 [Pipeline] } 20:12:34 $ docker stop --time=1 9e4d338db42537b9fc579f77cc0563a62491e78bae67975f2fd6ba3c9dd0d160 20:12:36 $ docker rm -f --volumes 9e4d338db42537b9fc579f77cc0563a62491e78bae67975f2fd6ba3c9dd0d160 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:36 + docker inspect -f . ci-base-image-x86_64 20:12:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:36 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 20:12:36 $ 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-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:37 $ docker top a237f86ce28764ce98f07cf6835bcf991e208daac8baa41dee230b96d2bdca8a -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-349 [Pipeline] fileExists [Pipeline] sh 20:12:37 + make test 20:12:37 go test ./... -coverprofile=coverage.out ./... 20:12:38 ? github.com/edgexfoundry/device-rest-go [no test files] 20:12:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:12:51 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:12:56 go vet ./... 20:12:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:59 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:59 $ docker stop --time=1 a237f86ce28764ce98f07cf6835bcf991e208daac8baa41dee230b96d2bdca8a 20:13:02 $ docker rm -f --volumes a237f86ce28764ce98f07cf6835bcf991e208daac8baa41dee230b96d2bdca8a [Pipeline] // withDockerContainer [Pipeline] sh 20:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:13:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:13:03 + ls -al . 20:13:03 total 188 20:13:03 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 20:12 . 20:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:10 .. 20:13:03 -rw-rw-r-- 1 jenkins jenkins 151 Oct 11 20:10 .dockerignore 20:13:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 20:12 .git 20:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:10 .github 20:13:03 -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 20:10 .gitignore 20:13:03 -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 20:10 .golangci.yml 20:13:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 20:11 .semver 20:13:03 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 11 20:10 Attribution.txt 20:13:03 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 11 20:10 CHANGELOG.md 20:13:03 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 11 20:10 Dockerfile 20:13:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 20:10 GOVERNANCE.md 20:13:03 -rw-rw-r-- 1 jenkins jenkins 680 Oct 11 20:10 Jenkinsfile 20:13:03 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 20:10 LICENSE 20:13:03 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 11 20:10 Makefile 20:13:03 -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 20:10 OWNERS.md 20:13:03 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 11 20:10 README.md 20:13:03 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 20:11 VERSION 20:13:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:10 bin 20:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:10 cmd 20:13:03 -rw-r--r-- 1 jenkins jenkins 14499 Oct 11 20:12 coverage.out 20:13:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:10 driver 20:13:03 -rw-rw-r-- 1 jenkins jenkins 3890 Oct 11 20:10 go.mod 20:13:03 -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 20:10 go.sum 20:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:10 snap 20:13:03 -rw-rw-r-- 1 jenkins jenkins 713 Oct 11 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:04 + 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=30e900135b4fda310d3da32f43ad86fb4c0924c0 --label arch=amd64 --label version=0.0.0 . 20:13:04 Sending build context to Docker daemon 10.96MB 20:13:04 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:13:04 Step 2/25 : FROM ${BASE} AS builder 20:13:04 ---> 1651f44db569 20:13:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:13:04 ---> Running in ae69f9a21c0f 20:13:04 Removing intermediate container ae69f9a21c0f 20:13:04 ---> 22b2c86e1d9d 20:13:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:13:04 ---> Running in dadddcb96a88 20:13:04 Removing intermediate container dadddcb96a88 20:13:04 ---> 3e057a8ba48b 20:13:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:13:04 ---> Running in ddaccc85eb56 20:13:04 Removing intermediate container ddaccc85eb56 20:13:04 ---> 4ba9a9ccab43 20:13:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:13:04 ---> Running in f1a32244ed6a 20:13:04 Removing intermediate container f1a32244ed6a 20:13:04 ---> cc88ba0538f1 20:13:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:04 ---> Running in 73025012177b 20:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:13:05 OK: 268 MiB in 56 packages 20:13:05 Removing intermediate container 73025012177b 20:13:05 ---> 9f31aecb1396 20:13:05 Step 8/25 : WORKDIR /device-rest-go 20:13:05 ---> Running in ab722b0b86a2 20:13:05 Removing intermediate container ab722b0b86a2 20:13:05 ---> 89ccab524389 20:13:05 Step 9/25 : COPY go.mod vendor* ./ 20:13:05 ---> 7a18095548f5 20:13:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:05 ---> Running in 309f4da1ce4f 20:13:06 Removing intermediate container 309f4da1ce4f 20:13:06 ---> 359649f30de3 20:13:06 Step 11/25 : COPY . . 20:13:06 ---> 66fa7c34d4c0 20:13:06 Step 12/25 : RUN $MAKE 20:13:06 ---> Running in a124fb1ca2aa 20:13:06 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.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:13:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8872 in /w/workspace/gexfoundry_device-rest-go_PR-349 [Pipeline] { [Pipeline] ws 20:13:20 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:13:20 The recommended git tool is: git 20:13:25 Removing intermediate container a124fb1ca2aa 20:13:25 ---> e54e14ddf91f 20:13:25 Step 13/25 : FROM alpine:3.18 20:13:25 3.18: Pulling from library/alpine 20:13:25 96526aa774ef: Pulling fs layer 20:13:26 96526aa774ef: Verifying Checksum 20:13:26 96526aa774ef: Download complete 20:13:26 96526aa774ef: Pull complete 20:13:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:13:26 Status: Downloaded newer image for alpine:3.18 20:13:26 ---> 8ca4688f4f35 20:13:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:13:26 ---> Running in d58eb122feb3 20:13:26 Removing intermediate container d58eb122feb3 20:13:26 ---> eeb3477215cf 20:13:26 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:13:26 ---> Running in ed039c0e25ba 20:13:26 Removing intermediate container ed039c0e25ba 20:13:26 ---> 64969837a813 20:13:26 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:13:26 ---> Running in aca268fbbbb7 20:13:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:13:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:13:27 (1/1) Installing dumb-init (1.2.5-r2) 20:13:27 Executing busybox-1.36.1-r2.trigger 20:13:27 OK: 7 MiB in 16 packages 20:13:27 Removing intermediate container aca268fbbbb7 20:13:27 ---> 24a6528a777b 20:13:27 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:13:28 ---> a5a57c300801 20:13:28 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:13:28 ---> f3ac24991de6 20:13:28 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:13:28 ---> 49d2b3f6539c 20:13:28 Step 20/25 : EXPOSE 59986 20:13:28 ---> Running in 1a047ec134c1 20:13:28 Removing intermediate container 1a047ec134c1 20:13:28 ---> 3fb5d0afc0ef 20:13:28 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:13:28 ---> Running in c5ef9b9340d1 20:13:28 Removing intermediate container c5ef9b9340d1 20:13:28 ---> c9a216160254 20:13:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:13:28 ---> Running in dbcdb7524349 20:13:28 Removing intermediate container dbcdb7524349 20:13:28 ---> 0047bdc3f4d4 20:13:28 Step 23/25 : LABEL arch=amd64 20:13:28 ---> Running in 5720d543d528 20:13:28 Removing intermediate container 5720d543d528 20:13:28 ---> edab79579dbc 20:13:28 Step 24/25 : LABEL git_sha=30e900135b4fda310d3da32f43ad86fb4c0924c0 20:13:28 ---> Running in 045fc7284169 20:13:28 Removing intermediate container 045fc7284169 20:13:28 ---> ffafcafb4942 20:13:28 Step 25/25 : LABEL version=0.0.0 20:13:28 ---> Running in d10055d00f00 20:13:28 Removing intermediate container d10055d00f00 20:13:28 ---> bede9bfe3953 20:13:28 [Warning] One or more build-args [ARCH] were not consumed 20:13:28 Successfully built bede9bfe3953 20:13:28 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 20:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:29 20:13:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:30 latest: Pulling from edgex-lftools-log-publisher 20:13:30 5eb5b503b376: Pulling fs layer 20:13:30 5c69ac0246d0: Pulling fs layer 20:13:30 ec43610c2a17: Pulling fs layer 20:13:30 3a2ae6a8a46f: Pulling fs layer 20:13:30 33b1e0a273af: Pulling fs layer 20:13:30 5d3b04190fa2: Pulling fs layer 20:13:30 2f39f015ded8: Pulling fs layer 20:13:30 33b1e0a273af: Waiting 20:13:30 5d3b04190fa2: Waiting 20:13:30 3a2ae6a8a46f: Waiting 20:13:30 5c69ac0246d0: Download complete 20:13:30 3a2ae6a8a46f: Verifying Checksum 20:13:30 3a2ae6a8a46f: Download complete 20:13:30 33b1e0a273af: Verifying Checksum 20:13:30 33b1e0a273af: Download complete 20:13:30 5d3b04190fa2: Verifying Checksum 20:13:30 5d3b04190fa2: Download complete 20:13:30 ec43610c2a17: Verifying Checksum 20:13:30 ec43610c2a17: Download complete 20:13:30 5eb5b503b376: Verifying Checksum 20:13:30 5eb5b503b376: Download complete 20:13:30 2f39f015ded8: Download complete 20:13:31 using credential edgex-jenkins-ssh 20:13:31 Cloning the remote Git repository 20:13:31 5eb5b503b376: Pull complete 20:13:31 5c69ac0246d0: Pull complete 20:13:31 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:13:31 > git init /w/workspace/device-rest-go/1 # timeout=10 20:13:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:13:31 > git --version # timeout=10 20:13:31 > git --version # 'git version 2.25.1' 20:13:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:13:32 ec43610c2a17: Pull complete 20:13:32 3a2ae6a8a46f: Pull complete 20:13:32 33b1e0a273af: Pull complete 20:13:32 5d3b04190fa2: Pull complete 20:13:33 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:13:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:13:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:13:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:13:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:13:35 Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit 30e900135b4fda310d3da32f43ad86fb4c0924c0 20:13:35 Merge succeeded, producing 30e900135b4fda310d3da32f43ad86fb4c0924c0 20:13:35 Checking out Revision 30e900135b4fda310d3da32f43ad86fb4c0924c0 (PR-349) 20:13:36 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2" 20:13:36 > git --version # timeout=10 20:13:36 > git --version # 'git version 2.25.1' 20:13:36 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 20:13:35 > git config core.sparsecheckout # timeout=10 20:13:35 > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # timeout=10 20:13:35 > git remote # timeout=10 20:13:35 > git config --get remote.origin.url # timeout=10 20:13:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:35 > git merge 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 20:13:35 > git rev-parse HEAD^{commit} # timeout=10 20:13:35 > git config core.sparsecheckout # timeout=10 20:13:36 > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # timeout=10 20:13:37 20:13:37 GitHub has been notified of this commit’s build result 20:13:37 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:37 2f39f015ded8: Pull complete 20:13:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:38 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 20:13:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:13:38 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:38 Dload Upload Total Spent Left Speed 20:13:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k 20:13:38 $ 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-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:40 $ docker top 257ac2d42553410ca604cb4bbe52f198049bc44e51da74fd323ce2245c99f4a0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 20:13:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:13:40 ---> job-cost.sh 20:13:40 lf-activate-venv: SKIPPING 20:13:40 INFO: No Stack... 20:13:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:13:41 + sudo tee /etc/docker/daemon.new 20:13:41 { 20:13:41 "registry-mirrors": [ 20:13:41 "https://nexus3.edgexfoundry.org:10001" 20:13:41 ], 20:13:41 "bip": "10.250.0.254/24", 20:13:41 "hosts": [ 20:13:41 "tcp://0.0.0.0:5555", 20:13:41 "unix:///var/run/docker.sock" 20:13:41 ], 20:13:41 "mtu": 1458, 20:13:41 "selinux-enabled": true, 20:13:41 "seccomp-profile": "/etc/docker/seccomp.json" 20:13:41 } 20:13:41 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 20:13:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:13:41 + sudo service docker restart 20:13:43 INFO: Archiving Costs [Pipeline] sh 20:13:44 + cat /w/workspace/gexfoundry_device-rest-go_PR-349/archives/cost.csv 20:13:44 + cut -d, -f6 [Pipeline] lock 20:13:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] 20:13:44 Resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] did not exist. Created. 20:13:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:44 + echo total: 0.2199999988079071 [Pipeline] stash 20:13:44 Stashed 1 file(s) [Pipeline] } 20:13:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:44 $ docker stop --time=1 257ac2d42553410ca604cb4bbe52f198049bc44e51da74fd323ce2245c99f4a0 20:13:45 $ docker rm -f --volumes 257ac2d42553410ca604cb4bbe52f198049bc44e51da74fd323ce2245c99f4a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:00 provisioning config files... 20:14:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10550083894164467042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:00 ---> docker-login.sh 20:14:00 nexus3.edgexfoundry.org:10001 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 nexus3.edgexfoundry.org:10002 20:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 nexus3.edgexfoundry.org:10003 20:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 nexus3.edgexfoundry.org:10004 20:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:02 Configure a credential helper to remove this warning. See 20:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:02 20:14:02 Login Succeeded 20:14:02 docker.io 20:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:02 Configure a credential helper to remove this warning. See 20:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:02 20:14:02 Login Succeeded 20:14:02 ---> docker-login.sh ends [Pipeline] } 20:14:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:03 ========================================================= 20:14:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:14:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:03 + 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 . 20:14:03 Sending build context to Docker daemon 144.4kB 20:14:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:14:04 Step 2/12 : FROM ${BASE} AS builder 20:14:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:14:04 9fda8d8052c6: Pulling fs layer 20:14:04 5d54e960e981: Pulling fs layer 20:14:04 c4a7e357bf2a: Pulling fs layer 20:14:04 f0e02332f6b5: Pulling fs layer 20:14:04 cefa15bbcfad: Pulling fs layer 20:14:04 17808c966233: Pulling fs layer 20:14:04 f4c1fc716caa: Pulling fs layer 20:14:04 f4c1fc716caa: Waiting 20:14:04 f0e02332f6b5: Waiting 20:14:04 cefa15bbcfad: Waiting 20:14:04 17808c966233: Waiting 20:14:04 5d54e960e981: Verifying Checksum 20:14:04 5d54e960e981: Download complete 20:14:04 f0e02332f6b5: Download complete 20:14:04 cefa15bbcfad: Verifying Checksum 20:14:04 cefa15bbcfad: Download complete 20:14:04 9fda8d8052c6: Verifying Checksum 20:14:04 9fda8d8052c6: Download complete 20:14:04 f4c1fc716caa: Download complete 20:14:05 9fda8d8052c6: Pull complete 20:14:05 5d54e960e981: Pull complete 20:14:06 c4a7e357bf2a: Verifying Checksum 20:14:06 c4a7e357bf2a: Download complete 20:14:07 17808c966233: Verifying Checksum 20:14:07 17808c966233: Download complete 20:14:19 c4a7e357bf2a: Pull complete 20:14:19 f0e02332f6b5: Pull complete 20:14:19 cefa15bbcfad: Pull complete 20:14:27 17808c966233: Pull complete 20:14:29 f4c1fc716caa: Pull complete 20:14:29 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:14:29 ---> ea914061e18c 20:14:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:14:31 ---> Running in 5ab81a5fbf9f 20:14:31 Removing intermediate container 5ab81a5fbf9f 20:14:31 ---> 33119e0242fd 20:14:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:14:31 ---> Running in 41a7fbefdcd1 20:14:31 Removing intermediate container 41a7fbefdcd1 20:14:31 ---> 0c7692b30986 20:14:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:14:31 ---> Running in 8ab1dfa8e882 20:14:32 Removing intermediate container 8ab1dfa8e882 20:14:32 ---> daa1a2fab711 20:14:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:14:32 ---> Running in 7b86325854fd 20:14:32 Removing intermediate container 7b86325854fd 20:14:32 ---> 5944306fd0a8 20:14:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:32 ---> Running in 0fe237f666a3 20:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:14:35 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:14:35 (2/4) Installing libedit (20221030.3.1-r1) 20:14:35 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:14:35 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:14:35 Executing busybox-1.36.1-r2.trigger 20:14:35 OK: 270 MiB in 56 packages 20:14:37 Removing intermediate container 0fe237f666a3 20:14:37 ---> b8170a1ca596 20:14:37 Step 8/12 : WORKDIR /device-rest-go 20:14:37 ---> Running in fcc823370da0 20:14:37 Removing intermediate container fcc823370da0 20:14:37 ---> f3c4c3e92c8a 20:14:37 Step 9/12 : COPY go.mod vendor* ./ 20:14:37 ---> 35360bb9a1c6 20:14:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:37 ---> Running in a627c26e52bb 20:16:14 Removing intermediate container a627c26e52bb 20:16:14 ---> f9e9c29a5795 20:16:14 Step 11/12 : COPY . . 20:16:14 ---> 9ac4960ddf9a 20:16:14 Step 12/12 : RUN $MAKE 20:16:14 ---> Running in a499a1353ae9 20:16:14 noop 20:16:14 Removing intermediate container a499a1353ae9 20:16:14 ---> b86d34c6801f 20:16:14 Successfully built b86d34c6801f 20:16:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:14 + docker inspect -f . ci-base-image-arm64 20:16:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:15 prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container 20:16:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:16:16 $ docker top 6517e44b5dd9a7bd18ed2e3fe7393419514e1b63338b5e387ca965f3d25f33b5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:17 + go version 20:16:17 go version go1.21.0 linux/arm64 [Pipeline] } 20:16:17 $ docker stop --time=1 6517e44b5dd9a7bd18ed2e3fe7393419514e1b63338b5e387ca965f3d25f33b5 20:16:19 $ docker rm -f --volumes 6517e44b5dd9a7bd18ed2e3fe7393419514e1b63338b5e387ca965f3d25f33b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:19 + docker inspect -f . ci-base-image-arm64 20:16:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:20 prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container 20:16:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:16:23 $ docker top 09455c04c5f98ea9566750529a8c3d61b460f4d167d492741d90366aa7a60e52 -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:24 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:16:25 + make test 20:16:25 go test ./... -coverprofile=coverage.out ./... 20:16:29 ? github.com/edgexfoundry/device-rest-go [no test files] 20:18:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:18:06 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements 20:18:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:18:06 go vet ./... 20:18:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:18:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:18:15 ./bin/test-attribution-txt.sh [Pipeline] echo 20:18:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:18:15 $ docker stop --time=1 09455c04c5f98ea9566750529a8c3d61b460f4d167d492741d90366aa7a60e52 20:18:17 $ docker rm -f --volumes 09455c04c5f98ea9566750529a8c3d61b460f4d167d492741d90366aa7a60e52 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:18:18 Warning: overwriting stash ‘coverage-report’ 20:18:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:18:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:18:19 + ls -al . 20:18:19 total 184 20:18:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 20:16 . 20:18:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:13 .. 20:18:19 -rw-rw-r-- 1 jenkins jenkins 151 Oct 11 20:13 .dockerignore 20:18:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 20:13 .git 20:18:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:13 .github 20:18:19 -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 20:13 .gitignore 20:18:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 20:13 .golangci.yml 20:18:19 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 11 20:13 Attribution.txt 20:18:19 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 11 20:13 CHANGELOG.md 20:18:19 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 11 20:13 Dockerfile 20:18:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 20:13 GOVERNANCE.md 20:18:19 -rw-rw-r-- 1 jenkins jenkins 680 Oct 11 20:13 Jenkinsfile 20:18:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 20:13 LICENSE 20:18:19 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 11 20:13 Makefile 20:18:19 -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 20:13 OWNERS.md 20:18:19 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 11 20:13 README.md 20:18:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 20:11 VERSION 20:18:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:13 bin 20:18:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:13 cmd 20:18:19 -rw-r--r-- 1 jenkins jenkins 14499 Oct 11 20:17 coverage.out 20:18:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:13 driver 20:18:19 -rw-rw-r-- 1 jenkins jenkins 3890 Oct 11 20:13 go.mod 20:18:19 -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 20:13 go.sum 20:18:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:13 snap 20:18:19 -rw-rw-r-- 1 jenkins jenkins 713 Oct 11 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:20 + 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=30e900135b4fda310d3da32f43ad86fb4c0924c0 --label arch=arm64 --label version=0.0.0 . 20:18:20 Sending build context to Docker daemon 159.7kB 20:18:20 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:18:20 Step 2/25 : FROM ${BASE} AS builder 20:18:20 ---> b86d34c6801f 20:18:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:18:20 ---> Running in 8505fc0a1f16 20:18:20 Removing intermediate container 8505fc0a1f16 20:18:20 ---> dcf13ffe48e6 20:18:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:21 ---> Running in 9d803f193b16 20:18:21 Removing intermediate container 9d803f193b16 20:18:21 ---> e0ced93f737d 20:18:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:18:21 ---> Running in 0b0c3b7c1dca 20:18:21 Removing intermediate container 0b0c3b7c1dca 20:18:21 ---> b7341a7875b2 20:18:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:18:21 ---> Running in b1a75fd1a0c7 20:18:21 Removing intermediate container b1a75fd1a0c7 20:18:21 ---> d1977cef5f9a 20:18:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:22 ---> Running in 33215a60f373 20:18:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:18:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:18:24 OK: 270 MiB in 56 packages 20:18:27 Removing intermediate container 33215a60f373 20:18:27 ---> f5dfcda13201 20:18:27 Step 8/25 : WORKDIR /device-rest-go 20:18:27 ---> Running in e4bc29bbdd5b 20:18:27 Removing intermediate container e4bc29bbdd5b 20:18:27 ---> 296decfb6af2 20:18:27 Step 9/25 : COPY go.mod vendor* ./ 20:18:28 ---> fda732d51fb2 20:18:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:28 ---> Running in cc172d11cce8 20:18:30 Removing intermediate container cc172d11cce8 20:18:30 ---> b64bdd562a42 20:18:30 Step 11/25 : COPY . . 20:18:30 ---> ed8ee1bd1cb5 20:18:30 Step 12/25 : RUN $MAKE 20:18:31 ---> Running in 98d3491ab527 20:18:32 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.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:20:23 Removing intermediate container 98d3491ab527 20:20:23 ---> ffda25e7b0ed 20:20:23 Step 13/25 : FROM alpine:3.18 20:20:23 3.18: Pulling from library/alpine 20:20:23 579b34f0a95b: Pulling fs layer 20:20:23 579b34f0a95b: Download complete 20:20:23 579b34f0a95b: Pull complete 20:20:23 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:20:23 Status: Downloaded newer image for alpine:3.18 20:20:23 ---> 3cc203321400 20:20:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:20:23 ---> Running in 824d6f8db74c 20:20:23 Removing intermediate container 824d6f8db74c 20:20:23 ---> ab1fced22827 20:20:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:20:23 ---> Running in bf2bd7a8a02b 20:20:23 Removing intermediate container bf2bd7a8a02b 20:20:23 ---> fbf42eb656b6 20:20:23 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:20:23 ---> Running in fb0c891946c0 20:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:20:23 (1/1) Installing dumb-init (1.2.5-r2) 20:20:23 Executing busybox-1.36.1-r2.trigger 20:20:23 OK: 8 MiB in 16 packages 20:20:23 Removing intermediate container fb0c891946c0 20:20:23 ---> b8176c474bfb 20:20:23 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:20:23 ---> 1726da6b062a 20:20:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:20:23 ---> 5ef1ff851234 20:20:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:20:23 ---> 1bbce717f14a 20:20:23 Step 20/25 : EXPOSE 59986 20:20:23 ---> Running in 19a13859e84a 20:20:23 Removing intermediate container 19a13859e84a 20:20:23 ---> 518dbbed24db 20:20:23 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:20:23 ---> Running in fe55e88ea719 20:20:23 Removing intermediate container fe55e88ea719 20:20:23 ---> 54d20dd4d90c 20:20:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:20:23 ---> Running in 2575e919d7d8 20:20:23 Removing intermediate container 2575e919d7d8 20:20:23 ---> bb18e6829301 20:20:23 Step 23/25 : LABEL arch=arm64 20:20:23 ---> Running in 45ff3ca9585b 20:20:24 Removing intermediate container 45ff3ca9585b 20:20:24 ---> f20ddb9b01aa 20:20:24 Step 24/25 : LABEL git_sha=30e900135b4fda310d3da32f43ad86fb4c0924c0 20:20:24 ---> Running in 418e347bb70b 20:20:24 Removing intermediate container 418e347bb70b 20:20:24 ---> ca820699ef59 20:20:24 Step 25/25 : LABEL version=0.0.0 20:20:24 ---> Running in 888d971bfd7d 20:20:24 Removing intermediate container 888d971bfd7d 20:20:24 ---> ff15eb64959f 20:20:24 [Warning] One or more build-args [ARCH] were not consumed 20:20:24 Successfully built ff15eb64959f 20:20:24 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 20:20:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:25 20:20:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:26 arm64: Pulling from edgex-lftools-log-publisher 20:20:26 8998bd30e6a1: Pulling fs layer 20:20:26 04944245beec: Pulling fs layer 20:20:26 699f458cf7ca: Pulling fs layer 20:20:26 765212b225bb: Pulling fs layer 20:20:26 f23df028b6ca: Pulling fs layer 20:20:26 d65c8cfc05b1: Pulling fs layer 20:20:26 2437ff75d9bd: Pulling fs layer 20:20:26 765212b225bb: Waiting 20:20:26 f23df028b6ca: Waiting 20:20:26 d65c8cfc05b1: Waiting 20:20:26 2437ff75d9bd: Waiting 20:20:26 04944245beec: Verifying Checksum 20:20:26 04944245beec: Download complete 20:20:26 765212b225bb: Verifying Checksum 20:20:26 765212b225bb: Download complete 20:20:26 f23df028b6ca: Download complete 20:20:26 d65c8cfc05b1: Verifying Checksum 20:20:26 d65c8cfc05b1: Download complete 20:20:26 699f458cf7ca: Verifying Checksum 20:20:26 699f458cf7ca: Download complete 20:20:26 8998bd30e6a1: Verifying Checksum 20:20:26 8998bd30e6a1: Download complete 20:20:29 2437ff75d9bd: Verifying Checksum 20:20:29 2437ff75d9bd: Download complete 20:20:31 8998bd30e6a1: Pull complete 20:20:31 04944245beec: Pull complete 20:20:33 699f458cf7ca: Pull complete 20:20:33 765212b225bb: Pull complete 20:20:34 f23df028b6ca: Pull complete 20:20:34 d65c8cfc05b1: Pull complete 20:20:52 2437ff75d9bd: Pull complete 20:20:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:20:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:53 prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container 20:20:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:20:55 $ docker top cae9b9b4414332777374e07f14d0992263dd50eaa8edba5b47d961ad5ae2a78e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:56 ---> job-cost.sh 20:20:56 lf-activate-venv: SKIPPING 20:20:56 INFO: No Stack... 20:20:56 INFO: Retrieving Pricing Info for: v3-standard-4 20:21:01 INFO: Archiving Costs [Pipeline] sh 20:21:01 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:21:01 + cut -d, -f6 [Pipeline] lock 20:21:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] 20:21:01 Resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] did not exist. Created. 20:21:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:21:02 /w/workspace/device-rest-go/1@tmp/durable-e137b52d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:21:02 + echo total: 0.10999999940395355 [Pipeline] stash 20:21:02 Warning: overwriting stash ‘stack-cost’ 20:21:03 Stashed 1 file(s) [Pipeline] } 20:21:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:21:03 $ docker stop --time=1 cae9b9b4414332777374e07f14d0992263dd50eaa8edba5b47d961ad5ae2a78e 20:21:04 $ docker rm -f --volumes cae9b9b4414332777374e07f14d0992263dd50eaa8edba5b47d961ad5ae2a78e [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 20:21:05 provisioning config files... 20:21:05 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config18270280842937328296tmp [Pipeline] { [Pipeline] sh 20:21:05 + set +x 20:21:05 + bash -s -- 20:21:05 + curl -s https://codecov.io/bash 20:21:05 20:21:05 _____ _ 20:21:05 / ____| | | 20:21:05 | | ___ __| | ___ ___ _____ __ 20:21:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:21:05 | |___| (_) | (_| | __/ (_| (_) \ V / 20:21:05 \_____\___/ \__,_|\___|\___\___/ \_/ 20:21:05 Bash-1.0.6 20:21:05 20:21:05 20:21:05 ==> git version 2.25.1 found 20:21:05 ==> 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 20:21:05 Release-Date: 2020-01-08 20:21:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:21:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:21:05 ==> Jenkins CI detected. 20:21:05 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-349 20:21:05 project root: . 20:21:05 --> token set from env 20:21:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:21:05 ==> Running gcov in . (disable via -X gcov) 20:21:05 ==> Python coveragepy not found 20:21:05 ==> Searching for coverage reports in: 20:21:05 + . 20:21:05 -> Found 1 reports 20:21:05 ==> Detecting git/mercurial file structure 20:21:06 ==> Reading reports 20:21:06 + ./coverage.out bytes=14499 20:21:06 ==> Appending adjustments 20:21:06 https://docs.codecov.io/docs/fixing-reports 20:21:06 + Found adjustments 20:21:06 ==> Gzipping contents 20:21:06 4.0K /tmp/codecov.ugQjwo.gz 20:21:06 ==> Uploading reports 20:21:06 url: https://codecov.io 20:21:06 query: branch=PR-349&commit=30e900135b4fda310d3da32f43ad86fb4c0924c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=349&job=&cmd_args= 20:21:06 -> Pinging Codecov 20:21:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-349&commit=30e900135b4fda310d3da32f43ad86fb4c0924c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=349&job=&cmd_args= 20:21:06 -> Uploading to 20:21:06 https://storage.googleapis.com/codecov/v4/raw/2023-10-11/4E5D53B4F1F92C436F7061BF334D961C/30e900135b4fda310d3da32f43ad86fb4c0924c0/303367f0-e3f9-4439-b03e-7653c4cfb0b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231011T202106Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4406c1b4ae450e1ab917854884789f99ddb48b7c84460d56f8065b75d4b7a4b0 20:21:06 % Total % Received % Xferd Average Speed Time Time Time Current 20:21:06 Dload Upload Total Spent Left Speed 20:21:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8903 --:--:-- --:--:-- --:--:-- 8903 20:21:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] } 20:21:06 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 20:21:08 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-349/archives ] 20:21:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-349/archives 20:21:08 total 16 20:21:08 drwxr-xr-x 3 root root 4096 Oct 11 20:13 . 20:21:08 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 20:13 .. 20:21:08 drwxr-xr-x 2 root root 4096 Oct 11 20:13 cost 20:21:08 -rw-r--r-- 1 root root 86 Oct 11 20:13 cost.csv 20:21:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-349/archives 20:21:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-349/archives 20:21:08 total 16 20:21:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 20:13 . 20:21:08 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 20:13 .. 20:21:08 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 20:13 cost 20:21:08 -rw-r--r-- 1 jenkins jenkins 86 Oct 11 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:21:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:21:09 ---> package-listing.sh 20:21:09 ++ facter osfamily 20:21:09 ++ tr '[:upper:]' '[:lower:]' 20:21:10 + OS_FAMILY=debian 20:21:10 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-349 20:21:10 + START_PACKAGES=/tmp/packages_start.txt 20:21:10 + END_PACKAGES=/tmp/packages_end.txt 20:21:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:21:10 + PACKAGES=/tmp/packages_start.txt 20:21:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-349 ']' 20:21:10 + PACKAGES=/tmp/packages_end.txt 20:21:10 + case "${OS_FAMILY}" in 20:21:10 + dpkg -l 20:21:10 + grep '^ii' 20:21:10 + '[' -f /tmp/packages_start.txt ']' 20:21:10 + '[' -f /tmp/packages_end.txt ']' 20:21:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:21:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-349 ']' 20:21:10 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-349/archives/ 20:21:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-349/archives/ [Pipeline] echo 20:21:10 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-349/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:21:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:21:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:11 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 20:21:11 $ 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-349/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-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:21:11 $ docker top 5fbc9fefe6eb857765a377fffaa453cd24bbbff662676d88763b8fdeb0ff30ba -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:11 + touch /tmp/pre-build-complete [Pipeline] sh 20:21:12 + mkdir -p /var/log/sysstat [Pipeline] sh 20:21:12 + ls /var/log/sa-host 20:21:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:12 provisioning config files... 20:21:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config14781471099702841135tmp [Pipeline] { [Pipeline] echo 20:21:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:21:12 ---> create-netrc.sh [Pipeline] } 20:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:21:13 ---> python-tools-install.sh [Pipeline] echo 20:21:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:21:13 ---> sudo-logs.sh 20:21:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:21:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:21:14 ---> job-cost.sh 20:21:14 lf-activate-venv: SKIPPING 20:21:14 DEBUG: total: 0.2199999988079071 20:21:14 INFO: Retrieving Stack Cost... 20:21:14 INFO: Retrieving Pricing Info for: v3-standard-8 20:21:22 INFO: Archiving Costs [Pipeline] echo 20:21:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:21:22 ---> logs-deploy.sh 20:21:22 lf-activate-venv: SKIPPING 20:21:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-349/1 20:21:22 INFO: archiving workspace using pattern(s): 20:21:23 Archives upload complete. 20:21:23 INFO: archiving logs to Nexus