Pull request #365 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b53cb1300769efc798f0f93f917b7b69793e0c1f+549007a9ae6a647223285151eabca3507ba312e0 (aa62ee50b86b1d9092f983fd3e4d23a660f65c83) 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-ssh6801623100330342046.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14428539797169743774.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-365/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-365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18159973014510746260.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-365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6694724342202434862.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh13125874241099156454.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-365/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-365/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4865814406920695001.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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 Running on prd-ubuntu20.04-docker-8c-8g-17086 in /w/workspace/gexfoundry_device-rest-go_PR-365 [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-365 # 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/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit b53cb1300769efc798f0f93f917b7b69793e0c1f Merge succeeded, producing b53cb1300769efc798f0f93f917b7b69793e0c1f Checking out Revision b53cb1300769efc798f0f93f917b7b69793e0c1f (PR-365) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:33:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:33:14 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 b53cb1300769efc798f0f93f917b7b69793e0c1f # 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 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b53cb1300769efc798f0f93f917b7b69793e0c1f # timeout=10 [Pipeline] echo 20:33:14 ========================================================= 20:33:14 EdgeX Global Pipelines Version Info 20:33:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:33:14 ------------------- 20:33:14 stable info: 20:33:14 ------------------- 20:33:14 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 20:33:14 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:33:14 Message: update stable to v1.0.257 20:33:15 ------------------- 20:33:15 experimental info: 20:33:15 ------------------- 20:33:15 Commited By: **** collab-it+edgex@linuxfoundation.org 20:33:15 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:33:15 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:33:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:33:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:33:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:33:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:33:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:33:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:33:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 20:33:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 20:33:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 20:33:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo 20:33:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b53cb13 [Pipeline] echo 20:33:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:33:17 provisioning config files... 20:33:17 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config642656190089961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:17 ---> docker-login.sh 20:33:17 nexus3.edgexfoundry.org:10001 20:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:17 Configure a credential helper to remove this warning. See 20:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:17 20:33:17 Login Succeeded 20:33:17 nexus3.edgexfoundry.org:10002 20:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:18 Configure a credential helper to remove this warning. See 20:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:18 20:33:18 Login Succeeded 20:33:18 nexus3.edgexfoundry.org:10003 20:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:18 Configure a credential helper to remove this warning. See 20:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:18 20:33:18 Login Succeeded 20:33:18 nexus3.edgexfoundry.org:10004 20:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:18 Configure a credential helper to remove this warning. See 20:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:18 20:33:18 Login Succeeded 20:33:18 docker.io 20:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:18 Configure a credential helper to remove this warning. See 20:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:18 20:33:18 Login Succeeded 20:33:18 ---> docker-login.sh ends [Pipeline] } 20:33:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:33:19 + git rev-list -1 --merges b53cb1300769efc798f0f93f917b7b69793e0c1f~1..b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo 20:33:19 -----------> git rev-list -1 --merges b53cb1300769efc798f0f93f917b7b69793e0c1f~1..b53cb1300769efc798f0f93f917b7b69793e0c1f b53cb1300769efc798f0f93f917b7b69793e0c1f [false] [Pipeline] sh 20:33:19 + git log --format=format:%s -1 b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo 20:33:19 ========================================================= 20:33:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:33:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:20 + git log --format=format:%s -1 b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo 20:33:20 [semverPrep] GIT_COMMIT: b53cb1300769efc798f0f93f917b7b69793e0c1f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:33:20 [semverPrep] This is not a build commit. [Pipeline] sh 20:33:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:33:20 + grep -v github /etc/ssh/ssh_known_hosts 20:33:20 + [ -e /tmp/ssh_known_hosts ] 20:33:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:33:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:33:20 + sudo tee -a /etc/ssh/ssh_known_hosts 20:33:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:21 20:33:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:21 0.1.4: Pulling from edgex-devops/py-git-semver 20:33:21 b85a868b505f: Pulling fs layer 20:33:21 e2be974225ed: Pulling fs layer 20:33:21 339a4e72a1f5: Pulling fs layer 20:33:21 988bab9f4d93: Pulling fs layer 20:33:21 1469e6f7b9e6: Pulling fs layer 20:33:21 eaf3925da568: Pulling fs layer 20:33:21 bab4dde63d76: Pulling fs layer 20:33:21 bde34c3a00c8: Pulling fs layer 20:33:21 b352a97aabf1: Pulling fs layer 20:33:21 4872d77fe225: Pulling fs layer 20:33:21 5851b861e8e6: Pulling fs layer 20:33:21 bde34c3a00c8: Waiting 20:33:21 b352a97aabf1: Waiting 20:33:21 988bab9f4d93: Waiting 20:33:21 1469e6f7b9e6: Waiting 20:33:21 eaf3925da568: Waiting 20:33:21 5851b861e8e6: Waiting 20:33:21 e2be974225ed: Download complete 20:33:21 988bab9f4d93: Verifying Checksum 20:33:21 988bab9f4d93: Download complete 20:33:21 1469e6f7b9e6: Verifying Checksum 20:33:21 1469e6f7b9e6: Download complete 20:33:21 339a4e72a1f5: Verifying Checksum 20:33:21 339a4e72a1f5: Download complete 20:33:21 eaf3925da568: Download complete 20:33:21 bde34c3a00c8: Download complete 20:33:21 b352a97aabf1: Verifying Checksum 20:33:21 b352a97aabf1: Download complete 20:33:21 4872d77fe225: Verifying Checksum 20:33:21 4872d77fe225: Download complete 20:33:21 5851b861e8e6: Verifying Checksum 20:33:21 5851b861e8e6: Download complete 20:33:21 b85a868b505f: Download complete 20:33:21 bab4dde63d76: Verifying Checksum 20:33:21 bab4dde63d76: Download complete 20:33:22 b85a868b505f: Pull complete 20:33:23 e2be974225ed: Pull complete 20:33:23 339a4e72a1f5: Pull complete 20:33:23 988bab9f4d93: Pull complete 20:33:23 1469e6f7b9e6: Pull complete 20:33:23 eaf3925da568: Pull complete 20:33:25 bab4dde63d76: Pull complete 20:33:25 bde34c3a00c8: Pull complete 20:33:25 b352a97aabf1: Pull complete 20:33:25 4872d77fe225: Pull complete 20:33:25 5851b861e8e6: Pull complete 20:33:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:33:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:26 prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container 20:33:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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:33:28 $ docker top 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:33:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:28 [ssh-agent] Looking for ssh-agent implementation... 20:33:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:28 $ docker exec 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent 20:33:28 SSH_AUTH_SOCK=/tmp/ssh-Uge72eQGz9E6/agent.32 20:33:28 SSH_AGENT_PID=38 20:33:28 Running ssh-add (command line suppressed) 20:33:28 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_6699977834983727215.key (/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_6699977834983727215.key) 20:33:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:29 + git tag --points-at HEAD [Pipeline] } 20:33:29 $ docker exec --env ******** --env ******** 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent -k 20:33:29 unset SSH_AUTH_SOCK; 20:33:29 unset SSH_AGENT_PID; 20:33:29 echo Agent pid 38 killed; 20:33:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:33:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:29 [ssh-agent] Looking for ssh-agent implementation... 20:33:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:29 $ docker exec 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent 20:33:29 SSH_AUTH_SOCK=/tmp/ssh-NK6R1lQpYLF9/agent.70 20:33:29 SSH_AGENT_PID=76 20:33:29 Running ssh-add (command line suppressed) 20:33:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_16015992333195511983.key (/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_16015992333195511983.key) 20:33:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:30 + git semver init 20:33:30 2023-11-08 20:33:30,203 [run_init] DEBUG init version:0.0.0 force:False 20:33:30 2023-11-08 20:33:30,205 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-365/.semver 20:33:30 2023-11-08 20:33:30,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-365/.semver 20:33:30 2023-11-08 20:33:30,205 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-365/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-365, universal_newlines=False, shell=None, istream=None) 20:33:31 2023-11-08 20:33:31,369 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-365/.git/info/exclude 20:33:31 2023-11-08 20:33:31,370 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-365/.semver/PR-365 with force:False 20:33:31 2023-11-08 20:33:31,370 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-365/.semver/PR-365 20:33:31 2023-11-08 20:33:31,372 [execute] INFO git cat-file --batch-check 20:33:31 2023-11-08 20:33:31,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-365/.semver, universal_newlines=False, shell=None, istream=) 20:33:31 2023-11-08 20:33:31,378 [execute] INFO git cat-file --batch 20:33:31 2023-11-08 20:33:31,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-365/.semver, universal_newlines=False, shell=None, istream=) 20:33:31 2023-11-08 20:33:31,383 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-365/.semver/PR-365 20:33:31 0.0.0 [Pipeline] } 20:33:31 $ docker exec --env ******** --env ******** 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent -k 20:33:31 unset SSH_AUTH_SOCK; 20:33:31 unset SSH_AGENT_PID; 20:33:31 echo Agent pid 76 killed; 20:33:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:33:32 + git semver [Pipeline] } 20:33:32 $ docker stop --time=1 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae 20:33:33 $ docker rm -f --volumes 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae [Pipeline] // withDockerContainer [Pipeline] sh 20:33:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:33:34 Stashed 1 file(s) [Pipeline] echo 20:33:34 [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:33:35 provisioning config files... 20:33:35 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config17149757680440375907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:35 ---> docker-login.sh 20:33:35 nexus3.edgexfoundry.org:10001 20:33:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:35 Configure a credential helper to remove this warning. See 20:33:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:35 20:33:35 Login Succeeded 20:33:35 nexus3.edgexfoundry.org:10002 20:33:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:35 Configure a credential helper to remove this warning. See 20:33:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:35 20:33:35 Login Succeeded 20:33:35 nexus3.edgexfoundry.org:10003 20:33:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:35 Configure a credential helper to remove this warning. See 20:33:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:35 20:33:35 Login Succeeded 20:33:35 nexus3.edgexfoundry.org:10004 20:33:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:35 Configure a credential helper to remove this warning. See 20:33:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:35 20:33:35 Login Succeeded 20:33:35 docker.io 20:33:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:36 Configure a credential helper to remove this warning. See 20:33:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:36 20:33:36 Login Succeeded 20:33:36 ---> docker-login.sh ends [Pipeline] } 20:33:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:33:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:33:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:33:36 ========================================================= 20:33:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:33:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:36 + 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:33:36 Sending build context to Docker daemon 10.95MB 20:33:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:33:36 Step 2/12 : FROM ${BASE} AS builder 20:33:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:33:36 7264a8db6415: Pulling fs layer 20:33:36 c4d48a809fc2: Pulling fs layer 20:33:36 4f1c88b9dad5: Pulling fs layer 20:33:36 ad3a456e5733: Pulling fs layer 20:33:36 33e27b845d1e: Pulling fs layer 20:33:36 c68163c4e522: Pulling fs layer 20:33:36 50da416c3ac9: Pulling fs layer 20:33:36 23d2d4c4bb30: Pulling fs layer 20:33:36 ad3a456e5733: Waiting 20:33:36 33e27b845d1e: Waiting 20:33:36 c68163c4e522: Waiting 20:33:36 50da416c3ac9: Waiting 20:33:36 23d2d4c4bb30: Waiting 20:33:36 c4d48a809fc2: Download complete 20:33:36 ad3a456e5733: Verifying Checksum 20:33:36 ad3a456e5733: Download complete 20:33:37 33e27b845d1e: Verifying Checksum 20:33:37 33e27b845d1e: Download complete 20:33:37 7264a8db6415: Verifying Checksum 20:33:37 7264a8db6415: Download complete 20:33:37 c68163c4e522: Verifying Checksum 20:33:37 c68163c4e522: Download complete 20:33:37 7264a8db6415: Pull complete 20:33:37 23d2d4c4bb30: Download complete 20:33:37 c4d48a809fc2: Pull complete 20:33:37 4f1c88b9dad5: Verifying Checksum 20:33:37 4f1c88b9dad5: Download complete 20:33:37 50da416c3ac9: Verifying Checksum 20:33:37 50da416c3ac9: Download complete 20:33:40 4f1c88b9dad5: Pull complete 20:33:40 ad3a456e5733: Pull complete 20:33:40 33e27b845d1e: Pull complete 20:33:40 c68163c4e522: Pull complete 20:33:43 50da416c3ac9: Pull complete 20:33:43 23d2d4c4bb30: Pull complete 20:33:43 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:33:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:33:43 ---> 0786185ac409 20:33:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:33:47 ---> Running in 808d63609773 20:33:47 Removing intermediate container 808d63609773 20:33:47 ---> 66fe390d190a 20:33:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:33:47 ---> Running in d1887242cdfb 20:33:47 Removing intermediate container d1887242cdfb 20:33:47 ---> d917c147a16d 20:33:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:33:47 ---> Running in b83b495f8750 20:33:47 Removing intermediate container b83b495f8750 20:33:47 ---> 6b39a603ac68 20:33:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:33:47 ---> Running in 4569f1ae3b56 20:33:47 Removing intermediate container 4569f1ae3b56 20:33:47 ---> a94a899844b7 20:33:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:33:47 ---> Running in 35b4bebd9644 20:33:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:33:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:33:47 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:33:47 (2/4) Installing libedit (20221030.3.1-r1) 20:33:47 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:33:47 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:33:47 Executing busybox-1.36.1-r2.trigger 20:33:47 OK: 268 MiB in 56 packages 20:33:48 Removing intermediate container 35b4bebd9644 20:33:48 ---> 8cd4734d536e 20:33:48 Step 8/12 : WORKDIR /device-rest-go 20:33:48 ---> Running in 617b6ed57e0f 20:33:48 Removing intermediate container 617b6ed57e0f 20:33:48 ---> 7d44671c7fbf 20:33:48 Step 9/12 : COPY go.mod vendor* ./ 20:33:48 ---> 47968b3d35b2 20:33:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:48 ---> Running in b98e524de86f 20:33:49 Still waiting to schedule task 20:33:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:34:27 Removing intermediate container b98e524de86f 20:34:27 ---> 62595bd0d929 20:34:27 Step 11/12 : COPY . . 20:34:27 ---> 9dadd00a77d5 20:34:27 Step 12/12 : RUN $MAKE 20:34:27 ---> Running in e04325f2f748 20:34:27 noop 20:34:27 Removing intermediate container e04325f2f748 20:34:27 ---> 8e663125b42f 20:34:27 Successfully built 8e663125b42f 20:34:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:27 + docker inspect -f . ci-base-image-x86_64 20:34:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:27 prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container 20:34:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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:34:28 $ docker top a089a7c9d467c658044544317a86a49ffc16a3857eff8c07770fad9eb4dbf4ae -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:28 + go version 20:34:28 go version go1.21.0 linux/amd64 [Pipeline] } 20:34:28 $ docker stop --time=1 a089a7c9d467c658044544317a86a49ffc16a3857eff8c07770fad9eb4dbf4ae 20:34:29 $ docker rm -f --volumes a089a7c9d467c658044544317a86a49ffc16a3857eff8c07770fad9eb4dbf4ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:30 + docker inspect -f . ci-base-image-x86_64 20:34:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:30 prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container 20:34:30 $ 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-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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:34:31 $ docker top 72066a449bb15366d6ba52382217b1d1954a8642254ca0453261be688f94cb3d -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-365 [Pipeline] fileExists [Pipeline] sh 20:34:31 + make test 20:34:31 go test ./... -coverprofile=coverage.out ./... 20:34:33 ? github.com/edgexfoundry/device-rest-go [no test files] 20:34:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:34:45 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:34:50 go vet ./... 20:34:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:34:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:34:54 ./bin/test-attribution-txt.sh [Pipeline] echo 20:34:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:34:55 $ docker stop --time=1 72066a449bb15366d6ba52382217b1d1954a8642254ca0453261be688f94cb3d 20:34:57 $ docker rm -f --volumes 72066a449bb15366d6ba52382217b1d1954a8642254ca0453261be688f94cb3d [Pipeline] // withDockerContainer [Pipeline] sh 20:34:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:34:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:34:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:34:59 + ls -al . 20:34:59 total 176 20:34:59 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 20:34 . 20:34:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:33 .. 20:34:59 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 20:33 .dockerignore 20:34:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:34 .git 20:34:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:33 .github 20:34:59 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 20:33 .gitignore 20:34:59 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:33 .golangci.yml 20:34:59 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:33 .semver 20:34:59 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 20:33 Attribution.txt 20:34:59 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 20:33 CHANGELOG.md 20:34:59 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 20:33 Dockerfile 20:34:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:33 GOVERNANCE.md 20:34:59 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:33 Jenkinsfile 20:34:59 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:33 LICENSE 20:34:59 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 20:33 Makefile 20:34:59 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 20:33 OWNERS.md 20:34:59 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 20:33 README.md 20:34:59 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:33 VERSION 20:34:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:33 bin 20:34:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:33 cmd 20:34:59 -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 20:34 coverage.out 20:34:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:33 driver 20:34:59 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 20:33 go.mod 20:34:59 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 20:33 go.sum 20:34:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:33 openapi 20:34:59 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 20:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:59 + 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=b53cb1300769efc798f0f93f917b7b69793e0c1f --label arch=amd64 --label version=0.0.0 . 20:34:59 Sending build context to Docker daemon 10.97MB 20:34:59 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:34:59 Step 2/25 : FROM ${BASE} AS builder 20:34:59 ---> 8e663125b42f 20:34:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:35:00 ---> Running in 3584755d97d1 20:35:00 Removing intermediate container 3584755d97d1 20:35:00 ---> 4d6ee4405082 20:35:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:00 ---> Running in 6f8c0367ef72 20:35:00 Removing intermediate container 6f8c0367ef72 20:35:00 ---> ad406707812c 20:35:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:35:00 ---> Running in 7810da57e170 20:35:00 Removing intermediate container 7810da57e170 20:35:00 ---> 47147e9b711a 20:35:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:35:00 ---> Running in 47f4985154e2 20:35:00 Removing intermediate container 47f4985154e2 20:35:00 ---> 54d30ff3255a 20:35:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:00 ---> Running in d3386f4672f5 20:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:35:01 OK: 268 MiB in 56 packages 20:35:01 Removing intermediate container d3386f4672f5 20:35:01 ---> 8f17daa90a24 20:35:01 Step 8/25 : WORKDIR /device-rest-go 20:35:01 ---> Running in 7c7d489d03dc 20:35:01 Removing intermediate container 7c7d489d03dc 20:35:01 ---> ef83a61f4e97 20:35:01 Step 9/25 : COPY go.mod vendor* ./ 20:35:01 ---> aeb1d0f257fc 20:35:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:01 ---> Running in 94244230804c 20:35:02 Removing intermediate container 94244230804c 20:35:02 ---> 5b01cd9c56ae 20:35:02 Step 11/25 : COPY . . 20:35:02 ---> 640e2972f3f1 20:35:02 Step 12/25 : RUN $MAKE 20:35:02 ---> Running in 7c7548a1c353 20:35:03 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" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:35:21 Removing intermediate container 7c7548a1c353 20:35:21 ---> 42cadd96c468 20:35:21 Step 13/25 : FROM alpine:3.18 20:35:21 3.18: Pulling from library/alpine 20:35:21 96526aa774ef: Pulling fs layer 20:35:21 96526aa774ef: Verifying Checksum 20:35:21 96526aa774ef: Download complete 20:35:21 96526aa774ef: Pull complete 20:35:21 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:35:21 Status: Downloaded newer image for alpine:3.18 20:35:21 ---> 8ca4688f4f35 20:35:21 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:35:21 ---> Running in c1e683cede37 20:35:21 Removing intermediate container c1e683cede37 20:35:21 ---> 2fb4fbea905f 20:35:21 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:35:21 ---> Running in 6fe5fb128af2 20:35:21 Removing intermediate container 6fe5fb128af2 20:35:21 ---> c3f0f92dad06 20:35:21 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:35:21 ---> Running in d2803932ecfd 20:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:35:22 (1/1) Installing dumb-init (1.2.5-r2) 20:35:22 Executing busybox-1.36.1-r2.trigger 20:35:22 OK: 7 MiB in 16 packages 20:35:22 Removing intermediate container d2803932ecfd 20:35:22 ---> 7495b20ed9b4 20:35:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:35:23 ---> 07ae015dc645 20:35:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:35:23 ---> b5328f72f6bf 20:35:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:35:23 ---> 2537b69c0431 20:35:23 Step 20/25 : EXPOSE 59986 20:35:23 ---> Running in d7886b411ce9 20:35:23 Removing intermediate container d7886b411ce9 20:35:23 ---> ac6062b147b4 20:35:23 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:35:23 ---> Running in 75b2b2250f4d 20:35:23 Removing intermediate container 75b2b2250f4d 20:35:23 ---> fa4e2153a5f4 20:35:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:35:23 ---> Running in 54d3cc134e07 20:35:23 Removing intermediate container 54d3cc134e07 20:35:23 ---> c95f373fbc72 20:35:23 Step 23/25 : LABEL arch=amd64 20:35:23 ---> Running in a502ce4e25ec 20:35:23 Removing intermediate container a502ce4e25ec 20:35:23 ---> a6850394009a 20:35:23 Step 24/25 : LABEL git_sha=b53cb1300769efc798f0f93f917b7b69793e0c1f 20:35:23 ---> Running in d1e6d8fcb9c9 20:35:23 Removing intermediate container d1e6d8fcb9c9 20:35:23 ---> d4c728f75ee2 20:35:23 Step 25/25 : LABEL version=0.0.0 20:35:23 ---> Running in add4e6238545 20:35:23 Removing intermediate container add4e6238545 20:35:23 ---> ba61f33342ac 20:35:23 [Warning] One or more build-args [ARCH] were not consumed 20:35:23 Successfully built ba61f33342ac 20:35:23 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:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:24 20:35:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:25 latest: Pulling from edgex-lftools-log-publisher 20:35:25 5eb5b503b376: Pulling fs layer 20:35:25 5c69ac0246d0: Pulling fs layer 20:35:25 ec43610c2a17: Pulling fs layer 20:35:25 3a2ae6a8a46f: Pulling fs layer 20:35:25 33b1e0a273af: Pulling fs layer 20:35:25 5d3b04190fa2: Pulling fs layer 20:35:25 2f39f015ded8: Pulling fs layer 20:35:25 5d3b04190fa2: Waiting 20:35:25 33b1e0a273af: Waiting 20:35:25 2f39f015ded8: Waiting 20:35:25 3a2ae6a8a46f: Waiting 20:35:25 3a2ae6a8a46f: Download complete 20:35:25 ec43610c2a17: Verifying Checksum 20:35:25 ec43610c2a17: Download complete 20:35:25 33b1e0a273af: Verifying Checksum 20:35:25 33b1e0a273af: Download complete 20:35:25 5d3b04190fa2: Verifying Checksum 20:35:25 5d3b04190fa2: Download complete 20:35:25 5eb5b503b376: Verifying Checksum 20:35:25 5eb5b503b376: Download complete 20:35:25 2f39f015ded8: Download complete 20:35:26 5eb5b503b376: Pull complete 20:35:26 5c69ac0246d0: Pull complete 20:35:27 ec43610c2a17: Pull complete 20:35:27 3a2ae6a8a46f: Pull complete 20:35:27 33b1e0a273af: Pull complete 20:35:27 5d3b04190fa2: Pull complete 20:35:31 2f39f015ded8: Pull complete 20:35:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:35:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:31 prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container 20:35:32 $ 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-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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:35:35 $ docker top 5e9f8ba3c9f46b7ad9da7105a361be0d9e98e33fa5baf47e63045800f9b61358 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:36 ---> job-cost.sh 20:35:36 lf-activate-venv: SKIPPING 20:35:36 INFO: No Stack... 20:35:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:35:37 INFO: Archiving Costs [Pipeline] sh 20:35:37 + cat /w/workspace/gexfoundry_device-rest-go_PR-365/archives/cost.csv 20:35:37 + cut -d, -f6 [Pipeline] lock 20:35:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] 20:35:37 Resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] did not exist. Created. 20:35:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:35:37 + echo total: 0.4399999976158142 [Pipeline] stash 20:35:37 Stashed 1 file(s) [Pipeline] } 20:35:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:35:37 $ docker stop --time=1 5e9f8ba3c9f46b7ad9da7105a361be0d9e98e33fa5baf47e63045800f9b61358 20:35:39 $ docker rm -f --volumes 5e9f8ba3c9f46b7ad9da7105a361be0d9e98e33fa5baf47e63045800f9b61358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:35:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17090 in /w/workspace/gexfoundry_device-rest-go_PR-365 [Pipeline] { [Pipeline] ws 20:35:50 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:35:50 The recommended git tool is: git 20:36:02 using credential edgex-jenkins-ssh 20:36:02 Cloning the remote Git repository 20:36:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:36:02 > git init /w/workspace/device-rest-go/1 # timeout=10 20:36:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:36:02 > git --version # timeout=10 20:36:02 > git --version # 'git version 2.25.1' 20:36:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:36:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:06 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit b53cb1300769efc798f0f93f917b7b69793e0c1f 20:36:06 Merge succeeded, producing b53cb1300769efc798f0f93f917b7b69793e0c1f 20:36:06 Checking out Revision b53cb1300769efc798f0f93f917b7b69793e0c1f (PR-365) 20:36:07 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:36:07 > git --version # timeout=10 20:36:07 > git --version # 'git version 2.25.1' 20:36:07 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:36:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:36:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:36:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:36:06 > git config core.sparsecheckout # timeout=10 20:36:06 > git checkout -f b53cb1300769efc798f0f93f917b7b69793e0c1f # timeout=10 20:36:06 > git remote # timeout=10 20:36:06 > git config --get remote.origin.url # timeout=10 20:36:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:06 > git merge 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 20:36:06 > git rev-parse HEAD^{commit} # timeout=10 20:36:06 > git config core.sparsecheckout # timeout=10 20:36:06 > git checkout -f b53cb1300769efc798f0f93f917b7b69793e0c1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:36:08 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:08 Dload Upload Total Spent Left Speed 20:36:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 20:36:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:36:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:36:09 + sudo tee /etc/docker/daemon.new 20:36:09 { 20:36:09 "registry-mirrors": [ 20:36:09 "https://nexus3.edgexfoundry.org:10001" 20:36:09 ], 20:36:09 "bip": "10.250.0.254/24", 20:36:09 "hosts": [ 20:36:09 "tcp://0.0.0.0:5555", 20:36:09 "unix:///var/run/docker.sock" 20:36:09 ], 20:36:09 "mtu": 1458, 20:36:09 "selinux-enabled": true, 20:36:09 "seccomp-profile": "/etc/docker/seccomp.json" 20:36:09 } [Pipeline] sh 20:36:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:36:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:28 provisioning config files... 20:36:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config18000635812374568577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:28 ---> docker-login.sh 20:36:28 nexus3.edgexfoundry.org:10001 20:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:29 Configure a credential helper to remove this warning. See 20:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:29 20:36:29 Login Succeeded 20:36:29 nexus3.edgexfoundry.org:10002 20:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:30 Configure a credential helper to remove this warning. See 20:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:30 20:36:30 Login Succeeded 20:36:30 nexus3.edgexfoundry.org:10003 20:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:30 Configure a credential helper to remove this warning. See 20:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:30 20:36:30 Login Succeeded 20:36:30 nexus3.edgexfoundry.org:10004 20:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:30 Configure a credential helper to remove this warning. See 20:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:30 20:36:30 Login Succeeded 20:36:30 docker.io 20:36:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:31 Configure a credential helper to remove this warning. See 20:36:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:31 20:36:31 Login Succeeded 20:36:31 ---> docker-login.sh ends [Pipeline] } 20:36:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:36:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:36:31 ========================================================= 20:36:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:36:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:32 + 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:36:32 Sending build context to Docker daemon 125.4kB 20:36:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:36:32 Step 2/12 : FROM ${BASE} AS builder 20:36:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:36:32 9fda8d8052c6: Pulling fs layer 20:36:32 5d54e960e981: Pulling fs layer 20:36:32 c4a7e357bf2a: Pulling fs layer 20:36:32 f0e02332f6b5: Pulling fs layer 20:36:32 cefa15bbcfad: Pulling fs layer 20:36:32 17808c966233: Pulling fs layer 20:36:32 f4c1fc716caa: Pulling fs layer 20:36:32 f0e02332f6b5: Waiting 20:36:32 cefa15bbcfad: Waiting 20:36:32 17808c966233: Waiting 20:36:32 f4c1fc716caa: Waiting 20:36:32 5d54e960e981: Verifying Checksum 20:36:32 f0e02332f6b5: Verifying Checksum 20:36:32 f0e02332f6b5: Download complete 20:36:32 cefa15bbcfad: Download complete 20:36:33 f4c1fc716caa: Verifying Checksum 20:36:33 f4c1fc716caa: Download complete 20:36:33 9fda8d8052c6: Pull complete 20:36:34 5d54e960e981: Pull complete 20:36:34 c4a7e357bf2a: Verifying Checksum 20:36:34 c4a7e357bf2a: Download complete 20:36:35 17808c966233: Verifying Checksum 20:36:35 17808c966233: Download complete 20:36:48 c4a7e357bf2a: Pull complete 20:36:48 f0e02332f6b5: Pull complete 20:36:48 cefa15bbcfad: Pull complete 20:36:56 17808c966233: Pull complete 20:36:57 f4c1fc716caa: Pull complete 20:36:57 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:36:57 ---> ea914061e18c 20:36:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:36:58 ---> Running in 94e60048c9c8 20:36:59 Removing intermediate container 94e60048c9c8 20:36:59 ---> bbdc260ca581 20:36:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:59 ---> Running in 03d66dc5082e 20:36:59 Removing intermediate container 03d66dc5082e 20:36:59 ---> 02c9035f9aa2 20:36:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:36:59 ---> Running in 710dc0739975 20:36:59 Removing intermediate container 710dc0739975 20:36:59 ---> aa103167a1dd 20:36:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:36:59 ---> Running in c40dbadc5184 20:37:00 Removing intermediate container c40dbadc5184 20:37:00 ---> becfe7ee3737 20:37:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:00 ---> Running in 3217e2eb4896 20:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:37:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:37:02 (2/4) Installing libedit (20221030.3.1-r1) 20:37:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:37:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:37:02 Executing busybox-1.36.1-r2.trigger 20:37:02 OK: 270 MiB in 56 packages 20:37:03 Removing intermediate container 3217e2eb4896 20:37:03 ---> a3f240260704 20:37:03 Step 8/12 : WORKDIR /device-rest-go 20:37:03 ---> Running in 0206a5b6fd81 20:37:04 Removing intermediate container 0206a5b6fd81 20:37:04 ---> 145209ce6327 20:37:04 Step 9/12 : COPY go.mod vendor* ./ 20:37:04 ---> ebb65e592f7b 20:37:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:37:04 ---> Running in 065503373c48 20:38:26 Removing intermediate container 065503373c48 20:38:26 ---> e0d4ba06a828 20:38:26 Step 11/12 : COPY . . 20:38:26 ---> 08b1aa98865b 20:38:26 Step 12/12 : RUN $MAKE 20:38:26 ---> Running in 9b5a34d1365a 20:38:26 noop 20:38:26 Removing intermediate container 9b5a34d1365a 20:38:26 ---> e47ce2fe6258 20:38:26 Successfully built e47ce2fe6258 20:38:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:26 + docker inspect -f . ci-base-image-arm64 20:38:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:27 prd-ubuntu20.04-docker-arm64-4c-16g-17090 does not seem to be running inside a container 20:38:27 $ 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:38:28 $ docker top 5d2808bacc864b795846d075c99800891db8a150178928193fcf3e5aa66ac8b3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:29 + go version 20:38:29 go version go1.21.0 linux/arm64 [Pipeline] } 20:38:29 $ docker stop --time=1 5d2808bacc864b795846d075c99800891db8a150178928193fcf3e5aa66ac8b3 20:38:30 $ docker rm -f --volumes 5d2808bacc864b795846d075c99800891db8a150178928193fcf3e5aa66ac8b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:31 + docker inspect -f . ci-base-image-arm64 20:38:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:32 prd-ubuntu20.04-docker-arm64-4c-16g-17090 does not seem to be running inside a container 20:38:32 $ 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:38:35 $ docker top 26ea6d7339a4aedca7386cac949257c7830006f07023e540906935a9703276cb -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:36 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:38:36 + make test 20:38:37 go test ./... -coverprofile=coverage.out ./... 20:38:41 ? github.com/edgexfoundry/device-rest-go [no test files] 20:40:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:40:18 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 20:40:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:40:18 go vet ./... 20:40:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:40:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:40:28 ./bin/test-attribution-txt.sh [Pipeline] echo 20:40:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:40:28 $ docker stop --time=1 26ea6d7339a4aedca7386cac949257c7830006f07023e540906935a9703276cb 20:40:30 $ docker rm -f --volumes 26ea6d7339a4aedca7386cac949257c7830006f07023e540906935a9703276cb [Pipeline] // withDockerContainer [Pipeline] sh 20:40:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:40:31 Warning: overwriting stash ‘coverage-report’ 20:40:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:40:32 + ls -al . 20:40:32 total 172 20:40:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:38 . 20:40:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:36 .. 20:40:32 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 20:36 .dockerignore 20:40:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:36 .git 20:40:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:36 .github 20:40:32 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 20:36 .gitignore 20:40:32 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:36 .golangci.yml 20:40:32 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 20:36 Attribution.txt 20:40:32 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 20:36 CHANGELOG.md 20:40:32 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 20:36 Dockerfile 20:40:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:36 GOVERNANCE.md 20:40:32 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:36 Jenkinsfile 20:40:32 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:36 LICENSE 20:40:32 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 20:36 Makefile 20:40:32 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 20:36 OWNERS.md 20:40:32 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 20:36 README.md 20:40:32 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:33 VERSION 20:40:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:36 bin 20:40:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:36 cmd 20:40:32 -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 20:40 coverage.out 20:40:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:36 driver 20:40:32 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 20:36 go.mod 20:40:32 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 20:36 go.sum 20:40:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:36 openapi 20:40:32 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:33 + 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=b53cb1300769efc798f0f93f917b7b69793e0c1f --label arch=arm64 --label version=0.0.0 . 20:40:33 Sending build context to Docker daemon 140.8kB 20:40:33 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:40:33 Step 2/25 : FROM ${BASE} AS builder 20:40:33 ---> e47ce2fe6258 20:40:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:40:33 ---> Running in d234944ceb98 20:40:33 Removing intermediate container d234944ceb98 20:40:33 ---> 9c92e4434b7d 20:40:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:34 ---> Running in ca02c93d2753 20:40:34 Removing intermediate container ca02c93d2753 20:40:34 ---> bf002b735140 20:40:34 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:40:34 ---> Running in c451d1940dca 20:40:34 Removing intermediate container c451d1940dca 20:40:34 ---> ef473b1cc60b 20:40:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:40:34 ---> Running in d57d3a540416 20:40:35 Removing intermediate container d57d3a540416 20:40:35 ---> 847e1c40a3de 20:40:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:35 ---> Running in aa486466d5cc 20:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:40:37 OK: 270 MiB in 56 packages 20:40:38 Removing intermediate container aa486466d5cc 20:40:38 ---> 9579288ed5ab 20:40:38 Step 8/25 : WORKDIR /device-rest-go 20:40:38 ---> Running in 4f7c5ed4cd90 20:40:38 Removing intermediate container 4f7c5ed4cd90 20:40:38 ---> 4442f7d8de3a 20:40:38 Step 9/25 : COPY go.mod vendor* ./ 20:40:42 ---> 195ad0268d4c 20:40:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:42 ---> Running in 03eee6b40b36 20:40:44 Removing intermediate container 03eee6b40b36 20:40:44 ---> 5092cd4f03e3 20:40:44 Step 11/25 : COPY . . 20:40:44 ---> a166696f7aed 20:40:44 Step 12/25 : RUN $MAKE 20:40:44 ---> Running in c8d7cb72e6e2 20:40:45 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" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:42:37 Removing intermediate container c8d7cb72e6e2 20:42:37 ---> 1cecc750e897 20:42:37 Step 13/25 : FROM alpine:3.18 20:42:37 3.18: Pulling from library/alpine 20:42:37 579b34f0a95b: Pulling fs layer 20:42:37 579b34f0a95b: Verifying Checksum 20:42:37 579b34f0a95b: Download complete 20:42:37 579b34f0a95b: Pull complete 20:42:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:42:37 Status: Downloaded newer image for alpine:3.18 20:42:37 ---> 3cc203321400 20:42:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:42:37 ---> Running in 4363e0f9876a 20:42:37 Removing intermediate container 4363e0f9876a 20:42:37 ---> 6881063b8abb 20:42:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:42:37 ---> Running in 5b29110fe753 20:42:37 Removing intermediate container 5b29110fe753 20:42:37 ---> d92693afccce 20:42:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:42:37 ---> Running in afd9f4c7b74c 20:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:42:37 (1/1) Installing dumb-init (1.2.5-r2) 20:42:37 Executing busybox-1.36.1-r2.trigger 20:42:37 OK: 8 MiB in 16 packages 20:42:37 Removing intermediate container afd9f4c7b74c 20:42:37 ---> b14f13999cdc 20:42:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:42:37 ---> 549a23df577e 20:42:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:42:37 ---> 9b0ebd54f30a 20:42:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:42:37 ---> 5e670ddcd736 20:42:37 Step 20/25 : EXPOSE 59986 20:42:37 ---> Running in 25e8041ebfeb 20:42:37 Removing intermediate container 25e8041ebfeb 20:42:37 ---> 8fbe777f23c5 20:42:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:42:37 ---> Running in e5015f7862e1 20:42:37 Removing intermediate container e5015f7862e1 20:42:37 ---> 6caee452c968 20:42:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:42:37 ---> Running in ad4ff34c24a2 20:42:37 Removing intermediate container ad4ff34c24a2 20:42:37 ---> 282c62447120 20:42:37 Step 23/25 : LABEL arch=arm64 20:42:37 ---> Running in 3050e90272a8 20:42:37 Removing intermediate container 3050e90272a8 20:42:37 ---> 5bf2e276b87a 20:42:37 Step 24/25 : LABEL git_sha=b53cb1300769efc798f0f93f917b7b69793e0c1f 20:42:37 ---> Running in 74e60a3b99fb 20:42:37 Removing intermediate container 74e60a3b99fb 20:42:37 ---> 0c290dc15269 20:42:37 Step 25/25 : LABEL version=0.0.0 20:42:37 ---> Running in db3b1a40ef8c 20:42:37 Removing intermediate container db3b1a40ef8c 20:42:37 ---> b1a38197c818 20:42:37 [Warning] One or more build-args [ARCH] were not consumed 20:42:37 Successfully built b1a38197c818 20:42:37 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:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:38 20:42:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:38 arm64: Pulling from edgex-lftools-log-publisher 20:42:38 8998bd30e6a1: Pulling fs layer 20:42:38 04944245beec: Pulling fs layer 20:42:38 699f458cf7ca: Pulling fs layer 20:42:38 765212b225bb: Pulling fs layer 20:42:38 f23df028b6ca: Pulling fs layer 20:42:38 d65c8cfc05b1: Pulling fs layer 20:42:38 2437ff75d9bd: Pulling fs layer 20:42:38 765212b225bb: Waiting 20:42:38 f23df028b6ca: Waiting 20:42:38 d65c8cfc05b1: Waiting 20:42:39 04944245beec: Verifying Checksum 20:42:39 04944245beec: Download complete 20:42:39 765212b225bb: Verifying Checksum 20:42:39 765212b225bb: Download complete 20:42:39 f23df028b6ca: Verifying Checksum 20:42:39 f23df028b6ca: Download complete 20:42:39 d65c8cfc05b1: Verifying Checksum 20:42:39 d65c8cfc05b1: Download complete 20:42:39 699f458cf7ca: Verifying Checksum 20:42:39 699f458cf7ca: Download complete 20:42:39 8998bd30e6a1: Verifying Checksum 20:42:39 8998bd30e6a1: Download complete 20:42:42 2437ff75d9bd: Verifying Checksum 20:42:42 2437ff75d9bd: Download complete 20:42:44 8998bd30e6a1: Pull complete 20:42:44 04944245beec: Pull complete 20:42:48 699f458cf7ca: Pull complete 20:42:48 765212b225bb: Pull complete 20:42:48 f23df028b6ca: Pull complete 20:42:48 d65c8cfc05b1: Pull complete 20:43:06 2437ff75d9bd: Pull complete 20:43:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:43:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:07 prd-ubuntu20.04-docker-arm64-4c-16g-17090 does not seem to be running inside a container 20:43:07 $ 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:43:09 $ docker top 3ae515919229a6d583ae082abbb0d80b3995847368518cd655bcdc362d22d09d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:10 ---> job-cost.sh 20:43:10 lf-activate-venv: SKIPPING 20:43:10 INFO: No Stack... 20:43:11 INFO: Retrieving Pricing Info for: v3-standard-4 20:43:12 INFO: Archiving Costs [Pipeline] sh 20:43:13 + cut -d, -f6 20:43:13 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:43:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] 20:43:13 Resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] did not exist. Created. 20:43:13 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:13 /w/workspace/device-rest-go/1@tmp/durable-8f788be0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:43:14 + echo total: 0.10999999940395355 [Pipeline] stash 20:43:14 Warning: overwriting stash ‘stack-cost’ 20:43:14 Stashed 1 file(s) [Pipeline] } 20:43:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:43:14 $ docker stop --time=1 3ae515919229a6d583ae082abbb0d80b3995847368518cd655bcdc362d22d09d 20:43:15 $ docker rm -f --volumes 3ae515919229a6d583ae082abbb0d80b3995847368518cd655bcdc362d22d09d [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:43:16 provisioning config files... 20:43:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config4961015083373802305tmp [Pipeline] { [Pipeline] sh 20:43:17 + set +x 20:43:17 + bash -s -- 20:43:17 + curl -s https://codecov.io/bash 20:43:17 20:43:17 _____ _ 20:43:17 / ____| | | 20:43:17 | | ___ __| | ___ ___ _____ __ 20:43:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:43:17 | |___| (_) | (_| | __/ (_| (_) \ V / 20:43:17 \_____\___/ \__,_|\___|\___\___/ \_/ 20:43:17 Bash-1.0.6 20:43:17 20:43:17 20:43:17 ==> git version 2.25.1 found 20:43:17 ==> 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:43:17 Release-Date: 2020-01-08 20:43:17 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:43:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:43:17 ==> Jenkins CI detected. 20:43:17 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-365 20:43:17 project root: . 20:43:17 --> token set from env 20:43:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:43:17 ==> Running gcov in . (disable via -X gcov) 20:43:17 ==> Python coveragepy not found 20:43:17 ==> Searching for coverage reports in: 20:43:17 + . 20:43:17 -> Found 1 reports 20:43:17 ==> Detecting git/mercurial file structure 20:43:17 ==> Reading reports 20:43:17 + ./coverage.out bytes=14499 20:43:17 ==> Appending adjustments 20:43:17 https://docs.codecov.io/docs/fixing-reports 20:43:17 + Found adjustments 20:43:17 ==> Gzipping contents 20:43:17 4.0K /tmp/codecov.ZARVlf.gz 20:43:17 ==> Uploading reports 20:43:17 url: https://codecov.io 20:43:17 query: branch=PR-365&commit=b53cb1300769efc798f0f93f917b7b69793e0c1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=365&job=&cmd_args= 20:43:17 -> Pinging Codecov 20:43:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-365&commit=b53cb1300769efc798f0f93f917b7b69793e0c1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=365&job=&cmd_args= 20:43:17 -> Uploading to 20:43:17 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/4E5D53B4F1F92C436F7061BF334D961C/b53cb1300769efc798f0f93f917b7b69793e0c1f/37084410-e96e-4fc5-943b-e92d3c7b7e3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T204317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=320df6f0d18d9a86449218443747b932e70ae9da38d2cdd3559354eb11639730 20:43:17 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:17 Dload Upload Total Spent Left Speed 20:43:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 10179 --:--:-- --:--:-- --:--:-- 10179 20:43:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] } 20:43:17 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:43:19 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-365/archives ] 20:43:19 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-365/archives 20:43:19 total 16 20:43:19 drwxr-xr-x 3 root root 4096 Nov 8 20:35 . 20:43:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:35 .. 20:43:19 drwxr-xr-x 2 root root 4096 Nov 8 20:35 cost 20:43:19 -rw-r--r-- 1 root root 87 Nov 8 20:35 cost.csv 20:43:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-365/archives 20:43:19 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-365/archives 20:43:19 total 16 20:43:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:35 . 20:43:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:35 .. 20:43:19 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 20:35 cost 20:43:19 -rw-r--r-- 1 jenkins jenkins 87 Nov 8 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:43:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:43:20 ---> package-listing.sh 20:43:20 ++ facter osfamily 20:43:20 ++ tr '[:upper:]' '[:lower:]' 20:43:20 + OS_FAMILY=debian 20:43:20 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-365 20:43:20 + START_PACKAGES=/tmp/packages_start.txt 20:43:20 + END_PACKAGES=/tmp/packages_end.txt 20:43:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:43:20 + PACKAGES=/tmp/packages_start.txt 20:43:20 + '[' /w/workspace/gexfoundry_device-rest-go_PR-365 ']' 20:43:20 + PACKAGES=/tmp/packages_end.txt 20:43:20 + case "${OS_FAMILY}" in 20:43:20 + dpkg -l 20:43:20 + grep '^ii' 20:43:20 + '[' -f /tmp/packages_start.txt ']' 20:43:20 + '[' -f /tmp/packages_end.txt ']' 20:43:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:43:20 + '[' /w/workspace/gexfoundry_device-rest-go_PR-365 ']' 20:43:20 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-365/archives/ 20:43:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-365/archives/ [Pipeline] echo 20:43:21 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:43:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:22 prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container 20:43:22 $ 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-365/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-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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:43:22 $ docker top dc5fd4c5fd142c0b7499bbf4f05506a0c8f36cdb17a648b235d2863ec75c6d2b -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:22 + touch /tmp/pre-build-complete [Pipeline] sh 20:43:23 + mkdir -p /var/log/sysstat [Pipeline] sh 20:43:23 + ls /var/log/sa-host 20:43:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:23 provisioning config files... 20:43:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config1861783943758306522tmp [Pipeline] { [Pipeline] echo 20:43:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:43:23 ---> create-netrc.sh [Pipeline] } 20:43:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:43:24 ---> python-tools-install.sh [Pipeline] echo 20:43:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:43:24 ---> sudo-logs.sh 20:43:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:43:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:43:25 ---> job-cost.sh 20:43:25 lf-activate-venv: SKIPPING 20:43:25 DEBUG: total: 0.4399999976158142 20:43:25 INFO: Retrieving Stack Cost... 20:43:25 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:25 INFO: Archiving Costs [Pipeline] echo 20:43:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:43:26 ---> logs-deploy.sh 20:43:26 lf-activate-venv: SKIPPING 20:43:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-365/1 20:43:26 INFO: archiving workspace using pattern(s): 20:43:27 Archives upload complete. 20:43:27 INFO: archiving logs to Nexus