Pull request #304 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f853ae00f026d52e8b34b2f650b273d87d34550+2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 (aa60079bcf09d4f2362e39968c326481f5bf997a) 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-ssh3845014177437211338.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh5139316366124552056.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-304/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-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7993993871492673955.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-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11269088322463725301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh16178868307096874088.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-304/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-304/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8843066722540511922.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 ‘prd-ubuntu20.04-docker-8c-8g-12236’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12239 in /w/workspace/gexfoundry_device-rest-go_PR-304 [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-304 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 into PR head commit 5f853ae00f026d52e8b34b2f650b273d87d34550 Merge succeeded, producing 5f853ae00f026d52e8b34b2f650b273d87d34550 Checking out Revision 5f853ae00f026d52e8b34b2f650b273d87d34550 (PR-304) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5f853ae00f026d52e8b34b2f650b273d87d34550 # 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 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f853ae00f026d52e8b34b2f650b273d87d34550 # timeout=10 [Pipeline] withCredentials 20:58:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:57 ========================================================= 20:58:57 EdgeX Global Pipelines Version Info 20:58:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:58 ------------------- 20:58:58 stable info: 20:58:58 ------------------- 20:58:58 Commited By: Bill Mahoney bill.mahoney@intel.com 20:58:58 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:58:58 Message: update stable to v1.0.248 20:58:59 ------------------- 20:58:59 experimental info: 20:58:59 ------------------- 20:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:59 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:58:59 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-304 [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-304 [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-304 [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f853ae00f026d52e8b34b2f650b273d87d34550 [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f853ae [Pipeline] echo 20:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:00 provisioning config files... 20:59:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp/config12870731955686875581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:01 ---> docker-login.sh 20:59:01 nexus3.edgexfoundry.org:10001 20:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:01 Configure a credential helper to remove this warning. See 20:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:01 20:59:01 Login Succeeded 20:59:01 nexus3.edgexfoundry.org:10002 20:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:01 Configure a credential helper to remove this warning. See 20:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:01 20:59:01 Login Succeeded 20:59:01 nexus3.edgexfoundry.org:10003 20:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:02 Configure a credential helper to remove this warning. See 20:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:02 20:59:02 Login Succeeded 20:59:02 nexus3.edgexfoundry.org:10004 20:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:02 Configure a credential helper to remove this warning. See 20:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:02 20:59:02 Login Succeeded 20:59:02 docker.io 20:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:02 Configure a credential helper to remove this warning. See 20:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:02 20:59:02 Login Succeeded 20:59:02 ---> docker-login.sh ends [Pipeline] } 20:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:59:03 + git rev-list -1 --merges 5f853ae00f026d52e8b34b2f650b273d87d34550~1..5f853ae00f026d52e8b34b2f650b273d87d34550 [Pipeline] echo 20:59:03 -----------> git rev-list -1 --merges 5f853ae00f026d52e8b34b2f650b273d87d34550~1..5f853ae00f026d52e8b34b2f650b273d87d34550 5f853ae00f026d52e8b34b2f650b273d87d34550 [false] [Pipeline] sh 20:59:03 + git log --format=format:%s -1 5f853ae00f026d52e8b34b2f650b273d87d34550 [Pipeline] echo 20:59:03 ========================================================= 20:59:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:04 + git log --format=format:%s -1 5f853ae00f026d52e8b34b2f650b273d87d34550 [Pipeline] echo 20:59:04 [semverPrep] GIT_COMMIT: 5f853ae00f026d52e8b34b2f650b273d87d34550, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:59:04 [semverPrep] This is not a build commit. [Pipeline] sh 20:59:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:04 + grep -v github /etc/ssh/ssh_known_hosts 20:59:04 + [ -e /tmp/ssh_known_hosts ] 20:59:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:59:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:59:04 + sudo tee -a /etc/ssh/ssh_known_hosts 20:59:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:05 20:59:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:05 0.1.4: Pulling from edgex-devops/py-git-semver 20:59:05 b85a868b505f: Pulling fs layer 20:59:05 e2be974225ed: Pulling fs layer 20:59:05 339a4e72a1f5: Pulling fs layer 20:59:05 988bab9f4d93: Pulling fs layer 20:59:05 1469e6f7b9e6: Pulling fs layer 20:59:05 eaf3925da568: Pulling fs layer 20:59:05 988bab9f4d93: Waiting 20:59:05 bab4dde63d76: Pulling fs layer 20:59:05 bde34c3a00c8: Pulling fs layer 20:59:05 b352a97aabf1: Pulling fs layer 20:59:05 4872d77fe225: Pulling fs layer 20:59:05 eaf3925da568: Waiting 20:59:05 5851b861e8e6: Pulling fs layer 20:59:05 bab4dde63d76: Waiting 20:59:05 4872d77fe225: Waiting 20:59:05 1469e6f7b9e6: Waiting 20:59:05 5851b861e8e6: Waiting 20:59:05 b352a97aabf1: Waiting 20:59:05 e2be974225ed: Verifying Checksum 20:59:05 e2be974225ed: Download complete 20:59:05 988bab9f4d93: Verifying Checksum 20:59:05 988bab9f4d93: Download complete 20:59:05 1469e6f7b9e6: Verifying Checksum 20:59:05 1469e6f7b9e6: Download complete 20:59:05 eaf3925da568: Download complete 20:59:05 339a4e72a1f5: Verifying Checksum 20:59:05 339a4e72a1f5: Download complete 20:59:05 bde34c3a00c8: Download complete 20:59:05 b352a97aabf1: Download complete 20:59:05 4872d77fe225: Verifying Checksum 20:59:05 4872d77fe225: Download complete 20:59:05 5851b861e8e6: Verifying Checksum 20:59:05 5851b861e8e6: Download complete 20:59:05 b85a868b505f: Verifying Checksum 20:59:05 b85a868b505f: Download complete 20:59:06 bab4dde63d76: Verifying Checksum 20:59:06 bab4dde63d76: Download complete 20:59:06 b85a868b505f: Pull complete 20:59:07 e2be974225ed: Pull complete 20:59:07 339a4e72a1f5: Pull complete 20:59:07 988bab9f4d93: Pull complete 20:59:08 1469e6f7b9e6: Pull complete 20:59:08 eaf3925da568: Pull complete 20:59:10 bab4dde63d76: Pull complete 20:59:10 bde34c3a00c8: Pull complete 20:59:10 b352a97aabf1: Pull complete 20:59:10 4872d77fe225: Pull complete 20:59:10 5851b861e8e6: Pull complete 20:59:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:10 prd-ubuntu20.04-docker-8c-8g-12239 does not seem to be running inside a container 20:59:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-304 -v /w/workspace/gexfoundry_device-rest-go_PR-304:/w/workspace/gexfoundry_device-rest-go_PR-304:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-304@tmp:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:12 $ docker top 21e7a7b59084661269e10cb30671a8503cc65fd001f35b38613d8e80bb23a50b -eo pid,comm 20:59:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:59:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:12 [ssh-agent] Looking for ssh-agent implementation... 20:59:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:13 $ docker exec 21e7a7b59084661269e10cb30671a8503cc65fd001f35b38613d8e80bb23a50b ssh-agent 20:59:13 SSH_AUTH_SOCK=/tmp/ssh-M1qHbeJOXBbR/agent.33 20:59:13 SSH_AGENT_PID=39 20:59:13 Running ssh-add (command line suppressed) 20:59:13 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-304@tmp/private_key_10027300214096834731.key (/w/workspace/gexfoundry_device-rest-go_PR-304@tmp/private_key_10027300214096834731.key) 20:59:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:13 + git tag --points-at HEAD [Pipeline] } 20:59:13 $ docker exec --env ******** --env ******** 21e7a7b59084661269e10cb30671a8503cc65fd001f35b38613d8e80bb23a50b ssh-agent -k 20:59:13 unset SSH_AUTH_SOCK; 20:59:13 unset SSH_AGENT_PID; 20:59:13 echo Agent pid 39 killed; 20:59:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:13 [ssh-agent] Looking for ssh-agent implementation... 20:59:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:13 $ docker exec 21e7a7b59084661269e10cb30671a8503cc65fd001f35b38613d8e80bb23a50b ssh-agent 20:59:14 SSH_AUTH_SOCK=/tmp/ssh-H0QUfh6vUIdT/agent.71 20:59:14 SSH_AGENT_PID=77 20:59:14 Running ssh-add (command line suppressed) 20:59:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-304@tmp/private_key_2612635397359733420.key (/w/workspace/gexfoundry_device-rest-go_PR-304@tmp/private_key_2612635397359733420.key) 20:59:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:14 + git semver init 20:59:14 2023-05-01 20:59:14,660 [run_init] DEBUG init version:0.0.0 force:False 20:59:14 2023-05-01 20:59:14,661 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-304/.semver 20:59:14 2023-05-01 20:59:14,661 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-304/.semver 20:59:14 2023-05-01 20:59:14,662 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-304/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-304, universal_newlines=False, shell=None, istream=None) 20:59:15 2023-05-01 20:59:15,631 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-304/.git/info/exclude 20:59:15 2023-05-01 20:59:15,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-304/.semver/PR-304 with force:False 20:59:15 2023-05-01 20:59:15,632 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-304/.semver/PR-304 20:59:15 2023-05-01 20:59:15,636 [execute] INFO git cat-file --batch-check 20:59:15 2023-05-01 20:59:15,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-304/.semver, universal_newlines=False, shell=None, istream=) 20:59:15 2023-05-01 20:59:15,642 [execute] INFO git cat-file --batch 20:59:15 2023-05-01 20:59:15,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-304/.semver, universal_newlines=False, shell=None, istream=) 20:59:15 2023-05-01 20:59:15,646 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-304/.semver/PR-304 20:59:15 0.0.0 [Pipeline] } 20:59:15 $ docker exec --env ******** --env ******** 21e7a7b59084661269e10cb30671a8503cc65fd001f35b38613d8e80bb23a50b ssh-agent -k 20:59:15 unset SSH_AUTH_SOCK; 20:59:15 unset SSH_AGENT_PID; 20:59:15 echo Agent pid 77 killed; 20:59:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:16 + git semver [Pipeline] } 20:59:16 $ docker stop --time=1 21e7a7b59084661269e10cb30671a8503cc65fd001f35b38613d8e80bb23a50b 20:59:17 $ docker rm -f --volumes 21e7a7b59084661269e10cb30671a8503cc65fd001f35b38613d8e80bb23a50b [Pipeline] // withDockerContainer [Pipeline] sh 20:59:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:18 Stashed 1 file(s) [Pipeline] echo 20:59:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:19 provisioning config files... 20:59:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp/config991202168519455591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:19 ---> docker-login.sh 20:59:19 nexus3.edgexfoundry.org:10001 20:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:19 Configure a credential helper to remove this warning. See 20:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:19 20:59:19 Login Succeeded 20:59:19 nexus3.edgexfoundry.org:10002 20:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:19 Configure a credential helper to remove this warning. See 20:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:19 20:59:19 Login Succeeded 20:59:19 nexus3.edgexfoundry.org:10003 20:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:19 Configure a credential helper to remove this warning. See 20:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:19 20:59:19 Login Succeeded 20:59:19 nexus3.edgexfoundry.org:10004 20:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:19 Configure a credential helper to remove this warning. See 20:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:19 20:59:19 Login Succeeded 20:59:19 docker.io 20:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:20 Configure a credential helper to remove this warning. See 20:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:20 20:59:20 Login Succeeded 20:59:20 ---> docker-login.sh ends [Pipeline] } 20:59:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:20 ========================================================= 20:59:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:59:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:20 + 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 . 20:59:20 Sending build context to Docker daemon 10.9MB 20:59:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:59:20 Step 2/12 : FROM ${BASE} AS builder 20:59:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:20 f56be85fc22e: Pulling fs layer 20:59:20 85791d961cd3: Pulling fs layer 20:59:20 d694b5ae8c79: Pulling fs layer 20:59:20 9f32a84ed3da: Pulling fs layer 20:59:20 4d19c01a9841: Pulling fs layer 20:59:20 9325e15d5711: Pulling fs layer 20:59:20 556b6ee489ea: Pulling fs layer 20:59:20 c5a4b2cf53e6: Pulling fs layer 20:59:20 9f32a84ed3da: Waiting 20:59:20 4d19c01a9841: Waiting 20:59:20 9325e15d5711: Waiting 20:59:20 c5a4b2cf53e6: Waiting 20:59:20 556b6ee489ea: Waiting 20:59:20 85791d961cd3: Verifying Checksum 20:59:20 85791d961cd3: Download complete 20:59:21 9f32a84ed3da: Verifying Checksum 20:59:21 4d19c01a9841: Verifying Checksum 20:59:21 4d19c01a9841: Download complete 20:59:21 f56be85fc22e: Download complete 20:59:21 9325e15d5711: Verifying Checksum 20:59:21 9325e15d5711: Download complete 20:59:21 f56be85fc22e: Pull complete 20:59:21 85791d961cd3: Pull complete 20:59:21 c5a4b2cf53e6: Verifying Checksum 20:59:21 c5a4b2cf53e6: Download complete 20:59:21 d694b5ae8c79: Verifying Checksum 20:59:21 d694b5ae8c79: Download complete 20:59:21 556b6ee489ea: Verifying Checksum 20:59:21 556b6ee489ea: Download complete 20:59:25 d694b5ae8c79: Pull complete 20:59:25 9f32a84ed3da: Pull complete 20:59:25 4d19c01a9841: Pull complete 20:59:25 9325e15d5711: Pull complete 20:59:27 556b6ee489ea: Pull complete 20:59:28 c5a4b2cf53e6: Pull complete 20:59:28 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:59:28 ---> c4be618373d6 20:59:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:59:31 ---> Running in 5390d3dbca42 20:59:31 Removing intermediate container 5390d3dbca42 20:59:31 ---> c243b9fa3332 20:59:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:31 ---> Running in 0299dad6d964 20:59:31 Removing intermediate container 0299dad6d964 20:59:31 ---> f03287cae0b6 20:59:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:31 ---> Running in 0814ed069b02 20:59:31 Removing intermediate container 0814ed069b02 20:59:31 ---> 34e8c9199575 20:59:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:59:31 ---> Running in 94a0c2b725da 20:59:31 Removing intermediate container 94a0c2b725da 20:59:31 ---> 4c07976b2714 20:59:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:31 ---> Running in 3cf304570196 20:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:59:31 (2/4) Installing libedit (20221030.3.1-r0) 20:59:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:59:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:59:31 Executing busybox-1.35.0-r29.trigger 20:59:31 OK: 269 MiB in 57 packages 20:59:32 Removing intermediate container 3cf304570196 20:59:32 ---> 7009070a06da 20:59:32 Step 8/12 : WORKDIR /device-rest-go 20:59:32 ---> Running in 9c02d4d4f9a7 20:59:32 Removing intermediate container 9c02d4d4f9a7 20:59:32 ---> 5d05903e1cb8 20:59:32 Step 9/12 : COPY go.mod vendor* ./ 20:59:32 ---> 5636f234b161 20:59:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:32 ---> Running in 91d8f24448d4 20:59:33 Still waiting to schedule task 20:59:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:00:11 Removing intermediate container 91d8f24448d4 21:00:11 ---> 90138b2fc627 21:00:11 Step 11/12 : COPY . . 21:00:11 ---> f3a095b2d2e3 21:00:11 Step 12/12 : RUN $MAKE 21:00:11 ---> Running in f2a353b1184b 21:00:11 noop 21:00:11 Removing intermediate container f2a353b1184b 21:00:11 ---> baaebbd01758 21:00:11 Successfully built baaebbd01758 21:00:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:12 + docker inspect -f . ci-base-image-x86_64 21:00:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:12 prd-ubuntu20.04-docker-8c-8g-12239 does not seem to be running inside a container 21:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-304 -v /w/workspace/gexfoundry_device-rest-go_PR-304:/w/workspace/gexfoundry_device-rest-go_PR-304:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-304@tmp:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:12 $ docker top b165e7fc52c333807350c49b83433aed765ac2b9837dbf2ca4cd914947ba7b58 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:12 + go version 21:00:12 go version go1.20.2 linux/amd64 [Pipeline] } 21:00:12 $ docker stop --time=1 b165e7fc52c333807350c49b83433aed765ac2b9837dbf2ca4cd914947ba7b58 21:00:14 $ docker rm -f --volumes b165e7fc52c333807350c49b83433aed765ac2b9837dbf2ca4cd914947ba7b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:14 + docker inspect -f . ci-base-image-x86_64 21:00:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:15 prd-ubuntu20.04-docker-8c-8g-12239 does not seem to be running inside a container 21:00:15 $ 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-304 -v /w/workspace/gexfoundry_device-rest-go_PR-304:/w/workspace/gexfoundry_device-rest-go_PR-304:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-304@tmp:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:15 $ docker top 18391702ddef1277f99d57778716d9875653c3d87a4b83bd9044aa162aa119a9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-304 [Pipeline] fileExists [Pipeline] sh 21:00:16 + make test 21:00:16 go test ./... -coverprofile=coverage.out ./... 21:00:20 ? github.com/edgexfoundry/device-rest-go [no test files] 21:00:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:00:30 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 21:00:35 go vet ./... 21:00:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:38 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:39 $ docker stop --time=1 18391702ddef1277f99d57778716d9875653c3d87a4b83bd9044aa162aa119a9 21:00:42 $ docker rm -f --volumes 18391702ddef1277f99d57778716d9875653c3d87a4b83bd9044aa162aa119a9 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:44 + ls -al . 21:00:44 total 184 21:00:44 drwxrwxr-x 9 jenkins jenkins 4096 May 1 21:00 . 21:00:44 drwxrwxr-x 4 jenkins jenkins 4096 May 1 20:58 .. 21:00:44 -rw-rw-r-- 1 jenkins jenkins 151 May 1 20:58 .dockerignore 21:00:44 drwxrwxr-x 8 jenkins jenkins 4096 May 1 20:59 .git 21:00:44 drwxrwxr-x 3 jenkins jenkins 4096 May 1 20:58 .github 21:00:44 -rw-rw-r-- 1 jenkins jenkins 329 May 1 20:58 .gitignore 21:00:44 -rw-rw-r-- 1 jenkins jenkins 41 May 1 20:58 .golangci.yml 21:00:44 drwxr-xr-x 3 jenkins jenkins 4096 May 1 20:59 .semver 21:00:44 -rw-rw-r-- 1 jenkins jenkins 9331 May 1 20:58 Attribution.txt 21:00:44 -rw-rw-r-- 1 jenkins jenkins 13085 May 1 20:58 CHANGELOG.md 21:00:44 -rw-rw-r-- 1 jenkins jenkins 1578 May 1 20:58 Dockerfile 21:00:44 -rw-rw-r-- 1 jenkins jenkins 677 May 1 20:58 GOVERNANCE.md 21:00:44 -rw-rw-r-- 1 jenkins jenkins 680 May 1 20:58 Jenkinsfile 21:00:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 20:58 LICENSE 21:00:44 -rw-rw-r-- 1 jenkins jenkins 1779 May 1 20:58 Makefile 21:00:44 -rw-rw-r-- 1 jenkins jenkins 620 May 1 20:58 OWNERS.md 21:00:44 -rw-rw-r-- 1 jenkins jenkins 15321 May 1 20:58 README.md 21:00:44 -rw-rw-r-- 1 jenkins jenkins 5 May 1 20:59 VERSION 21:00:44 drwxrwxr-x 2 jenkins jenkins 4096 May 1 20:58 bin 21:00:44 drwxrwxr-x 3 jenkins jenkins 4096 May 1 20:58 cmd 21:00:44 -rw-r--r-- 1 jenkins jenkins 14663 May 1 21:00 coverage.out 21:00:44 drwxrwxr-x 2 jenkins jenkins 4096 May 1 20:58 driver 21:00:44 -rw-rw-r-- 1 jenkins jenkins 3402 May 1 20:58 go.mod 21:00:44 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 20:58 go.sum 21:00:44 drwxrwxr-x 4 jenkins jenkins 4096 May 1 20:58 snap 21:00:44 -rw-rw-r-- 1 jenkins jenkins 713 May 1 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:44 + 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=5f853ae00f026d52e8b34b2f650b273d87d34550 --label arch=amd64 --label version=0.0.0 . 21:00:44 Sending build context to Docker daemon 10.92MB 21:00:44 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:00:44 Step 2/25 : FROM ${BASE} AS builder 21:00:44 ---> baaebbd01758 21:00:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:00:44 ---> Running in 728826a408df 21:00:44 Removing intermediate container 728826a408df 21:00:44 ---> b3d88dfcf280 21:00:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:44 ---> Running in 7d89613398f9 21:00:44 Removing intermediate container 7d89613398f9 21:00:44 ---> 36ff8ac3fa00 21:00:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:44 ---> Running in 04d593433616 21:00:45 Removing intermediate container 04d593433616 21:00:45 ---> dce9c0488a59 21:00:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:00:45 ---> Running in ed3e5ff510d6 21:00:45 Removing intermediate container ed3e5ff510d6 21:00:45 ---> d066e47e0403 21:00:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:45 ---> Running in 6afcb1047275 21:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:45 OK: 269 MiB in 57 packages 21:00:46 Removing intermediate container 6afcb1047275 21:00:46 ---> e7bbddc7b133 21:00:46 Step 8/25 : WORKDIR /device-rest-go 21:00:46 ---> Running in 486e1e57fde2 21:00:46 Removing intermediate container 486e1e57fde2 21:00:46 ---> 8e53b73af786 21:00:46 Step 9/25 : COPY go.mod vendor* ./ 21:00:46 ---> 358ab4dc8efa 21:00:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:46 ---> Running in 9097a7ec5a23 21:00:46 Removing intermediate container 9097a7ec5a23 21:00:46 ---> 9094c34131be 21:00:46 Step 11/25 : COPY . . 21:00:47 ---> 68bed7fef1d3 21:00:47 Step 12/25 : RUN $MAKE 21:00:47 ---> Running in 8a72ea566c97 21:00:47 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 21:01:05 Removing intermediate container 8a72ea566c97 21:01:05 ---> 7712266f3390 21:01:05 Step 13/25 : FROM alpine:3.17 21:01:05 3.17: Pulling from library/alpine 21:01:05 f56be85fc22e: Already exists 21:01:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:01:06 Status: Downloaded newer image for alpine:3.17 21:01:06 ---> 9ed4aefc74f6 21:01:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:01:06 ---> Running in 57ae0aab1ddb 21:01:06 Removing intermediate container 57ae0aab1ddb 21:01:06 ---> 1600147147e4 21:01:06 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:01:06 ---> Running in ead8f3d646f6 21:01:06 Removing intermediate container ead8f3d646f6 21:01:06 ---> 751be0b8438b 21:01:06 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:01:06 ---> Running in 094830cb845e 21:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:07 (1/1) Installing dumb-init (1.2.5-r2) 21:01:07 Executing busybox-1.35.0-r29.trigger 21:01:07 OK: 7 MiB in 16 packages 21:01:07 Removing intermediate container 094830cb845e 21:01:07 ---> 731a208d5172 21:01:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:01:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12240 in /w/workspace/gexfoundry_device-rest-go_PR-304 [Pipeline] { [Pipeline] ws 21:01:08 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:01:08 The recommended git tool is: git 21:01:08 ---> 92bc054359a1 21:01:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:01:08 ---> 86f430dbf455 21:01:08 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:01:08 ---> db9ee68c1d60 21:01:08 Step 20/25 : EXPOSE 59986 21:01:08 ---> Running in 345af9a211b6 21:01:08 Removing intermediate container 345af9a211b6 21:01:08 ---> 4c9cb95d37db 21:01:08 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:01:08 ---> Running in e9d177c0cfc7 21:01:08 Removing intermediate container e9d177c0cfc7 21:01:08 ---> aa58a597b6b9 21:01:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:01:09 ---> Running in 8e4319733301 21:01:09 Removing intermediate container 8e4319733301 21:01:09 ---> 3450d1d10755 21:01:09 Step 23/25 : LABEL arch=amd64 21:01:09 ---> Running in 32e6cd2e8170 21:01:09 Removing intermediate container 32e6cd2e8170 21:01:09 ---> 74f9d064e39c 21:01:09 Step 24/25 : LABEL git_sha=5f853ae00f026d52e8b34b2f650b273d87d34550 21:01:09 ---> Running in 81d8f6150441 21:01:09 Removing intermediate container 81d8f6150441 21:01:09 ---> 5344b4fa5137 21:01:09 Step 25/25 : LABEL version=0.0.0 21:01:09 ---> Running in e107b36e4744 21:01:09 Removing intermediate container e107b36e4744 21:01:09 ---> 43e476faaa20 21:01:09 [Warning] One or more build-args [ARCH] were not consumed 21:01:09 Successfully built 43e476faaa20 21:01:09 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 21:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:10 21:01:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:10 latest: Pulling from edgex-lftools-log-publisher 21:01:10 5eb5b503b376: Pulling fs layer 21:01:10 5c69ac0246d0: Pulling fs layer 21:01:10 ec43610c2a17: Pulling fs layer 21:01:10 3a2ae6a8a46f: Pulling fs layer 21:01:10 33b1e0a273af: Pulling fs layer 21:01:10 5d3b04190fa2: Pulling fs layer 21:01:10 2f39f015ded8: Pulling fs layer 21:01:10 3a2ae6a8a46f: Waiting 21:01:10 2f39f015ded8: Waiting 21:01:10 33b1e0a273af: Waiting 21:01:10 5d3b04190fa2: Waiting 21:01:10 5c69ac0246d0: Download complete 21:01:10 3a2ae6a8a46f: Verifying Checksum 21:01:10 3a2ae6a8a46f: Download complete 21:01:10 33b1e0a273af: Verifying Checksum 21:01:10 33b1e0a273af: Download complete 21:01:10 ec43610c2a17: Verifying Checksum 21:01:10 ec43610c2a17: Download complete 21:01:10 5d3b04190fa2: Download complete 21:01:10 5eb5b503b376: Download complete 21:01:11 2f39f015ded8: Verifying Checksum 21:01:11 2f39f015ded8: Download complete 21:01:11 5eb5b503b376: Pull complete 21:01:11 5c69ac0246d0: Pull complete 21:01:12 ec43610c2a17: Pull complete 21:01:12 3a2ae6a8a46f: Pull complete 21:01:12 33b1e0a273af: Pull complete 21:01:13 5d3b04190fa2: Pull complete 21:01:13 using credential edgex-jenkins-ssh 21:01:13 Cloning the remote Git repository 21:01:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:01:13 > git init /w/workspace/device-rest-go/1 # timeout=10 21:01:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:14 > git --version # timeout=10 21:01:14 > git --version # 'git version 2.25.1' 21:01:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:17 2f39f015ded8: Pull complete 21:01:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:17 prd-ubuntu20.04-docker-8c-8g-12239 does not seem to be running inside a container 21:01:17 $ 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-304 -v /w/workspace/gexfoundry_device-rest-go_PR-304:/w/workspace/gexfoundry_device-rest-go_PR-304:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-304@tmp:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:01:21 $ docker top bc16c5c8f4936388b28a82e567ae017100497e978246d581b423f8b3ec8ec197 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:21 ---> job-cost.sh 21:01:21 lf-activate-venv: SKIPPING 21:01:21 INFO: No Stack... 21:01:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:22 INFO: Archiving Costs [Pipeline] sh 21:01:22 + cat /w/workspace/gexfoundry_device-rest-go_PR-304/archives/cost.csv 21:01:22 + cut -d, -f6 [Pipeline] lock 21:01:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] 21:01:22 Resource [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] did not exist. Created. 21:01:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:23 + echo total: 0.2199999988079071 [Pipeline] stash 21:01:23 Stashed 1 file(s) [Pipeline] } 21:01:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:23 $ docker stop --time=1 bc16c5c8f4936388b28a82e567ae017100497e978246d581b423f8b3ec8ec197 21:01:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:24 Merging remotes/origin/main commit 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 into PR head commit 5f853ae00f026d52e8b34b2f650b273d87d34550 21:01:24 $ docker rm -f --volumes bc16c5c8f4936388b28a82e567ae017100497e978246d581b423f8b3ec8ec197 [Pipeline] // withDockerContainer [Pipeline] } 21:01:24 Merge succeeded, producing 5f853ae00f026d52e8b34b2f650b273d87d34550 21:01:24 Checking out Revision 5f853ae00f026d52e8b34b2f650b273d87d34550 (PR-304) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:01:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:23 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:01:24 > git config core.sparsecheckout # timeout=10 21:01:24 > git checkout -f 5f853ae00f026d52e8b34b2f650b273d87d34550 # timeout=10 21:01:24 > git remote # timeout=10 21:01:24 > git config --get remote.origin.url # timeout=10 21:01:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:24 > git merge 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 # timeout=10 21:01:24 > git rev-parse HEAD^{commit} # timeout=10 21:01:24 > git config core.sparsecheckout # timeout=10 21:01:24 > git checkout -f 5f853ae00f026d52e8b34b2f650b273d87d34550 # timeout=10 21:01:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:01:25 > git --version # timeout=10 21:01:25 > git --version # 'git version 2.25.1' 21:01:25 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:26 Dload Upload Total Spent Left Speed 21:01:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 21:01:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:27 + sudo tee /etc/docker/daemon.new 21:01:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:27 { 21:01:27 "registry-mirrors": [ 21:01:27 "https://nexus3.edgexfoundry.org:10001" 21:01:27 ], 21:01:27 "bip": "10.250.0.254/24", 21:01:27 "hosts": [ 21:01:27 "tcp://0.0.0.0:5555", 21:01:27 "unix:///var/run/docker.sock" 21:01:27 ], 21:01:27 "mtu": 1458, 21:01:27 "selinux-enabled": true, 21:01:27 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:27 } [Pipeline] sh 21:01:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:46 provisioning config files... 21:01:46 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10908553099259084764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:46 ---> docker-login.sh 21:01:46 nexus3.edgexfoundry.org:10001 21:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:47 Configure a credential helper to remove this warning. See 21:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:47 21:01:47 Login Succeeded 21:01:47 nexus3.edgexfoundry.org:10002 21:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:47 Configure a credential helper to remove this warning. See 21:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:47 21:01:47 Login Succeeded 21:01:47 nexus3.edgexfoundry.org:10003 21:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:48 Configure a credential helper to remove this warning. See 21:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:48 21:01:48 Login Succeeded 21:01:48 nexus3.edgexfoundry.org:10004 21:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:48 Configure a credential helper to remove this warning. See 21:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:48 21:01:48 Login Succeeded 21:01:48 docker.io 21:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:49 Configure a credential helper to remove this warning. See 21:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:49 21:01:49 Login Succeeded 21:01:49 ---> docker-login.sh ends [Pipeline] } 21:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:49 ========================================================= 21:01:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:01:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:50 + 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 . 21:01:50 Sending build context to Docker daemon 138.8kB 21:01:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:01:50 Step 2/12 : FROM ${BASE} AS builder 21:01:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:50 c41833b44d91: Pulling fs layer 21:01:50 ed15518f5707: Pulling fs layer 21:01:50 feae8fd75edb: Pulling fs layer 21:01:50 242c74f7c9fa: Pulling fs layer 21:01:50 3cdef696dda3: Pulling fs layer 21:01:50 2ced38df9373: Pulling fs layer 21:01:50 58f1dce35555: Pulling fs layer 21:01:50 242c74f7c9fa: Waiting 21:01:50 3cdef696dda3: Waiting 21:01:50 2ced38df9373: Waiting 21:01:50 58f1dce35555: Waiting 21:01:50 ed15518f5707: Verifying Checksum 21:01:50 ed15518f5707: Download complete 21:01:50 242c74f7c9fa: Verifying Checksum 21:01:50 242c74f7c9fa: Download complete 21:01:50 3cdef696dda3: Download complete 21:01:50 c41833b44d91: Verifying Checksum 21:01:50 c41833b44d91: Download complete 21:01:51 c41833b44d91: Pull complete 21:01:51 58f1dce35555: Verifying Checksum 21:01:51 58f1dce35555: Download complete 21:01:52 ed15518f5707: Pull complete 21:01:53 feae8fd75edb: Verifying Checksum 21:01:53 feae8fd75edb: Download complete 21:01:53 2ced38df9373: Verifying Checksum 21:01:53 2ced38df9373: Download complete 21:02:05 feae8fd75edb: Pull complete 21:02:05 242c74f7c9fa: Pull complete 21:02:05 3cdef696dda3: Pull complete 21:02:12 2ced38df9373: Pull complete 21:02:14 58f1dce35555: Pull complete 21:02:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:02:14 ---> fadd8f120f05 21:02:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:02:16 ---> Running in abb17015c346 21:02:16 Removing intermediate container abb17015c346 21:02:16 ---> dd6464673bb5 21:02:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:16 ---> Running in fb58d86f3057 21:02:16 Removing intermediate container fb58d86f3057 21:02:16 ---> e7d43c617881 21:02:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:16 ---> Running in 42c8e16c5ac0 21:02:16 Removing intermediate container 42c8e16c5ac0 21:02:16 ---> 7bec59bb4908 21:02:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:02:16 ---> Running in c90e6494b720 21:02:17 Removing intermediate container c90e6494b720 21:02:17 ---> d0ff5c376f4a 21:02:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:17 ---> Running in 1002bbe43986 21:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:02:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:02:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:02:20 (2/4) Installing libedit (20221030.3.1-r0) 21:02:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:02:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:02:20 Executing busybox-1.35.0-r29.trigger 21:02:20 OK: 268 MiB in 57 packages 21:02:21 Removing intermediate container 1002bbe43986 21:02:21 ---> 52d826b45f90 21:02:21 Step 8/12 : WORKDIR /device-rest-go 21:02:21 ---> Running in c026db6dea08 21:02:21 Removing intermediate container c026db6dea08 21:02:21 ---> b99d76dbbbfc 21:02:21 Step 9/12 : COPY go.mod vendor* ./ 21:02:25 ---> 700ebcfd64aa 21:02:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:25 ---> Running in ec5018c009a4 21:03:33 Removing intermediate container ec5018c009a4 21:03:33 ---> da37d971efcb 21:03:33 Step 11/12 : COPY . . 21:03:33 ---> a8a1e1fce5a3 21:03:33 Step 12/12 : RUN $MAKE 21:03:33 ---> Running in 45537efa44d4 21:03:33 noop 21:03:33 Removing intermediate container 45537efa44d4 21:03:33 ---> 3d80d68ddb1a 21:03:33 Successfully built 3d80d68ddb1a 21:03:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:34 + docker inspect -f . ci-base-image-arm64 21:03:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:34 prd-ubuntu20.04-docker-arm64-4c-16g-12240 does not seem to be running inside a container 21:03:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:35 $ docker top e01dabfef3509f78cc84a313bb998b386f014fb14124793fdfb7346d485fcca0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:36 + go version 21:03:36 go version go1.20.2 linux/arm64 [Pipeline] } 21:03:36 $ docker stop --time=1 e01dabfef3509f78cc84a313bb998b386f014fb14124793fdfb7346d485fcca0 21:03:38 $ docker rm -f --volumes e01dabfef3509f78cc84a313bb998b386f014fb14124793fdfb7346d485fcca0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:38 + docker inspect -f . ci-base-image-arm64 21:03:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:39 prd-ubuntu20.04-docker-arm64-4c-16g-12240 does not seem to be running inside a container 21:03:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:40 $ docker top 2a20e83cb6e8c1813f62258989e1b478d35a7c1720c8069af31a797dc6f12b9a -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:41 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:03:41 + make test 21:03:41 go test ./... -coverprofile=coverage.out ./... 21:04:14 ? github.com/edgexfoundry/device-rest-go [no test files] 21:06:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:06:09 ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 32.2% of statements 21:06:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:06:09 go vet ./... 21:06:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:48 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:48 $ docker stop --time=1 2a20e83cb6e8c1813f62258989e1b478d35a7c1720c8069af31a797dc6f12b9a 21:06:52 $ docker rm -f --volumes 2a20e83cb6e8c1813f62258989e1b478d35a7c1720c8069af31a797dc6f12b9a [Pipeline] // withDockerContainer [Pipeline] sh 21:06:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:53 Warning: overwriting stash ‘coverage-report’ 21:06:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:54 + ls -al . 21:06:54 total 180 21:06:54 drwxrwxr-x 8 jenkins jenkins 4096 May 1 21:03 . 21:06:54 drwxrwxr-x 4 jenkins jenkins 4096 May 1 21:01 .. 21:06:54 -rw-rw-r-- 1 jenkins jenkins 151 May 1 21:01 .dockerignore 21:06:54 drwxrwxr-x 8 jenkins jenkins 4096 May 1 21:01 .git 21:06:54 drwxrwxr-x 3 jenkins jenkins 4096 May 1 21:01 .github 21:06:54 -rw-rw-r-- 1 jenkins jenkins 329 May 1 21:01 .gitignore 21:06:54 -rw-rw-r-- 1 jenkins jenkins 41 May 1 21:01 .golangci.yml 21:06:54 -rw-rw-r-- 1 jenkins jenkins 9331 May 1 21:01 Attribution.txt 21:06:54 -rw-rw-r-- 1 jenkins jenkins 13085 May 1 21:01 CHANGELOG.md 21:06:54 -rw-rw-r-- 1 jenkins jenkins 1578 May 1 21:01 Dockerfile 21:06:54 -rw-rw-r-- 1 jenkins jenkins 677 May 1 21:01 GOVERNANCE.md 21:06:54 -rw-rw-r-- 1 jenkins jenkins 680 May 1 21:01 Jenkinsfile 21:06:54 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 21:01 LICENSE 21:06:54 -rw-rw-r-- 1 jenkins jenkins 1779 May 1 21:01 Makefile 21:06:54 -rw-rw-r-- 1 jenkins jenkins 620 May 1 21:01 OWNERS.md 21:06:54 -rw-rw-r-- 1 jenkins jenkins 15321 May 1 21:01 README.md 21:06:54 -rw-rw-r-- 1 jenkins jenkins 5 May 1 20:59 VERSION 21:06:54 drwxrwxr-x 2 jenkins jenkins 4096 May 1 21:01 bin 21:06:54 drwxrwxr-x 3 jenkins jenkins 4096 May 1 21:01 cmd 21:06:54 -rw-r--r-- 1 jenkins jenkins 14663 May 1 21:06 coverage.out 21:06:54 drwxrwxr-x 2 jenkins jenkins 4096 May 1 21:01 driver 21:06:54 -rw-rw-r-- 1 jenkins jenkins 3402 May 1 21:01 go.mod 21:06:54 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 21:01 go.sum 21:06:54 drwxrwxr-x 4 jenkins jenkins 4096 May 1 21:01 snap 21:06:54 -rw-rw-r-- 1 jenkins jenkins 713 May 1 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:55 + 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=5f853ae00f026d52e8b34b2f650b273d87d34550 --label arch=arm64 --label version=0.0.0 . 21:06:55 Sending build context to Docker daemon 154.1kB 21:06:55 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:06:55 Step 2/25 : FROM ${BASE} AS builder 21:06:55 ---> 3d80d68ddb1a 21:06:55 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:06:55 ---> Running in b0c7502039e4 21:06:55 Removing intermediate container b0c7502039e4 21:06:55 ---> a180b60ec990 21:06:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:55 ---> Running in 8b7f5c9333d0 21:06:55 Removing intermediate container 8b7f5c9333d0 21:06:55 ---> 1180ee5f03b9 21:06:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:56 ---> Running in 556745829f23 21:06:56 Removing intermediate container 556745829f23 21:06:56 ---> 91e9c77b9c67 21:06:56 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:06:56 ---> Running in 762e09560f8a 21:06:56 Removing intermediate container 762e09560f8a 21:06:56 ---> 8ffa15d54c7a 21:06:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:56 ---> Running in 7cdbbcd62194 21:06:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:59 OK: 268 MiB in 57 packages 21:07:00 Removing intermediate container 7cdbbcd62194 21:07:00 ---> 1b4bb4f2ff9d 21:07:00 Step 8/25 : WORKDIR /device-rest-go 21:07:00 ---> Running in a067e05cadbe 21:07:00 Removing intermediate container a067e05cadbe 21:07:00 ---> 86cdc1c667cd 21:07:00 Step 9/25 : COPY go.mod vendor* ./ 21:07:01 ---> fd6de9a9a2d1 21:07:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:01 ---> Running in fcf909b0646b 21:07:03 Removing intermediate container fcf909b0646b 21:07:03 ---> 422e81bb8d6c 21:07:03 Step 11/25 : COPY . . 21:07:04 ---> 413d9ec41097 21:07:04 Step 12/25 : RUN $MAKE 21:07:05 ---> Running in 215d95df4f01 21:07:06 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 21:09:12 Removing intermediate container 215d95df4f01 21:09:12 ---> 1a0db40656db 21:09:12 Step 13/25 : FROM alpine:3.17 21:09:12 3.17: Pulling from library/alpine 21:09:12 c41833b44d91: Already exists 21:09:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:09:12 Status: Downloaded newer image for alpine:3.17 21:09:12 ---> 51e60588ff2c 21:09:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:12 ---> Running in 0f3548bb5d63 21:09:12 Removing intermediate container 0f3548bb5d63 21:09:12 ---> 8e057621be9e 21:09:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:09:12 ---> Running in c5b67e0adb0b 21:09:12 Removing intermediate container c5b67e0adb0b 21:09:12 ---> 072d674e9dfb 21:09:12 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:09:12 ---> Running in 8b969504e3bc 21:09:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:14 (1/1) Installing dumb-init (1.2.5-r2) 21:09:14 Executing busybox-1.35.0-r29.trigger 21:09:14 OK: 8 MiB in 16 packages 21:09:15 Removing intermediate container 8b969504e3bc 21:09:15 ---> 7cfa11e97e09 21:09:15 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:09:16 ---> bb4b10287e66 21:09:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:09:17 ---> 8f5bb15fc6f7 21:09:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:09:17 ---> 084b42f23586 21:09:17 Step 20/25 : EXPOSE 59986 21:09:19 ---> Running in a6b09361967f 21:09:19 Removing intermediate container a6b09361967f 21:09:19 ---> 30f0f40acfcd 21:09:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:09:19 ---> Running in 350678360b80 21:09:20 Removing intermediate container 350678360b80 21:09:20 ---> 8d7ca9f764b2 21:09:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:09:20 ---> Running in b2dd24311c5d 21:09:20 Removing intermediate container b2dd24311c5d 21:09:20 ---> b99810d6c5d8 21:09:20 Step 23/25 : LABEL arch=arm64 21:09:20 ---> Running in 3d5a1d0acc70 21:09:21 Removing intermediate container 3d5a1d0acc70 21:09:21 ---> c0d54b5627b0 21:09:21 Step 24/25 : LABEL git_sha=5f853ae00f026d52e8b34b2f650b273d87d34550 21:09:21 ---> Running in 7ec37ded2dd4 21:09:21 Removing intermediate container 7ec37ded2dd4 21:09:21 ---> 8c02b83d05c4 21:09:21 Step 25/25 : LABEL version=0.0.0 21:09:21 ---> Running in 4c746bbda32a 21:09:21 Removing intermediate container 4c746bbda32a 21:09:21 ---> 1f2b9a131519 21:09:21 [Warning] One or more build-args [ARCH] were not consumed 21:09:21 Successfully built 1f2b9a131519 21:09:21 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 21:09:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:22 21:09:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:23 arm64: Pulling from edgex-lftools-log-publisher 21:09:23 8998bd30e6a1: Pulling fs layer 21:09:23 04944245beec: Pulling fs layer 21:09:23 699f458cf7ca: Pulling fs layer 21:09:23 765212b225bb: Pulling fs layer 21:09:23 f23df028b6ca: Pulling fs layer 21:09:23 d65c8cfc05b1: Pulling fs layer 21:09:23 2437ff75d9bd: Pulling fs layer 21:09:23 f23df028b6ca: Waiting 21:09:23 d65c8cfc05b1: Waiting 21:09:23 2437ff75d9bd: Waiting 21:09:23 765212b225bb: Waiting 21:09:23 04944245beec: Verifying Checksum 21:09:23 04944245beec: Download complete 21:09:23 765212b225bb: Verifying Checksum 21:09:23 765212b225bb: Download complete 21:09:23 f23df028b6ca: Verifying Checksum 21:09:23 f23df028b6ca: Download complete 21:09:23 d65c8cfc05b1: Verifying Checksum 21:09:23 d65c8cfc05b1: Download complete 21:09:23 699f458cf7ca: Verifying Checksum 21:09:23 699f458cf7ca: Download complete 21:09:23 8998bd30e6a1: Verifying Checksum 21:09:23 8998bd30e6a1: Download complete 21:09:25 2437ff75d9bd: Verifying Checksum 21:09:25 2437ff75d9bd: Download complete 21:09:27 8998bd30e6a1: Pull complete 21:09:28 04944245beec: Pull complete 21:09:29 699f458cf7ca: Pull complete 21:09:29 765212b225bb: Pull complete 21:09:32 f23df028b6ca: Pull complete 21:09:32 d65c8cfc05b1: Pull complete 21:09:47 2437ff75d9bd: Pull complete 21:09:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:47 prd-ubuntu20.04-docker-arm64-4c-16g-12240 does not seem to be running inside a container 21:09:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:09:50 $ docker top 92893d7751c89134b9e6aaa23181e550d517b923ffa546fd8dd568d8928525bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:51 ---> job-cost.sh 21:09:51 lf-activate-venv: SKIPPING 21:09:51 INFO: No Stack... 21:09:51 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:52 INFO: Archiving Costs [Pipeline] sh 21:09:53 + cut -d, -f6 21:09:53 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 21:09:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] 21:09:53 Resource [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] did not exist. Created. 21:09:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:53 /w/workspace/device-rest-go/1@tmp/durable-d27982a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:54 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:54 Warning: overwriting stash ‘stack-cost’ 21:09:54 Stashed 1 file(s) [Pipeline] } 21:09:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:54 $ docker stop --time=1 92893d7751c89134b9e6aaa23181e550d517b923ffa546fd8dd568d8928525bb 21:09:56 $ docker rm -f --volumes 92893d7751c89134b9e6aaa23181e550d517b923ffa546fd8dd568d8928525bb [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 21:09:57 provisioning config files... 21:09:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp/config13676270207329723904tmp [Pipeline] { [Pipeline] sh 21:09:57 + set +x 21:09:57 + curl -s https://codecov.io/bash 21:09:57 + bash -s -- 21:09:57 21:09:57 _____ _ 21:09:57 / ____| | | 21:09:57 | | ___ __| | ___ ___ _____ __ 21:09:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:57 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:57 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:57 Bash-1.0.6 21:09:57 21:09:57 21:09:57 ==> git version 2.25.1 found 21:09:57 ==> 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 21:09:57 Release-Date: 2020-01-08 21:09:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:57 ==> Jenkins CI detected. 21:09:57 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-304 21:09:57 project root: . 21:09:57 --> token set from env 21:09:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:57 ==> Running gcov in . (disable via -X gcov) 21:09:57 ==> Python coveragepy not found 21:09:57 ==> Searching for coverage reports in: 21:09:57 + . 21:09:57 -> Found 1 reports 21:09:57 ==> Detecting git/mercurial file structure 21:09:57 ==> Reading reports 21:09:57 + ./coverage.out bytes=14663 21:09:57 ==> Appending adjustments 21:09:57 https://docs.codecov.io/docs/fixing-reports 21:09:57 + Found adjustments 21:09:57 ==> Gzipping contents 21:09:57 4.0K /tmp/codecov.KW5ldQ.gz 21:09:57 ==> Uploading reports 21:09:57 url: https://codecov.io 21:09:57 query: branch=PR-304&commit=5f853ae00f026d52e8b34b2f650b273d87d34550&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=304&job=&cmd_args= 21:09:57 -> Pinging Codecov 21:09:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-304&commit=5f853ae00f026d52e8b34b2f650b273d87d34550&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=304&job=&cmd_args= 21:09:58 -> Uploading to 21:09:58 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/4E5D53B4F1F92C436F7061BF334D961C/5f853ae00f026d52e8b34b2f650b273d87d34550/dcd5b05f-5d3e-40e9-b815-d5053716dc23.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T210957Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96cfd54980830f16f856562e58fef48e2c41e54a53352ad2f07d5bc945d35234 21:09:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:58 Dload Upload Total Spent Left Speed 21:09:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10371 --:--:-- --:--:-- --:--:-- 10371 21:09:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5f853ae00f026d52e8b34b2f650b273d87d34550 [Pipeline] } 21:09:58 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 21:10:00 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-304/archives ] 21:10:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-304/archives 21:10:00 total 16 21:10:00 drwxr-xr-x 3 root root 4096 May 1 21:01 . 21:10:00 drwxrwxr-x 10 jenkins jenkins 4096 May 1 21:01 .. 21:10:00 drwxr-xr-x 2 root root 4096 May 1 21:01 cost 21:10:00 -rw-r--r-- 1 root root 86 May 1 21:01 cost.csv 21:10:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-304/archives 21:10:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-304/archives 21:10:00 total 16 21:10:00 drwxr-xr-x 3 jenkins jenkins 4096 May 1 21:01 . 21:10:00 drwxrwxr-x 10 jenkins jenkins 4096 May 1 21:01 .. 21:10:00 drwxr-xr-x 2 jenkins jenkins 4096 May 1 21:01 cost 21:10:00 -rw-r--r-- 1 jenkins jenkins 86 May 1 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:10:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:10:01 ---> package-listing.sh 21:10:01 ++ facter osfamily 21:10:01 ++ tr '[:upper:]' '[:lower:]' 21:10:01 + OS_FAMILY=debian 21:10:01 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-304 21:10:01 + START_PACKAGES=/tmp/packages_start.txt 21:10:01 + END_PACKAGES=/tmp/packages_end.txt 21:10:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:10:01 + PACKAGES=/tmp/packages_start.txt 21:10:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-304 ']' 21:10:01 + PACKAGES=/tmp/packages_end.txt 21:10:01 + case "${OS_FAMILY}" in 21:10:01 + dpkg -l 21:10:01 + grep '^ii' 21:10:01 + '[' -f /tmp/packages_start.txt ']' 21:10:01 + '[' -f /tmp/packages_end.txt ']' 21:10:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:10:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-304 ']' 21:10:01 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-304/archives/ 21:10:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-304/archives/ [Pipeline] echo 21:10:01 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-304/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:10:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:02 prd-ubuntu20.04-docker-8c-8g-12239 does not seem to be running inside a container 21:10:02 $ 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-304/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-304 -v /w/workspace/gexfoundry_device-rest-go_PR-304:/w/workspace/gexfoundry_device-rest-go_PR-304:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-304@tmp:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:10:02 $ docker top c4acd5cf3e2206fd50b2030525fffc605b445907e947b9c0b83ba64ce6207104 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:03 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:03 + ls /var/log/sa-host 21:10:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:03 provisioning config files... 21:10:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-304@tmp/config16564224460239593906tmp [Pipeline] { [Pipeline] echo 21:10:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:04 ---> create-netrc.sh [Pipeline] } 21:10:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:04 ---> python-tools-install.sh [Pipeline] echo 21:10:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:05 ---> sudo-logs.sh 21:10:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:10:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:05 ---> job-cost.sh 21:10:05 lf-activate-venv: SKIPPING 21:10:05 DEBUG: total: 0.2199999988079071 21:10:05 INFO: Retrieving Stack Cost... 21:10:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:06 INFO: Archiving Costs [Pipeline] echo 21:10:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:06 ---> logs-deploy.sh 21:10:06 lf-activate-venv: SKIPPING 21:10:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-304/1 21:10:06 INFO: archiving workspace using pattern(s): 21:10:07 Archives upload complete. 21:10:07 INFO: archiving logs to Nexus