Pull request #316 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from c3ef6fd0f20712086d9baf3294a43e7204ba39be+ec2da75f3e3e567a377e035f33bd2cfaed15f48d (e0bcb24ded748f61f3e37df915f9ff469a74f008) 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-ssh16781325023015433394.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10437124838960685217.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-316/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-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8034478680495827735.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-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11401104025419651096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2795479108570181046.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-316/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-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7734638797554557077.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14980 in /w/workspace/gexfoundry_device-rest-go_PR-316 [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-316 # 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 Merging remotes/origin/main commit ec2da75f3e3e567a377e035f33bd2cfaed15f48d into PR head commit c3ef6fd0f20712086d9baf3294a43e7204ba39be Merge succeeded, producing c3ef6fd0f20712086d9baf3294a43e7204ba39be Checking out Revision c3ef6fd0f20712086d9baf3294a43e7204ba39be (PR-316) > 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/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # 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 ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # timeout=10 Commit message: "docs: Add main branch Warning" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:44:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:44:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:44:08 ========================================================= 22:44:08 EdgeX Global Pipelines Version Info 22:44:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:44:09 ------------------- 22:44:09 stable info: 22:44:09 ------------------- 22:44:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:09 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:44:09 Message: update stable to v1.0.249 22:44:10 ------------------- 22:44:10 experimental info: 22:44:10 ------------------- 22:44:10 Commited By: **** collab-it+edgex@linuxfoundation.org 22:44:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:44:10 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:44:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-316 [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-316 [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-316 [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3ef6fd [Pipeline] echo 22:44:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:11 provisioning config files... 22:44:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config13624386712736953448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:12 ---> docker-login.sh 22:44:12 nexus3.edgexfoundry.org:10001 22:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:12 Configure a credential helper to remove this warning. See 22:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:12 22:44:12 Login Succeeded 22:44:12 nexus3.edgexfoundry.org:10002 22:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:12 Configure a credential helper to remove this warning. See 22:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:12 22:44:12 Login Succeeded 22:44:12 nexus3.edgexfoundry.org:10003 22:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:12 Configure a credential helper to remove this warning. See 22:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:12 22:44:12 Login Succeeded 22:44:12 nexus3.edgexfoundry.org:10004 22:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:12 Configure a credential helper to remove this warning. See 22:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:12 22:44:12 Login Succeeded 22:44:12 docker.io 22:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:13 Configure a credential helper to remove this warning. See 22:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:13 22:44:13 Login Succeeded 22:44:13 ---> docker-login.sh ends [Pipeline] } 22:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:44:13 + git rev-list -1 --merges c3ef6fd0f20712086d9baf3294a43e7204ba39be~1..c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo 22:44:13 -----------> git rev-list -1 --merges c3ef6fd0f20712086d9baf3294a43e7204ba39be~1..c3ef6fd0f20712086d9baf3294a43e7204ba39be c3ef6fd0f20712086d9baf3294a43e7204ba39be [false] [Pipeline] sh 22:44:14 + git log --format=format:%s -1 c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo 22:44:14 ========================================================= 22:44:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:44:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:14 + git log --format=format:%s -1 c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo 22:44:14 [semverPrep] GIT_COMMIT: c3ef6fd0f20712086d9baf3294a43e7204ba39be, Commit Message: docs: Add main branch Warning [Pipeline] echo 22:44:14 [semverPrep] This is not a build commit. [Pipeline] sh 22:44:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:44:15 + grep -v github /etc/ssh/ssh_known_hosts 22:44:15 + [ -e /tmp/ssh_known_hosts ] 22:44:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:44:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:44:15 + sudo tee -a /etc/ssh/ssh_known_hosts 22:44:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:15 22:44:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:16 0.1.4: Pulling from edgex-devops/py-git-semver 22:44:16 b85a868b505f: Pulling fs layer 22:44:16 e2be974225ed: Pulling fs layer 22:44:16 339a4e72a1f5: Pulling fs layer 22:44:16 988bab9f4d93: Pulling fs layer 22:44:16 1469e6f7b9e6: Pulling fs layer 22:44:16 eaf3925da568: Pulling fs layer 22:44:16 bab4dde63d76: Pulling fs layer 22:44:16 bde34c3a00c8: Pulling fs layer 22:44:16 b352a97aabf1: Pulling fs layer 22:44:16 4872d77fe225: Pulling fs layer 22:44:16 5851b861e8e6: Pulling fs layer 22:44:16 1469e6f7b9e6: Waiting 22:44:16 eaf3925da568: Waiting 22:44:16 bab4dde63d76: Waiting 22:44:16 b352a97aabf1: Waiting 22:44:16 bde34c3a00c8: Waiting 22:44:16 5851b861e8e6: Waiting 22:44:16 988bab9f4d93: Waiting 22:44:16 4872d77fe225: Waiting 22:44:16 e2be974225ed: Verifying Checksum 22:44:16 e2be974225ed: Download complete 22:44:16 988bab9f4d93: Verifying Checksum 22:44:16 988bab9f4d93: Download complete 22:44:16 1469e6f7b9e6: Verifying Checksum 22:44:16 1469e6f7b9e6: Download complete 22:44:16 339a4e72a1f5: Verifying Checksum 22:44:16 339a4e72a1f5: Download complete 22:44:16 eaf3925da568: Verifying Checksum 22:44:16 eaf3925da568: Download complete 22:44:16 bde34c3a00c8: Verifying Checksum 22:44:16 bde34c3a00c8: Download complete 22:44:16 b352a97aabf1: Verifying Checksum 22:44:16 b352a97aabf1: Download complete 22:44:16 4872d77fe225: Verifying Checksum 22:44:16 4872d77fe225: Download complete 22:44:16 5851b861e8e6: Verifying Checksum 22:44:16 5851b861e8e6: Download complete 22:44:16 b85a868b505f: Verifying Checksum 22:44:16 b85a868b505f: Download complete 22:44:16 bab4dde63d76: Verifying Checksum 22:44:16 bab4dde63d76: Download complete 22:44:17 b85a868b505f: Pull complete 22:44:17 e2be974225ed: Pull complete 22:44:18 339a4e72a1f5: Pull complete 22:44:18 988bab9f4d93: Pull complete 22:44:18 1469e6f7b9e6: Pull complete 22:44:18 eaf3925da568: Pull complete 22:44:20 bab4dde63d76: Pull complete 22:44:20 bde34c3a00c8: Pull complete 22:44:20 b352a97aabf1: Pull complete 22:44:20 4872d77fe225: Pull complete 22:44:20 5851b861e8e6: Pull complete 22:44:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:20 prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container 22:44:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@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-devops/py-git-semver:0.1.4 cat 22:44:24 $ docker top 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d -eo pid,comm 22:44:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:44:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:24 [ssh-agent] Looking for ssh-agent implementation... 22:44:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:24 $ docker exec 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent 22:44:24 SSH_AUTH_SOCK=/tmp/ssh-kHAurnk9jStM/agent.32 22:44:24 SSH_AGENT_PID=38 22:44:24 Running ssh-add (command line suppressed) 22:44:24 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5333814789832395398.key (/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5333814789832395398.key) 22:44:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:25 + git tag --points-at HEAD [Pipeline] } 22:44:25 $ docker exec --env ******** --env ******** 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent -k 22:44:25 unset SSH_AUTH_SOCK; 22:44:25 unset SSH_AGENT_PID; 22:44:25 echo Agent pid 38 killed; 22:44:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:44:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:25 [ssh-agent] Looking for ssh-agent implementation... 22:44:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:25 $ docker exec 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent 22:44:25 SSH_AUTH_SOCK=/tmp/ssh-K6QLzRCGqYgW/agent.70 22:44:25 SSH_AGENT_PID=76 22:44:25 Running ssh-add (command line suppressed) 22:44:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5470146180469437005.key (/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5470146180469437005.key) 22:44:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:26 + git semver init 22:44:26 2023-05-10 22:44:26,345 [run_init] DEBUG init version:0.0.0 force:False 22:44:26 2023-05-10 22:44:26,346 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-316/.semver 22:44:26 2023-05-10 22:44:26,347 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-316/.semver 22:44:26 2023-05-10 22:44:26,347 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-316/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-316, universal_newlines=False, shell=None, istream=None) 22:44:27 2023-05-10 22:44:27,337 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-316/.git/info/exclude 22:44:27 2023-05-10 22:44:27,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-316/.semver/PR-316 with force:False 22:44:27 2023-05-10 22:44:27,337 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-316/.semver/PR-316 22:44:27 2023-05-10 22:44:27,341 [execute] INFO git cat-file --batch-check 22:44:27 2023-05-10 22:44:27,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 22:44:27 2023-05-10 22:44:27,347 [execute] INFO git cat-file --batch 22:44:27 2023-05-10 22:44:27,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 22:44:27 2023-05-10 22:44:27,352 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-316/.semver/PR-316 22:44:27 0.0.0 [Pipeline] } 22:44:27 $ docker exec --env ******** --env ******** 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent -k 22:44:27 unset SSH_AUTH_SOCK; 22:44:27 unset SSH_AGENT_PID; 22:44:27 echo Agent pid 76 killed; 22:44:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:27 + git semver [Pipeline] } 22:44:28 $ docker stop --time=1 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d 22:44:29 $ docker rm -f --volumes 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d [Pipeline] // withDockerContainer [Pipeline] sh 22:44:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:44:30 Stashed 1 file(s) [Pipeline] echo 22:44:30 [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 22:44:30 provisioning config files... 22:44:30 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config15427752344726453884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:31 ---> docker-login.sh 22:44:31 nexus3.edgexfoundry.org:10001 22:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:31 Configure a credential helper to remove this warning. See 22:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:31 22:44:31 Login Succeeded 22:44:31 nexus3.edgexfoundry.org:10002 22:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:31 Configure a credential helper to remove this warning. See 22:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:31 22:44:31 Login Succeeded 22:44:31 nexus3.edgexfoundry.org:10003 22:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:31 Configure a credential helper to remove this warning. See 22:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:31 22:44:31 Login Succeeded 22:44:31 nexus3.edgexfoundry.org:10004 22:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:31 Configure a credential helper to remove this warning. See 22:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:31 22:44:31 Login Succeeded 22:44:31 docker.io 22:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:31 Configure a credential helper to remove this warning. See 22:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:31 22:44:31 Login Succeeded 22:44:31 ---> docker-login.sh ends [Pipeline] } 22:44:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:32 ========================================================= 22:44:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:44:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:44:32 Sending build context to Docker daemon 10.92MB 22:44:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:44:32 Step 2/12 : FROM ${BASE} AS builder 22:44:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:32 f56be85fc22e: Pulling fs layer 22:44:32 85791d961cd3: Pulling fs layer 22:44:32 d694b5ae8c79: Pulling fs layer 22:44:32 9f32a84ed3da: Pulling fs layer 22:44:32 4d19c01a9841: Pulling fs layer 22:44:32 9325e15d5711: Pulling fs layer 22:44:32 556b6ee489ea: Pulling fs layer 22:44:32 c5a4b2cf53e6: Pulling fs layer 22:44:32 9f32a84ed3da: Waiting 22:44:32 4d19c01a9841: Waiting 22:44:32 9325e15d5711: Waiting 22:44:32 c5a4b2cf53e6: Waiting 22:44:32 556b6ee489ea: Waiting 22:44:32 85791d961cd3: Download complete 22:44:32 9f32a84ed3da: Download complete 22:44:32 4d19c01a9841: Download complete 22:44:32 f56be85fc22e: Verifying Checksum 22:44:32 f56be85fc22e: Download complete 22:44:32 9325e15d5711: Verifying Checksum 22:44:32 9325e15d5711: Download complete 22:44:32 f56be85fc22e: Pull complete 22:44:33 85791d961cd3: Pull complete 22:44:33 c5a4b2cf53e6: Verifying Checksum 22:44:33 c5a4b2cf53e6: Download complete 22:44:33 d694b5ae8c79: Verifying Checksum 22:44:33 d694b5ae8c79: Download complete 22:44:33 556b6ee489ea: Verifying Checksum 22:44:33 556b6ee489ea: Download complete 22:44:36 d694b5ae8c79: Pull complete 22:44:36 9f32a84ed3da: Pull complete 22:44:36 4d19c01a9841: Pull complete 22:44:36 9325e15d5711: Pull complete 22:44:39 556b6ee489ea: Pull complete 22:44:40 c5a4b2cf53e6: Pull complete 22:44:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:44:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:44:40 ---> c4be618373d6 22:44:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:44:45 ---> Running in 966450a61159 22:44:45 Removing intermediate container 966450a61159 22:44:45 ---> df2101e4b15c 22:44:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:44:45 ---> Running in e88799e75b76 22:44:45 Removing intermediate container e88799e75b76 22:44:45 ---> b3b316b1b09f 22:44:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:44:45 ---> Running in 827fc4e8e3c6 22:44:45 Removing intermediate container 827fc4e8e3c6 22:44:45 ---> 42de43ec855a 22:44:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:44:45 ---> Running in 17609b078b98 22:44:45 Removing intermediate container 17609b078b98 22:44:45 ---> f6a6bdac61c9 22:44:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:45 ---> Running in 790817c17930 22:44:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:44:45 Still waiting to schedule task 22:44:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:44:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:44:45 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:44:45 (2/4) Installing libedit (20221030.3.1-r0) 22:44:45 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:44:45 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:44:46 Executing busybox-1.35.0-r29.trigger 22:44:46 OK: 269 MiB in 57 packages 22:44:46 Removing intermediate container 790817c17930 22:44:46 ---> 9aee64cf2a39 22:44:46 Step 8/12 : WORKDIR /device-rest-go 22:44:46 ---> Running in 5b842421f45b 22:44:46 Removing intermediate container 5b842421f45b 22:44:46 ---> 5bbdaf42f98b 22:44:46 Step 9/12 : COPY go.mod vendor* ./ 22:44:46 ---> 3fe1e7a34fdf 22:44:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:46 ---> Running in 72ec072be5db 22:45:18 Removing intermediate container 72ec072be5db 22:45:18 ---> 2a2b5067ae11 22:45:18 Step 11/12 : COPY . . 22:45:18 ---> 67a06e64dc27 22:45:18 Step 12/12 : RUN $MAKE 22:45:18 ---> Running in 343852084d42 22:45:18 noop 22:45:18 Removing intermediate container 343852084d42 22:45:18 ---> 2008aa2fc0a8 22:45:18 Successfully built 2008aa2fc0a8 22:45:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:19 + docker inspect -f . ci-base-image-x86_64 22:45:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:19 prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container 22:45:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:19 $ docker top bf6d58844af28313b02e23df6a05c9e1f39592959aadef003fe5c9a4613c9591 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:20 + go version 22:45:20 go version go1.20.2 linux/amd64 [Pipeline] } 22:45:20 $ docker stop --time=1 bf6d58844af28313b02e23df6a05c9e1f39592959aadef003fe5c9a4613c9591 22:45:21 $ docker rm -f --volumes bf6d58844af28313b02e23df6a05c9e1f39592959aadef003fe5c9a4613c9591 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:22 + docker inspect -f . ci-base-image-x86_64 22:45:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:22 prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container 22:45:22 $ 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-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:22 $ docker top b207b79202ce53428f996416c0f9a8344f7d0c101a09386375c63e5b5856e17d -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-316 [Pipeline] fileExists [Pipeline] sh 22:45:23 + make test 22:45:23 go test ./... -coverprofile=coverage.out ./... 22:45:28 ? github.com/edgexfoundry/device-rest-go [no test files] 22:45:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:45:36 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements 22:45:42 go vet ./... 22:45:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:45:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:45:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:45:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:45:46 $ docker stop --time=1 b207b79202ce53428f996416c0f9a8344f7d0c101a09386375c63e5b5856e17d 22:45:49 $ docker rm -f --volumes b207b79202ce53428f996416c0f9a8344f7d0c101a09386375c63e5b5856e17d [Pipeline] // withDockerContainer [Pipeline] sh 22:45:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:45:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:45:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:45:51 + ls -al . 22:45:51 total 184 22:45:51 drwxrwxr-x 9 jenkins jenkins 4096 May 10 22:45 . 22:45:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:44 .. 22:45:51 -rw-rw-r-- 1 jenkins jenkins 151 May 10 22:44 .dockerignore 22:45:51 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:44 .git 22:45:51 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:44 .github 22:45:51 -rw-rw-r-- 1 jenkins jenkins 329 May 10 22:44 .gitignore 22:45:51 -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:44 .golangci.yml 22:45:51 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:44 .semver 22:45:51 -rw-rw-r-- 1 jenkins jenkins 9331 May 10 22:44 Attribution.txt 22:45:51 -rw-rw-r-- 1 jenkins jenkins 13085 May 10 22:44 CHANGELOG.md 22:45:51 -rw-rw-r-- 1 jenkins jenkins 1578 May 10 22:44 Dockerfile 22:45:51 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:44 GOVERNANCE.md 22:45:51 -rw-rw-r-- 1 jenkins jenkins 680 May 10 22:44 Jenkinsfile 22:45:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:44 LICENSE 22:45:51 -rw-rw-r-- 1 jenkins jenkins 1779 May 10 22:44 Makefile 22:45:51 -rw-rw-r-- 1 jenkins jenkins 620 May 10 22:44 OWNERS.md 22:45:51 -rw-rw-r-- 1 jenkins jenkins 15827 May 10 22:44 README.md 22:45:51 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:44 VERSION 22:45:51 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:44 bin 22:45:51 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:44 cmd 22:45:51 -rw-r--r-- 1 jenkins jenkins 14663 May 10 22:45 coverage.out 22:45:51 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:44 driver 22:45:51 -rw-rw-r-- 1 jenkins jenkins 3402 May 10 22:44 go.mod 22:45:51 -rw-rw-r-- 1 jenkins jenkins 31328 May 10 22:44 go.sum 22:45:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:44 snap 22:45:51 -rw-rw-r-- 1 jenkins jenkins 713 May 10 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:51 + 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=c3ef6fd0f20712086d9baf3294a43e7204ba39be --label arch=amd64 --label version=0.0.0 . 22:45:51 Sending build context to Docker daemon 10.94MB 22:45:51 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:45:51 Step 2/25 : FROM ${BASE} AS builder 22:45:51 ---> 2008aa2fc0a8 22:45:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:45:51 ---> Running in f2db08593663 22:45:51 Removing intermediate container f2db08593663 22:45:51 ---> 81440b15fb92 22:45:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:51 ---> Running in 549b7501ddb2 22:45:51 Removing intermediate container 549b7501ddb2 22:45:51 ---> 4339abd66ad5 22:45:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:45:51 ---> Running in b90f1d36dd51 22:45:52 Removing intermediate container b90f1d36dd51 22:45:52 ---> 074ecaf5f115 22:45:52 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:45:52 ---> Running in d132f70a9e0a 22:45:52 Removing intermediate container d132f70a9e0a 22:45:52 ---> 62d7abb91e41 22:45:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:52 ---> Running in 18966ddb7c23 22:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:45:52 OK: 269 MiB in 57 packages 22:45:53 Removing intermediate container 18966ddb7c23 22:45:53 ---> 676a0dd4129c 22:45:53 Step 8/25 : WORKDIR /device-rest-go 22:45:53 ---> Running in 28eac3bb5f19 22:45:53 Removing intermediate container 28eac3bb5f19 22:45:53 ---> 8701507bd71f 22:45:53 Step 9/25 : COPY go.mod vendor* ./ 22:45:53 ---> fb5531175881 22:45:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:53 ---> Running in cb71004436ed 22:45:54 Removing intermediate container cb71004436ed 22:45:54 ---> be90fe5ea06e 22:45:54 Step 11/25 : COPY . . 22:45:54 ---> e85610de4cf9 22:45:54 Step 12/25 : RUN $MAKE 22:45:54 ---> Running in 3aee0d457f2d 22:45:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:46:12 Removing intermediate container 3aee0d457f2d 22:46:12 ---> 8b1585e0ebed 22:46:12 Step 13/25 : FROM alpine:3.17 22:46:12 3.17: Pulling from library/alpine 22:46:12 f56be85fc22e: Already exists 22:46:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:46:13 Status: Downloaded newer image for alpine:3.17 22:46:13 ---> 9ed4aefc74f6 22:46:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:46:13 ---> Running in 7ccff0fe8eea 22:46:13 Removing intermediate container 7ccff0fe8eea 22:46:13 ---> 41de1415e034 22:46:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:46:13 ---> Running in 555eeca2113a 22:46:13 Removing intermediate container 555eeca2113a 22:46:13 ---> 152a58c07de4 22:46:13 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:46:13 ---> Running in d21dc5e433d9 22:46:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:46:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:46:13 (1/1) Installing dumb-init (1.2.5-r2) 22:46:13 Executing busybox-1.35.0-r29.trigger 22:46:13 OK: 7 MiB in 16 packages 22:46:14 Removing intermediate container d21dc5e433d9 22:46:14 ---> 6322fe2af7c5 22:46:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:46:15 ---> f638fab44412 22:46:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:46:15 ---> d8844e78bbd3 22:46:15 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:46:15 ---> 2f621f5148e5 22:46:15 Step 20/25 : EXPOSE 59986 22:46:15 ---> Running in 09bbf810a506 22:46:15 Removing intermediate container 09bbf810a506 22:46:15 ---> aee243cdc558 22:46:15 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:46:15 ---> Running in e50c4fca23af 22:46:15 Removing intermediate container e50c4fca23af 22:46:15 ---> 6eb0c7a26323 22:46:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:46:15 ---> Running in c98f459cca91 22:46:15 Removing intermediate container c98f459cca91 22:46:15 ---> b8587ffcec5c 22:46:15 Step 23/25 : LABEL arch=amd64 22:46:15 ---> Running in 9d0d58253304 22:46:15 Removing intermediate container 9d0d58253304 22:46:15 ---> 84d1383f3e7a 22:46:15 Step 24/25 : LABEL git_sha=c3ef6fd0f20712086d9baf3294a43e7204ba39be 22:46:15 ---> Running in 53375b5a0c8b 22:46:15 Removing intermediate container 53375b5a0c8b 22:46:15 ---> 3d56a80a22f9 22:46:15 Step 25/25 : LABEL version=0.0.0 22:46:15 ---> Running in 2849809451d4 22:46:15 Removing intermediate container 2849809451d4 22:46:15 ---> 4ccb0b801e82 22:46:15 [Warning] One or more build-args [ARCH] were not consumed 22:46:15 Successfully built 4ccb0b801e82 22:46:15 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 22:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:16 22:46:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:17 latest: Pulling from edgex-lftools-log-publisher 22:46:17 5eb5b503b376: Pulling fs layer 22:46:17 5c69ac0246d0: Pulling fs layer 22:46:17 ec43610c2a17: Pulling fs layer 22:46:17 3a2ae6a8a46f: Pulling fs layer 22:46:17 33b1e0a273af: Pulling fs layer 22:46:17 3a2ae6a8a46f: Waiting 22:46:17 5d3b04190fa2: Pulling fs layer 22:46:17 2f39f015ded8: Pulling fs layer 22:46:17 5d3b04190fa2: Waiting 22:46:17 2f39f015ded8: Waiting 22:46:17 33b1e0a273af: Waiting 22:46:17 5c69ac0246d0: Verifying Checksum 22:46:17 5c69ac0246d0: Download complete 22:46:17 3a2ae6a8a46f: Verifying Checksum 22:46:17 3a2ae6a8a46f: Download complete 22:46:17 33b1e0a273af: Verifying Checksum 22:46:17 33b1e0a273af: Download complete 22:46:17 ec43610c2a17: Verifying Checksum 22:46:17 ec43610c2a17: Download complete 22:46:17 5d3b04190fa2: Verifying Checksum 22:46:17 5d3b04190fa2: Download complete 22:46:17 5eb5b503b376: Verifying Checksum 22:46:17 5eb5b503b376: Download complete 22:46:17 2f39f015ded8: Verifying Checksum 22:46:17 2f39f015ded8: Download complete 22:46:18 5eb5b503b376: Pull complete 22:46:18 5c69ac0246d0: Pull complete 22:46:18 ec43610c2a17: Pull complete 22:46:18 3a2ae6a8a46f: Pull complete 22:46:18 33b1e0a273af: Pull complete 22:46:19 5d3b04190fa2: Pull complete 22:46:23 2f39f015ded8: Pull complete 22:46:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:23 prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container 22:46:23 $ 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-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:46:28 $ docker top 6d460fa8e21be768e898b4e71ff2ee3c0f877a1746da911ba71580e7cd0f3f22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:28 ---> job-cost.sh 22:46:28 lf-activate-venv: SKIPPING 22:46:28 INFO: No Stack... 22:46:29 INFO: Retrieving Pricing Info for: v3-standard-8 22:46:29 INFO: Archiving Costs [Pipeline] sh 22:46:29 + cat /w/workspace/gexfoundry_device-rest-go_PR-316/archives/cost.csv 22:46:29 + cut -d, -f6 [Pipeline] lock 22:46:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] 22:46:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] did not exist. Created. 22:46:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:30 + echo total: 0.2199999988079071 [Pipeline] stash 22:46:30 Stashed 1 file(s) [Pipeline] } 22:46:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:30 $ docker stop --time=1 6d460fa8e21be768e898b4e71ff2ee3c0f877a1746da911ba71580e7cd0f3f22 22:46:31 $ docker rm -f --volumes 6d460fa8e21be768e898b4e71ff2ee3c0f877a1746da911ba71580e7cd0f3f22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14981 in /w/workspace/gexfoundry_device-rest-go_PR-316 [Pipeline] { [Pipeline] ws 22:48:00 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:48:00 The recommended git tool is: git 22:48:07 using credential edgex-jenkins-ssh 22:48:07 Cloning the remote Git repository 22:48:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:48:07 > git init /w/workspace/device-rest-go/1 # timeout=10 22:48:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:48:08 > git --version # timeout=10 22:48:08 > git --version # 'git version 2.25.1' 22:48:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:48:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:12 Merging remotes/origin/main commit ec2da75f3e3e567a377e035f33bd2cfaed15f48d into PR head commit c3ef6fd0f20712086d9baf3294a43e7204ba39be 22:48:12 Merge succeeded, producing c3ef6fd0f20712086d9baf3294a43e7204ba39be 22:48:12 Checking out Revision c3ef6fd0f20712086d9baf3294a43e7204ba39be (PR-316) 22:48:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:48:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:48:12 > git config core.sparsecheckout # timeout=10 22:48:12 > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # timeout=10 22:48:12 > git remote # timeout=10 22:48:12 > git config --get remote.origin.url # timeout=10 22:48:12 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:12 > git merge ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 22:48:12 > git rev-parse HEAD^{commit} # timeout=10 22:48:12 > git config core.sparsecheckout # timeout=10 22:48:12 > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # timeout=10 22:48:16 Commit message: "docs: Add main branch Warning" 22:48:16 > git --version # timeout=10 22:48:16 > git --version # 'git version 2.25.1' 22:48:16 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:48:17 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:17 Dload Upload Total Spent Left Speed 22:48:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 22:48:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:48:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 22:48:18 sudo tee /etc/docker/daemon.new 22:48:18 { 22:48:18 "registry-mirrors": [ 22:48:18 "https://nexus3.edgexfoundry.org:10001" 22:48:18 ], 22:48:18 "bip": "10.250.0.254/24", 22:48:18 "hosts": [ 22:48:18 "tcp://0.0.0.0:5555", 22:48:18 "unix:///var/run/docker.sock" 22:48:18 ], 22:48:18 "mtu": 1458, 22:48:18 "selinux-enabled": true, 22:48:18 "seccomp-profile": "/etc/docker/seccomp.json" 22:48:18 } [Pipeline] sh 22:48:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:48:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:37 provisioning config files... 22:48:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2787322068658469953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:37 ---> docker-login.sh 22:48:37 nexus3.edgexfoundry.org:10001 22:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:38 Configure a credential helper to remove this warning. See 22:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:38 22:48:38 Login Succeeded 22:48:38 nexus3.edgexfoundry.org:10002 22:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:39 Configure a credential helper to remove this warning. See 22:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:39 22:48:39 Login Succeeded 22:48:39 nexus3.edgexfoundry.org:10003 22:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:39 Configure a credential helper to remove this warning. See 22:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:39 22:48:39 Login Succeeded 22:48:39 nexus3.edgexfoundry.org:10004 22:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:40 Configure a credential helper to remove this warning. See 22:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:40 22:48:40 Login Succeeded 22:48:40 docker.io 22:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:40 Configure a credential helper to remove this warning. See 22:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:40 22:48:40 Login Succeeded 22:48:40 ---> docker-login.sh ends [Pipeline] } 22:48:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:41 ========================================================= 22:48:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:48:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:48:41 Sending build context to Docker daemon 139.3kB 22:48:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:48:41 Step 2/12 : FROM ${BASE} AS builder 22:48:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:48:42 c41833b44d91: Pulling fs layer 22:48:42 ed15518f5707: Pulling fs layer 22:48:42 feae8fd75edb: Pulling fs layer 22:48:42 242c74f7c9fa: Pulling fs layer 22:48:42 3cdef696dda3: Pulling fs layer 22:48:42 2ced38df9373: Pulling fs layer 22:48:42 58f1dce35555: Pulling fs layer 22:48:42 3cdef696dda3: Waiting 22:48:42 2ced38df9373: Waiting 22:48:42 58f1dce35555: Waiting 22:48:42 242c74f7c9fa: Waiting 22:48:42 ed15518f5707: Verifying Checksum 22:48:42 ed15518f5707: Download complete 22:48:42 242c74f7c9fa: Verifying Checksum 22:48:42 242c74f7c9fa: Download complete 22:48:42 3cdef696dda3: Verifying Checksum 22:48:42 3cdef696dda3: Download complete 22:48:42 c41833b44d91: Verifying Checksum 22:48:43 c41833b44d91: Pull complete 22:48:43 58f1dce35555: Verifying Checksum 22:48:43 58f1dce35555: Download complete 22:48:43 ed15518f5707: Pull complete 22:48:44 feae8fd75edb: Verifying Checksum 22:48:44 feae8fd75edb: Download complete 22:48:44 2ced38df9373: Verifying Checksum 22:48:44 2ced38df9373: Download complete 22:48:57 feae8fd75edb: Pull complete 22:48:57 242c74f7c9fa: Pull complete 22:48:57 3cdef696dda3: Pull complete 22:49:02 2ced38df9373: Pull complete 22:49:04 58f1dce35555: Pull complete 22:49:04 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:49:04 ---> fadd8f120f05 22:49:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:49:06 ---> Running in b4d8d8661579 22:49:06 Removing intermediate container b4d8d8661579 22:49:06 ---> d2bda0890191 22:49:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:49:06 ---> Running in c460f3e07d89 22:49:07 Removing intermediate container c460f3e07d89 22:49:07 ---> 1ead75204b69 22:49:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:49:07 ---> Running in 1b7e4d0df3d7 22:49:07 Removing intermediate container 1b7e4d0df3d7 22:49:07 ---> 7b7a5a03c7ba 22:49:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:49:07 ---> Running in 99c62bc415b9 22:49:08 Removing intermediate container 99c62bc415b9 22:49:08 ---> 66932bbb979c 22:49:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:49:08 ---> Running in 23646aa8fb6e 22:49:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:49:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:49:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:49:11 (2/4) Installing libedit (20221030.3.1-r0) 22:49:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:49:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:49:11 Executing busybox-1.35.0-r29.trigger 22:49:11 OK: 268 MiB in 57 packages 22:49:12 Removing intermediate container 23646aa8fb6e 22:49:12 ---> e4b7ae0f101d 22:49:12 Step 8/12 : WORKDIR /device-rest-go 22:49:12 ---> Running in e00b67d9766c 22:49:13 Removing intermediate container e00b67d9766c 22:49:13 ---> ecf41aca5a4a 22:49:13 Step 9/12 : COPY go.mod vendor* ./ 22:49:13 ---> f1d5b30e1cb1 22:49:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:13 ---> Running in 3ca20361232f 22:50:21 Removing intermediate container 3ca20361232f 22:50:21 ---> b7bbb1e79a3a 22:50:21 Step 11/12 : COPY . . 22:50:21 ---> a036995d23d9 22:50:21 Step 12/12 : RUN $MAKE 22:50:21 ---> Running in 86208aaac0c2 22:50:21 noop 22:50:21 Removing intermediate container 86208aaac0c2 22:50:21 ---> 1a4cba660116 22:50:21 Successfully built 1a4cba660116 22:50:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:22 + docker inspect -f . ci-base-image-arm64 22:50:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:22 prd-ubuntu20.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container 22:50:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:50:23 $ docker top 5860c71108e33862ea059150ab948d5501d29d0acc40ab1415ea3e8a177ce628 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:24 + go version 22:50:24 go version go1.20.2 linux/arm64 [Pipeline] } 22:50:24 $ docker stop --time=1 5860c71108e33862ea059150ab948d5501d29d0acc40ab1415ea3e8a177ce628 22:50:26 $ docker rm -f --volumes 5860c71108e33862ea059150ab948d5501d29d0acc40ab1415ea3e8a177ce628 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:27 + docker inspect -f . ci-base-image-arm64 22:50:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:27 prd-ubuntu20.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container 22:50:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:50:28 $ docker top 789897f4637f9461cc95b8da0bd9ba3664fa5adf01da40c2b703bdde7363b237 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:29 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 22:50:30 + make test 22:50:30 go test ./... -coverprofile=coverage.out ./... 22:51:09 ? github.com/edgexfoundry/device-rest-go [no test files] 22:53:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:53:31 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 32.2% of statements 22:53:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:53:31 go vet ./... 22:53:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:53:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:53:57 ./bin/test-attribution-txt.sh [Pipeline] echo 22:53:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:53:58 $ docker stop --time=1 789897f4637f9461cc95b8da0bd9ba3664fa5adf01da40c2b703bdde7363b237 22:53:59 $ docker rm -f --volumes 789897f4637f9461cc95b8da0bd9ba3664fa5adf01da40c2b703bdde7363b237 [Pipeline] // withDockerContainer [Pipeline] sh 22:54:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:54:01 Warning: overwriting stash ‘coverage-report’ 22:54:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:54:02 + ls -al . 22:54:02 total 180 22:54:02 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:50 . 22:54:02 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:48 .. 22:54:02 -rw-rw-r-- 1 jenkins jenkins 151 May 10 22:48 .dockerignore 22:54:02 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:48 .git 22:54:02 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:48 .github 22:54:02 -rw-rw-r-- 1 jenkins jenkins 329 May 10 22:48 .gitignore 22:54:02 -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:48 .golangci.yml 22:54:02 -rw-rw-r-- 1 jenkins jenkins 9331 May 10 22:48 Attribution.txt 22:54:02 -rw-rw-r-- 1 jenkins jenkins 13085 May 10 22:48 CHANGELOG.md 22:54:02 -rw-rw-r-- 1 jenkins jenkins 1578 May 10 22:48 Dockerfile 22:54:02 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:48 GOVERNANCE.md 22:54:02 -rw-rw-r-- 1 jenkins jenkins 680 May 10 22:48 Jenkinsfile 22:54:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:48 LICENSE 22:54:02 -rw-rw-r-- 1 jenkins jenkins 1779 May 10 22:48 Makefile 22:54:02 -rw-rw-r-- 1 jenkins jenkins 620 May 10 22:48 OWNERS.md 22:54:02 -rw-rw-r-- 1 jenkins jenkins 15827 May 10 22:48 README.md 22:54:02 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:44 VERSION 22:54:02 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:48 bin 22:54:02 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:48 cmd 22:54:02 -rw-r--r-- 1 jenkins jenkins 14663 May 10 22:53 coverage.out 22:54:02 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:48 driver 22:54:02 -rw-rw-r-- 1 jenkins jenkins 3402 May 10 22:48 go.mod 22:54:02 -rw-rw-r-- 1 jenkins jenkins 31328 May 10 22:48 go.sum 22:54:02 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:48 snap 22:54:02 -rw-rw-r-- 1 jenkins jenkins 713 May 10 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:03 + 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=c3ef6fd0f20712086d9baf3294a43e7204ba39be --label arch=arm64 --label version=0.0.0 . 22:54:03 Sending build context to Docker daemon 154.6kB 22:54:03 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:54:03 Step 2/25 : FROM ${BASE} AS builder 22:54:03 ---> 1a4cba660116 22:54:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:54:03 ---> Running in 5cad1aa74121 22:54:03 Removing intermediate container 5cad1aa74121 22:54:03 ---> 0d3628318b26 22:54:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:54:03 ---> Running in 5e6d84a83821 22:54:04 Removing intermediate container 5e6d84a83821 22:54:04 ---> a07260e65cb3 22:54:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:54:04 ---> Running in 379b50c255e8 22:54:04 Removing intermediate container 379b50c255e8 22:54:04 ---> 0c9e93e79928 22:54:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:54:04 ---> Running in ac5ef19b67e9 22:54:05 Removing intermediate container ac5ef19b67e9 22:54:05 ---> 08a7cc376751 22:54:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:54:05 ---> Running in 98b52992b9ff 22:54:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:54:07 OK: 268 MiB in 57 packages 22:54:08 Removing intermediate container 98b52992b9ff 22:54:08 ---> 2f909d411b19 22:54:08 Step 8/25 : WORKDIR /device-rest-go 22:54:08 ---> Running in f91bab81980c 22:54:09 Removing intermediate container f91bab81980c 22:54:09 ---> 7a892cad4f12 22:54:09 Step 9/25 : COPY go.mod vendor* ./ 22:54:09 ---> 18613feaa970 22:54:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:54:09 ---> Running in b5dd0609442e 22:54:12 Removing intermediate container b5dd0609442e 22:54:12 ---> 9bcebb19e6b1 22:54:12 Step 11/25 : COPY . . 22:54:12 ---> 12b089406401 22:54:12 Step 12/25 : RUN $MAKE 22:54:12 ---> Running in 34d74dc15386 22:54:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:56:36 Removing intermediate container 34d74dc15386 22:56:36 ---> 078c9113425c 22:56:36 Step 13/25 : FROM alpine:3.17 22:56:36 3.17: Pulling from library/alpine 22:56:36 c41833b44d91: Already exists 22:56:36 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:56:36 Status: Downloaded newer image for alpine:3.17 22:56:36 ---> 51e60588ff2c 22:56:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:56:36 ---> Running in 708d853f8ca8 22:56:36 Removing intermediate container 708d853f8ca8 22:56:36 ---> 6cde355ec934 22:56:36 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:56:36 ---> Running in 09a0e0162493 22:56:36 Removing intermediate container 09a0e0162493 22:56:36 ---> 8caa23bde541 22:56:36 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:56:36 ---> Running in 11dd59e3ab41 22:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:56:36 (1/1) Installing dumb-init (1.2.5-r2) 22:56:36 Executing busybox-1.35.0-r29.trigger 22:56:36 OK: 8 MiB in 16 packages 22:56:36 Removing intermediate container 11dd59e3ab41 22:56:36 ---> 37211a2a625d 22:56:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:56:36 ---> 9a5838a8e2cb 22:56:36 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:56:37 ---> 1390eba07802 22:56:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:56:37 ---> 7ec0ab81fb9e 22:56:37 Step 20/25 : EXPOSE 59986 22:56:37 ---> Running in b8cc387e7ebf 22:56:38 Removing intermediate container b8cc387e7ebf 22:56:38 ---> a310d21c65c7 22:56:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:56:38 ---> Running in 6a7d3a517c8e 22:56:38 Removing intermediate container 6a7d3a517c8e 22:56:38 ---> f26914e37986 22:56:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:56:38 ---> Running in 7ec2eab4d9c9 22:56:38 Removing intermediate container 7ec2eab4d9c9 22:56:38 ---> 0d157440bf0d 22:56:38 Step 23/25 : LABEL arch=arm64 22:56:38 ---> Running in 08cd7560de91 22:56:39 Removing intermediate container 08cd7560de91 22:56:39 ---> 2a1b880d3c0b 22:56:39 Step 24/25 : LABEL git_sha=c3ef6fd0f20712086d9baf3294a43e7204ba39be 22:56:39 ---> Running in ea820aef2184 22:56:39 Removing intermediate container ea820aef2184 22:56:39 ---> 862ffd783a3d 22:56:39 Step 25/25 : LABEL version=0.0.0 22:56:39 ---> Running in 3ea3336b4508 22:56:39 Removing intermediate container 3ea3336b4508 22:56:39 ---> c72740e29921 22:56:39 [Warning] One or more build-args [ARCH] were not consumed 22:56:39 Successfully built c72740e29921 22:56:39 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 22:56:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:56:40 22:56:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:56:40 arm64: Pulling from edgex-lftools-log-publisher 22:56:40 8998bd30e6a1: Pulling fs layer 22:56:40 04944245beec: Pulling fs layer 22:56:40 699f458cf7ca: Pulling fs layer 22:56:40 765212b225bb: Pulling fs layer 22:56:40 f23df028b6ca: Pulling fs layer 22:56:40 d65c8cfc05b1: Pulling fs layer 22:56:40 2437ff75d9bd: Pulling fs layer 22:56:40 d65c8cfc05b1: Waiting 22:56:40 765212b225bb: Waiting 22:56:40 2437ff75d9bd: Waiting 22:56:40 f23df028b6ca: Waiting 22:56:41 04944245beec: Verifying Checksum 22:56:41 04944245beec: Download complete 22:56:41 765212b225bb: Verifying Checksum 22:56:41 765212b225bb: Download complete 22:56:41 f23df028b6ca: Download complete 22:56:41 d65c8cfc05b1: Verifying Checksum 22:56:41 d65c8cfc05b1: Download complete 22:56:41 699f458cf7ca: Verifying Checksum 22:56:41 699f458cf7ca: Download complete 22:56:41 8998bd30e6a1: Verifying Checksum 22:56:41 8998bd30e6a1: Download complete 22:56:44 2437ff75d9bd: Verifying Checksum 22:56:44 2437ff75d9bd: Download complete 22:56:45 8998bd30e6a1: Pull complete 22:56:46 04944245beec: Pull complete 22:56:47 699f458cf7ca: Pull complete 22:56:47 765212b225bb: Pull complete 22:56:48 f23df028b6ca: Pull complete 22:56:49 d65c8cfc05b1: Pull complete 22:57:04 2437ff75d9bd: Pull complete 22:57:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:57:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:04 prd-ubuntu20.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container 22:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:57:07 $ docker top a5999d88efbe6d481be3cc5f407797b9e8da43b6e46732d0549dd25a75f4f39c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:08 ---> job-cost.sh 22:57:08 lf-activate-venv: SKIPPING 22:57:08 INFO: No Stack... 22:57:08 INFO: Retrieving Pricing Info for: v3-standard-4 22:57:09 INFO: Archiving Costs [Pipeline] sh 22:57:10 + + cutcat -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 22:57:10 [Pipeline] lock 22:57:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] 22:57:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] did not exist. Created. 22:57:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:57:10 /w/workspace/device-rest-go/1@tmp/durable-cde44d59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:57:11 + echo total: 0.10999999940395355 [Pipeline] stash 22:57:11 Warning: overwriting stash ‘stack-cost’ 22:57:11 Stashed 1 file(s) [Pipeline] } 22:57:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:57:11 $ docker stop --time=1 a5999d88efbe6d481be3cc5f407797b9e8da43b6e46732d0549dd25a75f4f39c 22:57:14 $ docker rm -f --volumes a5999d88efbe6d481be3cc5f407797b9e8da43b6e46732d0549dd25a75f4f39c [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 22:57:15 provisioning config files... 22:57:15 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config14109697215359007769tmp [Pipeline] { [Pipeline] sh 22:57:15 + set +x 22:57:15 + curl -s https://codecov.io/bash 22:57:15 + bash -s -- 22:57:15 22:57:15 _____ _ 22:57:15 / ____| | | 22:57:15 | | ___ __| | ___ ___ _____ __ 22:57:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:57:15 | |___| (_) | (_| | __/ (_| (_) \ V / 22:57:15 \_____\___/ \__,_|\___|\___\___/ \_/ 22:57:15 Bash-1.0.6 22:57:15 22:57:15 22:57:15 ==> git version 2.25.1 found 22:57:15 ==> 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 22:57:15 Release-Date: 2020-01-08 22:57:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:57:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:57:15 ==> Jenkins CI detected. 22:57:15 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-316 22:57:15 project root: . 22:57:15 --> token set from env 22:57:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:57:15 ==> Running gcov in . (disable via -X gcov) 22:57:15 ==> Python coveragepy not found 22:57:15 ==> Searching for coverage reports in: 22:57:15 + . 22:57:15 -> Found 1 reports 22:57:15 ==> Detecting git/mercurial file structure 22:57:15 ==> Reading reports 22:57:15 + ./coverage.out bytes=14663 22:57:15 ==> Appending adjustments 22:57:15 https://docs.codecov.io/docs/fixing-reports 22:57:15 + Found adjustments 22:57:15 ==> Gzipping contents 22:57:15 4.0K /tmp/codecov.rd4PvA.gz 22:57:15 ==> Uploading reports 22:57:15 url: https://codecov.io 22:57:15 query: branch=PR-316&commit=c3ef6fd0f20712086d9baf3294a43e7204ba39be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=316&job=&cmd_args= 22:57:15 -> Pinging Codecov 22:57:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-316&commit=c3ef6fd0f20712086d9baf3294a43e7204ba39be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=316&job=&cmd_args= 22:57:15 -> Uploading to 22:57:15 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/4E5D53B4F1F92C436F7061BF334D961C/c3ef6fd0f20712086d9baf3294a43e7204ba39be/ac62fee2-7f5a-4e0f-a96a-f631ccda5694.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T225715Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7709dbd0f04c6678457fa0a6faa419c4e38eeefbbf7bba45b63548dbb405e028 22:57:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:57:15 Dload Upload Total Spent Left Speed 22:57:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12067 --:--:-- --:--:-- --:--:-- 12067 22:57:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] } 22:57:15 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 22:57:17 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-316/archives ] 22:57:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-316/archives 22:57:17 total 16 22:57:17 drwxr-xr-x 3 root root 4096 May 10 22:46 . 22:57:17 drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:46 .. 22:57:17 drwxr-xr-x 2 root root 4096 May 10 22:46 cost 22:57:17 -rw-r--r-- 1 root root 86 May 10 22:46 cost.csv 22:57:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-316/archives 22:57:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-316/archives 22:57:17 total 16 22:57:17 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:46 . 22:57:17 drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:46 .. 22:57:17 drwxr-xr-x 2 jenkins jenkins 4096 May 10 22:46 cost 22:57:17 -rw-r--r-- 1 jenkins jenkins 86 May 10 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:57:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:57:18 ---> package-listing.sh 22:57:18 ++ facter osfamily 22:57:18 ++ tr '[:upper:]' '[:lower:]' 22:57:19 + OS_FAMILY=debian 22:57:19 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-316 22:57:19 + START_PACKAGES=/tmp/packages_start.txt 22:57:19 + END_PACKAGES=/tmp/packages_end.txt 22:57:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:57:19 + PACKAGES=/tmp/packages_start.txt 22:57:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-316 ']' 22:57:19 + PACKAGES=/tmp/packages_end.txt 22:57:19 + case "${OS_FAMILY}" in 22:57:19 + dpkg -l 22:57:19 + grep '^ii' 22:57:19 + '[' -f /tmp/packages_start.txt ']' 22:57:19 + '[' -f /tmp/packages_end.txt ']' 22:57:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:57:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-316 ']' 22:57:19 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-316/archives/ 22:57:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-316/archives/ [Pipeline] echo 22:57:19 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-316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:57:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:20 prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container 22:57:20 $ 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-316/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-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:57:20 $ docker top 8f65489cf91291be33503e4b00d015f7d50672f25e8f5c50be87dca7773ee5f6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:20 + touch /tmp/pre-build-complete [Pipeline] sh 22:57:21 + mkdir -p /var/log/sysstat [Pipeline] sh 22:57:21 + ls /var/log/sa-host 22:57:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:21 provisioning config files... 22:57:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config17597616907891827475tmp [Pipeline] { [Pipeline] echo 22:57:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:57:22 ---> create-netrc.sh [Pipeline] } 22:57:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:57:22 ---> python-tools-install.sh [Pipeline] echo 22:57:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:57:22 ---> sudo-logs.sh 22:57:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:57:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:57:23 ---> job-cost.sh 22:57:23 lf-activate-venv: SKIPPING 22:57:23 DEBUG: total: 0.2199999988079071 22:57:23 INFO: Retrieving Stack Cost... 22:57:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:57:24 INFO: Archiving Costs [Pipeline] echo 22:57:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:57:24 ---> logs-deploy.sh 22:57:24 lf-activate-venv: SKIPPING 22:57:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-316/1 22:57:24 INFO: archiving workspace using pattern(s): 22:57:25 Archives upload complete. 22:57:25 INFO: archiving logs to Nexus